so i tried making a ProximityPrompt make a UI visible when you interact with it.
heres the script:
1 | script.Parent.Triggered:Connect( function () |
2 | game.Players.LocalPlayer.PlayerGui.Shop.Frame.Visible = true |
3 | end ) |
at this point i was just getting confused. im still new to lua, ive been learning it for about 6 months now.
heres the error.
1 | Workspace.shop man.Head.ProximityPrompt.Script: 2 : attempt to index nil with 'PlayerGui' |
also no it does not have to do with Triggered
in my last post about this someone said the event was PromptTriggered
which was not true.
please help. thank you