Advertisement
ski1lzhub

juicymacxlvl

Jul 6th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local data = game:GetService("ReplicatedStorage")["Player_Data"][game.Players.LocalPlayer.Name].Data
  2.  
  3. local function yes()
  4. if data.Points.Value + data.Levels.Value > 749 then
  5. return 749 - data.Levels.Value
  6. else
  7. return data.Points.Value
  8. end
  9. end
  10.  
  11. game:GetService("ReplicatedStorage").StatSystem.Points:FireServer("Gems", 10 - data.Gems.Value)
  12. wait(0.3)
  13. game:GetService("ReplicatedStorage").StatSystem.Points:FireServer("Levels", yes())
  14. game:GetService("ReplicatedStorage").Remote.ResetStats.HaveMoney:FireServer()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement