Frame = game.StarterGui.ScreenGui.GameInfo
function onClicked()
Frame.Visible = true
end
script.Parent.MouseButton1Click:connect(onClicked)
I am trying to make a frame which is out of the script's parents invisible.
Frame = game.StarterGui.ScreenGui.GameInfo
function onClicked()
Frame.Visible = true
end
script.Parent.MouseButton1Click:connect(onClicked)
I am trying to make a frame which is out of the script's parents invisible.
Guis only use MouseButton1Down's
Frame = game.StarterGui.ScreenGui.GameInfo
script.Parent.MouseButton1Down:connect(function()
Frame.Visible = true
end)
Still don't works, the frame which is visible will be invisible but the other frame still is invisible.
It seems like you are trying to fire MouseButton1Click on a frame. This can only be fired on ImageButtons, TextButtons, or anything with buttons. Try to make the path go to a textbutton and then try it
And the game.StarterGui.ScreenGui.GameInfo?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I mean visible.