I found this script on devfourms and decided to use it to open a GUI with a proximityprompt. I can open the GUI at first but after I close it, I couldn't
Edit: I forgot to mention, this is a local script in StarterGUI
local shop = script.Parent local button = shop.Background.ImageButton local prompt = workspace.krxtenaa.PromptPart.ProximityPrompt prompt.Triggered:Connect(function() shop.Enabled = true end) button.Activated:Connect(function() shop.Enabled = false end)
Maybe just put ifs? Like if shop.Enabled = true then shop.Enabled = false, could help?
Or maybe the proximity is de-enabling so you can't do it again? What does your output say?