Trying to make a script for afk crafting-milling. I got the crafting part, but its spammed every few sec and it gets a little laggy on my machine. So I'd like to check if an action (crafting) is in progress before doing anything to avoid extra lag. Basically like 'if (not ActionInProgress) then DoStuff end'. My question is how to write that if part.