while wait() do
repeat
local houses = game.Workspace.Houses
houses:SetPrimaryPartCFrame(houses.PrimaryPart.CFrame + houses.PrimaryPart.CFrame.LookVector * -10)
print("Moving houses!")
wait()
until wait(100)
for i=0,1,0.01 do
local houses = game.Workspace.Houses
local cf = houses.PrimaryPart.CFrame
houses:SetPrimaryPartCFrame(cf * CFrame.Angles(0,0,math.rad(45)))
wait()
end
end
COMMUNITY QUESTION
I can't get a repeat loop to work... Anyone that could help me?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
try putting
thenafteruntil wait(100)You can't put a then after until.