I making a script where a model moves in one direction. There are no errors in the output, but it just prints the line in blue and the script fails to work. Here is the code around that line.
local p = game.Workspace.Stardrive:GetChildren()
for i = 1,#p do
repeat
p.CFrame = p.CFrame + Vector3.new(0,0,10)
until
game.Workspace.Stardrive.Shape.Positon == Vector3.new(-37.96, 16.255, 868.946)
end
Can anybody help to identify the problem?

1 comment
You're giving as specific position so instead use the greater/less than or equal to sign for the == so change p.CFame = CFrame.new( p.Position +Vector3.new(0,0,10)) until game.Workspace.Stardrive.Shape.Position.X >= 868.946