Solved Spawning Warden With NBT

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

  • LOOKING FOR A VERSION OF SKRIPT?

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

Kluckings

New Member
May 18, 2024
5
1
3
16
Can someone tell me what's wrong with this code:

Code:
set {_location} to location 462, -24, 500 in "WardenSK"
spawn warden at {_location}
set {_warden} to the last spawned entity
add "{CustomName:""\""&a[GREEN]&a\"""",CustomNameVisible:1,NoAI:1b,CanPickUpLoot:1b}" to nbt of {_warden}

I am trying to spawn a warden in that location with that NBT.

Also this is the error I get:
1717167246040.png