Advertisement
diabloIIIROS

UHC Beta

Jan 19th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. command /uhc [<text>]:
  2. permission: powercraft.uhc
  3. permission message: &4Insignificant permissions to use "/uhc <value>"
  4. trigger:
  5. if arg-1 is "but":
  6. if player is in world "uhc_spawn":
  7. open virtual chest with 1 rows named "&dMenu &0> &cKits" to player
  8. format gui slot 0 of player with dirt named "&l&7Normal" to run:
  9. close player's inventory
  10. set {uhc.game.type} to "normal"
  11. format gui slot 1 of player with water bucket named "&l&bWater" to run:
  12. close player's inventory
  13. set {uhc.game.type} to "water"
  14. format gui slot 2 of player with lava bucket named "&l&cLava" to run:
  15. close player's inventory
  16. set {uhc.game.type} to "lava"
  17. format gui slot 3 of player with feather named "&l&5More Jump Power" to run:
  18. close player's inventory
  19. set {uhc.game.type} to "more jump"
  20. format gui slot 4 of player with diamond boots named "&l&5Can't Jump At All" to run:
  21. close player's inventory
  22. set {uhc.game.type} to "no jump"
  23. format gui slot 5 of player with bedrock named "&l&6Gravity" to run:
  24. close player's inventory
  25. set {uhc.game.type} to "gravity"
  26. else if arg-1 is "start":
  27. loop all players in world "uhc_spawn":
  28. send "Starting uhc game in 10 seconds, game type is %{uhc.game.type}%" to the player
  29. if {uhc.game.type} is "normal":
  30. teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
  31. set {uhc.game.type} to "started"
  32. else if {uhc.game.type} is "water":
  33. teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
  34. set {uhc.game.type} to "started"
  35. else if {uhc.game.type} is "lava":
  36. teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
  37. set {uhc.game.type} to "started"
  38. else if {uhc.game.type} is "more jump":
  39. teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
  40. set {uhc.game.type} to "started"
  41. else if {uhc.game.type} is "no jump":
  42. teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
  43. set {uhc.game.type} to "started"
  44. else if {uhc.game.type} is "gravity":
  45. set {uhc.game.type} to "started"
  46. teleport loop-player to location at -548.634, 67.0, 84.482 in world "uhc_spawn"
  47. every 10 seconds:
  48. loop all players in world "uhc":
  49. loop blocks in radius 5 of player:
  50. loop-block isn't obsidian or bedrock:
  51. block below loop-block is air:
  52. spawn falling loop-block at loop-block
  53. set loop-block to air
  54. else:
  55. send "&c&lPlease Select A(n) Gamemode!" to the player
  56. else if arg-1 is "stop":
  57. send "stop in beta" to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement