Advertisement
coolzombie1301

Leaderboard

Nov 17th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. --[[ Dont change the name of the script if you want the replace system to work, but if you already have a script named Leaderboard then rename it to something else or else when you click
  2. the Script button it will remove it will remove it from the game
  3.  
  4. --]]
  5. game.Players.PlayerAdded:connect(function(plr)
  6.  
  7. local ls = Instance.new("IntValue",plr)
  8. ls.Name = "leaderstats" -- dont change the name or else it will not work!
  9.  
  10. local Death = Instance.new("IntValue",ls)
  11. Death.Name = script.DeathsName.Value -- The Value with be in the script
  12.  
  13. local Kills = Instance.new("IntValue",ls)
  14. Kills.Name = script.KillsName.Value -- The Value with be in the script
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement