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