I'm trying to make a teleportation script which will teleport player to the block they're looking at in a 75 block radius and they will slowly come out of the ground.
This is the best that i have.
I don't remember what it was that will teleport player to the block they're looking it and its all that i need ty.
Addons: Bensku Skript fork, SkQuery, and SkRayFall
This is the best that i have.
code_language.skript:
function teleport(p: player):
loop all blocks in raidus 75 of {_p}:
on rightclick on book:
if name of event-item is "&eTeleport":
teleport(player)
I don't remember what it was that will teleport player to the block they're looking it and its all that i need ty.
Addons: Bensku Skript fork, SkQuery, and SkRayFall