Gui opening frame issue

I had this work a few hours ago but its broken its self know I’m so confused

output says

EventPage is not a valid member of Frame “Players.3DRobloxGameDev.PlayerGui.ScreenGui.Main.Banner”

script:

script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.EventPage.Visible = true
end)

There is nothing in "Banner” called “EventPage”

1 Like

then how would i make it detect it if its in another part of another frame? and when i add another .parent the output says nothing

Just change that to the correct path of EventPage. If you need help, please send a picture of your Explorer

explorer

Should be:


script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.EventPage.Visible = true
end)

You missed a .Parent

Yeah but it don’t work with that still

Can we see a video of you testing it?

Ok sorry I should have been more clear, can we see the properties of the EventFrame during testing

What as in the explorer of playergui

explorer

No the properties of the EventFrame. Click on the event frame and screenshot the information in the properties tab (the tab that has the frame color, visibility, etc.)


explorer

Can you do it in a video to see if anything is changing while you click the button?

Try changing the Zindex property of the EventFrame to a number like 5. The issue could be that another GUI is on top of it.

1 Like

Im so sorry but i found out zindex had an issue in this aswell thank you so much for helping me

Im so sorry but i found out zindex had an issue in this aswell thank you so much for helping me.