Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # # #
- # Skrypt stworzony przez Axon #
- # Tematyka/Nazwa - 4Fun/JetPack #
- # Wersja - Testowa #
- # # # # # # # # # # # # # # # # #
- options:
- 1: s;1;i;369;
- 2: s;2;i;gold ingot;
- 3: s;3;i;369;
- 4: s;10;i;369;
- 5: s;11;i;iron chestplate;
- 6: s;12;i;369;
- 7: s;19;i;369;
- 8: s;20;i;gold ingot;
- 9: s;21;i;369;
- jp: s;15;i;chain chestplate;n;&8|| &6JetPack &8||;
- on script load:
- 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
- on sneak toggle:
- if player's y-coordinate is smaller than 200:
- if player is wearing chain chestplate of power 6:
- loop 7 times:
- push the player in direction of player at speed 0.1
- wait 1 tick
- push the player upwards at speed 0.1
- chance of 20%:
- damage player's chestplate by 1
- create a fake explosion at the player
- else:
- send "&6Error &7- &8Nie mozesz latac wyzej, niz 200 kratek nad poziomem bedrocka."
- on leftpush:
- if player is holding chain chestplate:
- if name of player's tool is "&8|| &6JetPack &8||":
- if player has 1 coal:
- repair player's tool by 3
- send "&8Trwa ladowanie &7|| &6Prosze czekac"
- remove 1 coal from the player
- on mine:
- if name of player's tool is "&8|| &6JetPack &8||":
- cancel event
- send "&7Nie mozesz niszczyc blokow JetPack-iem"
- command /jetpack <text>:
- permission: jetpack.*
- trigger:
- if arg is "daj" or "give":
- give a chain chestplate of power 6 named "&8|| &6JetPack &8||" to the player
- send "&7Otrzymales &8|| &6JetPack"
- if arg is "crafting" or "craft" or "work":
- show "{@1}{@2}{@3}{@4}{@5}{@6}{@7}{@8}{@9}{@jp}" with 3 rows named "&7Pomoc &8|| &6JetPack" to player
- if arg is "autor" or "info" or "author" or "by":
- send "&7Info o Skrypcie"
- send " &7Tematyka &8|| &6JetPack, 4Fun"
- send " &7Stworzony przez &8|| &6AxonCraft ;)"
- send " &7Dla &8|| &6uzytkownikow skript.pl"
- if arg is "reload" or "odswiez" or "fix":
- execute console command "/sk reload %script%"
- 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":
- send "&7Pomoc - JetPack"
- send " &7/jetpack reload &8|| &6Odswieza Skrypta"
- send " &7/jetpack crafting &8|| &6Pokazuje wirtualny crafting JetPacka"
- send " &7/jetpack info &8|| &6Informacje o Skrypcie"
- send " &7/jetpack daj &8|| &6Otrzymujesz JetPack"
- if arg 1 is not set:
- send "&7Pomoc - JetPack"
- send " &7/jetpack reload &8|| &6Odswieza Skrypta"
- send " &7/jetpack crafting &8|| &6Pokazuje wirtualny crafting JetPacka"
- send " &7/jetpack info &8|| &6Informacje o Skrypcie"
- send " &7/jetpack daj &8|| &6Otrzymujesz JetPack"
Advertisement
Add Comment
Please, Sign In to add comment