Currently this only checks one block and doesn't check the rest of them, how can I fix that?
for i,v in pairs(model:GetChildren()) do
if v:IsA("Part") then
while wait(1) do
if player:DistanceFromCharacter(v.Position) <= 20 then
print('near');
else
print('not near');
end
end
end
end-
It only prints 'near' when you get near only one block in the model, and yes the bricks are spread out past 20.

2 comments
Coroutines, coroutines, all da coroutines are not here.
How do I get the coroutines to keep going though?