Advertisement
Randall123459

Spawn Items Skript For UHC

Apr 6th, 2015
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. command /spawnitems <text>:
  2. usage: /spawnitems <enable:disable:toggle>
  3. permission: skript.op
  4. trigger:
  5. if arg 1 is "enable" or "on":
  6. set {spawnitems} to true
  7. message "&aSpawn Items Enabled!"
  8. if arg 1 is "disable" or "off":
  9. set {spawnitems} to false
  10. message "&cSpawn Items Disabled!"
  11. if arg 1 is "toggle":
  12. if {spawnitems} is false:
  13. set {spawnitems} to true
  14. message "&aSpawn Items Enabled!"
  15. if {spawnitems} is true:
  16. set {spawnitems} to false
  17. message "&cSpawn Items Disabled!"
  18.  
  19. on rightclick holding diamond sword:
  20. player's world is "spawn" or "pvparena":
  21. command "/ci %player%"
  22. wait 1 tick
  23. make player execute command "/p"
  24.  
  25. on rightclick holding clock:
  26. player's world is "spawn" or "pvparena":
  27. command "/warp hof %player%"
  28.  
  29. on rightclick holding sponge:
  30. player's world is "spawn" or "pvparena":
  31. command "/warp parkour %player%"
  32.  
  33. on rightclick holding name tag:
  34. player's world is "spawn" or "pvparena":
  35. message "&b&lWant skripts made? Speak to ryanrands1 on skype"
  36.  
  37. on consume of golden apple:
  38. player's world is "spawn":
  39. cancel event
  40.  
  41. On drop:
  42. player's world is "spawn":
  43. message "&bYou are not allowed to drop things!"
  44. cancel event
  45.  
  46. on join:
  47. if {spawnitems} is true:
  48. command "/spawn %player%"
  49. clear inventory of player
  50. give player 1 diamond sword named "&b&lOpen PvP"
  51. give player 1 black glass named "&6&l1"
  52. give player 1 clock named "&c&lHall Of Fame"
  53. give player 1 black glass named "&6&l2"
  54. give player 1 sponge named "&a&lParkour"
  55. give player 1 black glass named "&6&l3"
  56. give player 1 name tag named "&d&lSkript made by Randall123459"
  57. give player 1 black glass named "&6&l4"
  58. give player 1 golden apple named "&e&lStaff"
  59.  
  60. on death of player:
  61. if {spawnitems} is true:
  62. command "/spawn %player%"
  63. clear inventory of player
  64. wait 3 seconds
  65. give player 1 diamond sword named "&b&lOpen PvP"
  66. give player 1 black glass named "&6&l1"
  67. give player 1 clock named "&c&lHall Of Fame"
  68. give player 1 black glass named "&6&l2"
  69. give player 1 sponge named "&a&lParkour"
  70. give player 1 black glass named "&6&l3"
  71. give player 1 name tag named "&d&lSkript made by Randall123459"
  72. give player 1 black glass named "&6&l4"
  73. give player 1 golden apple named "&e&lStaff"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement