ProximityPrompt breaking after using :PivotTo on parent

I’m making an NPC that at some point changes their location through :PivotTo. Inside their torso is a ProximityPrompt that works completely fine normally, but doesn’t trigger when the player interacts with it at the new location.

I have a print statement that outputs “triggered” when the proximity prompt triggered event is fired but nothing is outputted, so I have concluded that the prompt is the issue.

It might be worth noting that the NPC is only being moved on the client. I’ve tried using both a local and server script for the prompt, and I’ve also tried re parenting the prompt to the torso after moving the NPC. Neither have worked.

Is this a bug or am I missing something?

1 Like