Jump to content

How to check if someone is on the ground with skript


M1chonert

Recommended Posts

I can't really do it for you since you didn't include the script, but add the following code into your script before the rest of the code:

if block below player is air or water: # - This detects that the player is not on the ground
	send action bar "&4You must be on the ground" to player # - Obviously just sends them an action bar, not needed
	stop # - This stops anything after this line within the same event from doing anything

 

Edited by _iz_

» IGN: _iZ_ «

» Joined: 12/18/2016 «

» VIP: 1/13/2018 «

» Helper: 1/29/2021 «

» [<3]: 5/8/2021 «

» Skript dev «

» Discord: iZz#0420 «

I have diabetes

React to this if I was helpful, found this interesting, or you're just nice 🙂

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