LuckyLucario99

Blood Crafting Tables Skript by LuckyLucario99

Oct 10th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. options:
  2. BCT : &6[&4Blood&bCraftingTables&6]
  3. D : &cDisabled!
  4. E : &cEnabled!
  5. NS : &c/bloodcraftingtables <enable/disable/toggle/maxhealth>
  6. MH : &c/bloodcraftingtables maxhealth <number>
  7.  
  8. command /bloodcraftingtables [<text>] [<number>]:
  9. usage: /bloodcraftingtables <enable/disable/toggle/maxhealth>
  10. aliases: /bct
  11. permission: bloodcraftingtables.admin
  12. trigger:
  13. if arg 1 is not set:
  14. message "{@BCT} {@NS}"
  15. else if arg 1 is "enable":
  16. set {bloodcraftingtables} to true
  17. broadcast "{@BCT} {@E}"
  18. else if arg 1 is "disable":
  19. set {bloodcraftingtables} to false
  20. broadcast "{@BCT} {@D}"
  21. else if arg 1 is "toggle":
  22. if {bloodcraftingtables} is true:
  23. set {bloodcraftingtables} to false
  24. broadcast "{@BCT} {@D}"
  25. stop
  26. if {bloodcraftingtables} is false:
  27. set {bloodcraftingtables} to true
  28. broadcast "{@BCT} {@E}"
  29. stop
  30. else if arg 1 is "maxhealth":
  31. if arg 2 is not set:
  32. message "{@BCT} {@MH}"
  33. else if arg 2 is set:
  34. loop all players:
  35. set max health of loop-player to arg 2
  36. heal all players
  37. else:
  38. message "{@BCT} {@NS}"
  39.  
  40. on place of crafting table:
  41. if {bloodcraftingtables} is true:
  42. damage player by 0.5 hearts
  43.  
  44. on break of crafting table:
  45. if {bloodcraftingtables} is true:
  46. damage player by 0.5 hearts
  47.  
  48.  
  49. # Skript made by LuckyLucario99
  50. # Gamemode Idea by KoolGuyTheBest
Advertisement
Add Comment
Please, Sign In to add comment