Ie8BYW7m
Język: Skript
|
Autor: Anonimowy
on death: set {amfa.%player%} to 0 command /dealer: trigger: wait 3 ticks open chest with 6 row named "&c&lDealer" to player wait 3 ticks format slot 53 of player with sunflower named "&6Saldo:" with lore "&fTwoje saldo wynosi: &b%player's balance%" to run [make player execute command "/portfel"] format slot 10 of player with sugar named "&bAmfetamina" with lore "&fKupno: 150$" to run [make player execute command "/dl-amf"] command /dl-amf: Trigger: If player's balance is between 150 and 99999999: remove 150 from player's balance add 1 sugar named "&c&lAmfetamina" to player's inventory message "&7[&aŚW&7] &rZakupiłeś przedmiot '&bAmfetamina&r'. Pozostało Ci: &b%player's balance%" make player execute command "/dealer" on rightclick: name of player's tool is "&c&lAmfetamina": remove 1 sugar named "&c&lAmfetamina" from player's inventory add 1 to {amfa.%player%} if {amfa.%player%} is 1: message "&7[&aŚW&7] &rZażyłeś amfetaminę." message "&7[&aŚW&7] &rPoczułeś nagły przypływ energii." apply fast digging and night vision 3 to the player for 300 seconds if {amfa.%player%} is 2: message "&7[&aŚW&7] &rWłasnie zażyleś druga dzialke &cAmfetaminy&r." message "&7[&aŚW&7] &rUważaj, przedawkowanie może skończyć się &4śmiercią&r." apply fast digging and night vision 3 to the player for 300 seconds if {amfa.%player%} is 3: message "&7[&aŚW&7] &rNie czujesz się zbyt dobrze." wait 2 seconds message "&7[&aŚW&7] &rWyczuwasz niepokojące ciepło i ból w żołądku." wait 3 seconds apply slow and confusion 2 to the player for 10 seconds message "&7[&aŚW&7] &cPrzedawkowałeś&r." wait 8 seconds kill player broadcast "&7[&aŚW&7]&c %player%&r zmarł od przedawkowania."