There is a simple script that im working with, but this somewhat simple thing is a lot harder then it looks for me. This script checks if you have a leaderstat value of 20. But I want it to check if it has 20 or OVER that number. Any help I can get?
✓ ANSWER ACCEPTED
How do I use leaderstats value for over <value>?
1 answer
✓ Accepted answer
It's pretty simple.
Just use >=
if value >= 20 then
--stuff
end
More info can be found here: https://developer.roblox.com/en-us/articles/Operators
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks!