knugi

Untitled

Mar 15th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.05 KB | None | 0 0
  1. variables:
  2. {NoBug.%player%} = true
  3.  
  4. on rightclick:
  5. if {NoBug.%player%} is false:
  6. cancel event
  7. send "&cBugowanie jest zabronione! Jezeli jest to blad napisz do Wlasciciela!"
  8. on inventory close:
  9. if {NoBug.%player%} is false:
  10. stop
  11. #cancel event
  12.  
  13. command /drop [<text>]:
  14. trigger:
  15. set {NoBug.%player%} to false
  16. wait 3 ticks
  17. open chest with 3 rows named "&8** &cDROP Z KAMIENIA: &8**" to player
  18. wait 4 ticks
  19. if {Diament.%player%} is true:
  20. format slot 0 of player with 1 of diamond named "&bDiament" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewdiament"]
  21. else:
  22. format slot 0 of player with 1 of diamond named "&bDiament" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewdiament"]
  23. if {zloto.%player%} is true:
  24. format slot 1 of player with 1 of gold ingot named "&6Zloto" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzloto"]
  25. else:
  26. format slot 1 of player with 1 of gold ingot named "&6Zloto" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzloto"]
  27. if {zelazo.%player%} is true:
  28. format slot 2 of player with 1 of iron ingot named "&7Zelazo" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzelazo"]
  29. else:
  30. format slot 2 of player with 1 of iron ingot named "&7Zelazo" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzelazo"]
  31. if {emerald.%player%} is true:
  32. format slot 3 of player with 1 of emerald named "&aSzmaragd" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewszmaragd"]
  33. else:
  34. format slot 3 of player with 1 of emerald named "&aSzmaragd" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewszmaragd"]
  35. if {wegiel.%player%} is true:
  36. format slot 4 of player with 1 of 263 named "&8Wegiel" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewwegiel"]
  37. else:
  38. format slot 4 of player with 1 of 263 named "&8Wegiel" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewwegiel"]
  39. if {ksiazka.%player%} is true:
  40. format slot 5 of player with 1 of book named "&6Ksiazka" with lore " &8» &cSzansa&7: 4.55%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewbiblioteczka"]
  41. else:
  42. format slot 5 of player with 1 of book named "&6Ksiazka" with lore " &8» &cSzansa&7: 4.55%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewbiblioteczka"]
  43. if {jabko.%player%} is true:
  44. format slot 6 of player with 1 of apple named "&cJabko" with lore " &8» &cSzansa&7: 3%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewjabko"]
  45. else:
  46. format slot 6 of player with 1 of apple named "&cJabko" with lore " &8» &cSzansa&7: 3%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewjabko"]
  47. if {redstone.%player%} is true:
  48. format slot 7 of player with 1 of redstone named "&cCzerwony Proszek" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewredstone"]
  49. else:
  50. format slot 7 of player with 1 of redstone named "&cCzerwony Proszek" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewredstone"]
  51. if {perla.%player%} is true:
  52. format slot 8 of player with 1 of ender pearl named "&5Perla" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &4NIE" to close then run [execute player command "runs %player% ewperla"]
  53. else:
  54. format slot 8 of player with 1 of ender pearl named "&5Perla" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &4NIE" to close then run [execute player command "runs %player% ewperla"]
  55. if {obsydian.%player%} is true:
  56. format slot 9 of player with 1 of obsidian named "&5Obsydian" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewobsydian"]
  57. else:
  58. format slot 9 of player with 1 of obsidian named "&5Obsydian Proszek" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewobsydian"]
  59. if {tnt.%player%} is true:
  60. format slot 10 of player with 1 of tnt named "&4Tnt" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewtnt"]
  61. else:
  62. format slot 10 of player with 1 of tnt named "&4Tnt" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewtnt"]
  63. if {PremiumCase} is true:
  64. format slot 13 of player with 1 of chest named "&a&lPremium &6&lCase" with lore " &8» &cSzansa&7: 0.01%%|| &8» &cDropi ze stone&7: &aTAK|| &8» &cTrwa Event&7: &2TAK" to close
  65. else:
  66. format slot 13 of player with 1 of chest named "&a&lPremium &6&lCase" with lore " &8» &cSzansa&7: 0.01%%|| &8» &cDropi ze stone&7: &4NIE|| &8» &cTrwa Event&7: &4NIE" to close
  67. if {cobble.%player%} is true:
  68. format slot 24 of player with 1 of cobblestone named "&7Cobblestone" with lore " &8» &cAktywny&7: &2TAK" to close then run [execute player command "runs %player% cobble"]
  69. else:
  70. format slot 24 of player with 1 of cobblestone named "&7Cobblestone" with lore " &8» &cAktywny&7: &4NIE" to close then run [execute player command "runs %player% cobble"]
  71. if {TurboDrop} is true:
  72. format slot 25 of player with 1 of golden pickaxe named "&d&lTurbo&b&lDrop" with lore "&cAktywny&7: &2TAK||&bZakupic mozna na naszej stronie||&bwww.105249.enmc.pl/sklep/||&d&lTurbo&b&lDrop &bZwieksza drop o 2.5%%" to close
  73. else:
  74. format slot 25 of player with 1 of golden pickaxe named "&d&lTurbo&b&lDrop" with lore "&cAktywny&7: &4NIE||&bZakupic mozna na naszej stronie||&bwww.105249.enmc.pl/sklep/||&d&lTurbo&b&lDrop &bZwieksza drop o 2.5%%" to close
  75. format slot 26 of player with 1 of 384 named "&6Exp&8 &a7" to close
  76. set {NoBug.%player%} to true
Advertisement
Add Comment
Please, Sign In to add comment