Super noob alert
OK what I wanna do is setting up a variable that goes up each second. but I want the variable resets to zero when it reaches lets say the value of 60.
here is a code I came up with. it works fine but only once:
a = s
if a < 60 then a else a - 60
I pretty much sure my question is super simple to you guys but I have no idea about scripting at all…sorry