Ok so im making a main menu and when you ckick the play button in the main menu the main menu starts to fade away using Background Transperency, However I have ran into a slight problem, my main menu frame that I called "MainFrame" says its not a valid member of Frame
BTW THIS IS IMPORTANT IM JUST TRYING TO FIRST USE BACKGROUND TRANSPERENCY SO THATS WHY THE VALUE IS AT 1
here is what it says: 14:20:20.858 - MainFrame is not a valid member of Frame
Here is my Script:
local LoadingScreenGui = script.Parent
local MainFrame = LoadingScreenGui.MainFrame
local PlayButton = MainFrame.PlayButton
PlayButton.MouseButton1Up:Connect(function()
MainFrame.BackgroundTransparency = 1
end)

2 comments
:WaitForChild()
Where?