I tried to search as much about it as I can but each time I clone an NPC (r15) from replicated storage it keeps tripping (falling dawn on spawn).
clone = game:GetService("ReplicatedStorage").Noob:Clone() clone.Animate.Disabled = false clone.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) clone.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false) clone.HumanoidRootPart.Anchored = false clone.Parent = workspace clone.HumanoidRootPart:SetNetworkOwner(nil) clone:MoveTo(workspace.pad.Position)
Does anyone have any advise to prevent this? it has a basic animation playing on loop btw but I don't think that should matter
I just want my npc to spawn standing without falling down but this script wont work ._.
Edit: HumanoidRootPart gets anchored before placed to workspace
Ok so another thing is I forgot there is a part on top of the pad, but its cancollide = false. So when I use the MoveTo, it moves the NPC a very tiny bit higher (like < 1 on the y axis) because of the thing on top of the pad and once it gets unanchored it falls down.
When I use SetPrimaryPartCFrame, it sets the NPC half way below the pad. It will get up but still trip anyway
Ok.... So I made the thing on top of the pad a local part but they are still tripping lmao
How do I prevent this?