local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
print("Игрок зашёл:", player.Name)
end)print(player.Name) -- имя игрока
print(player.UserId) -- ID игрокаplayer.CharacterAdded:Connect(function(character)
print("Персонаж появился")
end)player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
humanoid.WalkSpeed = 20
end)local tool = game.ServerStorage.Tool:Clone()
tool.Parent = player.Backpackplayer.CharacterAdded:Connect(function(character)
local root = character:WaitForChild("HumanoidRootPart")
root.Position = Vector3.new(0, 10, 0)
end)Players.PlayerAdded:Connect(function(player)
local stats = Instance.new("Folder")
stats.Name = "leaderstats"
stats.Parent = player
local coins = Instance.new("IntValue")
coins.Name = "Coins"
coins.Value = 0
coins.Parent = stats
end)local gui = game.StarterGui.ScreenGui:Clone()
gui.Parent = player.PlayerGui