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