...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? |