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

Attempt to index upvalue?

Asked by 5 years ago

I have 2 number values in the exact same place aswell as 2 text labels in the exact same place. But theres a weird glitch. CoinDisplay.Text = Coins.Value This works perfectly. But SubDisplay.Text = Subs.Value This does not even tho both are nearly identical. Error message: Attempt to index upvalue 'Subs' (a number value). Please help.

0
Convert the value to string using tostring: SubDisplay.Text = tostring(subs.Value) hellmatic 1523 — 5y
0
Show the part of the code where you define Subs and Coins saenae 318 — 5y

Answer this question