CREAMPAN0408

Untitled

Feb 25th, 2019
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.92 KB | None | 0 0
  1.  
  2. Options:
  3. PT-Logo: &6[&aParticle Trails&6] &r
  4. TManager: true
  5.  
  6. Particle-Amount-flame: 25 #<---- How many particles should be spawned for "flame" on movement?
  7. Particle-Amount-happy: 25 #<---- How many particles should be spawned for "happy" on movement?
  8. Particle-Amount-happier: 25 #<---- How many particles should be spawned for "happier" on movement?
  9. Particle-Amount-angry: 25 #<---- How many particles should be spawned for "angry" on movement?
  10. Particle-Amount-fireworks: 25 #<---- How many particles should be spawned for "fireworks" on movement?
  11. Particle-Amount-heart: 25 #<---- How many particles should be spawned for "heart" on movement?
  12. Particle-Amount-flames: 25 #<---- How many particles should be spawned for "flames" on movement?
  13. Particle-Amount-spells: 25 #<---- How many particles should be spawned for "spells" on movement?
  14. Particle-Amount-note: 25 #<---- How many particles should be spawned for "note" on movement?
  15. Particle-Amount-notes: 25 #<---- How many particles should be spawned for "notes" on movement?
  16. Particle-Amount-cloud: 25 #<---- How many particles should be spawned for "cloud" on movement?
  17. Particle-Amount-clouds: 25 #<---- How many particles should be spawned for "clouds" on movement?
  18.  
  19.  
  20. command /pt [<text>]:
  21. permission: particles.player
  22. aliases: /particle, /particles, /trail, /trails, /{@PT-Logo}
  23. trigger:
  24. if arg 1 is "toggle":
  25. {perks.%player%} is not set:
  26. set {perks.%player%} to 0
  27. {perks.%player%} is 1:
  28. set {perks.%player%} to 0
  29. message "{@PT-Logo} &cDeactivated"
  30. if "{@TManager}" is "true" or "True":
  31. execute console command "tm amsg %player% {@PT-Logo} &cDeactivated"
  32. stop trigger
  33. {perks.%player%} is 0:
  34. set {perks.%player%} to 1
  35. message "{@PT-Logo} &aActivated"
  36. if "{@TManager}" is "true" or "True":
  37. execute console command "tm amsg %player% {@PT-Logo} &aActivated"
  38. stop trigger
  39. if arg 1 is "flame" or "happy" or "happier" or "angry" or "fireworks" or "heart" or "flames" or "spells" or "note" or "notes" or "cloud" or "clouds":
  40. set {perks.type.%player%} to arg 1
  41. message "{@PT-Logo} Particles set to %arg 1%"
  42. stop trigger
  43. if arg 1 is "help":
  44. message "&6//--------------- {@PT-Logo}&6---------------\\"
  45. message " &6/pt toggle &7- Toggles the trails"
  46. message " &6/pt <type> &7- Change trail types"
  47. message " &6TYPES &7- flame | happy | happier | angry | fireworks | heart | flames | spells | note | notes | cloud | clouds"
  48. message "&6\\--------------- {@PT-Logo}&6---------------//"
  49. stop trigger
  50. if arg 1 is "reload":
  51. player has permission "particles.admin"
  52. execute console command "skript reload particles"
  53. send "{@PT-Logo} &7Particles skript reloading."
  54. stop trigger
  55. message "{@PT-Logo} &cPlease provide a valid sub command use &6/pt help"
  56. on login:
  57. set {perks.%player%} to 0
  58. set {perks.type.%player%} to "happy"
  59. on any movement:
  60. if {perks.%player%} is 1:
  61. if {perks.type.%player%} is "flame":
  62. set {_Particlespawn} to location of player
  63. spawn {@Particle-Amount-flame} of particle flame offset by 0, 0, 0 at {_Particlespawn}
  64. stop
  65. if {perks.type.%player%} is "happy":
  66. set {_Particlespawn} to location of player
  67. spawn {@Particle-Amount-happy} of particle happy villager offset by 0, 0, 0 at {_Particlespawn}
  68. stop
  69. if {perks.type.%player%} is "happier":
  70. set {_Particlespawn} to location of player
  71. spawn {@Particle-Amount-happier} of particle happy villager offset by 0, 0, 0 at {_Particlespawn}
  72. spawn {@Particle-Amount-happier} of particle happy villager offset by 1, 0, 1 at {_Particlespawn}
  73. spawn {@Particle-Amount-happier} of particle happy villager offset by -1, 0, -1 at {_Particlespawn}
  74. stop
  75. if {perks.type.%player%} is "angry":
  76. set {_Particlespawn} to location of player
  77. spawn {@Particle-Amount-angry} of particle angry villager offset by 0, 0, 0 at {_Particlespawn}
  78. stop
  79. if {perks.type.%player%} is "fireworks":
  80. set {_Particlespawn} to location of player
  81. spawn {@Particle-Amount-fireworks} of particle fireworks spark offset by 0, 0, 0 at {_Particlespawn}
  82. stop
  83. if {perks.type.%player%} is "heart":
  84. set {_Particlespawn} to location of player
  85. spawn {@Particle-Amount-heart} of particle heart offset by 0, 0, 0 at {_Particlespawn}
  86. stop
  87. if {perks.type.%player%} is "flames":
  88. set {_Particlespawn} to location of player
  89. spawn {@Particle-Amount-flames} of particle flame offset by 0, 0, 0 at {_Particlespawn}
  90. spawn {@Particle-Amount-flames} of particle flame offset by 1, 0, 1 at {_Particlespawn}
  91. spawn {@Particle-Amount-flames} of particle flame offset by -1, 0, -1 at {_Particlespawn}
  92. stop
  93. if {perks.type.%player%} is "spells":
  94. set {_Particlespawn} to location of player
  95. spawn {@Particle-Amount-spells} of particle spell offset by 0, 0, 0 at {_Particlespawn}
  96. spawn {@Particle-Amount-spells} of particle spell offset by 1, 0, 1 at {_Particlespawn}
  97. spawn {@Particle-Amount-spells} of particle spell offset by -1, 0, -1 at {_Particlespawn}
  98. stop
  99. if {perks.type.%player%} is "note":
  100. set {_Particlespawn} to location of player
  101. spawn {@Particle-Amount-note} of particle note offset by 0, 0, 0 at {_Particlespawn}
  102. stop
  103. if {perks.type.%player%} is "notes":
  104. set {_Particlespawn} to location of player
  105. spawn {@Particle-Amount-notes} of particle note offset by 0, 0, 0 at {_Particlespawn}
  106. spawn {@Particle-Amount-notes} of particle note offset by 1, 0, 1 at {_Particlespawn}
  107. spawn {@Particle-Amount-notes} of particle note offset by -1, 0, -1 at {_Particlespawn}
  108. stop
  109. if {perks.type.%player%} is "cloud":
  110. set {_Particlespawn} to location of player
  111. spawn {@Particle-Amount-cloud} of particle cloud offset by 0, 0, 0 at {_Particlespawn}
  112. stop
  113. if {perks.type.%player%} is "clouds":
  114. set {_Particlespawn} to location of player
  115. spawn {@Particle-Amount-clouds} of particle cloud offset by 0, 0, 0 at {_Particlespawn}
  116. spawn {@Particle-Amount-clouds} of particle cloud offset by 1, 0, 1 at {_Particlespawn}
  117. spawn {@Particle-Amount-clouds} of particle cloud offset by -1, 0, -1 at {_Particlespawn}
  118. stop
Add Comment
Please, Sign In to add comment