Hey there, so I am making a starting screen and I'm using a local script to manage it, but it says
07:24:35.065 - MouseButton1Click is not a valid member of ScreenGui
###Can anybody debunk this myth?
The script is inside my screen GUI holding everything that I am referencing to with locals. As well as plzplaybutton is a textbutton.
local screenGOOEY = script.Parent.screenthing
local playbutton = screenGOOEY.plzplaybutton
local function clicknomorescreenGOOEY()
screenGOOEY.Visible = false
print("screenGOOEY no longer visible hah")
end
script.Parent.MouseButton1Click:Connect(clicknomorescreenGOOEY)
Thanks,
Narwhal

1 comment
Oh okay thanks!