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}%"
I need help with end portal skript
in Discussion
Posted
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}%"