Solved Vanish Problem

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BestGamerNL

Member
Apr 25, 2017
38
1
0
25
Heey guys im woking on a bigg network with an friend now i have one problem
i have an vanish plugin to spectate hackers

But the problem is players that are joing sees me when im in vanish
does someone know how to fix this


this is my skript

code_language.skript:
command /v <text>:
    usage: "&f/vanish <on:off>"
    permission: vanish.use
    permission message: &bStereo&fNetwork &8» &cU dont have permisions for this command.
    trigger:
        if arg-1 is "on":
            set {vanish.%player%} to true
            hide the player from all players
            send "&bStereo&fNetwork &8» &7Vanish has been &aEnabled"
        if arg-1 is "off":
            set {vanish.%player%} to false
            reveal the player from all players
            send "&bStereo&fNetwork &8» &7Vanish has been &cDisabled"
[doublepost=1502195786,1502195738][/doublepost]if someone know can you make on for me :emoji_slight_smile:
 
add this

not tested, maybe works

code_language.skript:
on join:
    loop all players:
        if {vanish.%loop-player%} is true:
            hide the loop-player from all players
 
Status
Not open for further replies.