Proximity prompt not opening gui

Im tryna make a gui open on the proximity prompts activation
This code is in a local script. No errors

You could do that even simplier:

local ProximityPrompt = script.Parent

ProximityPrompt.Triggered:Connect(function(Player)
   Player:WaitForChild("PlayerGui").BarryShop.Enabled = true
end)

[Why not use a normal script tho? with the given param ‘Player’, it’ll open it only for that player]

1 Like

I went to the local script because I tried so many different things and thats where I gave up. thanks for the help it works in an actual script.

1 Like

No problems! Make sure to mark it as solution so people know it’s been solved, best of luck!

1 Like