Facebook
From Voxur, 7 Years ago, written in Lua.
Embed
Download Paste or View Raw
Hits: 695
  1. on script load:
  2.         if true is true:
  3.                 register new shaped recipe for gold nugget named "&8>> &9Pierscien Zycia" using diamond, gold ingot, diamond, gold ingot, gold nugget, gold ingot, diamond, gold ingot, diamond
  4.         if true is true:
  5.                 register new shaped recipe for gold nugget named "&8>> &9Pierscien Zycia+" using emerald, gold ingot, emerald, gold ingot, gold nugget, gold ingot, emerald, gold ingot, emerald
  6.         if true is true:
  7.                 register new shaped recipe for rose red named "&8>> &9Regenerums" using ghast tear, gold ingot, ghast tear, gold ingot, rose red, gold ingot, ghast tear, gold ingot, ghast tear
  8.  
  9. command /bron+ [<text>] [<text>]:
  10.         permission: bron.admin
  11.         permission message: &8>> &9Brak uprawnien!
  12.         aliases: sb, sbron
  13.         trigger:
  14.                 if arg 1 is not set:
  15.                         send "&8]---------------[&9SuBron&8]---------------["
  16.                         send "&8>> &9/bron+ give all &6- Daje wszystkie itemy"
  17.                         send "&8>> &9/bron+ give [Item] &6- Daje wybrany item, wszystkie nazwy itemow pod komenda /subron list"
  18.                         send "&8>> &9/bron+ list &6- Nazwy itemow"
  19.                         send "&8>> &9/bron+ reload &6- Reloaduje skrypt"
  20.                         send "&8>> &9/bron+ author &6- Pokazuje autora i wersje skryptu"
  21.                         stop
  22.  
  23.                 if arg 1 is "help" or "pomoc":
  24.                         send "&8]---------------[&9SuBron&8]---------------["
  25.                         send "&8>> &9/bron+ give all &6- Daje wszystkie itemy"
  26.                         send "&8>> &9/bron+ give [Item] &6- Daje wybrany item, wszystkie nazwy itemow pod komenda /subron list"
  27.                         send "&8>> &9/bron+ list &6- Nazwy itemow"
  28.                         send "&8>> &9/bron+ reload &6- Reloaduje skrypt"
  29.                         send "&8>> &9/bron+ author &6- Pokazuje autora i wersje skryptu"
  30.                         stop
  31.  
  32.                 if arg 1 is "list" or "lista":
  33.                         send "&8]---------------[&9Lista Itemow&8]---------------["
  34.                         send "&8>> &9Nie pisz &6>> &9to tylko dodatek"
  35.                         send "&8>> &9Excalibur"
  36.                         send "&8>> &9JumperSp"
  37.                         send "&8>> &9Pierscien"
  38.                         send "&8>> &9Pierscien+"
  39.                         send "&8>> &9Regenerums"
  40.                         send "&8>> &9Smocza Wlocznia"
  41.                         send "&8>> &9Topor Tyranow"
  42.                         send "&8>> &9Thor"
  43.                         send "&8>> &9Kiel Wampira"
  44.                         stop
  45.  
  46.                 if arg 1 is "author" or "autor":
  47.                         send "&8]---------------[&9Autor&8]---------------["
  48.                         send "&8>> &9Skrypt: &9Bron+"
  49.                         send "&8>> &9Autor: &6Voxur"
  50.                         send "&8>> &9Pomoc: &6Agatka
  51.                        send "&8>> &9Wersja: &61.2v"
  52.                        send "&8>> &9IS MY LIF"
  53.                        stop
  54.  
  55.                if arg 1 is "reload" or "przeladuj":
  56.                        execute console command "skript reload %script%"
  57.                        send "&8>> &aSuBron zostal przeladowany ! Nazwa Pliku Ze Skryptem: &6%script%"
  58.                        stop
  59.  
  60.                if arg 1 is "give":
  61.                        if arg 2 is "all":
  62.                                send "&8>> &9Dostales wszystkie itemy ze skryptu"
  63.                                give diamond sword named "&8>> &9Excalibur" to player
  64.                                give diamond sword of sharpness 20 and looting 10 and fire aspect 5 named "&8>> &9JumperSp" to player
  65.                                give gold nugget named "&8>> &9Pierscien Zycia" to player
  66.                                give gold nugget named "&8>> &9Pierscien Zycia+" to player
  67.                                give rose red named "&8>> &9Regenerums" to player
  68.                                give stick of sharpness 35 and knockback 5 named "&8>> &9Smocza Wlocznia" to player
  69.                                give golden axe of sharpness 25 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Topor Tyranow" to player
  70.                                give iron axe of sharpness 20 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Mlot Thor'a" to player
  71.                                give ghast tear named "&8>> &9Kiel Wampira" to player
  72.                                stop
  73.  
  74.                        if arg 2 is "excalibur" or "ex":
  75.                                send "&8>> &9Dostales: &6Excalibur"
  76.                                give diamond sword named "&8>> &9Excalibur" with lore "&9Wlasciciel Miecza: %player%" to player
  77.                                stop
  78.  
  79.                        if arg 2 is "jumpersp" or "jumper" or "sp":
  80.                                send "&8>> &9Dostales: &6JumperSp"
  81.                                give diamond sword of sharpness 20 and looting 10 and fire aspect 5 named "&8>> &9JumperSp" to player
  82.                                stop
  83.  
  84.                        if arg 2 is "pierscien":
  85.                                send "&8>> &9Dostales: &6Pierscien Zycia"
  86.                                give gold nugget named "&8>> &9Pierscien Zycia" to player
  87.                                stop
  88.  
  89.                        if arg 2 is "pierscien+":
  90.                                send "&8>> &9Dostales: &6Pierscien Zycia+"
  91.                                give gold nugget named "&8>> &9Pierscien Zycia+" to player
  92.                                stop
  93.  
  94.                        if arg 2 is "regenerums":
  95.                                give rose red named "&8>> &9Regenerums" to player
  96.                                send "&8>> &9Dostales: &6Regenerums"
  97.                                stop
  98.  
  99.                        if arg 2 is "smocza wlocznia" or "wlocznia":
  100.                                give stick of sharpness 35 and knockback 5 named "&8>> &9Smocza Wlocznia" to player
  101.                                send "&8>> &9Dostales: &6Smocza Wlocznie"
  102.                                stop
  103.  
  104.                        if arg 2 is "topor tyranow" or "topor":
  105.                                give golden axe of sharpness 25 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Topur Tyranow" to player
  106.                                send "&8>> &9Dostales: &6Topor Tyranow"
  107.                                stop
  108.  
  109.                        if arg 2 is "thor" or "mlot" or "mlot thor'a" or "mlot thora":
  110.                                give iron axe of sharpness 20 and knockback 5 and unbreaking 100 and fire aspect 5 named "&8>> &9Mlot Thor'a" to player
  111.                                send "&8>> &9Dostales: &6Mlot Thor'a"
  112.                                stop
  113.  
  114.                        if arg 2 is "kiel wampira" or "kiel" or "wampir":
  115.                                give ghast tear named "&8>> &9Kiel Wampira" to player
  116.                                send "&8>> &9Dostales: &6Kiel Wampira"
  117.                                stop
  118.  
  119. on rightclick:
  120.        if player's tool is gold nugget named "&8>> &9Pierscien Zycia":
  121.                apply health boost 5 to player for 10000 second
  122.                remove 1 gold nugget named "&8>> &9Pierscien Zycia" from player
  123.                send "&8>> &9Uzyles: &6Pierscien Zycia"
  124.                stop
  125.  
  126.        if player's tool is gold nugget named "&8>> &9Pierscien Zycia+":
  127.                apply health boost 10 to player for 10000 second
  128.                remove 1 gold nugget named "&8>> &9Pierscien Zycia+" from player
  129.                send "&8>> &9Uzyles: &6Pierscien Zycia+"
  130.                stop
  131.  
  132.        if player's tool is rose red named "&8>> &9Regenerums":
  133.                apply regeneration 255 to player for 10 seconds
  134.                remove 1 rose red named "&8>> &9Regenerums" from player
  135.                send "&8>> &9Uzyles: &6Regenerums"
  136.                stop
  137.  
  138. on damage:
  139.        if attacker is player:
  140.                if attacker's tool is diamond sword named "&8>> &9Excalibur":
  141.                        apply strength 35 to attacker for 3 seconds
  142.                        stop
  143.  
  144.                if attacker's tool is diamond sword named "&8>> &9JumperSp":
  145.                        apply jump 4 to attacker for 3 seconds
  146.                        apply speed 3 to attacker for 2 seconds
  147.                        stop
  148.  
  149.                if attacker's tool is stick named "&8>> &9Smocza Wlocznia":
  150.                        apply hunger 100 to victim for 5 seconds
  151.                        stop
  152.  
  153.                if attacker's tool is golden axe named "&8>> &9Topor Tyranow":
  154.                        apply nausea 30 to victim for 5 seconds
  155.                        stop
  156.  
  157.                if attacker's tool is iron axe named "&8>> &9Mlot Thor'a":
  158.                        chance of 1%:
  159.                                create a fake explosion at the victim
  160.                                send "&8>> &9Twoj przeciwnik dostal mlotem w glowe!" to attacker
  161.                                send "&8>> &9Dostales mlotem w glowe!" to victim
  162.                        chance of 1%:
  163.                                create a fake explosion at the victim
  164.                                send "&8>> &9Twoj przeciwnik dostal mlotem w nogi!" to attacker
  165.                                send "&8>> &9Dostales mlotem w nogi!" to victim
  166.                        chance of 1%:
  167.                                create a fake explosion at the victim
  168.                                send "&8>> &9Twoj przeciwnik dostal mlotem w brzuch!" to attacker
  169.                                send "&8>> &9Dostales mlotem w brzuch!" to victim
  170.                        chance of 1%:
  171.                                create a fake explosion at the victim
  172.                                send "&8>> &9Twoj przeciwnik dostal mlotem w plecy!" to attacker
  173.                                send "&8>> &9Dostales mlotem w plecy!" to victim
  174.                        chance of 1%:
  175.                                create a fake explosion at the victim
  176.                                send "&8>> &9Twoj przeciwnik dostal mlotem w rece!" to attacker
  177.                                send "&8>> &9Dostales mlotem w rece!" to victim
  178.                                stop
  179.  
  180.                if attacker's tool is ghast tear named "&8>> &9Kiel Wampira":
  181.                         apply nausea 50 to victim for 240 seconds
  182.                         apply slowness 50 to victim for 240 seconds
  183.                         apply poison 50 to victim for 240 seconds
  184.                         apply hunger 50 to victim for 240 seconds
  185.                         apply weakness 50 to victim for 240 seconds
  186.                         remove 1 ghast tear named "&8>> &9Kiel Wampira" from attacker
  187.                         stop
  188.  
  189. on skript enable:
  190.         send "&8]---------------[&9SuBron&8]---------------[" to the console
  191.         send "&8>> &aSkrypt zostal wlaczony!" to the console
  192.         send "&8>> &9Nazwa: &6Bron+" to the console
  193.         send "&8>> &9Autor: &6Voxur" to the console
  194.         send "&8>> &9Pomoc: &6Agatka" to the console
  195.  
  196. on skript disable:
  197.         send "&8]---------------[&9SuBron&8]---------------[" to the console
  198.         send "&8>> &cSkrypt zostal wylaczony!" to the console
  199.         send "&8>> &9Nazwa: &6Bron+" to the console
  200.         send "&8>> &9Autor: &6Voxur" to the console
  201.         send "&8>> &9Pomoc: &6Agatka" to the console