Hello i have issue my string value becomes INF I don’t know why I can show the script:
local Name = script.Parent.Name
local Robux = script.Parent.Robux
print("Running Robux Purchases")
while wait() do
if script.Parent.Parent.InsidePurchase then
script.Parent.Title.Text = tostring(script.Parent.NamePass.Value) --does the name first
script.Parent.Price.Text = tostring(script.Parent.Robux.Value)
Robux.Value = math.huge --ont touch it figures robux like 2000 becomes 20,00
Robux.Value = math.abs(Robux.Value)
if Robux.Value == "0" then
Robux.Value = "Free"
end
end
end
if u know I am making roblox purchase like roblox inside roblox without real robux but I don’t get why its not working maybe below ???
math.huge returns an intractable number, thus if Robux is a StringValue, attempting to call tostring(HUGE_VAL) will give you inf. Why are you using huge?
Are you trying to format 2000 into 2,000? that’d be string formatting not math.huge