|
| 01 Jul 2014 03:32 PM |
...and then move on to another.
so i want to make a brick target multiple bricks
there is, of course, more to the script but i think these were the only lines that mattered.
if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("pos1") if (temp ~= nil) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude
help? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
luap2000
|
  |
| Joined: 31 May 2014 |
| Total Posts: 43 |
|
|
| 01 Jul 2014 04:38 PM |
you want the brick to move... that script only finds a player or a part to target if your copying the actual zombie script and trying to edit it keep in mind that that part of the script doesn't move the humanoid the MoveTo part at the bottom of the script does. To make bricks move I think the link below will help you
http://wiki.roblox.com/index.php?title=How_To_Make_Homing_Objects |
|
|
| Report Abuse |
|
|