Clicking/Attacking NPC

I don’t know if this is possible but, I want to know if there is a way to make an NPC constantly keep clicking/attacking because, I want to test out a stun for a combat I made. Is this or anything closely related even possible?

1 Like

you might be able to use the attack code and then loop that for the stun

2 Likes

Create a while/repeat loop which will repeat a certain action you give it. (In your case a continuous attack pattern)

2 Likes