Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if name of attacker's tool is "&e&oExcalibur":
- remove strength from the attacker
- apply strength 4 to attacker for 3.9 seconds
- on rightclick on sign:
- if line 1 is "&1[EXCALIBUR]":
- if line 2 is "&9NAJLEPSZA":
- if line 3 is "&9BRON":
- if line 4 is "$300000":
- if {killedbyexcalibur.%player%} is not set:
- set {killedbyexcalibur.%player%} to 0
- if player's balance is greater than 300000:
- add 1 to {licence}
- remove 300000 from player's account
- give 1 diamond sword named "&e&oExcalibur" with lore "&bWlasnosc:_&7%player%||&bZabici_Gracze:_&7%{killedbyexcalibur.%player%}%||&bNumer_Seryjny:_&7%{licence}%" to player
- send "&6» &7Od teraz jestes szczesliwym posiadaczem Excalibura!"
- stop
- else:
- send "&6» &7Nie stac cie, aby kupic Excalibura! Kup pieniadze na: &astrona"
- stop
- variables:
- {licence} = 0
- {killedbyexcalibur.%living entity%} = 0
- command /rk:
- permission: excalibur.use
- permission message: &6» &cOjoj
- trigger:
- set {licence} to 0
- send "&6» &7Zresetowano numery seryjne!"
- command /re:
- permission: excalibur.use
- permission message: &6» &cOjoj
- trigger:
- set {killedbyexcalibur.%living entity%} to 0
- send "&6» &7Zresetowano l. zab. graczy mieczem!"
- on death of player:
- if name of attacker's tool is "&e&oExcalibur":
- add 1 to {killedbyexcalibur.%attacker%}
- set the 2st line of lore of attacker's tool to "&bZabici Gracze: &7%{killedbyexcalibur.%attacker%}%"
- stop
- on rightclick on sign:
- line 1 is "&bDemoniczny"
- line 2 is "&bHelm"
- line 4 is "$75000"
- player's account is greater than or equal to 75000:
- give diamond helmet of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczny Diamentowy Helm" to player
- send "&6» &7Kupiles czastke demonicznej zbroi!"
- remove 75000 from player's account
- else:
- send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
- on rightclick on sign:
- line 1 is "&bDemoniczny"
- line 2 is "&bNapiersnik"
- line 4 is "$125000"
- player's account is greater than or equal to 125000:
- give diamond chestplate of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczna Diamentowa Zbroja" to player
- send "&6» &7Kupiles czastke demonicznej zbroi!"
- remove 125000 from player's account
- else:
- send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
- on rightclick on sign:
- line 1 is "&bDemoniczne"
- line 2 is "&bNogawice"
- line 4 is "$90000"
- player's account is greater than or equal to 90000:
- give diamond leggings of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczne Diamentowe Nogawice" to player
- send "&6» &7Kupiles czastke demonicznej zbroi!"
- remove 90000 from player's account
- else:
- send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
- on rightclick on sign:
- line 1 is "&bDemoniczne"
- line 2 is "&bButy"
- line 4 is "$75000"
- player's account is greater than or equal to 75000:
- give diamond boots of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczne Diamentowe Buty" to player
- send "&6» &7Kupiles czastke demonicznej zbroi!"
- remove 75000 from player's account
- else:
- send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
- on damage:
- if name of attacker's tool is "&e&oExcalibur":
- remove strength from the attacker
- apply strength 4 to attacker for 3.9 seconds
- on damage:
- if attacker is player:
- if attacker's tool is golden axe:
- if name of attacker's tool is "&eSiekiera Nudnosci":
- remove Nausea from victim
- apply Nausea 5 to victim for 2 seconds
- on damage:
- if attacker is player:
- if attacker's tool is stick:
- if name of attacker's tool is "&9Pijawka":
- remove hunger from victim
- apply hunger 5 to victim for 3 seconds
- on respawn:
- heal player
Advertisement
Add Comment
Please, Sign In to add comment