Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /excalibur:
- permission: essentials.exc
- trigger:
- if player's balance is more than 299999:
- remove 300000 from player's balance
- add 1 to {licence}
- execute console command "/spawnstrange UNIQUE ""Excalibur"" ""Wlasnosc %player%"" 276 ""PLAYER_KILLS"" %player%"
- send "&6[SignShop] &fZakupiles &eEXCALIBUR &fza &a$300000 &f!"
- else:
- send "&cNie masz tyle pieniedzy, potrzebujesz &c(&e300000.0&c)"
- on damage:
- if name of attacker's tool is "&e&oExcalibur":
- remove strength from the attacker
- apply strength 6 to attacker for 3.9 seconds
- on rightclick on sign:
- if line 1 is "&1[EXCALIBUR]":
- if line 2 is "&9INTELIGETNA":
- if line 3 is "&9BRON":
- if line 4 is "$300000":
- if player's account is greater than or equal to 300000:
- add 1 to {licence}
- execute console command "/spawnstrange UNIQUE ""Excalibur"" ""Wlasnosc %player%"" 276 ""PLAYER_KILLS"" %player%"
- remove 300000 from player's account
- send "&6[SignShop] &fZakupiles &eEXCALIBUR! &fza &a$300000 &f!"
- else:
- send "&6[SignShop] &fNie masz &a$300000 &f aby to kupic!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement