Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&7CrouchSheep&8]&7
- command /crouchsheep <text>:
- usage: /crouchsheep <on/off>
- permission: skript.op
- trigger:
- if arg-1 is "on" or "enable":
- set {crouchsheep} to true
- send "{@P} Skript Enabled!"
- else if arg-1 is "off" or "disable":
- delete {crouchsheep}
- send "{@P} Skript Disabled!"
- loop all players:
- command "/undisguiseplayer %loop-player%"
- on sneak toggle:
- {crouchsheep} is true
- player is not sneaking:
- if player is wearing leather chestplate:
- command "/dplayer %player% sheep setcolor silver"
- else if player is wearing gold chestplate:
- command "/dplayer %player% sheep setcolor black"
- else if player is wearing chain chestplate:
- command "/dplayer %player% sheep setcolor gray"
- else if player is wearing iron chestplate:
- command "/dplayer %player% sheep setcolor brown"
- else if player is wearing diamond chestplate:
- command "/dplayer %player% sheep setcolor pink"
- else:
- command "/dplayer %player% sheep"
- else:
- command "/undisguiseplayer %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement