Jump to content

Glow skript


landonhalley

Recommended Posts

The colors are determined by a team packet, so getting the colors is a little more difficult. To easily do so you can use the plugin TAB REBORN which will determine team colors based on the color of a vault prefix.
What you can then use is something like:
 

command glow:
    permission: perk.glow
    trigger:
        set glowing of player to !glowing of player
        if glowing of player is true
            set {_a} to "&a&lEnabled"
        if glowing of player is false:  
            set {_a} to "&c&lDisabled"
        send "&eGlow: %{_a}%"


In this example I use skQuery's Not Boolean, which just returns the opposite of a (true/false). And I use skript's glowing of %player% expression to set it.

 


[PATRON] Echology

image.png.25b196fc30999f9133398315a98c2b11.png

Sponk = Weeb


 

Link to comment
Share on other sites

  • 2 weeks later...
On 3/9/2021 at 5:03 PM, Bluberriess said:

The colors are determined by a team packet, so getting the colors is a little more difficult. To easily do so you can use the plugin TAB REBORN which will determine team colors based on the color of a vault prefix.
What you can then use is something like:
 

command glow:
    permission: perk.glow
    trigger:
        set glowing of player to !glowing of player
        if glowing of player is true
            set {_a} to "&a&lEnabled"
        if glowing of player is false:  
            set {_a} to "&c&lDisabled"
        send "&eGlow: %{_a}%"


In this example I use skQuery's Not Boolean, which just returns the opposite of a (true/false). And I use skript's glowing of %player% expression to set it.

When i put permission: (perms) it says cannot understand got any fixes for that?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...