I was watching a tutorial video on making a tower defence game and found that the script only works with the default zombie even though it seems like it should work for all rigs.
I wanted to make a tower defence game for fun, but I am not able to use a default rig with the script I’m using.
I even tried putting all the Motor6D joints and
BodyForce into the rig but it still only works with the zombie
Does anyone know why this happens?
this is the script:
local enemy = script.Parent
local waypoints = workspace.Waypoints
for waypoint = 1, #waypoints:GetChildren() do
enemy.Humanoid:MoveTo(waypoints[waypoint].Position)
enemy.Humanoid.MoveToFinished:Wait()
end
There are parts in the loop the zombie follows, but the rig won’t move. The zombie is the default roblox “drolling zombie” btw.