Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game:GetService("Players")
- local function onPlayerAdded(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
- local strength = Instance.new("IntValue")
- strength.Name = "Strength"
- strength.Value = 0
- strength.Parent = stats
- end
- players.PlayerAdded:Connect(onPlayerAdded)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement