CREAMPAN0408

Untitled

Feb 25th, 2019
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. Options:
  2. prefix: &8&l{&a&lLaCraft&8&l}&a
  3. command: Particels #WITHOUT / SLASH
  4. command /{@command} [<text>]:
  5. permission: Give.lever.par
  6. trigger:
  7. if arg-1 is not set:
  8. message "{@prefix} &e&lLoader menuen..."
  9. wait 3 ticks
  10. open chest with 2 rows named "&2Particels for &b%player% " to player
  11. wait 3 ticks
  12. format slot 2 of player with slimeball named "&aSlime" to run [ make player execute command "Particels slime"]
  13. wait 3 ticks
  14. format slot 6 of player with Nether star named "&cFirework" to run [ make player execute command "Particels firework"]
  15. wait 3 ticks
  16. format slot 13 of player with lava bucket named "&cRemove" to run [ make player execute command "Particels clear"]
  17. wait 3 ticks
  18.  
  19. if arg-1 is "Magic":
  20. make player execute command "{@command} clear"
  21. set {Particle.Magic.%player%} to true
  22. message "{@prefix} &7Particels &cMagic &7is now activated"
  23.  
  24. if arg-1 is "Firework":
  25. make player execute command "{@command} clear"
  26. set {Particle.Firework.%player%} to true
  27. message "{@prefix} &7Particels &cFirework &7Is now activated"
  28.  
  29. if arg-1 is "slime":
  30. make player execute command "{@command} clear"
  31. set {Particle.spell.%player%} to true
  32. message "&7Particle &cSlime &7Is now activated"
  33.  
  34. if arg-1 is "hart":
  35. make player execute command "{@command} clear"
  36. set {Particle.heart.%player%} to true
  37. message "&7Particle &cHeart &7Is now activated"
  38.  
  39.  
  40. if arg-1 is "clear":
  41. set {Particle.Magic.%player%} to false
  42. set {Particle.Firework.%player%} to false
  43. set {Particle.spell.%player%} to false
  44. set {Particle.heart.%player%} to false
  45. message "&7Your Particles is now taken off"
  46.  
  47.  
  48. on any movement:
  49. if {Particle.Magic.%player%} is true:
  50. show 10 "witchMagic" particles at location of player for player offset by 0.4, 0.7, 0.4
  51. stop
  52. if {Particle.Firework.%player%} is true:
  53. show 10 "fireworksSpark" particles at location of player for player offset by 0.4, 0.7, 0.4
  54. stop
  55.  
  56. if {Particle.spell.%player%} is true:
  57. show 5 "slime" particles at location of player for player offset by 0.4, 0.7, 0.4
  58. stop
  59.  
  60. if {Particle.heart.%player%} is true:
  61. show 3 "heart" particles at location of player for player offset by 0.4, 0.7, 0.4
  62. stop
  63.  
  64.  
  65.  
  66. on click with a lever:
  67. if player has permission "Give.lever.par":
  68. make player execute command "Particels"
  69.  
  70.  
  71. command /Givelever:
  72. trigger:
  73. give player 1 lever named "&a&lParticels"
  74. stop
  75.  
  76.  
  77.  
  78.  
  79. on join:
  80. if player has permission "Give.lever.par":
  81. give player 1 air
  82. give player 1 air
  83. give player 1 air
  84. make player execute command "givelever"
Add Comment
Please, Sign In to add comment