Isharo

[Skript] Mouton d'abordaj

Jul 28th, 2015
2,176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. on right click with wool: #Le mouton abordaj
  2. shoot a sheep from the player
  3. wait 1 tick
  4. make player ride the last shot sheep
  5. loop all sheep:
  6. set name of loop-entity to "&a&k|&e&k|&d&k| &b&l Abordaaaaj &a&k|&e&k|&d&k|"
  7. set the colour of loop-entity to white
  8. wait 5 seconds
  9. if name of loop-entity contains "&a&k|&e&k|&d&k| &b&l Abordaaaaj &a&k|&e&k|&d&k|":
  10. kill loop-entity
  11.  
  12. on damage: #Annule tout degats chute
  13. if damage type is fall:
  14. cancel event
  15.  
  16. on death of sheep: #Clear drop mouton
  17. if name of sheep contains "&a&k|&e&k|&d&k| &b&l Abordaaaaj &a&k|&e&k|&d&k|":
  18. clear drops
Advertisement
Add Comment
Please, Sign In to add comment