I have been trying to make it so if my character chases me for 20 seconds then runs away
Hi, you could use a sequence node where you first execute a SimpleParallel node where the main task would be to wait 20 seconds while the subtask (which executes as long as the main one is running) would be to chase the player. That will result in the AI chasing the player for 20 seconds, afterwards the SimpleParallel node will succeed and the next node in the sequence will execute. This would then your run away behavior.