Hello, I'm trying a few good hours to do a "Grappling Hook" in script but it does not want to work, I leave below the code and error pictures:
Error pictures: http://prntscr.com/nzn8sc
Code:
on fishing:
if "%fishing state%" is "IN_GROUND":
set {_loc} to location of fishing hook
set yaw of {_loc} to player's yaw
set pitch of {_loc} to player's pitch
teleport player to {_loc}
Error pictures: http://prntscr.com/nzn8sc