Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ONLY CHANGE THE NAME AND VALUE IF YOU DON'T KNOW WHAT YOU ARE DOING!!
- game.Players.PlayerAdded:Connect(function(player)
- local leaderstats = Instance.new("Folder")
- leaderstats.Name = "leaderstats"
- leaderstats.Parent = player
- local points = Instance.new("IntValue")
- points.Name = "Points" -- Name of the currency (Change this to your currency name like money)
- points.Value = 0 -- Value (How much you wan't the player to start with)
- points.Parent = leaderstats
- local currency = Instance.new("IntValue")
- currency.Name = "Currency" -- Name of the currency (Change this to your currency name like money)
- currency.Value = 100 -- value (How much you wan't the player to start with)
- currency.Parent = leaderstats
- end)
Advertisement
Add Comment
Please, Sign In to add comment