Jump to content

I need help coding a tp too the nether roof


Recommended Posts

I just started skript yesterday and was looking for help all over google and skript websites, the code I found was outdated and needed help with making this, here is the code 

command /hell <player>:
    trigger:
        teleport player to location(0, 128,  , nether)
        send title "Good Luck" to player

Link to comment
Share on other sites

Assuming you just want it to teleport the player to the nether roof where they are:

command /hell <player>:
  trigger:
    set {_x} to arg-1's x coordinate
    set {_z} to arg-1's z coordinate
    teleport arg-1 to location %{_x}%, 125, %{_z}% in world "whatever your nether world is called"
    send title "Good Luck" to player

 

Keep in mind this is untested, if there is any errors feel free to reply with them and I can fix it up for you

  • Like 1

Owner/Developer of WWWings

Link to comment
Share on other sites

Quote

command /hell <player>:
  trigger:
    set {_x} to arg-1's x coordinate
    set {_z} to arg-1's z coordinate
    teleport arg-1 to location %{_x}%, 125, %{_z}% in world "whatever your nether world is called"
    send title "Good Luck" to player

 

So I tried too do this with the nether name and had an error so I decided too just use the regular world too se if that was the error but it came up with this 

also forgot too say in the original post but can you make it so only ops can use it, it would be very op if regular players could use it

 

 

2021-05-21_14.41.54.png

Edited by DoodleLive
forgot too include
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...