Jump to content

dupe skript


PixeledMango

Recommended Posts

i made a skript for duping. but i want it so you cant dupe hearts. my server is a lifesteal and you can withdraw hearts

here is the code

 

command /dupe:
  trigger:
    give player player's held item
    if player's held item is red dye named "&cHeart" with lore "&7Right click to use":
      cancel event
      send "&cYou cannot dupe hearts!" to player

Link to comment
Share on other sites

command /dupe:
 trigger:
  if player's held item is red dye named "&cHeart" with lore "&7Right click to use":
   send "&cYou cannot dupe hearts!" to player
  else:
   give player player's held item

Hope this works it worked for me 😄

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