FlupMC

Untitled

Apr 1st, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. command /givekey [<text>]:
  2. permission: *
  3. permission message: &8&l| &e&lCRATES &8&l| &7Du har ikke adgang til dette.
  4. trigger:
  5. if arg-1 is not set:
  6. send "&8&l| &e&lCRATES &8&l| &7Forkert brug. /givekey keytype"
  7. stop
  8. else:
  9. if arg-1 is "ruby":
  10. give player a 421 of unbreaking 1 named "&5&lRUBY KEY"
  11. send "&8&l| &5&lCRATES &8&l| &7Du har givet dig selv en &5&lRUBY KEY"
  12. stop
  13. on leftclick on ender chest:
  14. if player is in world "OPPRISON":
  15. cancel event
  16. send "&8&l| &e&lCRATES &8&l| &7Jaaaah, det kunne du godt lide at vide?"
  17. stop
  18. on rightclick on ender chest:
  19. if player is in world "OPPRISON":
  20. cancel event
  21. if player is holding 421 named "&5&lRUBY KEY":
  22. remove 421 named "&5&lRUBY KEY" from player
  23. set {_random} to a random integer from 1 to 20
  24. if {_random} is 1:
  25. add 100000 to player's balance
  26. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$400.000!"
  27. stop
  28. if {_random} is 2:
  29. add 300000 to player's balance
  30. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$300.000!"
  31. stop
  32. if {_random} is 3:
  33. add 500000 to player's balance
  34. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$500.000!"
  35. stop
  36. if {_random} is 4:
  37. add 1000000 to player's balance
  38. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1 million!"
  39. stop
  40. if {_random} is 5:
  41. add 1500000 to player's balance
  42. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1,5 millioner!"
  43. stop
  44. if {_random} is 5:
  45. add 50 to {bnpoints::%uuid of player%}
  46. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5❂50!"
  47. stop
  48. if {_random} is 6:
  49. add 75 to {bnpoints::%uuid of player%}
  50. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5❂75!"
  51. stop
  52. if {_random} is 7:
  53. give player 64 diamond blocks
  54. give player 64 emerald blocks
  55. give player 64 gold blocks
  56. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en masse blocks!"
  57. stop
  58. if {_random} is 8:
  59. give player a diamond pickaxe of efficiency 12, unbreaking 12 and fortune 12 named "&5&lRUBY PICKAXE++"
  60. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en ruby pickaxe++!"
  61. stop
  62. if {_random} is 9:
  63. give player a diamond pickaxe of efficiency 7, unbreaking 7 and fortune 7 named "&5&lRUBY PICKAXE"
  64. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en ruby pickaxe!"
  65. stop
  66. if {_random} is 10:
  67. give player a diamond pickaxe of efficiency 10, unbreaking 10 and fortune 10 named "&5&lRUBY PICKAXE+"
  68. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en ruby pickaxe+!"
  69. stop
  70. if {_random} is 11:
  71. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1,2 millioner"
  72. add 1200000 to player's balance
  73. stop
  74. if {_random} is 12:
  75. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1,7 millioner"
  76. add 1700000 to player's balance
  77. stop
  78. if {_random} is 13:
  79. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ingenting..."
  80. stop
  81. if {_random} is 14:
  82. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ingenting..."
  83. stop
  84. if {_random} is 15:
  85. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ingenting..."
  86. stop
  87. if {_random} is 16:
  88. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$2 millioner"
  89. add 2000000 to player's balance
  90. if {_random} is 17:
  91. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1 million"
  92. add 1000000 to player's balance
  93. if {_random} is 18:
  94. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$3 millioner"
  95. add 3000000 to player's balance
  96. if {_random} is 19:
  97. set {_n} to 1.30
  98. loop 100 times:
  99. add 0.01 to {_n}
  100. add {_n} to {randombooster.%player%::*}
  101. if {_n} is 2.00:
  102. exit loop
  103. set {_random} to a random element of {randombooster.%player%::*}
  104. give player a paper named "&a&lSell Booster &8(&2%{_random}%x&8)" with lore "&7Klik for at aktivere din||&7sell booster i 2 minutter||&r||&c&oDu mister boosten hvis du leaver"
  105. send "&8&l| &a&lCRATES &8&l| &7Du vandt en &arandom sell booster"
  106. stop
  107. if {_random} is 20:
  108. send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ILD partikel"
  109. execute console command "manuaddp %player% trail.flame"
  110. stop
  111. else:
  112. send "&8&l| &e&lCRATES &8&l| &7Du skal holde en key i hånden."
  113. stop
Advertisement
Add Comment
Please, Sign In to add comment