--I keep getting this error and I don't get what's happening. All I know is that its in this line of code.
`
local HumanoidRootPart = NPC:FindFirstChild("HumanoidRootPart")
**local ProximityPrompt = HumanoidRootPart:FindFirstChild("ProximityPrompt")**
if HumanoidRootPart and ProximityPrompt then ProximityPrompt.ObjectText = NPC.Name
ProximityPrompt.ActionText = "Talk to".. NPC.Name `
--script surrounded with '**' is the one not working.

3 comments
Is NPC referenced anywhere in the script?
Yes.
Csn someone please help