Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on script load:
- register new shaped recipe for cocoa beans named "&aAmfetamina&c®" using paper, sugar, paper, none, none, none, none, none, none
- register new shaped recipe for ghast tear named "&aHeroina&c®" using paper, nether wart, paper, none, none, none, none, none, none
- register new shaped recipe for ghast tear named "&aKokaina&c®" using paper, cactus, paper, none, none, none, none, none, none
- options:
- prefix: &f&l===[&a&lDrags &e&lv0.1 Beta&f&l]===
- przedawkowanie: &4&lPAMIĘTAJ: &7&lNie przedawkuj narkotyku, to cie zabije !!!
- on death:
- set {Przedawkowanie.Amfetamina.%player%} to 0
- set {Przedawkowanie.Heroina.%player%} to 0
- set {Przedawkowanie.Kokaina.%player%} to 0
- remove Saturation and Power and Saturation and Absorption and Resistance and fast digging and night vision and power and confusion and slow from player
- on rightclick:
- player has permission "Zazyj.Amfetmina":
- name of player's tool is "&aAmfetamina&c®":
- add 1 to {Przedawkowanie.Amfetamina.%player%}
- if {Przedawkowanie.Amfetamina.%player%} is 1:
- send " &7&lWłasnie zażyłeś &a&lAmfetamine"
- send " &7&lPoczułeś nagły przypływ energii"
- send " &7&ljestes teraz znacznie sprawniejszy, silniejszy, oraz bardziej spostrzegawczy !"
- apply fast digging and night vision 3 to the player for 300 seconds
- apply power 2 to the player for 120 seconds
- remove 1 cocoa beans named "&aAmfetamina&c®" from player
- if {Przedawkowanie.Amfetamina.%player%} is 2:
- send " &7&lWłasnie zażyleś druga dzialke &a&lAmfetaminy"
- send " &7&lTylko nie przedawkuj, bo to moze cie zabic !"
- apply fast digging and night vision 3 to the player for 300 seconds
- apply power 2 to the player for 120 seconds
- remove 1 cocoa beans named "&aAmfetamina&c®" from player
- if {Przedawkowanie.Amfetamina.%player%} is greater than 2:
- send " &7&lPrzedawkowałeś narkotyk, umierasz..."
- apply slow and confusion 2 to the player for 10 seconds
- remove 1 cocoa beans named "&aAmfetamina&c®" from player
- wait 8 seconds
- kill player
- player has permission "Zazyj.Heroina":
- name of player's tool is "&aHeroina&c®":
- add 1 to {Przedawkowanie.Heroina.%player%}
- if {Przedawkowanie.Heroina.%player%} is 1:
- send " &7&lWłasnie zażyłeś &a&lHeroine"
- send " &7&lJestes teraz spokojny, nic ci nie zagraża (nic cie nie boli, czujesz że jestes niezniszczalny)"
- apply saturation and absorption and resistance 2 to the player for 180 seconds
- remove 1 ghast tear named "&aHeroina&c®" from player
- if {Przedawkowanie.Heroina.%player%} is 2:
- send " &7&lPo raz kolejny zażyłeś &a&lHeroine"
- send " &7&lTylko nie przedawkuj, bo to moze cie zabic !"
- apply Saturation and absorption and resistance 2 to the player for 180 seconds
- remove 1 ghast tear named "&aHeroina&c®" from player
- if {Przedawkowanie.Heroina.%player%} is greater than 2:
- send " &7&lPrzedawkowałeś narkotyk, umierasz..."
- apply slow and confusion 2 to the player for 10 seconds
- remove 1 ghast tear named "&aHeroina&c®" from player
- wait 8 seconds
- kill player
- player has permission "Zazyj.Kokaina":
- name of player's tool is "&aKokaina&c®":
- add 1 to {Przedawkowanie.Kokaina.%player%}
- if {Przedawkowanie.Kokaina.%player%} is 1:
- send " &7&lWłasnie zażyłeś &a&lKokaine"
- send " &7&lJestes teraz znacznie silniejszy, nie odczuwasz potrzeby snu oraz głodu"
- apply power and saturation 3 to the player for 300 seconds
- remove 1 ghast tear named "&aKokaina&c®" from player
- if {Przedawkowanie.Kokaina.%player%} is 2:
- send " &7&lPo raz kolejny zażyłeś &a&lKokaine"
- send " &7&lTylko nie przedawkuj, bo to moze cie zabic !"
- apply power and saturation 3 to the player for 300 seconds
- remove 1 ghast tear named "&aKokaina&c®" from player
- if {Przedawkowanie.Kokaina.%player%} is greater than 2:
- send " &7&lPrzedawkowałeś narkotyk, umierasz..."
- apply slow and confusion 2 to the player for 10 seconds
- remove 1 ghast tear named "&aKokaina&c®" from player
- wait 8 seconds
- kill player
- if {Przedawkowanie.Amfetamina.%player%} is greater than 0:
- wait 300 seconds
- set {Przedawkowanie.Amfetamina.%player%} to 0
- if {Przedawkowanie.Heroina.%player%} is greater than 0:
- wait 300 seconds
- set {Przedawkowanie.Heroina.%player%} to 0
- if {Przedawkowanie.Kokaina.%player%} is greater than 0:
- wait 300 seconds
- set {Przedawkowanie.Kokaina.%player%} to 0
- command /narkotyki [<text>]:
- aliases: Drags, nark
- trigger:
- arg 1 is not set:
- send "{@prefix}"
- send "&c&l/Drags lista &7&l- Lista Dostepnych narkotyków"
- send "&c&l/Drags efekty &7&l- Efekty poszczególnych narkotyków"
- send "&c&l/Drags crafting &7&l- Sposób w jaki możemy stworzyć narkotyki"
- send "&c&l/Drags autor &7&l- Autor Skryptu"
- arg 1 is "autor":
- send "{@prefix}"
- send "&7&lAutorem skryptu jest OmniPL"
- arg 1 is "lista":
- send "{@prefix}"
- send "&7&l- &c&lAmfetamina"
- send "&7&l- &c&lHeroina"
- send "&7&l- &c&lKokaina"
- arg 1 is "efekty":
- send "{@prefix}"
- send "&7&l- &c&lAmfetamina &7&l- Po zażyciu jesteś znacznie sprawniejszy, silniejszy, oraz bardziej spostrzegawczy !"
- send "&7&l- &c&lHeroina &7&l- Po zażyciu jesteś spokojny, nic ci nie zagraża (nic cie nie boli, czujesz że jestes niezniszczalny)"
- send "&7&l- &c&lKokaina &7&l- Po zażyciu Jesteś znacznie silniejszy, nie odczuwasz potrzeby snu oraz głodu"
- send "{@przedawkowanie}"
- arg 1 is "crafting":
- send "{@prefix}"
- send "&7&l Kolejno Podane itemy ustawaimy w pierwszej linii craftingu:"
- send "&7&l- &c&lAmfetamina &7&l- papier | cukier | papier"
- send "&7&l- &c&lHeroina &7&l- papier | neterowa bródawka | papier"
- send "&7&l- &c&lKokaina &7&l- papier | kaktus | papier"
- send "{@przedawkowanie}"
Advertisement
Add Comment
Please, Sign In to add comment