#glow wont go away (skGlow)

1 messages · Page 1 of 1 (latest)

velvet sluice
#

so im try to make a skript with color glow, and after the player is killled the glow will go away. this is how im aplling the glow:
make player glow
apply red to player

and then i remove it by disable glowing for victim (its a death event), but, the player is still glowing but without the color. why is that?
@neon wraith

neon wraith
#

Could you please send your script, as well as your /sk info?

#

Also you can make them glow red only using the effect once.
apply red glow to player

velvet sluice
#
on player move:
    set {_block} to block above block below player
    if {_block} is banner:
        set {_b} to type of {_block}
        set {_b} to "%{_b}%"

        set {_banner} to {_b} parsed as material
        if {_b} contains "blue":
            if {red_team::*} contains player:
                set helmet of player to {_banner}
                set block at {_block}'s location to air
                apply blue glow to player


on death:
    set {_h} to "%helmet of victim%"
    if {_h} contains "standing banner":
        set {_b} to block above block below victim
        set {_h} to {_h} parsed as material
        set block at {_b}'s location to {_h}
        set helmet of victim to air
        wait 1 tick
        disable glowing for victim
        make victim stop glowing
#

wait, now it working

#

idk why its working now... thx you @neon wraith for this apply red glow to player

neon wraith
#

np