Jump to content

I made a complete duping skript


Yodamaster

Recommended Posts

this isnt your normal /dupe, this skript makes it so when you drop items the dupe. Every thing is toggleable

 

 

#this makes it when new players join the /dupedroptoggle is off
on load:
    if {dupedrop} is not set:
        set {dupedrop} to false


#this makes it so when dupedroptoggle is true when you drop items they dupe
on drop:
    if {dupedrop} is true:
#if the file name is not skript.drop then you have to change it to skript.[what you named the file]
        drop item if player has permission "skript.drop"
        stop
#the permission is skript.drop

 


#this gives the players random items every 15 seconds if /toggle is true
every 15 seconds:
    if {loop} is true:
        add 1 of (random item out of all items) to inventory of all players    


#this command make it so when you drop items they will be dupe or not
#this command is toggleable
command /dupedroptoggle:
    trigger:
        if {dupedrop} is true:
            send "When you drop items they will no longer be duped."
            set {dupedrop} to false
            stop
        else:
            send "When you drop items they will now be duped"
            set {dupedrop} to true
            stop


#this command will toggle if you will receive random items every 15 seconds
command /toggle:
    trigger:
        if {loop} is true:
            send "You will no longer receive items every 15 seconds"
            set {loop} to false
            stop
        else:
            send "You will now get random items every 15 seconds"
            set {loop} to true
            stop
            
    
#you can add more block to the ban list        
on place of bedrock:
    cancel event
on place of barrier:
    cancel event

Edited by Yodamaster
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...