alkku15 Posted March 24, 2018 Posted March 24, 2018 aye bois, im making a simple combat script (basically just afks & eats if hp above 75%), but i ran into a trouble when i wanted the bot to make the npcs agro again. (for example : rock crabs)... How can i check if my player has not been in combat for a minute, then it would run the part of the code where it runs away and comes back to make them agro again... Hopefully you understood (sorry poor english). Thanks!
Juggles Posted March 24, 2018 Posted March 24, 2018 Use a timer. I have a snippet posted in the snippet section