Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- P: <cyan>[<gray>UHC<cyan>]
- command /nogoingback <text>:
- usage: /nogoingback <on/off>
- aliases: /ngb
- permission: skript.op
- trigger:
- if arg-1 is "on":
- set {NoGoingBack} to true
- broadcast "{@P} <red>No Going Back Enabled"
- if arg-1 is "off":
- set {NoGoingBack} to false
- broadcast "{@P} <red>No Going Back Disabled"
- if arg-1 is "set":
- set {EndWarp} to player's location
- message "{@P} <red>Warp Set"
- on portal:
- {NoGoingBack} is true
- biome of player is hell
- wait 1 second
- teleport player to {EndWarp}
- on portal enter:
- {NoGoingBack} is true
- biome is not hell or sky
- message "{@P} <red>Once you go through the portal, there is no going back!" to player
- on portal:
- {NoGoingBack} is true
- biome of player is sky
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment