So i am making a skript for backslots. Im trying to get it to look like the item is on the player's back with this code
It isn't moving the armor stands to the player nor registering the variable. Please help
Code:
command /backslot:
trigger:
spawn armor stand at player
set {_stand} to last spawned armor stand
set tool of {_stand} to player's tool
set name of {_stand} to "%player%'s backslot"
set {_n} to nbt compound from "{Invisible:1}"
add {_n} to nbt of last spawned armor stand
set {_n} to nbt compound from "{NoGravity:1}"
add {_n} to nbt of last spawned armor stand
set {_yaw} to location 0.3 meters left of player
add 90 to yaw of {_yaw}
teleport {_stand} to {_yaw}
every tick:
loop all players:
set {_yaw} to location 0.3 meters left of loop-player
add 90 to yaw of {_yaw}
teleport {_stand} to {_yaw}
It isn't moving the armor stands to the player nor registering the variable. Please help