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?

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 couse every time I punch the timer should restart I tried using os. clock but that won't work either does anyone has an idea?

0
you should try using tick() 0fficialHen 5 — 3y
0
How Coud i do that? The_FlashKiller -5 — 3y

Answer this question