Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # # #
- # Skrypt stworzony przez Dix'a #
- # Tematyka/Nazwa - 4Fun/JetPack #
- # Wersja - Beta #
- # # # # # # # # # # # # # # # # #
- 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;
- 5a: s;11;i;gold chestplate;
- 5b: s;11;i;diamond 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|| &7- &6Normal;
- jp-a: s;15;i;chain chestplate;n;&8|| &6JetPack &8|| &7- &6Speed;
- jp-b: s;15;i;chain chestplate;n;&8|| &6JetPack &8|| &7- &6Super Speed;
- on first join:
- set {fix.normal.%player%} to 0
- set {fix.speed.%player%} to 0
- set {fix.superspeed.%player%} to 0
- on script load:
- 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
- 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
- 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
- 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
- create timed bar with text "&7Paliwo &8|| &6%damage of player's chestplate-240%" to player for 2 seconds
- add 1 to {fix.normal.%player%}
- if player is wearing chain chestplate of power 7:
- loop 10 times:
- push the player in direction of player at speed 0.3
- wait 1 tick
- push the player upwards at speed 0.2
- chance of 20%:
- damage player's chestplate by 1
- create a fake explosion at the player
- create timed bar with text "&7Paliwo &8|| &6%damage of player's chestplate-240%" to player for 2 seconds
- add 1 to {fix.speed.%player%}
- if player is wearing chain chestplate of power 8:
- loop 3 times:
- push the player in direction of player at speed 0.5
- wait 1 tick
- push the player upwards at speed 0.2
- chance of 20%:
- add 1 to {fix.superspeed.%player%}
- damage player's chestplate by 1
- create a fake explosion at the player
- create timed bar with text "&7Paliwo &8|| &6%damage of player's chestplate-240%" to player for 2 seconds
- else:
- create timed bar with text "&6Error &7- &8Nie mozesz latac wyzej" to player for 2 seconds
- on leftclick:
- if player is holding chain chestplate:
- if name of player's tool is "&8|| &6JetPack &8|| &7- &6Normal":
- if player has 1 coal:
- repair player's tool by 3
- remove 1 coal from the player
- create timed bar with text "&8Trwa ladowanie &7|| &6Prosze czekac" to player for 2 seconds
- if name of player's tool is "&8|| &6JetPack &8|| &7- &6Speed":
- if player has 1 glowstone:
- repair player's tool by 3
- create timed bar with text "&8Trwa ladowanie &7|| &6Prosze czekac" to player for 2 seconds
- remove 1 glowstone from the player
- if name of player's tool is "&8|| &6JetPack &8|| &7- &6Super Speed":
- if player has 1 gunpowder:
- repair player's tool by 3
- create timed bar with text "&8Trwa ladowanie &7|| &6Prosze czekac" to player for 2 seconds
- remove 1 gunpowder from the player
- on mine:
- if name of player's tool is "&8|| &6JetPack &8|| &7- &6Normal":
- cancel event
- send "&7Nie mozesz niszczyc blokow JetPack-iem"
- command /jetpack <text>:
- permission: jetpack.*
- trigger:
- create timed bar with text "&8Jetpack &7|| &6Informacje" to player for 3 seconds
- if arg is "staty":
- send "&7Ladowanie JetPack &8|| &6Normal &7- %{fix.normal.%player%}%"
- send "&7Ladowanie JetPack &8|| &6Speed &7- %{fix.speed.%player%}%"
- send "&7Ladowanie JetPack &8|| &6Super Speed 7- %{fix.superspeed.%player%}%"
- if arg is "daj normal":
- give a chain chestplate of power 6 named "&8|| &6JetPack &8|| &7- &6Normal" to the player
- send "&7Otrzymales &8|| &6JetPack"
- if arg is "daj speed":
- give a chain chestplate of power 7 named "&8|| &6JetPack &8|| &7- &6Speed" to the player
- send "&7Otrzymales &8|| &6JetPack"
- if arg is "daj super speed":
- give a chain chestplate of power 8 named "&8|| &6JetPack &8|| &7- &6Super Speed" to the player
- send "&7Otrzymales &8|| &6JetPack"
- if arg is "crafting normal":
- show "{@1}{@2}{@3}{@4}{@5}{@6}{@7}{@8}{@9}{@jp}" with 3 rows named "&7Pomoc &8|| &6JetPack" to player
- if arg is "crafting speed":
- show "{@1}{@2}{@3}{@4}{@5a}{@6}{@7}{@8}{@9}{@jp-a}" with 3 rows named "&7Pomoc &8|| &6JetPack" to player
- if arg is "crafting super speed":
- show "{@1}{@2}{@3}{@4}{@5b}{@6}{@7}{@8}{@9}{@jp-b}" 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|| &6Dix'u"
- send " &7Dla &8|| &6uzytkownikow MPCforum.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 "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":
- send "&7Pomoc - JetPack"
- send " &7/jetpack reload &8|| &6Odswieza Skrypta"
- send " &7/jetpack crafting (normal/speed/super speed) &8|| &6Pokazuje wirtualny crafting JetPacka"
- send " &7/jetpack info &8|| &6Informacje o Skrypcie"
- send " &7/jetpack daj (normal/speed/super speed) &8|| &6Otrzymujesz JetPack"
- if arg 1 is not set:
- send "&7Pomoc - JetPack"
- send " &7/jetpack reload &8|| &6Odswieza Skrypta"
- send " &7/jetpack crafting (normal/speed/super speed) &8|| &6Pokazuje wirtualny crafting JetPacka"
- send " &7/jetpack info &8|| &6Informacje o Skrypcie"
- send " &7/jetpack daj (normal/speed/super speed)&8|| &6Otrzymujesz JetPack"
Advertisement
Add Comment
Please, Sign In to add comment