Set zombified piglin to aggressive on spawn

  • 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 comminuty!

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

Kezard

Member
May 22, 2020
11
0
1
I need a skript that will make all zombified piglins aggressive or hostile when they spawn.
Thank You!
 
Code:
on spawn of piglin:
    add "{Aggresive:1}" to nbt of last spawned piglin

this should work if not try this

Code:
on spawn of piglin:
    add "{Aggresive:}" to nbt of last spawned piglin

[not tested]