Hi
I'm basically writing a task based air orber script - which I am going to be adding anti-PK support (so if my player is under attacked by a skull player OR I can be attacked by a nearby skulled player, teleport out and hop worlds)
My issue is where do I put this code? I want the script to be constantly checking but considering my script will be running through tasks I don't want to have the same code pasted throughout repeatedly. Is there anwhere i can perhaps put it in a onLoop in the main class or something?
Thanks