if player's tool is diamond sword named "&aAspect of the End":
set {_ray} to ray trace from player with max distance 8 while ignoring passable blocks
set {_hit} to hit location of {_ray}
set {_hit}'s yaw to player's yaw
set {_hit}'s pitch to player's pitch
teleport player to {_hit} ? (location 8 blocks infront of player)
teleport player 2 meters above location of player```
#if you want aote
1 messages · Page 1 of 1 (latest)
huh
is this like not working or
uh
its a bad free skript ngl
Keywords: “if you want” and “here”
why use on right click: and not on right click on diamondsword:
it doesnt change anything since he has to specify a name anyways
he could also use nbt if he wanted to make it more secure but eh
like AOTE: 1b in the custom data
on right click calls ANY time ANYONE right clicks ANYTHING if u change to dia sword it only checks when u click on a dia sword
its inconsequential since the code is so minimal it would matter way more if the code was bigger