Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /givekey [<text>]:
- permission: *
- permission message: &8&l| &e&lCRATES &8&l| &7Du har ikke adgang til dette.
- trigger:
- if arg-1 is not set:
- send "&8&l| &e&lCRATES &8&l| &7Forkert brug. /givekey keytype"
- stop
- else:
- if arg-1 is "ruby":
- give player a 421 of unbreaking 1 named "&5&lRUBY KEY"
- send "&8&l| &5&lCRATES &8&l| &7Du har givet dig selv en &5&lRUBY KEY"
- stop
- on leftclick on ender chest:
- if player is in world "OPPRISON":
- cancel event
- send "&8&l| &e&lCRATES &8&l| &7Jaaaah, det kunne du godt lide at vide?"
- stop
- on rightclick on ender chest:
- if player is in world "OPPRISON":
- cancel event
- if player is holding 421 named "&5&lRUBY KEY":
- remove 421 named "&5&lRUBY KEY" from player
- set {_random} to a random integer from 1 to 20
- if {_random} is 1:
- add 100000 to player's balance
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$400.000!"
- stop
- if {_random} is 2:
- add 300000 to player's balance
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$300.000!"
- stop
- if {_random} is 3:
- add 500000 to player's balance
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$500.000!"
- stop
- if {_random} is 4:
- add 1000000 to player's balance
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1 million!"
- stop
- if {_random} is 5:
- add 1500000 to player's balance
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1,5 millioner!"
- stop
- if {_random} is 5:
- add 50 to {bnpoints::%uuid of player%}
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5❂50!"
- stop
- if {_random} is 6:
- add 75 to {bnpoints::%uuid of player%}
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5❂75!"
- stop
- if {_random} is 7:
- give player 64 diamond blocks
- give player 64 emerald blocks
- give player 64 gold blocks
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en masse blocks!"
- stop
- if {_random} is 8:
- give player a diamond pickaxe of efficiency 12, unbreaking 12 and fortune 12 named "&5&lRUBY PICKAXE++"
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en ruby pickaxe++!"
- stop
- if {_random} is 9:
- give player a diamond pickaxe of efficiency 7, unbreaking 7 and fortune 7 named "&5&lRUBY PICKAXE"
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en ruby pickaxe!"
- stop
- if {_random} is 10:
- give player a diamond pickaxe of efficiency 10, unbreaking 10 and fortune 10 named "&5&lRUBY PICKAXE+"
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5en ruby pickaxe+!"
- stop
- if {_random} is 11:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1,2 millioner"
- add 1200000 to player's balance
- stop
- if {_random} is 12:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1,7 millioner"
- add 1700000 to player's balance
- stop
- if {_random} is 13:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ingenting..."
- stop
- if {_random} is 14:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ingenting..."
- stop
- if {_random} is 15:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ingenting..."
- stop
- if {_random} is 16:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$2 millioner"
- add 2000000 to player's balance
- if {_random} is 17:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$1 million"
- add 1000000 to player's balance
- if {_random} is 18:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5$3 millioner"
- add 3000000 to player's balance
- if {_random} is 19:
- set {_n} to 1.30
- loop 100 times:
- add 0.01 to {_n}
- add {_n} to {randombooster.%player%::*}
- if {_n} is 2.00:
- exit loop
- set {_random} to a random element of {randombooster.%player%::*}
- 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"
- send "&8&l| &a&lCRATES &8&l| &7Du vandt en &arandom sell booster"
- stop
- if {_random} is 20:
- send "&8&l| &5&lCRATES &8&l| &7Du vandt &5ILD partikel"
- execute console command "manuaddp %player% trail.flame"
- stop
- else:
- send "&8&l| &e&lCRATES &8&l| &7Du skal holde en key i hånden."
- stop
Advertisement
Add Comment
Please, Sign In to add comment