Hey I am making custom mob effects if something is set at a certain number.
However there are no errors, it spawns but no effect is added. I have changed the variables multiple times, and set them to both 1 and 2, but I am getting no where.
Thanks!
code_language.skript:
command /testmob:
trigger:
spawn 1 zombie at location of player
heal spawned entity
if {zombiespeed.%uuid of player%} is 1:
apply speed 1 to the spawned entity for 9999 minutes
if {zombiespeed.%uuid of player%} is 2:
apply speed 2 to the spawned entity for 9999 minutes
However there are no errors, it spawns but no effect is added. I have changed the variables multiple times, and set them to both 1 and 2, but I am getting no where.
Thanks!