I'm attempting to make light beams but for some reason the CFrame only moves one model. Heres the code:
local model = script.Parent.Parent.Parent.Parent.Rigs:getChildren()
while true do
for c = 1, #model do
for i = 0,400 do
model[c]:SetPrimaryPartCFrame(model[c]:GetPrimaryPartCFrame() * CFrame.fromEulerAnglesXYZ(0,1,0))
wait()
end
end
end

2 comments
I'm not sure if I'm correct, though.
I'm not understanding why its only taking one