Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #================#
- #=Fleft's Skript=#
- #================#
- options:
- P: &7[&eBox&7]
- HC: &b
- CC: &r
- on damage:
- {box} is true:
- cancel the event
- command /box <world>:
- usage: /box <world>
- description: Create a Bedrock Box in your UHC world
- permission: skript.box
- trigger:
- set {box} to true
- command sender command "/minigames off"
- command sender command "/pvptoggle off"
- set {_world} to arg-1
- teleport player to spawn of "world"
- command sender command "/questions on"
- wait 0.1 second
- command sender command "/top"
- wait 0.1 second
- command sender command "/time set 0"
- wait 0.1 second
- command sender command "//pos1 -7,205,-7"
- wait 0.1 second
- command sender command "//pos2 7,199,7"
- wait 0.1 second
- command sender command "//set bedrock"
- wait 0.1 second
- command sender command "//pos1 -6,205,-6"
- wait 0.1 second
- command sender command "//pos2 6,200,6"
- command sender command "//set air"
- command sender command "/tp %player% 0 201 0"
- execute console command "/effc"
- wait 0.5 seconds
- loop all players:
- teleport loop-player to the command sender
- clear the loop-player's inventory
- set the loop-player's gamemode to survival
- set loop-player's hunger to 20
- heal the loop-player
- loop-player is ignited:
- extinguish loop-player
- wait 3 seconds
- broadcast "{@P}{@CC} All players teleported to the box!"
- set {box} to false
- set {uhcGame} to true
- command /boxremove <text>:
- usage: /boxremove <world>
- description: Make sure you use this ONLY in the world the Bedrock Box is in!
- permission: skript.box
- trigger:
- command sender command "//pos1 -7,205,-7"
- wait 0.1 second
- command sender command "//pos2 7,199,7"
- command sender command "//set air"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement