|
| 25 Aug 2012 03:47 PM |
| Alright so I have a variable that starts at 0 and goes up by one for every kill a player gets with a certain tool. What I'm trying to do is for every 5 kills (or in math-related terms, every time the variable changes to a multiple of 5) I want something to happen. How would I do this? |
|
|
| Report Abuse |
|
|
| 25 Aug 2012 03:53 PM |
if n % 5 == 0 then
do something
end
|
|
|
| Report Abuse |
|