script.Parent.Touched:connect(function(hit) local p = game.Players:GetPlayerFromCharacter(hit.Parent) if p then if p.PlayerGui then p.PlayerGui.GUINAME.Frame.Visible = true end end end)? I tried it something is missing or im wrong.
COMMUNITY QUESTION
Is this correct script for clicking brick and it opens gui?
1 answer
Both.
1 comment
0
Are you getting any errors in the output?
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Are you touching it or clicking it?