I have some admin commands, but I only need to show you 1 for this problem:
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg)
if msg == ":InfGold" and plr.Name == "Player" or plr.Name == "dragonmaster4111" or plr.Name =="LimitedGoneWrong" or plr.Name == "groovydino" then
local stats = plr:FindFirstChild("leaderstats")
if stats ~= nil then
local gold = stats:FindFirstChild("Gold")
if gold ~= nil then
gold.Value = 999999999
end
end
end
end)
end)
On line 4, is there any way I can change that to make it better? And I am NOT sure about this, but I think line 4 has a problem with the "or" part. Help?

1 comment
@groovy, you can make it math.huge. If it's math.huge it will say "inf" not -28465.57364 or anything. Can you leave me on the admin list hint hint. BTW please accept my answer.