Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game:GetService("Players")
- function playerAdded(player)
- local leaderstats = Instance.new("Folder")
- local coins = Instance.new("IntValue")
- coins.Name = "Coins"
- leaderstats.Name = "leaderstats"
- coins.Parent = leaderstats
- leaderstats.Parent = player
- end
- players.PlayerAdded:Connect(playerAdded)
Advertisement
Add Comment
Please, Sign In to add comment