Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-4

What Did I Do Wrong?

Asked by
ImfaoXD 158
8 years ago

Its doesn't work, what did I do wrong? I try to make this script work on my GUI when a player get to 20 points and then the GUI disappear. Like text button or image button. Could you guys find the error and fix it for me? Please.

local plyr = script.Parent.Parent.Parent.Parent.Parent.Parent
                wait(3)
            if plyr.Status2.Points.Value >= 20 then
                script.Parent:remove()
            elseif plyr.Status2.Lvl.Value <= 19 then
         print("yay")
    end

0
When you tested this, does anything appear in the output, if so, what? You need to explain more... Uroxus 350 — 8y
0
Is it GUI? mine248 40 — 8y
0
Yes ImfaoXD 158 — 8y

Answer this question