every single repeat loop that i use in a while loop doesnt work
repeat
script.Parent:SetPrimaryPartCFrame(script.Parent.PrimaryPart.CFrame + Vector3.new(.2, 0, 0))
wait()
print(script.Parent.PrimaryPart.Position.X..', '..game.Workspace.TeleParts.Bus1.w.Position.X)
until script.Parent.PrimaryPart.Position.X >= game.Workspace.TeleParts.Bus1.w.Position.X
in this one it prints the x but doesnt stop after the until is reached

3 comments
Maybe it keeps repeating because you said it was in a while loop? A while loop is going to keep going until you meet its requirement.
@LoveSpeaksOutTruth ur confusing while loop with a reapeat until loop.
What do you want the loop to do?