Skript Actual Dupe Script

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

DeoviserYT

Member
Aug 4, 2024
15
1
3
37
Being bored of those dupe scripts that just give you 1 of the item you are holding? This one doubles the amount of items and you can have over 64 in one slot!
This is a ghost command and the permission to use it is dupe.use
Code:
on command "/dupe":
    if player has permission "dupe.use":
        cancel event
        set {_item} to player's tool
        set {_amount} to item amount of player's tool
        add {_amount} to {_amount}
        set item amount of player's tool to {_amount}
 
Being bored of those dupe scripts that just give you 1 of the item you are holding? This one doubles the amount of items and you can have over 64 in one slot!
This is a ghost command and the permission to use it is dupe.use
Code:
on command "/dupe":
    if player has permission "dupe.use":
        cancel event
        set {_item} to player's tool
        set {_amount} to item amount of player's tool
        add {_amount} to {_amount}
        set item amount of player's tool to {_amount}
Sweet! One question though. You can't really have over 64 items in one slot. What do you mean by that?
 
OH! I understand now! that's interesting, lol. how high can it go up to? have you tried?
I have tried it, but I wasn't looking at the numbers. When it goes too high your inventory get restored from a few minutes ago though.
NOTE: I made this comment with a stupid mouse
 
Being bored of those dupe scripts that just give you 1 of the item you are holding? This one doubles the amount of items and you can have over 64 in one slot!
This is a ghost command and the permission to use it is dupe.use
Code:
on command "/dupe":
    if player has permission "dupe.use":
        cancel event
        set {_item} to player's tool
        set {_amount} to item amount of player's tool
        add {_amount} to {_amount}
        set item amount of player's tool to {_amount}

What do you mean by this is a ghost command?
 
  • Like
Reactions: Doodle