Jump to content

How do I teleport someone to a location in the nether

Recommended Posts

So I have a mob called a "Gatekeeper" that drops a "Gatekeeper Token" that teleports you to the location 23 48 3, in the nether. Only problem is that I accidentally deleted the correct skript, and I can't figure it out. Somebody help please, this is what I have.


on death:
    if display name of victim is "Gatekeeper":
        set {dc} to (random integer between 0 and 25)
        cancel drops
        give attacker 1 of iron nugget of mending 1 with hidden enchantments named "&7Gatekeeper Token"
        give attacker (random integer between 0 and 2) of bone named "&7Ancient Bone"
        if {dc} is 1:
            give attacker 1 wither skeleton skull

on rightclick with iron nugget:
    name of player's tool is "&7Gatekeeper Token"
    remove 1 of player's held item from player
    #//execute in minecraft:the_nether run tp 23 48 3

Link to comment
Share on other sites

There you go:

teleport player to location at (23, 48, 3) in world "world_nether"

just change world_nether to your world name but it should be the default anyways


Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something


>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

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...