-- This is inside of a TextBox that is inside of a Frame that is inside of a ScreenGui
local t = script.Parent
if t.Text = "100%" then
wait(2)
t.Parent.Visible = false
t.Visible = false
end
On line 3 it is underlined with red but I can't figure out what is wrong. Any help? (P.S.) This is for a loading screen so when it says 100% the gui is supposed to close.
