pls sub im so poor
here are the scripts
open shop script
local button = script.Parent
local frame = button.Parent:WaitForChild("Frame") -- change name if needed
frame.Visible = false
button.MouseButton1Click:Connect(function()
frame.Visible = true
end)
close shop script
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Visible = false
end)