You can get player x and z velocity. Combine these two and check if the velocity is larger than a given number to check if player is moving fast enough to be running.
Can someone please help me find a procedure that will be able to check if a player is sprinting and when the player stops sprinting it will stop the procedure. Klemen i have tried to find out how to do your suggestion but i cant find it and i dont know if this will stop the action from running if the player stops sprinting.
You can get player x and z velocity. Combine these two and check if the velocity is larger than a given number to check if player is moving fast enough to be running.
Can someone please help me find a procedure that will be able to check if a player is sprinting and when the player stops sprinting it will stop the procedure. Klemen i have tried to find out how to do your suggestion but i cant find it and i dont know if this will stop the action from running if the player stops sprinting.
If you check in player tick for the player's velocity, action will be executed each tick as long as the condition is met.
i cant find the correct procedures, Do you think you will be able to show me the name of the procedures and where they are?
Here is my screen
https://gyazo.com/9823bcbd62eff8a7458b3164d1142af2
This is a text compare block, you need to check if one number is greater than another. These are the very basics of the procedure editor, though.
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei