print("Cash Stuffs running!") function onPlayerEntered(newPlayer) wait(.5) local stats = Instance.new("IntValue") stats.Name = "leaderstats" local cash = Instance.new("IntValue") cash.Name = "Money" cash.Value = 1000 --This sets the amount of money every player starts with cash.Parent = stats stats.Parent = newPlayer end game.Players.ChildAdded:connect(onPlayerEntered)
my game is a car game and i am trying to make a leaderboard that allows player to have unlimited money but the leaderboard above that i made only allows people to have 2.1 billion if they cross that it players money will go negative. is there a way to let play have unlimited money?
An Integer's max value is 2,147,483,647; Therefore using an integer in your leaderstats, you will get this number as your highest.