maozou

Auto Sneak

Mar 9th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. command /sneak [<player>] <text>:
  2. permission: sk.admin
  3. trigger:
  4. if arg-2 is "on" or "off":
  5. if arg-2 is "on":
  6. set {sneak.%arg-1%} to "true"
  7. send "&aAuto Sneak to on"
  8. if arg-2 is "off":
  9. set {sneak.%arg-1%} to "false"
  10. send "&cAuto Sneak to off"
  11. on any movement:
  12. if {sneak.%player%} is "true":
  13. sneak state of player
Advertisement
Add Comment
Please, Sign In to add comment