I need a help 2

  • 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.

Dani214

Member
Feb 9, 2020
16
1
3
19
Hello everybody. I need to do something.

Skript:

Code:
On join:
    player has permission "owner.nametag":
        Loop all players:
            wait 1 seconds
            set loop-player's tab name to "&c[ADMIN] &7%loop-player%"
            wait 1 seconds
            set loop-player's tab name to "&2[ADMIN] &7%loop-player%"

I am sure that this should not look like that at all, but nevertheless, I need to do an “animation prefix” for the administration with a certain right. That it was fixated on constantly, until the moment when they do not take away this right from me. Edit the script correctly and give me the "core" of what and how to do next, since I myself could not do it.
 
Code:
on join:
    if player has permission "nametag.*":
        while player is online:
            if player has permission "nametag.owner":
                wait 1 seconds
                set player's tab list name to "&c[OWNER] &7%player%"
                wait 1 seconds
                set player's tab list name to "&4[OWNER] &7%player%"
            else if player has permission "nametag.admin":
                wait 1 seconds
                set player's tab list name to "&a[ADMIN] &7%player%"
                wait 1 seconds
                set player's tab list name to "&2[ADMIN] &7%player%"
            else:
                set player's tab list name to "&8[Default] &7%player%"
                stop
    else:
        set player's tab list name to "&8[Default] &7%player%"
 
Status
Not open for further replies.