Advertisement
Sub2Flexios

"Sourcecode" Dupe Script

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