My zombie spawner is not working

zombie please help me

1 Like

Any errors in the output? It should work tbh…

let me test again to see if it works

I see a mistake in your code.

local Clone = NPC: Clone()

Remove the space between the : and Clone. So it should be like this
local Clone = NPC:Clone()

1 Like

Yes, that is the error. You have an unneeded space, but if there is no error in the output, I don’t know whats wrong to be honest. Also, change Clone.UpperTorso to Clone.HumanoidRootPart, maybe it’ll work? changing to HumanoidRootPart is also more efficint. idk man

This actually isn’t the problem, I tested this with my own script and it worked fine

local baseplate = script.Parent

local clone = baseplate:    Clone()

clone.Parent = workspace
1 Like

Hm. That’s weird, I tested it out and it didn’t work. Here are some screenshots:
image

image

it should be here.

I don’t know why your script worked with it.

1 Like

what is object browser on your tab?

1 Like

It’s a function / instance browser. You can find out what does a function do in a model, block etc.

you can turn it on here: