Jump to content

I need help with end portal skript


IAmPhantom

Recommended Posts

I have this skript which when you step on an end portal it will teleport you to the set location but I need it to teleport me to a different location if in a specific region, for example if I was in region A and stepped on an end portal it would teleport me to location A but if I was in region B and stepped on an end portal it would teleport me to location B. Someone please help I'm so lost.

This is the skript I have currently

on step on end portal:
    teleport player to {spawn2}

command /setendtp:
    permission: op
    trigger:
        set {spawn2} to player's location
        send "Set location to %{spawn2}%"

Link to comment
Share on other sites


On Portal Enter:
    if player is in world "Default":
        teleport player to {spawn}

If this does not work msg me in my dm or discord 

Lunah#1040

Owner of:

AuxMines

AuxMines is a unique Box Mining server. We have Super Hero ArmourCustom Enchants, Cool BossesChill Community, and Custom Drops  all in one server!

We aren't fully released, so if you wanna drop by and give us some suggestions that would be cool.

 

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