lose effect

Discussion in 'Skript' started by Vicen621, Jul 27, 2020.

Thread Status:
Not open for further replies.
  1. When I logout and login I lose the glowing effect, someone can help me please
    Code (Text):
    on consume:
            event-item is golden apple
            if event-player has glowing:
                    set {Glowing::%player%} to false
                    remove glowing from event-player
            else:
                    apply glowing of tier 1 to event-players for 999 days
                    set {Glowing::%player%} to true

    on login:
        if {Glowing::%player%} is true:
            apply glowing of tier 1 to event-player for 999 days[

     
  2. You have a plugin Interfering with it...
    Do:
    Code (Text):
    on login:
        wait 2 seconds: # or however long you want
        if {Glowing::%player%} is true:
            apply glowing of tier 1 to event-player for 999 days #[ <--- This will screw you
     
    ALSO: at the end of your code there is a [ that will screw you.
     
    #2 MassiveZappy, Jul 27, 2020
    Last edited: Jul 27, 2020
  3. I still losing the glowing, I'm new in the skripts sorry
     
  4. since you're new, pro tip: don't set your variables to false, just delete them. saves a lot of memory in some cases

    show any errors you're getting
     
  5. Govindas, There's my ticket.
     
  6. What does It say when you type /sk reload (yourfilegoeshere)
     
  7. I think I've already helped you, told you how to fix the problem.
     
Thread Status:
Not open for further replies.