#my skript doenst work and idk why

1 messages · Page 1 of 1 (latest)

gaunt osprey
#
  "%event-region%" contains "warden"
  loop all wardens:
    add 1 to {_warden}
  if {_warden} >= 1:
    stop
  else:
    spawn a warden at {wardenspawn}
    play sound "entity.ravager.roar" at volume 1 at pitch 2 at players
    play sound "entity.wither.spawn" at volume 0.3 at pitch 2 at players
    set {warden} to last spawned warden
    set display name of {warden} to "&9&l&kR&f&x&1&8&8&7&f&b&lW&x&4&4&9&7&f&c&lA&x&7&1&a&8&f&d&lR&x&9&d&b&8&f&d&lD&x&c&a&c&9&f&e&lE&x&f&6&d&9&f&f&lN&kR"
    apply health boost 70 to {warden} for 10 hours
    heal {warden}
    apply resistance 3 to {warden} for 10 hours
    apply strength 2 to {warden} for 10 hours
    add 1 to {wardencount}

on region exit:
  "%event-region%" contains "warden"
  loop all players:
    if "%region at loop-player%" contains "warden":
      add 1 to {_atspawn2}
  if {_atspawn2} >= 1:
    stop
  else:
    kill all wardens```
When i join to a region, the warden doenst appear
cosmic rapids
#

Whats the location of {wardenspawn}

gaunt osprey
#

a zone in the server

#

i did !set {wardenspawn} to location at player

waxen dove