Help with GUI Beacuse i don't know how to

Remove the underlined equal sign and after it (don’t remove end)

But when i look at the script error it shows end is the error


It’s end) not end sorry for not clarifying

local ShopFrame = script.Parent.Parent['Buy Wins frame']

script.Parent.MouseButton1Click:Connect(function()
ShopFrame.Visible = not ShopFrame.Visible 
end)
1 Like


and after it it is still on the screen

Yea like that but remove [“Buy Wins frame”] at the top

1 Like

it kind of works but the green is all gone
image

and i want all to close when wins shop is closed

the button that opens/closes the gui shouldnt have the shop frame as it’s parent…

1 Like

image
Its the bottom one

wait wait - the green is supposed to be a separate shop button of its own instead of opening in the shop frame??

1 Like

The green button is spoused to open green frame Wins shop is soposed to open Yellow frame with orange it work but.

Yellow is spopsed to close And green is only for green box

OHH YOU GOT ME SO CONFUSED AND ALL SORRY
so basically the winshopGui button can open its frame and buy wins can open its own separately?

both the frame and button’s parent should be the ScreenGui (Wins Shop)

1 Like

… It is already like that it just lemme show you video

im rlly confused what excatly is suppsoed to be happening

1 Like

Here you go robloxapp-20230918-1118217

ohhh i get it now… make buy wins button’s Parent be Wins

1 Like

its almost good but when i click the button the green frame stays and when i click Buy wins wins shop closes

i need to change a bit of script