#guys i have this as my open shop script but it wont work:

1 messages · Page 1 of 1 (latest)

fierce ginkgo
#

script.Parent.MouseButton1Click:Connect(function()
local ShopFrame = script.Parent.Parent.Parent.ShopFrame
if ShopFrame.Visible == false then
ShopFrame.Visible = true
else
ShopFrame.Visible = false
end
end)

fiery lantern
#

why script.parent.parent.parent?

lean bramble
#

Could be the methoad you’re using mousecluck1 doesn’t ever work for me on gui

#

Try a text button with activated as the meathod

sleek geyser
#

putting a script under a click detector should be illegal

mint dragon