i need help with summoning a warden on this skript can anyone help me? it just gives me an error
on right click with goat horn:
if name of tool of player is "&x&F&1&0&0&F&F&lTHE OVERLORD&x&F&1&0&0&F&F's BUDDIES":
set {_d} to 65 seconds
if {minion_cooldown} is set:
set {_d} to difference between now and {minion_cooldown}
if {_d} >= 65 seconds:
set {minion_cooldown} to now
broadcast "&x&f&f&0&0&0&0&lMAY THE OVERLORD's MINIONS GO UPON YOU"
wait 5 seconds
execute player command "minecraft:team join Overlordminion %player%"
loop 10 times:
execute player command "minecraft:summon warden ~ ~ ~ {Glowing:1b,Team:"Overlordminion",Brain:{memories:{"minecraft:dig_cooldown":{value:{},ttl:1200L}}}}" # <- the error
wait 60 seconds
execute player command "killall monsters"
execute player command "minecraft:team leave %player%"
broadcast "&x&f&f&0&0&0&0&lTHE OVERLORD's MINIONS HAS DESPAWNED"
else:
send message "&c&lCOOLDOWN: &r&c%difference between 65 seconds and {_d}%" to player
on right click with goat horn:
if name of tool of player is "&x&F&1&0&0&F&F&lTHE OVERLORD&x&F&1&0&0&F&F's BUDDIES":
set {_d} to 65 seconds
if {minion_cooldown} is set:
set {_d} to difference between now and {minion_cooldown}
if {_d} >= 65 seconds:
set {minion_cooldown} to now
broadcast "&x&f&f&0&0&0&0&lMAY THE OVERLORD's MINIONS GO UPON YOU"
wait 5 seconds
execute player command "minecraft:team join Overlordminion %player%"
loop 10 times:
execute player command "minecraft:summon warden ~ ~ ~ {Glowing:1b,Team:"Overlordminion",Brain:{memories:{"minecraft:dig_cooldown":{value:{},ttl:1200L}}}}" # <- the error
wait 60 seconds
execute player command "killall monsters"
execute player command "minecraft:team leave %player%"
broadcast "&x&f&f&0&0&0&0&lTHE OVERLORD's MINIONS HAS DESPAWNED"
else:
send message "&c&lCOOLDOWN: &r&c%difference between 65 seconds and {_d}%" to player