Posted July 3, 201510 yr I want a tick handler that checks if the player is sprinting. When the player is sprinting and wearing specific armor I want particles to follow the player and for the player to have strength. I know how to do potion effects and armor checks, I just don't know about the tick handler and particles. I also want to know if it would be possible to check the amount of blocks the player ran and when the player runs the specific blocks they get a potion effect.
July 3, 201510 yr If you know how to check for sprinting The Rest is easy. Just save The last tick Position ,check distance between Position now (easy vector math) and add that to a variable that saves The distance run for that player
July 4, 201510 yr Author I don't know how to check if the player is sprinting. I know there is a issprinting method or something to that effect but it is only called when the player starts sprinting.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.