i dont understand why this doesnt work. someone help pls?
set {_loc} to location of player's targeted block set {_x} to x coord of {_loc} set {_y} to y coord of {_loc} set {_z} to z coord of {_loc} set {_yaw} to player's yaw set {_pitch} to player's pitch wait 1 tick teleport player to location at {_x}, {_y}+1, {_z} in world "%player's world%" wait 1 tick set player's yaw to {_yaw} set player's pitch to {_pitch}
#why doesn't this work?
1 messages · Page 1 of 1 (latest)
yout cannot set the pitch/yaw of a player
set {_loc} to location of player's targeted block
add 1 to y-coordinate of {_loc}
set yaw of {_loc} to player's yaw
set pitch of {_loc} player's pitch
teleport player to {_loc}
not gonna work because it will teleport me with yaw 0, not the direction i was looking
wait
nevermind
thanks