Advertisement
FAIS2017

Untitled

Oct 25th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. on right click :
  2. player is holding a carrot_on_a_stick
  3. player's tool is enchanted with PROTECTION 20
  4. set {_coldown} to difference between {skill.%player%.lastused} and now
  5. if player's food level > 0:
  6. if {_coldown} is less than 3 seconds:
  7. message "&4%difference between 3 seconds and {_cooldown}% &6after one more use"
  8. stop
  9. apply hunger to player for 3 seconds
  10. heal the player by 3 hearts
  11. show 50 Heart particles at location of player with color 100, 100, 100 offset by 0.3, 1, 0.3 with speed 2
  12. set {skill.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement