Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why the proxymity prompt wont open the gui?

local proximityprompt = game.Workspace.Block.ProximityPrompt

proximityprompt.Triggered:Connect(function()
script.Parent.Visible = true
end)

it does not open the gui

1 answer

✓ Accepted answer

Hey, if I helped, be sure to approve this answer!~

Try using

game.Players.LocalPlayer.PlayerGui:WaitForChild("GuiName")

"WaitForChild" might fix your issue. Needs to be a local script for this to work, which it already should be.

This discussion is preserved as it was. New answers, comments, and votes are closed.