of     1   

yoyoguy20
#36229248Saturday, October 30, 2010 4:09 PM GMT

while true do if game.Workspace.ROZ:findFirstChild("Zombie") then return end game.Lighting.T.ROZ1.Parent = game.Workspace wait(0.01) end end What it does is when you have killed all the zombies in a certain model, another model full of zombies gets taken from lighting and put into Workspace
Apocalyps
#36229684Saturday, October 30, 2010 4:16 PM GMT

while true do if game.Workspace.ROZ:findFirstChild("Zombie") == nil then game.Lighting.T.ROZ1.Parent = game.Workspace end wait() end --I'm not sure but i think that when a model gets totally empty it will automaticaly be removed, so this script could still error...
s0uthw3st
#36229897Saturday, October 30, 2010 4:20 PM GMT

Title fix. Also, you need something more complex than that. You _could_ store them in a "box" out of view and use MoveTo on their humanoid. Here's what I'd do for what you have: function check() local ROZ = Workspace.ROZ:getChildren() for i = 1, #ROZ do if ROZ[i].Humanoid.Health > 0 then wait(0.01) return false end end return true end while true do if check() then wait(1) game.Lighting.T.ROZ1.Parent = game.Workspace Workspace.ROZ.Parent = nil end wait(0.01) end You still need positions for the zombies to move to, but this _may_ work.
Spectrumw
#36230053Saturday, October 30, 2010 4:23 PM GMT

@Catblox Making a 'big' script will not make it work, the problem stills there.
myrco919
#36230445Saturday, October 30, 2010 4:29 PM GMT

[ Content Deleted ]
Spectrumw
#36230517Saturday, October 30, 2010 4:30 PM GMT

@Myrco And the same problem with your script...
Spectrumw
#36230585Saturday, October 30, 2010 4:31 PM GMT

I will just tell it, you are moving the model from Lighting instead of cloning it, so, the second time the script tries to repeat the action it will break, because there is nothing in Lighting called like that.
yoyoguy20
#36285036Sunday, October 31, 2010 12:47 PM GMT

Spect, this is what my script should do. It looks to see if there are zombies in the model, if there are zombies in there, it returns to the function, which is 'while true do'. When there isn't any zombies in the model, it will complete the whole script, therefore inserting the model from lighting.
07lchris
#36286225Sunday, October 31, 2010 1:18 PM GMT

Model = game.Lighting.T.ROZ1 ModelCopy = Model:Clone() while true do if (game.Workspace.ROZ:findFirstChild("Zombie") ~= nil) then ModelCopy.Parent = game.Workspace elseif (game.Workspace.ROZ:findFirstChild("Zombie") == nil) then return end end

    of     1