function checkforzero()
if Fish.Value == 0 then
return nil
end
end
script.Parent.MouseButton1Click:connect(checkforzero)
Hello, thank you for reading. I was wondering, how do I set a IntValue so that it has a limit. Let's say I want the limit to be 0. How would I script it so that if 0 was the limit, it would not go down to -1 or anything lower. Thank you for reading.

2 comments
You could also try http://wiki.roblox.com/index.php?title=API:Class/IntConstrainedValue
Thank you for the hookup with the wiki.