Advertisement
FAIS2017

Untitled

Nov 12th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. On Drop:
  2. cancel the event
  3. player's tool is enchanted with PROTECTION 6
  4. set {_cooldown} to difference between {skill.%player%.lastused} and now
  5. if player's food level > 0:
  6. if {_cooldown} is less than 20 seconds:
  7. message "&4%difference between 20 seconds and {_cooldown}% &6after one more use"
  8. stop
  9. loop all entities in radius 2 around the player:
  10. loop-entities is not players
  11. damage loop-entity by 15 hearts
  12. show 50 Explosion Large particles at location of player with color 100, 100, 100 offset by 2, 1, 2 with speed 0.2
  13. set {skill.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement