Hello,
To call a timer infinite times I am using
function A() print("Hello") timer.performWithDelay(100, B, 1) end function B() timer.performWithDelay(500, A, 1) end timer.performWithDelay(100, A, 1)
So that If I want to print hello in a particular time interval, I am adjusting it with these two functions.
But the problem I am facing is after some time the timer gets slow down and calling function A very rapidly.
Can anyone suggest me If I am doing this right? And to resolve the timer issue what should I do?
Thanks in advance.