Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ===================================================================================================== #
- # Dette script er copyright LegendaryDanni 2016-2017 og udgivet under GPLv3 #
- # Du må bruge scriptet, redigere i det og videregive det til andre, men du må ikke fjerne denne besked #
- # ===================================================================================================== #
- on rightclick:
- if player is holding a enchanted book named "&8[&aVIP Rank&8] &5&l{&dRight Click To Redeem&5&l}":
- remove 1 enchanted book named "&8[&aVIP Rank&8] &5&l{&dRight Click To Redeem&5&l}" from player
- make console execute command "/bc %player% You have Success redeemed a &8[&aVIP Rank&8]"
- make console execute command "/manuadd %player% vip"
- make console execute command "/setrank %player% vip"
- if player is holding a enchanted book named "&8[&aVIP&c+&a Rank&8] &5&l{&dRight Click To Redeem&5&l}":
- make console execute command "/bc %player% You have Success redeemed a &8[&aVIP&c+&a Rank&8]"
- remove 1 enchanted book named "&8[&aVIP&c+&a Rank&8] &5&l{&dRight Click To Redeem&5&l}" from player
- make console execute command "/setrank %player% vip+"
- make console execute command "/manuadd %player% vip+"
- if player is holding a enchanted book named "&8[&bMVP&b Rank&8] &5&l{&dRight Click To Redeem&5&l}":
- make console execute command "/bc %player% You have Success redeemed a &8[&bMVP&b Rank&8]"
- remove 1 enchanted book named "&8[&bMVP&b Rank&8] &5&l{&dRight Click To Redeem&5&l}" from player
- make console execute command "/setrank %player% mvp"
- make console execute command "/manuadd %player% mvp"
- if player is holding a enchanted book named "&8[&bMVP&c+&b Rank&8] &5&l{&dRight Click To Redeem&5&l}":
- remove 1 enchanted book named "&8[&bMVP&c+&b Rank&8] &5&l{&dRight Click To Redeem&5&l}" from player
- make console execute command "/bc %player% You have Success redeemed a &8[&bMVP&c+&b Rank&8]"
- make console execute command "/manuadd %player% mvp+"
- make console execute command "/setrank %player% mvp+"
- if player is holding a enchanted book named "&8[&0ELITE&b Rank&8] &5&l{&dRight Click To Redeem&5&l}":
- remove 1 enchanted book named "&8[&0ELITE&b Rank&8] &5&l{&dRight Click To Redeem&5&l}" from player
- make console execute command "/bc %player% You have Success redeemed a &8[&0ELITE&b Rank&8]"
- make console execute command "/manuadd %player% elite"
- make console execute command "/setrank %player% elite"
- if player is holding a enchanted book named "&8[&eLEGEND&b Rank&8] &5&l{&dRight Click To Redeem&5&l}":
- remove 1 enchanted book named "&8[&eLEGEND&b Rank&8] &5&l{&dRight Click To Redeem&5&l}" from player
- make console execute command "/bc %player% You have Success redeemed a &8[&eLEGEND&b Rank&8]"
- make console execute command "/manuadd %player% legend"
- make console execute command "/setrank %player% legend"
- if player is holding a enchanted book named "&8[&cHERO&b Rank&8] &5&l{&dRight Click To Redeem&5&l}":
- remove 1 enchanted book named "&8[&cHERO&b Rank&8] &5&l{&dRight Click To Redeem&5&l}" from player
- make console execute command "/bc %player% You have Success redeemed a &8[&cHERO&b Rank&8]"
- make console execute command "/manuadd %player% hero"
- make console execute command "/setrank %player% hero"
- if player is holding a enchanted book named "&8[&5Reset Miner&8] &5&l{&dRight Click To Aktive&5&l}":
- make console execute command "/bc &6%player% &aYou have Success redeemed a &8[&5Reset Miner&8]"
- remove 1 enchanted book named "&8[&5Reset Miner&8] &5&l{&dRight Click To Aktive&5&l}" from player
- make console execute command "/mrl reset mine"
- if player is holding a enchanted book named "&8[&6Legendary MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}":
- make console execute command "/bc &6%player% &aYou have Success redeemed a &8[&6Legendary MysteryBox&8]"
- remove 1 enchanted book named "&8[&6Legendary MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}" from player
- make console execute command "/mysteryboxes add %player% four_star 1"
- if player is holding a enchanted book named "&8[&5Epic MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}":
- make console execute command "/bc &6%player% &aYou have Success redeemed a &8[&5Epic MysteryBox&8]"
- remove 1 enchanted book named "&8[&5Epic MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}" from player
- make console execute command "/mysteryboxes add %player% three_star 1"
- if player is holding a enchanted book named "&8[&9Rare MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}":
- make console execute command "/bc &6%player% &aYou have Success redeemed a &8[&9Rare MysteryBox&8]"
- remove 1 enchanted book named "&8[&9Rare MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}" from player
- make console execute command "/mysteryboxes add %player% two_star 1"
- if player is holding a enchanted book named "&8[&aCommon MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}":
- make console execute command "/bc &6%player% &aYou have Success redeemed a &8[&aCommon MysteryBox&8]"
- remove 1 enchanted book named "&8[&aCommon MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}" from player
- make console execute command "/mysteryboxes add %player% one_star 1"
- if player is holding a enchanted book named "&8[&bLucky MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}":
- make console execute command "/bc &6%player% &aYou have Success redeemed a &8[&bLucky MysteryBox&8]"
- remove 1 enchanted book named "&8[&bLucky MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}" from player
- make console execute command "/mysteryboxes add %player% one_star 1"
- make console execute command "/mysteryboxes add %player% two_star 1"
- make console execute command "/mysteryboxes add %player% three_star 1"
- make console execute command "/mysteryboxes add %player% four_star 1"
- command /star5:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&bLucky MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}"
- command /star4:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&6Legendary MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}"
- command /star3:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&5Epic MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}"
- command /star2:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&9Rare MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}"
- command /star1:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&aCommon MysteryBox&8] &5&l{&dRight Click To Aktive&5&l}"
- command /mine:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&5Reset Miner&8] &5&l{&dRight Click To Aktive&5&l}"
- command /vip:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&aVIP Rank&8] &5&l{&dRight Click To Redeem&5&l}"
- command /vip+:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&aVIP&c+&a Rank&8] &5&l{&dRight Click To Redeem&5&l}"
- command /mvp:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&bMVP&b Rank&8] &5&l{&dRight Click To Redeem&5&l}"
- command /mvp+:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&bMVP&c+&b Rank&8] &5&l{&dRight Click To Redeem&5&l}"
- command /elite:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&0ELITE&b Rank&8] &5&l{&dRight Click To Redeem&5&l}"
- command /legend:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&eLEGEND&b Rank&8] &5&l{&dRight Click To Redeem&5&l}"
- command /hero:
- permission: staff.rank
- trigger:
- give player 1 enchanted book named "&8[&cHERO&b Rank&8] &5&l{&dRight Click To Redeem&5&l}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement