Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ranks = {120,300,600,1800,3600,7200,18000,36000,50000,100000}
- ranks = {25,45,60,100,130,160,180,200,230,250}
- local stat = "expi"
- local stat2 = "maxexpi"
- local ds = game:GetService("DataStoreService"):GetDataStore("playStatsBETA1")
- game.Players.PlayerAdded:connect(function(plr)
- --Leaderstats
- Instance.new("IntValue",plr).Name = "leaderstats"
- --Play level stat
- Instance.new("IntValue",plr.leaderstats).Name = "Play Level"
- local lvl = plr.leaderstats["Play Level"]
- local level = ds:GetAsync(level..plr.userId)
- if level == nil then
- level = 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement