Advertisement
SourceYT

Leaderstats Script

Apr 11th, 2020
15,746
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(Player)
  2.     local leaderstats = Instance.new("Folder") -- Don't Change
  3.     leaderstats.Name = "leaderstats" -- Don't Change
  4.     leaderstats.Parent = Player -- Don't Change
  5.    
  6.     local Value = Instance.new("IntValue")
  7.     Value.Name = "Points"
  8.     Value.Parent = leaderstats
  9.     Value.Value = 0
  10.    
  11.     local Value2 = Instance.new("IntValue")
  12.     Value2.Name = "Rank Number"
  13.     Value2.Parent = leaderstats
  14.    
  15.     local Value3 = Instance.new("StringValue")
  16.     Value3.Name = "Rank"
  17.     Value3.Parent = leaderstats
  18.     Value3.Value = "Owner"
  19.    
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement