I have no clue what I am doing wrong please help me, thanks
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.Parent.ShopFrame.ShopFrame.Visible = true
if script.Parent.Parent.Parent.Parent.ShopFrame.ShopFrame.Visible == true then script.Parent.Parent.Parent.Parent.ShopFrame.ShopFrame.Visible = false
end
end

2 comments
Short script
Thanks! It works! I'll accept it!