local model = game.Workspace.Dividers1

for i, v in pairs(model:GetChildren()) do

while true do 

	v.Transparency = 0
	v.CanCollide = true
	wait(2)
	v.Transparency = 1
	v.CanCollide = false
	wait(2)
end

end

I have two parts in the model and the code only works on one of the parts

1 comment

0

Try to remove the while loop.