Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:Connect(function(player) --When player joins the game
- local leaderstats = Instance.new("Folder", player) --Creates new folder and puts it under the player
- leaderstats.Name = "leaderstats" --Names the folder "leaderstats"
- local cash = Instance.new("IntValue", leaderstats) --Creates new Intvalue and puts it under the leaderstats folder
- cash.Name = "Cash" --Names the IntValue "Cash" <- You can change Cash to any currency you like
- cash.Value = 100 --Gives the player 100 starting "Cash"
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement