Hello, I have made a Zombie and when I click it teleports but it only teleports the torso. I can do this with my own character and it teleports the full body so I don't understand what the problem is. The code is in a local script in the starter gui. Here is the code:
plr=game.Players.LocalPlayer
mouse = plr:GetMouse()
mouse.Button1Down:connect(function()
plr=game.Players.LocalPlayer
mouse = plr:GetMouse()
print(mouse.Target.Position)
local zombie=workspace.DroolingZombie:Clone()
zombie.Parent = workspace
zombie.Torso.CFrame = CFrame.new(101, 0.5, 23)
end)

1 comment
Alternatively, you can use
model:SetPrimaryPartCFrame(). It's weird that setting the CFrame of your zombie's torso won't move the whole model though. Is it the model's PrimaryPart? It should be.