local proximityprompt = game.Workspace.Block.ProximityPrompt
proximityprompt.Triggered:Connect(function()
script.Parent.Visible = true
end)
it does not open the gui
local proximityprompt = game.Workspace.Block.ProximityPrompt
proximityprompt.Triggered:Connect(function()
script.Parent.Visible = true
end)
it does not open the gui
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.