eQDdSJJP
Język: Skript
|
Autor: Anonimowy
on script load: loop all players: set {inco::%loop-player%} to false command /incognito: trigger: if {inco::%player%} is false: open chest with 1 rows named "&5&lMenu Incognito" to player format slot 4 of player with purple Wool named "&5&lIncognito" with lore "&2&lWlacz tryb &5&lincognito" to close then run [make player execute command "inco"] format slot 0 of player with Purple Stained Glass Pane named " " to be unstealable format slot 1 of player with Purple Stained Glass Pane named " " to be unstealable format slot 2 of player with gray Stained Glass Pane named " " to be unstealable format slot 3 of player with Purple Stained Glass Pane named " " to be unstealable format slot 8 of player with purple Stained Glass Pane named " " to be unstealable format slot 5 of player with Purple Stained Glass Pane named " " to be unstealable format slot 6 of player with gray Stained Glass Pane named " " to be unstealable format slot 7 of player with Purple Stained Glass Pane named " " to be unstealable stop else: open chest with 1 rows named "&5&lMenu Incognito" to player format slot 4 of player with Red Wool named "&5&lIncognito" with lore "&c&lWylacz tryb &5&lincognito" to close then run [make player execute command "incooff"] format slot 0 of player with red Stained Glass Pane named " " to be unstealable format slot 1 of player with red Stained Glass Pane named " " to be unstealable format slot 2 of player with gray Stained Glass Pane named " " to be unstealable format slot 3 of player with red Stained Glass Pane named " " to be unstealable format slot 8 of player with red Stained Glass Pane named " " to be unstealable format slot 5 of player with red Stained Glass Pane named " " to be unstealable format slot 6 of player with gray Stained Glass Pane named " " to be unstealable format slot 7 of player with red Stained Glass Pane named " " to be unstealable command /inco: permission: white.incognito permission message: &7» &cBrak permisji! trigger: if player has permission "white.incognito": set {inco::%player%} to true send "&7» &2Wlaczyles tryb incognito!" to player command /incooff: permission: white.incognito permission message: &7» &cBrak permisji! trigger: if player has permission "white.incognito": set {inco::%player%} to false send "&7» &4Wylaczyles tryb incognito!" to player on chat: if {inco::%player%} is true: cancel event loop all players: if loop-player has permission "admin.admin": send "&9INCOGNITO &F {TAG} %player% &9> &7%message%" to loop else: send "{TAG} %message%" to loop-player