boss wont spawn enemies on its position,how do i fix it?
Longer title: the Boss im trying to make is not spawning its enemies on its own position,instead is spawning it in a specific area instead,how do i fix it so that it spawns itself on its own positions instead?
The code is not mine,but i try to learn code by editing it,for me i don't know what to edit for the enemies to spawn at the same position as the original enemy,the "children" is the enemies the boss will spawn if it dies
1 | local hum = script.Parent |
2 | local children = game.Lighting.Zombies.Minis:clone() |
4 | hum.Died:connect( function () |
6 | children.Parent = hum.Parent.Parent |