function onHit(hit)
if (hit.Parent:FindFirstChild("Humanoid") ~= nil) and enabled then
Workspace.Zombie.CFrame = Workspace.Zombie.CFrame + Vector3.new(0.35,0,0)
end
end
script.Parent.Touched:connect(onHit)
1
Make sure that 'enabled' is defined, and also "CFrame" is not a property of "Model", so if "Zombie" is a model (not a "Part") then you can't set the CFrame of it.duckwit1404— 10y
0
what can I use instead of Zombie.CFrame to move the entire modelShaydesilva85— 10y