Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-3

Is this correct script for clicking brick and it opens gui?

Asked by 9 years ago

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.

0
Are you touching it or clicking it? SanityMan 239 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

Both.

0
Are you getting any errors in the output? SanityMan 239 — 9y
Ad

Answer this question