Tewca Posted June 21, 2021 Share Posted June 21, 2021 I'm trying to make a Skript that only lets the player drop items if they are crouched. They can disable this using /drop If someone could help I would be grateful Link to comment Share on other sites More sharing options...
zuyn Posted June 21, 2021 Share Posted June 21, 2021 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 More sharing options...
Tewca Posted June 21, 2021 Author Share Posted June 21, 2021 Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now