Guest User

CoinsShop v 1.0

a guest
Jan 9th, 2015
622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.26 KB | None | 0 0
  1. variables:
  2. {techno1.%player%} = 0
  3. {techno2.%player%} = 0
  4. {techno3.%player%} = 0
  5. {techno4.%player%} = 0
  6. {techno5.%player%} = 0
  7. {money.%player%} = 0
  8. options:
  9. techno1:10
  10. techno2:10
  11. techno3:10
  12. techno4:10
  13. techno5:10
  14. on break stone:
  15. chance of {@techno1}%:
  16. drop 1 gold nugget of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1"
  17. send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1"
  18. add 1 to {techno1.%player%}
  19. chance of {@techno2}%:
  20. drop 1 ghast tear of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2"
  21. send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2"
  22. add 1 to {techno2.%player%}
  23. chance of {@techno3}%:
  24. drop 1 gunpowder of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3"
  25. send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3"
  26. add 1 to {techno3.%player%}
  27. chance of {@techno4}%:
  28. drop 1 glowstone dust of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4"
  29. send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4"
  30. add 1 to {techno4.%player%}
  31. chance of {@techno5}%:
  32. drop 1 redstone of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5"
  33. send "&c&lGratulacje! &1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5"
  34. add 1 to {techno5.%player%}
  35. command /statystyki [<player>]:
  36. trigger:
  37. send "&6&l>>&c&l====&6&lStatystyki %arg-player%&c&l====&6&l<<" to arg-player
  38. send "&a&l>>&c&lWykopane Technologie 1 &b&l%{techno1.%arg-player%}%&a&l<<" to arg-player
  39. send "&a&l>>&c&lWykopane Technologie 2 &b&l%{techno2.%arg-player%}%&a&l<<" to arg-player
  40. send "&a&l>>&c&lWykopane Technologie 3 &b&l%{techno3.%arg-player%}%&a&l<<" to arg-player
  41. send "&a&l>>&c&lWykopane Technologie 4 &b&l%{techno4.%arg-player%}%&a&l<<" to arg-player
  42. send "&a&l>>&c&lWykopane Technologie 5 &b&l%{techno5.%arg-player%}%&a&l<<" to arg-player
  43. send "&a&l>>&c&lMonety &b&l%{money.%arg-player%}%&a&l<<" to arg-player
  44. send "&6&l>>&c&l====&6&lStatystyki %arg-player%&c&l====&6&l<<" to arg-player
  45. command /autor [<player>]:
  46. trigger:
  47. send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
  48. send "&a&lAutorem skryptu jest Lopata2001!" to arg-player
  49. send "&a&lKontakt:&2&l przemek18227 &7(&b&lSkype&7) &2&l52456308&7 (&6&lGG&7)" to arg-player
  50. send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
  51. command /dropcoin [<player>]:
  52. trigger:
  53. send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
  54. send "&a&l>>&5&lTechnologia &c&l1 - {@techno1} &a&l<<" to arg-player
  55. send "&a&l>>&5&lTechnologia &c&l2 - {@techno2} &a&l<<" to arg-player
  56. send "&a&l>>&5&lTechnologia &c&l3 - {@techno3} &a&l<<" to arg-player
  57. send "&a&l>>&5&lTechnologia &c&l4 - {@techno4} &a&l<<" to arg-player
  58. send "&a&l>>&5&lTechnologia &c&l5 - {@techno5} &a&l<<" to arg-player
  59. send "&6&l>>&c&l&m====--|--====&6&l<<" to arg-player
  60. command /wym1 [<player>]:
  61. trigger:
  62. if arg-player have 1 gold nugget of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1":
  63. remove 1 gold nugget of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 1" from arg-player
  64. add 1 to {money.%arg-player%}
  65. send "&a&l>>&C&LWymieniles Technolologie 1 na 1Zł!" to arg-player
  66. else:
  67. send "&cNie masz Technologi 1!" to arg-player
  68. command /wym2 [<player>]:
  69. trigger:
  70. if arg-player have 1 ghast tear of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2":
  71. remove 1 ghast tear of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 2" from arg-player
  72. add 2 to {money.%arg-player%}
  73. send "&a&l>>&C&LWymieniles Technolologie 2 na 2Zł!" to arg-player
  74. else:
  75. send "&cNie masz Technologi 2!" to arg-player
  76. command /wym3 [<player>]:
  77. trigger:
  78. if arg-player have 1 gunpowder of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3":
  79. remove 1 gunpowder of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 3" from arg-player
  80. add 5 to {money.%arg-player%}
  81. send "&a&l>>&C&LWymieniles Technolologie 3 na 5Zł!" to arg-player
  82. else:
  83. send "&cNie masz Technologi 3!" to arg-player
  84. command /wym4 [<player>]:
  85. trigger:
  86. if arg-player have 1 glowstone dust of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4":
  87. remove 1 glowstone dust of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 4" from arg-player
  88. add 10 to {money.%arg-player%}
  89. send "&a&l>>&C&LWymieniles Technolologie 4 na 10Zł!" to arg-player
  90. else:
  91. send "&cNie masz Technologi 3!" to arg-player
  92. command /wym5 [<player>]:
  93. trigger:
  94. if arg-player have 1 redstone of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5":
  95. remove 1 redstone of thorns 10 named "&1&lT&2e&3c&4h&5n&6o&7l&8g&9i&aa&c&l 5" from arg-player
  96. add 20 to {money.%arg-player%}
  97. send "&a&l>>&C&LWymieniles Technolologie 5 na 20 Zł!" to arg-player
  98. else:
  99. send "&cNie masz Technologi 3!" to arg-player
  100. command /wymiana:
  101. trigger:
  102. open chest with 3 rows named "&c&l&m|-&f &a&lWymiana &c&l&m-|" to player
  103. wait 2 tick
  104. format slot 0 of player with 1 of vines named "&f" to close
  105. format slot 1 of player with 1 of vines named "&f" to close
  106. format slot 2 of player with 1 of vines named "&f" to close
  107. format slot 3 of player with 1 of vines named "&f" to close
  108. format slot 4 of player with 1 of vines named "&f" to close
  109. format slot 5 of player with 1 of vines named "&f" to close
  110. format slot 6 of player with 1 of vines named "&f" to close
  111. format slot 7 of player with 1 of vines named "&f" to close
  112. format slot 8 of player with 1 of vines named "&f" to close
  113. format slot 9 of player with 1 of paper named "&cStan konta: %{money.%player%}%" to run ""
  114. format slot 10 of player with 1 of book named "&c&lDrop" to run "dropcoin %player%"
  115. format slot 11 of player with 1 of gold nugget of thorns 10 named "&c&lWymien na 1 zł!" to run "wym1 %player%"
  116. Format slot 12 of player with 1 ghast tear of thorns 10 named "&c&lWymien na 2 zł!" to run "wym2 %player%"
  117. Format slot 13 of player with 1 gunpowder of thorns 10 named "&c&lWymien na 5 zł" to run "wym3 %player%"
  118. Format slot 14 of player with 1 glowstone dust of thorns 10 named "&c&lWymien na 10 zł" to run "wym4 %player%"
  119. Format slot 15 of player with 1 redstone of thorns 10 named "&c&lWymien na 20 zł" to run "wym5 %player%"
  120. Format slot 16 of player with 1 book named "&c&lInfo a autorze" to run "autor %player%"
  121. format slot 17 of player with 1 of paper named "&c&lStatystyki" to run "statystyki %player%"
  122. format slot 18 of player with 1 of vines named "&f" to close
  123. format slot 19 of player with 1 of vines named "&f" to close
  124. format slot 20 of player with 1 of vines named "&f" to close
  125. format slot 21 of player with 1 of vines named "&f" to close
  126. format slot 22 of player with 1 of vines named "&f" to close
  127. format slot 23 of player with 1 of vines named "&f" to close
  128. format slot 24 of player with 1 of vines named "&f" to close
  129. format slot 25 of player with 1 of vines named "&f" to close
  130. format slot 26 of player with 1 of vines named "&f" to close
Advertisement
Add Comment
Please, Sign In to add comment