|
| 14 Sep 2013 08:39 PM |
zombie=game.Lighting.Zombie------------lighting zombie count=game.Workspace.ZombieCount model=game.Workspace.Zombies spawns=game.Workspace.ZombieSpawns:GetChildren() i=1,#spawns function zombiespawn() if count.Value<30 then g=zombie:clone() g.Parent=model g.CFrame.new=spawns[i].CFrame count=count+1 end end zombiespawn(); game.Workspace.ZombieCount.Changed:connect(zombiespawn)
anyone know how to fix the g.CFrame.new line of this script ? |
|
|
| Report Abuse |
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 14 Sep 2013 08:41 PM |
| model:MoveTo(Vector3.new(spawns[i].CFrame.p)) |
|
|
| Report Abuse |
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
| |