Allied NPC

Can someone make it so this npc is allied and doesnt attack you and so it attacks other hostile npcs

Hello good sir,

This is the Lua Scripting General discussion forum. This forum is not for writing requests or questions in.
We have a dedicated subforum for requests that can be found at:
If you are willing to pay for your request to be done then post it in the “Hiring thread”:

Thank you.