Guest User

Powinno działać :D

a guest
Aug 28th, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. # Skrypt 1
  2.  
  3. on sign change:
  4. if line 1 is "sklep":
  5. if line 2 is "xp":
  6. set line 1 to "&bSklep"
  7. set line 2 to "&2Poziom: &630"
  8. set line 3 to "&1Cena: &a300$"
  9. set line 4 to "&eKup teraz!"
  10. send "&aPomyslnie stworzono tabliczke do kupowania expa!"
  11. on rightclick on sign:
  12. if line 1 is "&bSklep":
  13. if line 2 is "&2Poziom: &630":
  14. if line 3 is "&1Cena: &a300$":
  15. if line 4 is "&eKup teraz!":
  16. if player's balance is greater or equal to 300:
  17. remove 300 from player's balance
  18. send "&7Zakupiles poziom 30!"
  19. execute console command "xp 30L %player%"
  20. else:
  21. send "&cNie stac Cie!"
  22.  
  23. # Skrypt 2
  24.  
  25. on death:
  26. if victim is player:
  27. if attacker is player:
  28. set death message to "&6Gracz &c%victim% &6zostal zabity przez &c%attacker%&6!"
  29.  
  30. # Skrypt 3
  31.  
  32. on death:
  33. if victim is player:
  34. if attacker is player:
  35. send "&bZabiles gracza &6%victim% &bwiec dostales &615$ &b, butelke z expem i emeralda!" to attacker
  36. give emerald to attacker
  37. give bottle o' enchanting to attacker
  38. give 15 to account of attacker
Advertisement
Add Comment
Please, Sign In to add comment