Jump to content

do i need a timer


Recommended Posts

Posted

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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...