All I need is for the value to not get -1, all I want to do is for someone to have a limit 3 spins, but somehow the value can be -1 or lesser than -1.
✓ ANSWER ACCEPTED
How do I make a Value never go to negative numbers?
2 answers
✓ Accepted answer
I'm not exactly sure the context of your script and everything but i think i know what you're asking for
if SpinValue > 0 then
end
this should be what you're looking for, spin value is what u base ur spins off of, basically saying if this value is higher than 0 run. Hope it helped, if you want it to spin while its at 0 you can do
if SpinValue >= 0 then
end
but this would probably turn the value to -1
1 comment
0
It ain't working :/
PERFECT! Just fixed the script, thanks for some help that I came up with another idea even tho it didn't work. @DeviantProphet
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
http://wiki.roblox.com/index.php?title=Global_namespace/Mathematical_functions#math.max
Ex:
math.max(-7, 1) --> 1