Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

This gui changing has problems?

Frame = game.StarterGui.ScreenGui.GameInfo

function onClicked()
	Frame.Visible = true
end

script.Parent.MouseButton1Click:connect(onClicked)

1 answer

Well, what you did was change it in StarterGui. You need it to change in the Player's PlayerGui.

Basically what you would do for frame is, do script.Parent.Parent (Or whatever) until you find the frame, then do Frame.Visible=true

Ex.

Frame = script.Parent.Parent -- First parent is the button, second is the frame. Im just assuming what it is you will need to change it

function onClicked()
    Frame.Visible = true
end

script.Parent.MouseButton1Click:connect(onClicked)

Im sure you could do this an easier way, but this is what I do.

This discussion is preserved as it was. New answers, comments, and votes are closed.