Guest User

Untitled

a guest
Aug 2nd, 2015
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. variables:
  2. {babcia::%player%} = false
  3. {farma::%player%} = false
  4. {fabryka::%player%} = false
  5. {ciastka::%player%} = 10
  6.  
  7. on break of sign:
  8. {babcia::%player%} is true:
  9. line 1 is "&7[Babcia]":
  10. set {babcia::%player%} to false
  11. {fabryka::%player%} is true:
  12. line 1 is "&7[Fabryka]":
  13. set {fabryka::%player%} to false
  14. {farma::%player%} is true:
  15. line 1 is "&7[Farma]":
  16. set {farma::%player%} to false
  17.  
  18. on place of sign:
  19. player's tool is sign named "&7Cookie":
  20. wait 3 seconds
  21. set line 2 to "&4+1"
  22. set line 1 to "&7[Clicker]"
  23.  
  24. on place of sign:
  25. player's tool is sign named "&7Babcia":
  26. wait 3 seconds
  27. set line 2 to "&4+4/5sek"
  28. set line 1 to "&7[Babcia]"
  29. set {babcia::%player%} to true
  30.  
  31. on place of sign:
  32. player's tool is sign named "&7Farma":
  33. wait 3 seconds
  34. set line 2 to "&4+10/7sek"
  35. set line 1 to "&7[Farma]"
  36. set {farma::%player%} to true
  37.  
  38. on place of sign:
  39. player's tool is sign named "&7Fabryka":
  40. wait 3 seconds
  41. set line 2 to "&4+19/6sek"
  42. set line 1 to "&7[Fabryka]"
  43. set {fabryka::%player%} to true
  44.  
  45. on rightclick on sign:
  46. line 1 is "&7[Clicker]":
  47. add 1 to {ciastka::%player%}
  48. send "&6[Clicker] &4+1"
  49.  
  50. command /ciastka:
  51. trigger:
  52. send "&7Twoje ciastka to &4%{ciastka::%player%}%"
  53.  
  54. every 5 seconds:
  55. loop all players:
  56. {babcia::%loop-player%} is true:
  57. add 4 to {ciastka::%loop-player%}
  58. send "&6[Babcia] &4+4" to loop-player
  59. every 7 seconds:
  60. loop all players:
  61. {farma::%loop-player%} is true:
  62. add 10 to {ciastka::%loop-player%}
  63. send "&6[Farma] &4+10" to loop-player
  64. every 6 seconds:
  65. loop all players:
  66. {fabryka::%loop-player%} is true:
  67. add 19 to {ciastka::%loop-player%}
  68. send "&6[Fabryka] &4+19" to loop-player
  69. on join:
  70. give player 1 cookie named "&7[&4Sklep&7]"
  71. on quit:
  72. remove 1 cookie named "&7[&4Sklep&7]" from player
  73. on rightclick:
  74. player's tool is cookie named "&7[&4Sklep&7]":
  75. open chest with 1 rows named "&7[&4Sklep&7]" to player
  76. format slot 0 of player with 1 of cookie named "&7Clicker" with lore "&7+1/per click || &7Cena: &410" to close then run "clicker %player%"
  77.  
  78. format slot 2 of player with 1 of cookie named "&7Farma" with lore "&7+10/7sek || &7Cena: &4650" to close then run "farma %player%"
  79.  
  80. format slot 3 of player with 1 of cookie named "&7Fabryka" with lore "&7+19/6sek || &7Cena: &41000" to close then run "fabryka %player%"
  81.  
  82. format slot 1 of player with 1 of cookie named "&7Babcia" with lore "&7+4/5sek || &7Cena: &4250" to close then run "babcia %player%"
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184. command /clicker [<player>]:
  185. trigger:
  186. {ciastka::%player-arg%} is more or equal to 10:
  187. give player-arg 1 sign named "&7Cookie"
  188. remove 10 from {ciastka::%player-arg%}
  189. command /babcia [<player>]:
  190. trigger:
  191. {ciastka::%player-arg%} is more or equal to 250:
  192. give player-arg 1 sign named "&7Babcia"
  193. remove 250 from {ciastka::%player-arg%}
  194. command /farma [<player>]:
  195. trigger:
  196. {ciastka::%player-arg%} is more or equal to 650:
  197. give player-arg 1 sign named "&7Farma"
  198. remove 650 from {ciastka::%player-arg%}
  199. command /fabryka [<player>]:
  200. trigger:
  201. {ciastka::%player-arg%} is more or equal to 1000:
  202. give player-arg 1 sign named "&7Fabryka"
  203. remove 1000 from {ciastka::%player-arg%}
Advertisement
Add Comment
Please, Sign In to add comment