im trying to make a mind control thingy and rn this is what i have
rn i only have 1 error line 13 cant understand the effect or condition
so im trying to figure out how to get that to work
Code:
on damage:
attacker is holding a stick named "&6&lMind Control Stick"
if victim has red stained glass pane:
set slot 9 of victim's inventory to grey stained glass pane named " "
else:
set slot 9 of victim's inventory to red stained glass pane named "&6&lM&6&l&li&6&lnd Co&6&l&knt&6&lroled by &6&l&k%attacker%"
set slot 9 of attacker's inventory to a green stained glass pane named "&6&lMind Controling %victim%"
on any movement:
player has red stained glass pane
cancel event
on any movement:
player has green stained glass pane
teleport all players that have red stained glass pane in their inventorys to player
so im trying to figure out how to get that to work