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.

2 comments

0

Convert the value to string using tostring: SubDisplay.Text = tostring(subs.Value)

0

Show the part of the code where you define Subs and Coins