Here is my Vanish script
I want to make it so if you have vanished it says "vanished" in Actionbar.
Right now, the text disappears after 1 second. Is it possible to change this so it will stay there until you do /vanish again?
I want to make it so if you have vanished it says "vanished" in Actionbar.
Right now, the text disappears after 1 second. Is it possible to change this so it will stay there until you do /vanish again?
code_language.skript:
command /vanish:
usage: no
permission: vanish.use
permission message: no
trigger:
if {sql_.mineplex.vanish.%player%} is true:
loop all players:
loop-value doesn't have permission "vanish.see"
add loop-value to {_vanishto::*}
reveal player from all players
set {sql_.mineplex.vanish.%player%} to false
send "not vanished"
else:
loop all players:
loop-value doesn't have permission "vanish.see"
add loop-value to {_vanishto::*}
hide player from {_vanishto::*}
set {sql_.mineplex.vanish.%player%} to true
send "you are vanishd"
send "staff or higher can still see yu"
show an action bar from "test" to player