Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how can you do a amount and over leaderstats script?

Asked by 3 years ago

The title didnt make sense so here you go. I have a script thats only supposed to happen when you have 7 dollars or more, but it doesnt work because you have to have exactly 7 dollars. Is there anyway it can become 7 or more dollars?

1 answer

Log in to vote
0
Answered by
LuaDLL 253 Moderation Voter
3 years ago

If you are just doing == it will only do it if you have exactly 7 but if you do >= it will do it when you have 7 or more.

if Cash >= 7 then -- If cash is greater or equal than 7

end
Ad

Answer this question