Advertisement
PlayStationUser99

How to make a halo system! | Part 1. Leaderstats Script

Mar 11th, 2021
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. -- Change 5555 with the amount the player spawns in with
  2. -- Feel free to add a DataStore!
  3.  
  4. game.Players.PlayerAdded:Connect(function(player)
  5. local leaderstats = Instance.new("Folder", player)
  6. leaderstats.Name = "leaderstats" -- DONT CHANGE THIS OR IT WILL BREAK!!
  7.  
  8. local Coins = Instance.new("NumberValue", leaderstats)
  9. Coins.Name = "Coins" -- You can change the name of the coins
  10. Coins.Value = 5555
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement