Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------#-----------------#
- # HorseLess UHC #(OGSÅ DONKEYLESS)#
- # Lavet af ColaMaster # SÅ VED I DET #
- #---------------------#-----------------#
- #-------------------------#
- # BÅDE FRA OG TIL COMMAND #
- #-------------------------#
- command /horseless:
- permission: cola.horseless
- trigger:
- if {cola.horseless} is not set:
- set {cola.horseless} to true
- send "&c&lGGPVP >> &6HorseLess blev &a&lAktiveret" to player
- else:
- delete {cola.horseless}
- send "&c&lGGPVP >> &6HorseLess blev &c&lDeaktiveret!" to player
- if {cola.horseless} is true:
- loop all entities:
- if loop-entity is a horse:
- loop-entity is alive:
- loop-entity is not a player:
- kill loop-entity
- #-------------------------------#
- # DRÆB HEST HVERT 4 TICKS I UHC #
- #-------------------------------#
- every 4 ticks:
- if {cola.horseless} is true:
- loop all entities:
- if loop-entity is a donkey or a horse:
- loop-entity is alive:
- loop-entity is not a player:
- kill loop-entity
- #-----------------------------------------#
- # IKKE DROP LEATHER NÅR DET BLIVER KILLED #
- #-----------------------------------------#
- on death of horse:
- if {cola.horseless} is true:
- clear drops
- on death of donkey:
- if {cola.horseless} is true:
- clear drops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement