Advertisement
fleft17

Untitled

Sep 28th, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. #================#
  2. #=Fleft's Skript=#
  3. #================#
  4.  
  5.  
  6. options:
  7.  
  8. P: &7[&eBox&7]
  9.  
  10. HC: &b
  11.  
  12. CC: &r
  13.  
  14. on damage:
  15. {box} is true:
  16. cancel the event
  17.  
  18.  
  19. command /box <world>:
  20. usage: /box <world>
  21. description: Create a Bedrock Box in your UHC world
  22. permission: skript.box
  23. trigger:
  24. set {box} to true
  25. command sender command "/minigames off"
  26. command sender command "/pvptoggle off"
  27. set {_world} to arg-1
  28. teleport player to spawn of "world"
  29. command sender command "/questions on"
  30. wait 0.1 second
  31. command sender command "/top"
  32. wait 0.1 second
  33. command sender command "/time set 0"
  34. wait 0.1 second
  35. command sender command "//pos1 -7,205,-7"
  36. wait 0.1 second
  37. command sender command "//pos2 7,199,7"
  38. wait 0.1 second
  39. command sender command "//set bedrock"
  40. wait 0.1 second
  41. command sender command "//pos1 -6,205,-6"
  42. wait 0.1 second
  43. command sender command "//pos2 6,200,6"
  44. command sender command "//set air"
  45. command sender command "/tp %player% 0 201 0"
  46. execute console command "/effc"
  47. wait 0.5 seconds
  48. loop all players:
  49. teleport loop-player to the command sender
  50. clear the loop-player's inventory
  51. set the loop-player's gamemode to survival
  52. set loop-player's hunger to 20
  53. heal the loop-player
  54. loop-player is ignited:
  55. extinguish loop-player
  56. wait 3 seconds
  57. broadcast "{@P}{@CC} All players teleported to the box!"
  58. set {box} to false
  59. set {uhcGame} to true
  60.  
  61. command /boxremove <text>:
  62. usage: /boxremove <world>
  63. description: Make sure you use this ONLY in the world the Bedrock Box is in!
  64. permission: skript.box
  65. trigger:
  66. command sender command "//pos1 -7,205,-7"
  67. wait 0.1 second
  68. command sender command "//pos2 7,199,7"
  69. command sender command "//set air"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement