Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /uhc [<text>]:
- permission: powercraft.uhc
- permission message: &4Insignificant permissions to use "/uhc <value>"
- trigger:
- if arg-1 is "but":
- if player is in world "uhc_spawn":
- open virtual chest with 1 rows named "&dMenu &0> &cKits" to player
- format gui slot 0 of player with dirt named "&l&7Normal" to run:
- close player's inventory
- set {uhc.game.type} to "normal"
- format gui slot 1 of player with water bucket named "&l&bWater" to run:
- close player's inventory
- set {uhc.game.type} to "water"
- format gui slot 2 of player with lava bucket named "&l&cLava" to run:
- close player's inventory
- set {uhc.game.type} to "lava"
- format gui slot 3 of player with feather named "&l&5More Jump Power" to run:
- close player's inventory
- set {uhc.game.type} to "more jump"
- format gui slot 4 of player with diamond boots named "&l&5Can't Jump At All" to run:
- close player's inventory
- set {uhc.game.type} to "no jump"
- format gui slot 5 of player with bedrock named "&l&6Gravity" to run:
- close player's inventory
- set {uhc.game.type} to "gravity"
- else if arg-1 is "start":
- loop all players in world "uhc_spawn":
- send "Starting uhc game in 10 seconds, game type is %{uhc.game.type}%" to the player
- if {uhc.game.type} is "normal":
- teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
- set {uhc.game.type} to "started"
- else if {uhc.game.type} is "water":
- teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
- set {uhc.game.type} to "started"
- else if {uhc.game.type} is "lava":
- teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
- set {uhc.game.type} to "started"
- else if {uhc.game.type} is "more jump":
- teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
- set {uhc.game.type} to "started"
- else if {uhc.game.type} is "no jump":
- teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
- set {uhc.game.type} to "started"
- else if {uhc.game.type} is "gravity":
- set {uhc.game.type} to "started"
- teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
- every 10 seconds:
- loop all players in world "uhc":
- loop blocks in radius 5 of player:
- loop-block isn't obsidian or bedrock:
- block below loop-block is air:
- spawn falling loop-block at loop-block
- set loop-block to air
- else:
- send "&c&lPlease Select A(n) Gamemode!" to the player
- else if arg-1 is "stop":
- send "stop in beta" to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement