Unable to open shop GUI after closing?
Asked by
3 years ago Edited 3 years ago
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
01 | local shop = script.Parent |
02 | local button = shop.Background.ImageButton |
04 | local prompt = workspace.krxtenaa.PromptPart.ProximityPrompt |
06 | prompt.Triggered:Connect( function () |
10 | button.Activated:Connect( function () |