MoveTo is severely Buggy [Fixed Fortnite v25.0]

Hello, thank you for the solution, its much appreciated, could you explain the meaning of the second block inside the race you have created, I have created my own version of the script with a set time for each moveTo and for specific 2 props and the race never reaches the second block. I still get a few moveTo bugs tho.
here is the code I wrote:

OnBegin<override>()<suspends>:void=
        Sleep(2.0)
        FollowChar()

    MoveToChar()<suspends>:void =
        loop:
            var targetX: float = movement_Device.getX()
            var targetZ: float = movement_Device.getZ()
            var CamXform : float = camera.GetTransform().Translation.X
            var camZform : float = camera.GetTransform().Translation.Z
            Arrived := race:
                block:
                    camera.MoveTo(vector3{X:= targetX, Y:=camera.GetTransform().Translation.Y, Z:= targetZ},camera.GetTransform().Rotation, 0.2)
                    true
                block:
                    Sleep(0.25)
                    set CamXform = camera.GetTransform().Translation.X
                    set camZform = camera.GetTransform().Translation.Z
                    false
            if(not Arrived?, camera.TeleportTo[vector3{X:= CamXform, Y:=camera.GetTransform().Translation.Y, Z:= camZform},camera.GetTransform().Rotation]):
                Sleep(0.0)
                Sleep(0.0)
            else:
                break

    FollowChar()<suspends>:void =
        loop:
            MoveToChar()