Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This Script is made by me and a Friend on Discord!
- #Anything in this Script can be changed
- #I tried to explain everything in the Script
- #If you want to use the Feature of losing Cash, you will need vault to be installed!
- #For Questions add me on Discord: Flexios#7549
- #I dont know if the # behind the Lines will break the Script tbh, im new to this stuff
- #Yes, this Plugin also dupes in Stacks
- command /dupe: #Command...
- permission: ls.dupe #Your Permission
- permission message: "No Permission for this Command!" #Message if the Player is leaking the Permission to use
- trigger: #What the Command should run...
- if player's held item is not air: #What the Command should do when the Player is holding an Item
- if player's balance is greater than or equal to 100: #What should happen when the Player's balance is 100 or higher
- remove 100 from player's balance #Takes 100 Cash from the Players Balance
- give player player's held item #Dupes the Player's held Item
- send "Dupe succesfull!" #Message sent when the Player duped the Item
- stop #End the Script
- else: #what should happen if the Player doesnt got 100 Cash
- send "You dont have enough Cash!" #Message when the Player doesn't got enough Cash
- stop #Ends the Script
- else: #What should happen if the Player isn't holding any Item in their hand?
- send "Please hold an Item in your Hand!" to player #Message sent if the Player isn't holding anything in their Hand
- stop #Ends the Script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement