try this:
01 | local tool = script.Parent |
02 | local RunService = game:GetService( "RunService" ) |
07 | local function onActivated() |
08 | local zombie = game.ReplicatedStorage.Zombie |
09 | local human = tool.Parent.Humanoid |
10 | local mouse = game.Players.LocalPlayer:GetMouse() |
12 | local e = Instance.new( "Explosion" ) |
13 | e.DestroyJointRadiusPercent = 10 |
14 | e.Position = mouse.Hit.Position |
22 | local clone = zombie:clone() |
23 | clone.Parent = workspace |
25 | local chaclone = clone:WaitForChild( "Character" ) |
26 | if chaclone.HumanoidRootPart then |
28 | clone:MoveTo(mouse.Hit.Position) |
36 | tool.Activated:Connect(onActivated) |
just swapped out moving its HumanoidRootPart
with the inbuilt Model:MoveTo(Vector3)
Hope this helps! :)