|
| 17 Jun 2013 01:07 PM |
hello im working on a zombie game and i want the model(zombie) clone every ... lets say 1 second could anyone help me make this script? |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2013 01:07 PM |
while wait(1) do zombie:Clone().Parent = game.Workspace end
Edit it to the index of the zombie model. |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2013 01:08 PM |
zombie = game.Lighting.zombie
while true do wait(1) zom = zombie:Clone().Parent = Workspace zom.CFrame = CFrame.new(x,y,z) end |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2013 01:17 PM |
you can explain a bit more? it doest work right now |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 17 Jun 2013 01:22 PM |
Where do you have the "original" zombie placed? (The one which you want cloned)
Is the Zombie somewhere in the game, or is it placed in Lighting?
|
|
|
| Report Abuse |
|
|
Wujus
|
  |
| Joined: 02 Sep 2008 |
| Total Posts: 117 |
|
|
| 17 Jun 2013 01:23 PM |
while true do --loop wait(1) --The time the script waits before creating a new zombie zom = zombie:Clone().Parent = Workspace --Where the new zombie will apear zom.CFrame = CFrame.new(x,y,z) --x,y,z are the coordinates the new zombie will be spawned on (for example (0,5,0) end
|
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jun 2013 01:25 PM |
zom = zombie:Clone().Parent = Workspace error in this line unexpected symbol near '=' |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2013 01:27 PM |
zombie = game.Lighting.zombie
while true do wait(1) zom = zombie:Clone() zom.Parent = Workspace --Sorry, for got you couldn't define two things like that. zom.CFrame = CFrame.new(x,y,z) end |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jun 2013 01:31 PM |
| how do i found x,y,z of a specific place? |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2013 02:01 PM |
| How to find x,y,z of a place? |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jun 2013 05:50 AM |
its wont work i dont know why can you explain more? |
|
|
| Report Abuse |
|
|
|
| 18 Jun 2013 06:28 AM |
| never mind it works thanks!!! |
|
|
| Report Abuse |
|
|