Hello,
So I have a script here and as you can see I have some cframe in it. Right now, it's doing two diffrent Cframes. How it's working is it's moving one, waiting for it to finish and then move on to the next line. I want it so that it does not wait to for the first cframe to finish and just go to the second. Thanks, Anthony
local Epic=script.Parent.ClickDetector
function onClick()
for i = 0, 17.5, 0.2 do
game.Workspace.Kitchen:SetPrimaryPartCFrame(game.Workspace.Kitchen:GetPrimaryPartCFrame() + Vector3.new(0.2,0,0))
wait()
end
for i = 0, 10, 0.2 do
game.Workspace.Lights:SetPrimaryPartCFrame(game.Workspace.Lights:GetPrimaryPartCFrame() + Vector3.new(0,.8,0))
wait()
end

2 comments
I am unsure what you mean.. Do you want the first loop to switch over to the next loop faster? Or would you like it to move over then up repeated?
I need them to both run at the same time.