Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefix: &1[&eFrigid Penguin Chat&1]
- command /frigidpenguinchat <text>:
- permission: skript.op
- trigger:
- if arg-1 is "enable" or "on":
- set {fpc} to true
- loop all players:
- set {chatuses::%loop-player%} to 3
- message "{@Prefix} &7Frigid Penguin Chat is now enabled!"
- if arg-1 is "disable" or "off":
- set {fpc} to false
- delete {chatuses::*}
- delete {chatused::*}
- message "{@Prefix} &7Frigid Penguin Chat is now disabled!"
- on chat:
- {fpc} is true
- if {chatuses::%player%} is greater than 0:
- set {chatuses::%player%} to 0
- set {chatused::%player%} to the player
- loop all players:
- if {chatused::%loop-player%} is not set:
- apply slowness 2 to loop-player for 5 seconds
- delete {chatused::%player%}
- else:
- cancel the event
- message "{@Prefix} &7Your penguin vocal cords have stopped working and you must not talk ever again!"
Advertisement
Add Comment
Please, Sign In to add comment