-
I don't know how I can make a teleport if I press a button. I sea the button but when I press it, nothing happen. My idea is it to get teleported to "0 64 0 facing 1 64 0". My code looks like this:
Thanks to all took time to read it and helps me. |
Beta Was this translation helpful? Give feedback.
Answered by
bot174
Mar 19, 2023
Replies: 1 comment 5 replies
-
you can use the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
player is an instance of the Player class in Jayly's code. In your code event.source returns an instance of the Player class, which you should do is
event.source.teleportFacing()