Jump to content

Dupe skript lets people dupe items if they hold more than 1


MemeKeeper

Recommended Posts

Hi, I'm currently making a dupe server and I noticed that if I held more than 1 of an item that I could dupe it, but if I held 1 then you could not dupe it. Can someone help me fix this? 

 

command dupe:
	trigger:
		set {_dupe} to player's held item
		if player's held item is a player head or shulker box or redstone ore or redstone dust or redstone block or a enchanted golden apple or an enchanted book or sugar cane or nether wart or nether bricks or a nether brick or red nether bricks or a red nether brick wall or red nether brick walls or a map or paper or a compass or nether bricks or a nether brick or nether brick or a white shulker box or orange shulker box or blue shulker box  or pink shulker box or lime shulker box or black shulker box or gray shulker box or magenta shulker box or red shulker box or cyan shulker box or light blue shulker box or light gray shulker box or brown shulker box or green shulker box or yellow shulker box or purple shulker box or a shulker box named "anything" or a wither skeleton skull or spawn egg:
			send "&e[&6&l!&e] &cThis item cannot be duped! &e[&6&l!&e]"
			stop
		else:
			give player {_dupe}
			stop
Link to comment
Share on other sites

i dont realy see why you need to have the 

{_dupe}
var so just get rid of it and try (idk what else might work idk if this even works)
command dupe:
	trigger:
		if player's held item is a player head or shulker box or redstone ore or redstone dust or redstone block or a enchanted golden apple or an enchanted book or sugar cane or nether wart or nether bricks or a nether brick or red nether bricks or a red nether brick wall or red nether brick walls or a map or paper or a compass or nether bricks or a nether brick or nether brick or a white shulker box or orange shulker box or blue shulker box  or pink shulker box or lime shulker box or black shulker box or gray shulker box or magenta shulker box or red shulker box or cyan shulker box or light blue shulker box or light gray shulker box or brown shulker box or green shulker box or yellow shulker box or purple shulker box or a shulker box named "anything" or a wither skeleton skull or spawn egg:
			send "&e[&6&l!&e] &cThis item cannot be duped! &e[&6&l!&e]"
			stop
		else:
			add player's held item to player
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...