Stasio889

[AC] Bron - 1.0

Mar 1st, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. #===============================================================#
  2. # Bron By Stasio88 #
  3. # Dla serwera Advanced-Craft #
  4. # MC_HelperTeam #
  5. #===============================================================#
  6. #Tworca skryptu: Stasio88 #
  7. #Wersja skryptu: 1.0 Beta #
  8. #Zabraniam rozpowszechniania tego oraz usuwania stopki! #
  9. #Usuniecie stopki oznacza złamanie praw autorskich! #
  10. #===============================================================#
  11. variables:
  12. {zycia.%player%} = 0
  13.  
  14.  
  15. options:
  16. tag: &b&l[&9&lAC&b&l] &f
  17.  
  18. on damage:
  19. projectile is snowball
  20. damage victim by 2 hearts
  21.  
  22. on damage:
  23. projectile is arrow
  24. damage victim by 0.1 hearts
  25.  
  26.  
  27. command /stworzbron:
  28. trigger:
  29. if player has permission "bron.stworz.stasio":
  30. if player has 3 diamond:
  31. give a stone hoe of protection 5 named "&4Strzelba" to player
  32. send "&e&lBron jest wazna tylko 100 minut!"
  33. else:
  34. send "<red><bold>Nie masz 3 diamentow!"
  35.  
  36.  
  37. on right click with stone hoe:
  38. if player has permission "bron.stasio":
  39. if name of player's tool is "&4Strzelba":
  40. if {zycia.%player%} is greater than 1 -1:
  41. shoot snowball
  42. remove 1 from {zycia.%player%}
  43. wait 100 minutes
  44. remove stone hoe named "&4Strzelba" from player
  45. else:
  46. send "&5&l>>&4&lNie masz tyle amunicji!"
  47.  
  48. command /informacja:
  49. trigger:
  50. send "Kazda bron dziala tylko przez 5 sekund!"
  51. stop
  52.  
  53. #---------------------------------------------------#
  54. command /dodaj [<player>] [<integer>]:
  55. trigger:
  56. if arg 1 is set:
  57. add arg 2 to {zycia.%arg 1%}
  58. send "Dodano"
  59.  
  60. command /amunicja:
  61. trigger:
  62. send "&5&l>>&e&lPozostalo Ci jeszcze %{zycia.%player%}% amunicji!"
Advertisement
Add Comment
Please, Sign In to add comment