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)

1 comment
Glad I could help!