I am making a game and i have a button that should open a shop, and the code I used is in a local script, but whenever i lcick on the button, it doesn't open. I have a clickdetector in the button, and no errors happen in output. Any idea on how to fix this?
clicker = script.Parent.ClickDetector
shop = game:GetService("StarterGui").Shop.Frame
function onClick(player)
shop.Visible = true
end
clicker.MouseClick:Connect(onClick)
Button: https://imgur.com/a/6mrRNNp

2 comments
yes he is correct. you need to make the clients frame visible
Um, it still isn't working... The frame is still invisible and there is still no shop...