Jump to content

I need help with a skript that only allows you to break wool with shears


Tewca

Recommended Posts

Can someone help me lol

 

If you can do it I would like, disable wool being broken if the player is not using shears. The normal mechanic happens when shears are used, add like a message when you don't have shears saying that you need shears.

Link to comment
Share on other sites

options:
	wool: white wool or orange wool or magenta wool or light blue wool or yellow wool or lime wool or pink wool or gray wool or light gray wool or cyan wool or purple wool or blue wool or brown wool or green wool or red wool or black wool

on break of {@wool}:
	if player's tool is not shears:
		cancel event
		send "&aYou can only break wool with shears!"
			

So this is just a skript I made for you. I wouldn't say I am an expert in skripting but I help out when I can. If you want to learn some basic skripting, Minehut has lots of good tutorials for that. You can check their playlist out by clicking here. Also, here is a good documentation for you to learn more after the basics. 

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

I think you can actually just write on break of wool: and it automatically uses all wool types there are.

Edited by Starshinex3

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

4 hours ago, Starshinex3 said:

I think you can actually just write on break of wool: and it automatically uses all wool types there are.

yep it does! Thanks for letting me know.

on break of wool:
	if player's tool is not shears:
		cancel event
		send "&cYou need shears to break this block!"

 

  • Like 1

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact 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...