#Issue with zombie not moving

1 messages · Page 1 of 1 (latest)

severe mango
#

I don’t know how to script but I tried everything I can and watched many videos but he just shows as idle and won’t move

vague apex
#

is it from the toolbox?

severe mango
vague apex
#

is there a script in it?

severe mango
#

I don’t think so

vague apex
#

get one from the toolbox

#

drooling zombie

#

its has all the codes

#

and if you want to write the code your self then im here

severe mango
vague apex
#

weird

#

lemme check

severe mango
#

It just stays idle

vague apex
#

give me the model name

#

or the rig name

severe mango
#

I clicked rig builder and clicked r15 masculine and block avatar

vague apex
#

add a script in the zombie

#

and copy this script

#

local zombie = script.Parent

for _, script in pairs(zombie.ModuleScripts:GetChildren()) do
if not game.ServerStorage:FindFirstChild(script.Name) then
script:Clone().Parent = game.ServerStorage
end
end

local AI = require(game.ServerStorage.ROBLOX_ZombieAI).new(zombie)
local DestroyService = require(game.ServerStorage.ROBLOX_DestroyService)

local function clearParts(parent)
for _, part in pairs(parent:GetChildren()) do
clearParts(part)
end
local delay
if parent:IsA("Part") then
delay = math.random(5,10)
else
delay = 11
end
DestroyService:AddItem(parent, delay)
end

zombie.Humanoid.Died:connect(function()
AI.Stop()
math.randomseed(tick())
clearParts(zombie)
script.Disabled = true
end)

local lastMoan = os.time()
math.randomseed(os.time())
while true do
local animationTrack = zombie.Humanoid:LoadAnimation(zombie.Animations.Arms)
animationTrack:Play()
-- local now = os.time()
-- if now - lastMoan > 5 then
-- if math.random() > .3 then
-- zombie.Moan:Play()
---- print("playing moan")
-- lastMoan = now
-- end
-- end
wait(2)
end

#

first

#

make the parent of the script named zombie

#

not my script

severe mango
#

Ok

winter yarrowBOT
#

studio** You are now Level 1! **studio

severe mango
#

It just stays idle still

vague apex
#

delete the model

#

and take a verifed one from the toolbox

severe mango
#

alright

#

it moves now but it took animations and design away

#

if I add back the same thing will it still work?

tough mulch
severe mango
void seal
#

Make your own, highly recommend.

severe mango
#

I tried and i just couldn’t get it to work

void seal
#

Then try again

#

And learn

#

Use documenration

#

Tutorials

#

Dev forums