How do I make my frame visible = false

So I came back to scripting and now I realized when you run a local script inside a text button when clicked and make it got invisible it doesn’t do this and don’t give me a filtering enabled link I just want to know the simple script.

local Button = script.Parent

local StarterFrame = script.Parent.Parent

local InstructionsFrame = script.Parent.Parent

Button.MouseButton1Click:Connect(function()

print("Clicked")

StarterFrame.Visible = false

InstructionsFrame.Visible = true

print("Ran")

end)
3 Likes

Do any of the prints work ? Do you get any errors in output?

1 Like

You’ve set StarterFrame and InstructionsFrame as the same frame, then later went on to set the same frame as invisible then immediately visible.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.