a friend told me about cFrame but i didnt understood him
while true do
if waitTime == 0 then waitTime = 1 end
if sec >= maxSec then
right = not right
sec = 0
end
for key,value in pairs(table) do
if right then
value.Position = value.Position + Vector3.new(0.5, 0, 0)
else
value.Position = value.Position - Vector3.new(0.5, 0, 0)
end
end
sec = sec + (1 * waitTime)
wait (waitTime)
end

1 comment
Oh okay i think its important to say that the stuff is in a model i've set a local table : local table = {Workspace.LabObby.MovingSlow.Inside, Workspace.LabObby.MovingSlow.Outline}