Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {kill.%player%} = 0
- {dedy.%player%} = 0
- on rightclick on sign:
- if line 1 is "&1[EXCALIBUR]":
- if line 2 is "&aInteligentny":
- if line 3 is "&aMiecz":
- if line 4 is "300000 $":
- if player's balance is greater than 30000:
- remove 30000 from player's balance
- add diamond sword named "&e&lExcalibur" with lore "&fDiamond Sword||Wlasnosc: %player%" to player
- else:
- send "&2Masz za malo kasy"
- on damage:
- if victim has a potion of speed:
- if attacker has a potion of strength:
- cancel event
- else:
- apply Strength 3 to the attacker for 10 seconds
- else:
- apply speed to the victim for 10 seconds
- on death:
- attacker is player
- victim is a player
- if attacker's tool is diamond sword named "&e&lExcalibur":
- add 1 to {kill.%attacker%}
- on death of player:
- if attacker's tool is diamond sword named "&e&lExcalibur":
- add 1 to {dedy.%victim%}
- command /staty:
- trigger:
- send "&2Zabicia:&7 %{kill.%player%}%"
- send "&2Smierci:&7 %{dedy.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment