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

Cannot Multiply This NumberValue?

Asked by 6 years ago

I tried to multiply this numbervalue.Value saying:

Monz.Value = Monz.Value * b

b in this case is the number value. However in the output it doesnt work and gives me an error saying:

attempt to perform arithmetic on local 'b' (a userdata value)

No idea what to do...?

0
If B is a NumberValue you should have .Value at the end of it. ThatPreston 354 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Try

print(b)

to confirm your belief that it is a number.

Ad

Answer this question