Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --its up to you on where to put it
- local repStorage = game:GetService("ReplicatedStorage")
- local remote = repStorage:FindFirstChild("RebirthClick")
- remote.OnServerEvent:Connect(function(plr, x)
- if plr.leaderstats.Points.Value >= 100 * (x.Value + 1) then
- x.Value = x.Value + 1
- plr.leaderstats.Points.Value = 0
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement