Jump to content

Need help with a crouch to drop skript


Tewca

Recommended Posts

command /drop:
	trigger:
		if {drop::%player%} is not set:
			set {drop::%player%} to true
			send "enabled message" to player
			stop
		if {drop::%player%} is false:
			set {drop::%player%} to true
			send "enabled message" to player
			stop
		if {drop::%player%} is true:
			set {drop::%player%} to false
			send "disabled message" to player


on drop:
	if player is not sneaking:
		cancel event
		send "sneak to drop items"
	else:
		if {drop::%player%} is false:
			cancel event
			send "dropping is disabled /drop"

Is this what you meant?

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