I was wondering if lua "roblox", if statment has a way to go through.... well let me just show you. local a = some.object.value if a == 5 or a == 6 or a == 7 ................. goes on for a long time. looking for a short cut. kinda like if a <= 2000 then "some code" end but this needs to start at like 5. Instead of 1 if a == 5 "through" 2000 then BLA end Also i know i can use a for loop to do the trick but i was just wondering if there was a way to do it without for loop? I have googled lua wiki and looked around but i could not find anything. :( It is probably do to i don't know what this type of thing would be called.
samedi 9 novembre 2019
if a = number through number quest
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire