This is an small part of an huge script (Leaderboard) but my question is how to let people don't get an higher amout of money then the limit that in cause is 2145000000. If their is an otherway then the
if Tix.Value >= Max then
if newPlayer.userId then
Tix.Value = Max
end
end
It will may easier and better.
local Max = 2145000000
function onPlayerEntered(newPlayer)
local Tix= Instance.new("IntValue")
Tix.Name = "Tix"
Tix.Value = 0
if Tix.Value >= Max then
if newPlayer.userId then
Tix.Value = Max
end
end
end
Thanks
