Tazu okej ale dajmy na to ze to jest kod na vanish:
variables:
{vanish::%player%} = off
on join:
set {vanish::%player%} to "off"
reveal player to all players
command /vanish [<text>]:
aliases: v
permission: vanish.admin
permission message: &fUnknown command, type /help for help.
trigger:
if arg 1 is not set:
if {vanish::%player%} is "true":
send "&7Twoj vanish jest &awlaczony."
send "&7Pomoc: &a/v help"
send "&7Autor: &aReyPlay"
if {vanish::%player%} is "false":
send "&7Twoj vanish jest &cwylaczony."
send "&7Pomoc: &a/v help"
send "&7Autor: &aReyPlay"
if arg 1 is "help" or "pomoc":
send "&8» &7/v &8- &7Pokazuje stan vanisha."
send "&8» &7/v &ahelp &8- &7To co czytasz."
send "&8» &7/v &aon &8- &7Wlacza vanisha."
send "&8» &7/v &aoff &8- &7Wylacza vanisha."
if arg 1 is "on":
if {vanish::%player%} is "on":
send "{@tag} &aTwoj vanish byl wlaczony."
if {vanish::%player%} is "off":
send "{@tag} &aVanish zostal aktywowany."
play raw sound "random.explode" at player with pitch 1 volume 10
spawn 10 of particle explode:1 offset by 0.5, 1, 0.5 at player
hide player from all players
set {vanish::%player%} to "on"
if arg 1 is "off":
if {vanish::%player%} is "on":
send "{@tag} &aVanish zostal zdezaktywowany."
play raw sound "random.explode" at player with pitch 1 volume 10
spawn 10 of particle explode:1 offset by 0.5, 1, 0.5 at player
reveal player to all players
set {vanish::%player%} to "off"
if {vanish::%player%} is "off":
send "{@tag} &aTwoj vanish byl wylaczony."
to gdzie to dac?