i don't really have any code snippits
✓ ANSWER ACCEPTED
how do i subtract a numbervalue by 1?
1 answer
✓ Accepted answer
Just get a variable or path to the numbervalue, do .value, and minus 1 like you would a normal variable
Example:
numberValue = game.ReplicatedStorage.NumberValue
numberValue.Value = numberValue.Value - 1
1 comment
0
thx
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Do you mean decreasing a variable by 1?
yup
i mean a number value