Guest User

Untitled

a guest
Aug 12th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. # # # # # # # # # # # # # # # # #
  2. # Skrypt stworzony przez Axon #
  3. # Tematyka/Nazwa - 4Fun/JetPack #
  4. # Wersja - Testowa #
  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. 6: s;12;i;369;
  15.  
  16. 7: s;19;i;369;
  17. 8: s;20;i;gold ingot;
  18. 9: s;21;i;369;
  19.  
  20. jp: s;15;i;chain chestplate;n;&8|| &6JetPack &8||;
  21.  
  22.  
  23. on script load:
  24. register new shaped recipe for chain chestplate of power 6 named "&8|| &6JetPack &8||" using 369, gold ingot, 369, 369, iron chestplate, 369, 369, gold ingot, 369
  25.  
  26. on sneak toggle:
  27. if player's y-coordinate is smaller than 200:
  28. if player is wearing chain chestplate of power 6:
  29. loop 7 times:
  30. push the player in direction of player at speed 0.1
  31. wait 1 tick
  32. push the player upwards at speed 0.1
  33. chance of 20%:
  34. damage player's chestplate by 1
  35. create a fake explosion at the player
  36. else:
  37. send "&6Error &7- &8Nie mozesz latac wyzej, niz 200 kratek nad poziomem bedrocka."
  38.  
  39. on leftpush:
  40. if player is holding chain chestplate:
  41. if name of player's tool is "&8|| &6JetPack &8||":
  42. if player has 1 coal:
  43. repair player's tool by 3
  44. send "&8Trwa ladowanie &7|| &6Prosze czekac"
  45. remove 1 coal from the player
  46. on mine:
  47. if name of player's tool is "&8|| &6JetPack &8||":
  48. cancel event
  49. send "&7Nie mozesz niszczyc blokow JetPack-iem"
  50.  
  51. command /jetpack <text>:
  52. permission: jetpack.*
  53. trigger:
  54. if arg is "daj" or "give":
  55. give a chain chestplate of power 6 named "&8|| &6JetPack &8||" to the player
  56. send "&7Otrzymales &8|| &6JetPack"
  57. if arg is "crafting" or "craft" or "work":
  58. show "{@1}{@2}{@3}{@4}{@5}{@6}{@7}{@8}{@9}{@jp}" with 3 rows named "&7Pomoc &8|| &6JetPack" to player
  59. if arg is "autor" or "info" or "author" or "by":
  60. send "&7Info o Skrypcie"
  61. send " &7Tematyka &8|| &6JetPack, 4Fun"
  62. send " &7Stworzony przez &8|| &6AxonCraft ;)"
  63. send " &7Dla &8|| &6uzytkownikow skript.pl"
  64. if arg is "reload" or "odswiez" or "fix":
  65. execute console command "/sk reload %script%"
  66. if arg is not "reload" or "odswiez" or "fix" or "autor" or "info" or "author" or "by" or "crafting" or "craft" or "work" or "daj" or "give":
  67. send "&7Pomoc - JetPack"
  68. send " &7/jetpack reload &8|| &6Odswieza Skrypta"
  69. send " &7/jetpack crafting &8|| &6Pokazuje wirtualny crafting JetPacka"
  70. send " &7/jetpack info &8|| &6Informacje o Skrypcie"
  71. send " &7/jetpack daj &8|| &6Otrzymujesz JetPack"
  72. if arg 1 is not set:
  73. send "&7Pomoc - JetPack"
  74. send " &7/jetpack reload &8|| &6Odswieza Skrypta"
  75. send " &7/jetpack crafting &8|| &6Pokazuje wirtualny crafting JetPacka"
  76. send " &7/jetpack info &8|| &6Informacje o Skrypcie"
  77. send " &7/jetpack daj &8|| &6Otrzymujesz JetPack"
Advertisement
Add Comment
Please, Sign In to add comment