Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on sprint toggle:
- if {sprint.%player%} is true:
- set {sprint.%player%} to false
- while {sprint.%player%} is false:
- wait 15 ticks
- add 0.5 to the player's food level
- player's food level is 10
- exit
- else:
- set {sprint.%player%} to true
- while {sprint.%player%} is true:
- wait 10 ticks
- add -0.5 to the player's food level
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement