Hi Developers and Programmers, today I need your help. I have a problem, I want to change the function of opening the GUI with a ClickDetector. and put it to open with a ProximityPrompt, the script:
script.Parent.ClickDetector.MouseClick:Connect(function(plr)
local newUI = script.CarSpawnUI:Clone()
newUI.Parent = plr.PlayerGui
newUI.MainFrame:FindFirstChild("LocalScript").Disabled = false
end)
If someone can give me the solution it would help me a lot. Thanks.
- ManuelCortesYT, SCS-Studios CEO

1 comment
Thank you so much!