Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Anything more than 1e+19 won't display?

Asked by 5 years ago

So I'm making a tycoon that has a display which displays the Cash value. But it seems to display anything that is more than 1e+19 "0" What it the problem? Before the glitch I had with Roblox studio yesterday which doesn't allow me to open any games with Team Create on, it was working fine, it would still display anything pass 1e+19 but now it doesn't work? Please help.Here me Codes:

local moneylib = require(game.ReplicatedStorage.Moneh)

script.Parent.Text = "$"..script.Parent.Parent.Parent.Parent.Parent.Parent.CurrencyToCollect.Value

script.Parent.Parent.Parent.Parent.Parent.Parent.CurrencyToCollect.Changed:Connect(function(money)
    script.Parent.Text = moneylib.HandleMoneyOld(money)
end)
0
Roblox probably uses 64-bit values, so when you reach 1e+19, it goes to the negatives. If it doesn't show at all, Roblox probably detects this and does something else. hiimgoodpack 2009 — 5y
0
well before my studio crashes, it will still display more than 1e+19. The leaderboard works fine though. XviperIink 428 — 5y
0
Oh my god why so many parents? Use a LocalPlayer! User#19524 175 — 5y

Answer this question