Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. #---------------------#-----------------#
  2. # HorseLess UHC #(OGSÅ DONKEYLESS)#
  3. # Lavet af ColaMaster # SÅ VED I DET #
  4. #---------------------#-----------------#
  5.  
  6.  
  7. #-------------------------#
  8. # BÅDE FRA OG TIL COMMAND #
  9. #-------------------------#
  10. command /horseless:
  11. permission: cola.horseless
  12. trigger:
  13. if {cola.horseless} is not set:
  14. set {cola.horseless} to true
  15. send "&c&lGGPVP >> &6HorseLess blev &a&lAktiveret" to player
  16. else:
  17. delete {cola.horseless}
  18. send "&c&lGGPVP >> &6HorseLess blev &c&lDeaktiveret!" to player
  19. if {cola.horseless} is true:
  20. loop all entities:
  21. if loop-entity is a horse:
  22. loop-entity is alive:
  23. loop-entity is not a player:
  24. kill loop-entity
  25.  
  26. #-------------------------------#
  27. # DRÆB HEST HVERT 4 TICKS I UHC #
  28. #-------------------------------#
  29. every 4 ticks:
  30. if {cola.horseless} is true:
  31. loop all entities:
  32. if loop-entity is a donkey or a horse:
  33. loop-entity is alive:
  34. loop-entity is not a player:
  35. kill loop-entity
  36.  
  37. #-----------------------------------------#
  38. # IKKE DROP LEATHER NÅR DET BLIVER KILLED #
  39. #-----------------------------------------#
  40. on death of horse:
  41. if {cola.horseless} is true:
  42. clear drops
  43.  
  44. on death of donkey:
  45. if {cola.horseless} is true:
  46. clear drops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement