Jump to content

Keyall script


3TSV

Recommended Posts

Quote

#Made by 3TSV

 

command /keyall <text>:
    permission: Keyall.use
    trigger:
        if arg-1 is "small":
            execute console command "/goldencrates givekey * Gear 1"
            execute console command "/goldencrates givekey * hamburger 2"
            execute console command "/goldencrates givekey * offhand 1"
            execute console command "/goldencrates givekey * casino 2"
            send title "&6&lKeyall" with subtitle "&b&l%player% &f&llHas done a Small keyall!" to players
        if arg-1 is "medium":
            execute console command "/crates key give * gear 1"
            execute console command "/crates key give * hamburger 1"
            execute console command "/crates key give * casino 1"
            send title "&6&lKeyall" with subtitle "&b&l%player% &f&lHas done a Medium keyall!" to players
        if arg-1 is "large":
            execute console command "/goldencrates givekey * gear 2"
            execute console command "/goldencrates givekey * hamburger 2"
            execute console command "/goldencrates givekey * offhand 2"
            execute console command "/goldencrates givekey * casino 3"
            send title "&6&lKeyall" with subtitle "&b&l%player% &f&lHas done a Large keyall!" to players

Use if you would like too 🙂

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...