Guest User

Untitled

a guest
Dec 31st, 2015
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. options:
  2. {DillerCoins::%player} = 0
  3. {Poszukiwanie::%player} = 0
  4. {Marihuana::%player%} = 0
  5. {Dowody::%player%} = 0
  6. {Podrabiarki::%player%} = 0
  7.  
  8. on place of bedrock:
  9. if name of player's tool is "&3Podrabiarka Pieniedzy":
  10. if block under event-block is obsidian:
  11. set {randomnumber} to a random integer between 1 and 100
  12. add {randomnumber} to {DillerCoins::%player%}
  13. set {randomnumberposzukiwanie} to a random integer between 1 and 10
  14. add {randomnumberposzukiwanie} to {Poszukiwanie::%player%}
  15. send "&eZarobiles &4%{randomnumber}%" to player
  16. send "&eDodano &4%{randomnumberposzukiwanie}% &epunkt/y/ow poszukiwania" to player
  17. set event-block to glass
  18. wait 2 ticks
  19. set event-block to bedrock
  20. wait 2 ticks
  21. set event-block to water
  22. wait 2 ticks
  23. set event-block to lava
  24. wait 2 ticks
  25. set event-block to air
  26. add 1 to {Podrabiarki::%player%}
  27. command /statystyki:
  28. aliases: staty, s
  29. permission: diller.stats
  30. trigger:
  31. open chest with 3 rows named "&6&lStatystyki" to player
  32. format slot 10 of player with fern named "&2&lMarihuana" with lore "&e%{Marihuana::%player%}%" to be unstealable
  33. format slot 11 of player with paper named "<bold><gold>Falszywy Dowod" with lore "&e%{Dowody::%player%}%" to be unstealable
  34. format slot 12 of player with bedrock named "&3Podrabiarka Pieniedzy" with lore "&e%{Podrabiarki::%player%}%" to be unstealable
  35. on script load:
  36. register new shaped recipe for bedrock named "&3Podrabiarka Pieniedzy" using redstone, end stone, redstone, end stone, obsidian, end stone, redstone, end stone, redstone
  37. command /DC:
  38. aliases: dillercraft, tworca, autor
  39. trigger:
  40. send "&eSkrypt napisal &cJacoobekXD"
  41. permission: diller.dc
  42. command /zabij:
  43. trigger:
  44. kill all priests
  45. permission: diller.kill
  46. command /hajs:
  47. description: Pokazuje stan konta!
  48. trigger:
  49. send "&eTwoj stan konta wynosi: &4%{DillerCoins::%player%}%"
  50. stop
  51. permission: diller.money
  52. command /poszukiwanie:
  53. description: Pokazuje poziom poszukiwania!
  54. trigger:
  55. send "&eTwoj poziom poszukiwania wynosi: &4%{Poszukiwanie::%player%}%"
  56. stop
  57. permission: diller.police
  58. command /diller:
  59. description: Spawnuje villagera w lokacji gracza
  60. trigger:
  61. wait 2 ticks
  62. spawn priest
  63. set name of spawned priest to "&2Diller"
  64. stop
  65. permission: diller.diller
  66. on damage:
  67. if victim is villager:
  68. cancel event
  69. stop
  70. on rightclick on a priest:
  71. if name of priest is "&2Diller":
  72. cancel event
  73. wait 2 ticks
  74. open chest with 3 rows named "&e&lSklep" to player
  75. wait 2 ticks
  76. format slot 22 of player with red wool named "&4&lWyjscie" to close
  77. format slot 10 of player with fern named "&2&lMarihuana" with lore "&eKoszt: &4100" to close then run "wymus %player% marihuanasklep"
  78. format slot 11 of player with paper named "<bold><gold>Falszywy Dowod" with lore "&eKoszt: &41000" to close then run "wymus %player% falszywydowodsklep"
  79. format slot 12 of player with bedrock named "&3Podrabiarka Pieniedzy" with lore "&eKoszt: &412000" to close then run "wymus %player% podrabiarkasklep"
  80. stop
  81. every 30 seconds:
  82. loop all players:
  83. loop all items in the loop-player's inventory:
  84. if loop-item is fern named "&2&lMarihuana" or paper named "<bold><gold>Flaszywy Dowod" or bedrock named "&3Podrabiarka Pieniedzy":
  85. send "&ePosiadasz nielegalne rzeczy! Snajperzy cie atakuja!" to loop-player
  86. damage loop-player by 2.5 heart
  87. #Ta czesc skryptu nie powinna cie obchodzic!
  88. command /marihuanasklep:
  89. trigger:
  90. if {dillercoins::%player%} is greater than 100:
  91. remove 100 from {DillerCoins::%player%}
  92. send "&eZaplaciles: &4100 &eDillerCoins" to player
  93. give 1 fern named "&2&lMarihuana" to player
  94. else:
  95. send "&eNie masz wystarczajaco duzo pieniedzy!"
  96. command /falszywydowodsklep:
  97. permission: diller.falszydowod
  98. trigger:
  99. if {dillercoins::%player%} is greater than 1000:
  100. remove 1000 from {DillerCoins::%player%}
  101. send "&eZaplaciles: &41000 &eDillerCoins" to player
  102. give 1 paper named "<bold><gold>Falszywy Dowod" to player
  103. else:
  104. send "&eNie masz wystarczajaco duzo pieniedzy!"
  105. command /podrabiarkasklep:
  106. permission: diller.podrabiarka
  107. trigger:
  108. if {dillercoins::%player%} is greater than 12000:
  109. remove 12000 from {DillerCoins::%player%}
  110. send "&eZaplaciles: &412000 &eDillerCoins" to player
  111. give 1 bedrock named "&3Podrabiarka Pieniedzy" to player
  112. else:
  113. send "&eNie masz wystarczajaco duzo pieniedzy!"
  114. command /wymus [<player>] [<text>]:
  115. permission: *
  116. trigger:
  117. if arg 1 is set:
  118. if arg 2 is set:
  119. execute arg 1 command "%arg 2%"
  120. stop
  121. on rightclick:
  122. player is holding paper named "<bold><gold>Falszywy Dowod":
  123. remove {Poszukiwanie::%player%} from {Poszukiwanie::%player%}
  124. send "&eUzyles falszywego dowodu! &eOd teraz nazywasz sie"
  125. send "&3Leonardo Da Vinci" or "&3Robert Lewandowski" or "&3Andrzej Duda" or "&3Vladmir Putin" or "&3Lady Gaga" or "&3Notch"
  126. remove paper named "<bold><gold>Falszywy Dowod" from player
  127. add 1 to {Dowody::%player%}
  128. stop
  129. player is holding fern named "&2&lMarihuana":
  130. remove fern named "&2&lMarihuana" from the player
  131. apply nausea 2 to the player for 30 seconds
  132. apply haste 2 to the player for 15 seconds
  133. apply jump boost 1 to the player for 15 seconds
  134. apply slowness 4 to the player for 15 seconds
  135. apply strength 2 to the player for 10 seconds
  136. play raw sound "MOB.CREEPER.DEATH" at player with pitch 1 volume 10
  137. add 1 to {Marihuana::%player%}
  138. stop
Advertisement
Add Comment
Please, Sign In to add comment