Jump to content

How To Code A teleportation item


hoekssmp

Recommended Posts

You need to be more specific about what item to be used to teleport you and where to teleport you but here is an example:

on right click:
    if player's tool is diamond sword:
        teleport player to location(100, 60, 100, world("world"))

When they right click a diamond sword, they get teleported to the xyz coordinates 100, 60, 100 in the world named "world".

Edited by ApexSplat

Discord: Dead#6905

Love anime!


Anime Gifs

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...