How to open a gui if its in a diffrent screenGui from the button

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? a button in a ScreenGui to open a frame in a diffrent ScreenGui

  2. What is the issue? ive tried multiple ways( local scripts) to try and get it to work and it doesnt.

  3. What solutions have you tried so far? youtube tutorial, roblox studio assistant

picture of my starter gui:
screenshot

im trying to get the Open information imageButton to open up the Information (opened) frame

game.Players.LocalPlayer.PlayerGui:WaitForChild("Ui's itself")["Information (opened)"]

wrote it in 20 seconds so dont berate me for it being wrong

thank you! ive been struggling with this for a while now
this is the script ive used for it to work if anyone else needs it:
local open = script.Parent
local info = game.Players.LocalPlayer.PlayerGui:WaitForChild(“Ui’s itself”)[“Information (opened)”]

open.MouseButton1Click:Connect(function()
if info.Visible == false then
info.Visible = true
else
info.Visible = false
end
end)