NPC CFrame not replicating properly onto client

Hey there! Currently developing my game and i’ve noticed a issue with my NPC’S, they seem to fall over when I get near them on the client, I’m pretty sure its not anything to do with the code, and if I were to show you the code its spanned over multiple modules, so not sure if I could show you.

1 Like

did you :SetNetworkOwner(nil) to all npc base part?

if you didnt that…
you should do this

local char = script.Parent

for _, v in pairs(char:GetDescendants())
if v:IsA(“BasePart”) then
v:SetNetworkOwner(nil)
end
end

This is probably happening because the Physics ownership is switching to the player when you get near the NPC, try setting the network ownership to the server when you spawn in the NPC by doing:

RootPart:SetNetworkOwner(nil)