Jump to content

Help


joeyy29

Recommended Posts

command hat:
	trigger:
		set {_blacklisted::*} to barrier
		if {_blacklisted::*} contains type of player's tool:
			send "&cYou cannot use that item!"
			stop
		give player helmet slot of player #giving them the item again
		set helmet slot of player to 1 of tool #setting helmet
		remove 1 of tool from player #balancing the hat, as to not duplicate items

try that

 


[PATRON] Echology

image.png.25b196fc30999f9133398315a98c2b11.png

Sponk = Weeb


 

Link to comment
Share on other sites

command hat:
	permission: permission
	trigger:
		set {_blacklisted::*} to barrier
		if {_blacklisted::*} contains type of player's tool:
			send "&cYou cannot use that item!"
			stop
		give player helmet slot of player #giving them the item again
		set helmet slot of player to 1 of tool #setting helmet
		remove 1 of tool from player #balancing the hat, as to not duplicate items

Literally what Blu posted, but with 1 extra line.

If I helped you at all, leave a like!

IGN: _omga
Discord: omega#1000

 

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