Advertisement
Guest User

Mutechat skript

a guest
Dec 14th, 2019
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. Command /mutechat:
  2. permission: mod.sk
  3. trigger:
  4. if {mutechat} is false:
  5. set {mutechat} to true
  6. play sound "entity.player.levelup" with volume 10 and pitch 1 at all players for all players
  7. broadcast "&3&lSavour &3▪ &7The chat has been &cmuted&7!"
  8. stop
  9. if {mutechat} is true:
  10. set {mutechat} to false
  11. play sound "entity.player.levelup" with volume 10 and pitch 1 at all players for all players
  12. broadcast "&3&lSavour &3▪ &7The chat has been &aunmuted&7!"
  13.  
  14. on chat:
  15. if {mutechat} is true:
  16. cancel event if player does not have permission "mutechat.bypass"
  17. send "&3&lSavour &3▪ &7The chat is &cmuted&7!" if player does not have permission "mutechat.bypass"
  18. play sound "entity.villager.no" with volume 10 and pitch 1 at player for player if player does not have permission "mutechat.bypass"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement