Guest User

Untitled

a guest
Apr 29th, 2014
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. # # # # # # # # # # # # # # # # #
  2. # Skrypt stworzony przez Dix'a #
  3. # Tematyka/Nazwa - 4Fun/JetPack #
  4. # Wersja - Beta #
  5. # # # # # # # # # # # # # # # # #
  6.  
  7. options:
  8. 1: s;1;i;369;
  9. 2: s;2;i;gold ingot;
  10. 3: s;3;i;369;
  11.  
  12. 4: s;10;i;369;
  13. 5: s;11;i;iron chestplate;
  14. 5a: s;11;i;gold chestplate;
  15. 5b: s;11;i;diamond chestplate;
  16. 6: s;12;i;369;
  17.  
  18. 7: s;19;i;369;
  19. 8: s;20;i;gold ingot;
  20. 9: s;21;i;369;
  21.  
  22. jp: s;15;i;chain chestplate;n;&8|| &6JetPack &8|| &7- &6Normal;
  23. jp-a: s;15;i;chain chestplate;n;&8|| &6JetPack &8|| &7- &6Speed;
  24. jp-b: s;15;i;chain chestplate;n;&8|| &6JetPack &8|| &7- &6Super Speed;
  25.  
  26. on first join:
  27. set {fix.normal.%player%} to 0
  28. set {fix.speed.%player%} to 0
  29. set {fix.superspeed.%player%} to 0
  30.  
  31.  
  32. on script load:
  33. register new shaped recipe for chain chestplate of power 6 named "&8|| &6JetPack &8|| &7- &6Normal" using blaze rod, gold ingot, blaze rod, blaze rod, iron chestplate, blaze rod, blaze rod, gold ingot, blaze rod
  34. register new shaped recipe for chain chestplate of power 7 named "&8|| &6JetPack &8|| &7- &6Speed" using blaze rod, gold ingot, blaze rod, blaze rod, gold chestplate, blaze rod, blaze rod, gold ingot, blaze rod
  35. register new shaped recipe for chain chestplate of power 8 named "&8|| &6JetPack &8|| &7- &6Super Speed" using blaze rod, gold ingot, blaze rod, blaze rod, diamond chestplate, blaze rod, blaze rod, gold ingot, blaze rod
  36.  
  37. on sneak toggle:
  38. if player's y-coordinate is smaller than 200:
  39. if player is wearing chain chestplate of power 6:
  40. loop 7 times:
  41. push the player in direction of player at speed 0.1
  42. wait 1 tick
  43. push the player upwards at speed 0.1
  44. chance of 20%:
  45. damage player's chestplate by 1
  46. create a fake explosion at the player
  47. create timed bar with text "&7Paliwo &8|| &6%damage of player's chestplate-240%" to player for 2 seconds
  48. add 1 to {fix.normal.%player%}
  49. if player is wearing chain chestplate of power 7:
  50. loop 10 times:
  51. push the player in direction of player at speed 0.3
  52. wait 1 tick
  53. push the player upwards at speed 0.2
  54. chance of 20%:
  55. damage player's chestplate by 1
  56. create a fake explosion at the player
  57. create timed bar with text "&7Paliwo &8|| &6%damage of player's chestplate-240%" to player for 2 seconds
  58. add 1 to {fix.speed.%player%}
  59. if player is wearing chain chestplate of power 8:
  60. loop 3 times:
  61. push the player in direction of player at speed 0.5
  62. wait 1 tick
  63. push the player upwards at speed 0.2
  64. chance of 20%:
  65. add 1 to {fix.superspeed.%player%}
  66. damage player's chestplate by 1
  67. create a fake explosion at the player
  68. create timed bar with text "&7Paliwo &8|| &6%damage of player's chestplate-240%" to player for 2 seconds
  69. else:
  70. create timed bar with text "&6Error &7- &8Nie mozesz latac wyzej" to player for 2 seconds
  71.  
  72. on leftclick:
  73. if player is holding chain chestplate:
  74. if name of player's tool is "&8|| &6JetPack &8|| &7- &6Normal":
  75. if player has 1 coal:
  76. repair player's tool by 3
  77. remove 1 coal from the player
  78. create timed bar with text "&8Trwa ladowanie &7|| &6Prosze czekac" to player for 2 seconds
  79. if name of player's tool is "&8|| &6JetPack &8|| &7- &6Speed":
  80. if player has 1 glowstone:
  81. repair player's tool by 3
  82. create timed bar with text "&8Trwa ladowanie &7|| &6Prosze czekac" to player for 2 seconds
  83. remove 1 glowstone from the player
  84. if name of player's tool is "&8|| &6JetPack &8|| &7- &6Super Speed":
  85. if player has 1 gunpowder:
  86. repair player's tool by 3
  87. create timed bar with text "&8Trwa ladowanie &7|| &6Prosze czekac" to player for 2 seconds
  88. remove 1 gunpowder from the player
  89. on mine:
  90. if name of player's tool is "&8|| &6JetPack &8|| &7- &6Normal":
  91. cancel event
  92. send "&7Nie mozesz niszczyc blokow JetPack-iem"
  93.  
  94. command /jetpack <text>:
  95. permission: jetpack.*
  96. trigger:
  97. create timed bar with text "&8Jetpack &7|| &6Informacje" to player for 3 seconds
  98. if arg is "staty":
  99. send "&7Ladowanie JetPack &8|| &6Normal &7- %{fix.normal.%player%}%"
  100. send "&7Ladowanie JetPack &8|| &6Speed &7- %{fix.speed.%player%}%"
  101. send "&7Ladowanie JetPack &8|| &6Super Speed 7- %{fix.superspeed.%player%}%"
  102. if arg is "daj normal":
  103. give a chain chestplate of power 6 named "&8|| &6JetPack &8|| &7- &6Normal" to the player
  104. send "&7Otrzymales &8|| &6JetPack"
  105. if arg is "daj speed":
  106. give a chain chestplate of power 7 named "&8|| &6JetPack &8|| &7- &6Speed" to the player
  107. send "&7Otrzymales &8|| &6JetPack"
  108. if arg is "daj super speed":
  109. give a chain chestplate of power 8 named "&8|| &6JetPack &8|| &7- &6Super Speed" to the player
  110. send "&7Otrzymales &8|| &6JetPack"
  111. if arg is "crafting normal":
  112. show "{@1}{@2}{@3}{@4}{@5}{@6}{@7}{@8}{@9}{@jp}" with 3 rows named "&7Pomoc &8|| &6JetPack" to player
  113. if arg is "crafting speed":
  114. show "{@1}{@2}{@3}{@4}{@5a}{@6}{@7}{@8}{@9}{@jp-a}" with 3 rows named "&7Pomoc &8|| &6JetPack" to player
  115. if arg is "crafting super speed":
  116. show "{@1}{@2}{@3}{@4}{@5b}{@6}{@7}{@8}{@9}{@jp-b}" with 3 rows named "&7Pomoc &8|| &6JetPack" to player
  117. if arg is "autor" or "info" or "author" or "by":
  118. send "&7Info o Skrypcie"
  119. send " &7Tematyka &8|| &6JetPack, 4Fun"
  120. send " &7Stworzony przez &8|| &6Dix'u"
  121. send " &7Dla &8|| &6uzytkownikow MPCforum.pl"
  122. if arg is "reload" or "odswiez" or "fix":
  123. execute console command "/sk reload %script%"
  124. if arg is not "reload" or "odswiez" or "fix" or "staty" or "autor" or "info" or "daj normal" or "daj speed" or "daj super speed" or "author" or "by" or "crafting normal" or "crafting speed" or "crafting super speed" or "craft" or "work" or "daj" or "give":
  125. send "&7Pomoc - JetPack"
  126. send " &7/jetpack reload &8|| &6Odswieza Skrypta"
  127. send " &7/jetpack crafting (normal/speed/super speed) &8|| &6Pokazuje wirtualny crafting JetPacka"
  128. send " &7/jetpack info &8|| &6Informacje o Skrypcie"
  129. send " &7/jetpack daj (normal/speed/super speed) &8|| &6Otrzymujesz JetPack"
  130. if arg 1 is not set:
  131. send "&7Pomoc - JetPack"
  132. send " &7/jetpack reload &8|| &6Odswieza Skrypta"
  133. send " &7/jetpack crafting (normal/speed/super speed) &8|| &6Pokazuje wirtualny crafting JetPacka"
  134. send " &7/jetpack info &8|| &6Informacje o Skrypcie"
  135. send " &7/jetpack daj (normal/speed/super speed)&8|| &6Otrzymujesz JetPack"
Advertisement
Add Comment
Please, Sign In to add comment