local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
print(player.Name .. " зашёл в игру")
end)Players.PlayerAdded:Connect(function(player)
print(player.Name)
end)Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local coins = Instance.new("IntValue")
coins.Name = "Coins"
coins.Value = 100
coins.Parent = leaderstats
end)Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
print("Персонаж появился")
end)
end)