Advertisement
SuzukazeK

Untitled

Jul 6th, 2019
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. on sprint toggle:
  2. if {sprint.%player%} is true:
  3. set {sprint.%player%} to false
  4. while {sprint.%player%} is false:
  5. wait 15 ticks
  6. add 0.5 to the player's food level
  7. player's food level is 10
  8. exit
  9. else:
  10. set {sprint.%player%} to true
  11. while {sprint.%player%} is true:
  12. wait 10 ticks
  13. add -0.5 to the player's food level
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement