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

How can i measure time not clicked in my game? [closed]

Asked by 3 years ago

Hi, I'm working on my game at the moment and I'm trying to make a combat system. I am trying to make it that the player goes into combat idle when punched and after x amount of time he goes back to his normal idle. I cant use a for I loop cause every time I punch the timer should restart I tried using os. clock but that won't work either does anyone has an idea?

Closed as Not Constructive by MarkedTomato and evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?