How do I make a sentinel npc attack a player immidiately after it is tasked to?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

PlainPaper

Member
Sep 24, 2024
2
1
3
I am trying to make a wanted system where, if it gets high enough, a sentinel npc is tasked with attacking the player.
The code is working, but there is a problem; when the player's wanted level is high enough, the npc doesn't attack them. but only does after it is attacked first.
This is weird, because i don't have any console execution about retaliating.
I'm going to leave the current file, if anyone can help me with this i'd be glad.
 

Attachments

  • criminalSystem.sk
    994 bytes · Views: 163
  • Like
Reactions: tiktoksss0112