please someone help me
my brain is hurting
im trying to make it so if i right click a sword
it sends me 5 blocks forward sort of like a dash
this is the code but its being weird
`on right click:
item is {bsword}:
multiply {direction} by 5
add {direction} to {loc}
teleport player to {loc}
on load:
set {loc} to location of player
set {direction} to direction of player`