Help! I have worked about a week on this script, but no progress. I am mostly trying on getting the line
function onClick()
Check.Frame.Visible = false
end
to work but nothing! I need help getting this script to disappear, but my output keeps saying "Attempt to call a nil value" I even tried making a nil part in the script by changing false to nil and everything. Please help me find out what is up with the nil value what does it mean?!
local play = script.Parent
local Frame = game.StarterGui.Check.Frame
local Check = game.StarterGui.Check
local Click = play.MouseButton1Down:connect(onClick)
function onClick()
Check.Frame.Visible = false
end
Please help this is so frustrating!

1 comment
Why'd you unaccept my answer just to accept one that was just the same? Even though mine was first?