Advertisement
Guest User

Particles System | By Pablo | Dev | Copyright 2017

a guest
Dec 16th, 2017
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5.33 KB | None | 0 0
  1. #PARTICULES {Dev} | By Pablo Zapata | Contact pro: pabzapata16@gmail.com
  2. # Il est strictement interdit de vendre / vous approprié ce skript sous peine de
  3. # Lourdes sanctions judiciaires.
  4.  
  5. # Particules de la cheminé au hub
  6.  
  7. every 0.5 second:
  8.     loop all players:
  9.         show 10 "cloud" particles at {a1} for loop-player offset by 0.4, 0.7, 0.4
  10.         show 10 "cloud" particles at {a2} for loop-player offset by 0.4, 0.7, 0.4
  11.         show 10 "cloud" particles at {a3} for loop-player offset by 0.4, 0.7, 0.4
  12.         show 10 "cloud" particles at {a4} for loop-player offset by 0.4, 0.7, 0.4
  13.  
  14. # Particules disponible pour les joueurs dans le hub via le /particules
  15.  
  16. On any move:
  17.     if event-world is "Hub":
  18.         if {%player%.particules} is set:
  19.             loop all players:
  20.                 show {%player%.np} "%{%player%.particules}%" particles at location of player for loop-player offset by 0.4, 0.7, 0.4
  21.  
  22.  
  23.  
  24. every 1 second:
  25.     loop all players:
  26.         if loop-player is in world "Hub":
  27.             if {%loop-player%.particules} is set:
  28.                 show {%loop-player%.np} "%{%loop-player%.particules}%" particles at location of loop-player for loop-player offset by 0.4, 0.7, 0.4
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. command /particule:slime:
  36.     trigger:
  37.         if event-world is "Hub":
  38.             if player has permission "perm.vip" or "perm.vip+":
  39.                 set {%player%.particules} to "slime"
  40.                 delete {%player%.np}
  41.                 wait 1 tick
  42.                 add 5 to {%player%.np}
  43.                 send "&aParticules &aSlime &aactives."
  44.             else:
  45.                 send "&cVous n'avez pas la permission ! << &eV.I.P &c>>"
  46.         else:
  47.             stop
  48.  
  49. command /particule:degats:
  50.     trigger:
  51.         if event-world is "Hub":
  52.             if player has permission "perm.vip+":
  53.                 set {%player%.particules} to "enchantingtable"
  54.                 delete {%player%.np}
  55.                 wait 1 tick
  56.                 add 5 to {%player%.np}
  57.                 send "&aParticules &fdegats &aactives."
  58.             else:
  59.                 send "&cVous n'avez pas la permission ! << &bV.I.P+ &c>>"
  60.         else:
  61.             stop
  62.  
  63. command /particule:lave:
  64.     trigger:
  65.         if event-world is "Hub":
  66.             if player has permission "perm.vip+":
  67.                 set {%player%.particules} to "lava"
  68.                 delete {%player%.np}
  69.                 wait 1 tick
  70.                 add 1 to {%player%.np}
  71.                 send "&aParticules &6lave &aactives."
  72.             else:
  73.                 send "&cVous n'avez pas la permission ! << &bV.I.P+ &c>>"
  74.         else:
  75.             stop
  76.  
  77. command /particule:amoureux:
  78.     trigger:
  79.         if event-world is "Hub":
  80.             if player has permission "perm.svip":
  81.                 set {%player%.particules} to "heart"
  82.                 delete {%player%.np}
  83.                 wait 1 tick
  84.                 add 3 to {%player%.np}
  85.                 send "&aParticules &damoureux &aactives."
  86.             else:
  87.                 send "&cVous n'avez pas la permission ! << &9SquidyV.I.P &c>>"
  88.         else:
  89.             stop
  90.  
  91. command /particule:musique:
  92.     trigger:
  93.         if event-world is "Hub":
  94.             if player has permission "perm.svip":
  95.                 set {%player%.particules} to "note"
  96.                 delete {%player%.np}
  97.                 wait 1 tick
  98.                 add 3 to {%player%.np}
  99.                 send "&aParticules &6n&do&et&ae &aactives."
  100.             else:
  101.                 send "&cVous n'avez pas la permission ! << &9SquidyV.I.P &c>>"
  102.         else:
  103.             stop
  104.  
  105.  
  106. command /particule:portail:
  107.     trigger:
  108.         if event-world is "Hub":
  109.             if player has permission "perm.lvip":
  110.                 set {%player%.particules} to "portal"
  111.                 delete {%player%.np}
  112.                 wait 1 tick
  113.                 add 10 to {%player%.np}
  114.                 send "&aParticules &5portail &aactives."
  115.             else:
  116.                 send "&cVous n'avez pas la permission ! << &dLegendary &c>>"
  117.         else:
  118.             stop
  119.  
  120.  
  121. command /particule:fume:
  122.     trigger:
  123.         if event-world is "Hub":
  124.             if player has permission "perm.lvip":
  125.                 set {%player%.particules} to "cloud"
  126.                 delete {%player%.np}
  127.                 wait 1 tick
  128.                 add 5 to {%player%.np}
  129.                 send "&aParticules &ffume &aactives."
  130.             else:
  131.                 send "&cVous n'avez pas la permission ! << &dLegendary &c>>"
  132.         else:
  133.             stop
  134.  
  135.  
  136. command /particule:staff:
  137.     trigger:
  138.         if event-world is "Hub":
  139.             if player's name is "Block2Redstone" or "Clem1003":
  140.                 set {%player%.particules} to "cloud"
  141.                 delete {%player%.np}
  142.                 wait 1 tick
  143.                 add 30 to {%player%.np}
  144.                 send "&aParticules &5&lSTAFF &aactives."
  145.             else:
  146.                 send "&cVous n'avez pas la permission ! << &5Membre de creation de SquidyCraft &c>>"
  147.         else:
  148.             stop
  149.  
  150.  
  151. command /delparticule:
  152.     trigger:
  153.         if event-world is "hub":
  154.             delete {%player%.particules}
  155.             send "&aVous n'avez plus de particules !"
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163. command /particules:
  164.     trigger:
  165.         if event-world is "Hub":
  166.             wait 2 ticks
  167.             open chest with 1 rows named "&6&lParticules" to player
  168.             wait 1 ticks
  169.             format slot 0 of player with 341 named "&aSlime &e[V.I.P]" to close then run [execute player command "particule:slime"]
  170.             format slot 1 of player with iron sword named "&fDegats &b[V.I.P+]" to close then run [execute player command "particule:degats"]
  171.             format slot 2 of player with 327 named "&6Lave &b[V.I.P+]" to close then run [execute player command "particule:lave"]
  172.             format slot 3 of player with 383:120 named "&dAmoureux &9[S.V.I.P]" to close then run [execute player command "particule:amoureux"]
  173.             format slot 4 of player with jukebox named "&5Musique &9[S.V.I.P]" to close then run [execute player command "particule:musique"]
  174.             format slot 5 of player with obsidian named "&5Portail &d[Legend]" to close then run [execute player command "particule:portail"]
  175.             format slot 6 of player with 30 named "&fFume &d[Legend]" to close then run [execute player command "particule:fume"]
  176.             format slot 7 of player with 166 named "&4&lNoir &4[Admin]" to close then run [execute player command "particule:staff"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement