Jump to content

Dupe skript


GoBoiee74

Recommended Posts

options:
    blacklist: wither skeleton skull
    prefix: &dFs11

command /dupe [<number>]:
    trigger:
        if {@blacklist} contains type of tool:
            send "{@prefix} &3| &3You cannot dupe that item!"
            stop
        else:
            if arg-1 is not set:
                add player's tool to player's inventory
                stop
            else:
                if arg-1 is less than 2:
                    add player's tool to player's inventory
                    stop
                else:
                    if arg-1 is more than 5:
                        loop 6 times:
                            add player's tool to player's inventory
                        stop
                    else:
                        loop arg-1 times:
                            add player's tool to player's inventory

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...