so..... this exit gui that i made is not working, here is the script!
function exit()
wait(0)
script.Parent.Parent:remove()
end
script.Parent.MouseButton1Down:connect(exit)
The First parent is the Exit, and the second is the frame, shouldi change it to the Shop Gui Itself? I dont know...... can anyone help?

2 comments
just make sure the order is this screen gui frame then a textbutton or text label or text box
Any errors in the output?