Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Cannot Multiply This NumberValue?

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...?

1 comment

0

If B is a NumberValue you should have .Value at the end of it.

1 answer

Try

print(b)

to confirm your belief that it is a number.

This discussion is preserved as it was. New answers, comments, and votes are closed.