---
title: "Cars RNG Script for Roblox: Auto Race Checkpoints - ScriptBlox"
description: "Cars RNG Roblox script: Auto Race Checkpoints. when in line to race execute and \"P\" is to enable and disable. will need to start race manually every time..."
canonical_url: "https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662"
meta:
  "og:description": "Cars RNG Roblox script: Auto Race Checkpoints. when in line to race execute and \"P\" is to enable and disable. will need to start race manually every time..."
  "og:image": "https://tr.rbxcdn.com/180DAY-b7eea125500ec4b9b1606da5397dc20a/500/280/Image/Jpeg/noFilter"
  "og:title": "Cars RNG Script for Roblox: Auto Race Checkpoints - ScriptBlox"
  "twitter:description": "Cars RNG Roblox script: Auto Race Checkpoints. when in line to race execute and \"P\" is to enable and disable. will need to start race manually every time..."
  "twitter:image": "https://tr.rbxcdn.com/180DAY-b7eea125500ec4b9b1606da5397dc20a/500/280/Image/Jpeg/noFilter"
  "twitter:title": "Cars RNG Script for Roblox: Auto Race Checkpoints - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Cars RNG \[NEW MAP\]](https://tr.rbxcdn.com/180DAY-b7eea125500ec4b9b1606da5397dc20a/500/280/Image/Jpeg/noFilter)

# **Auto Race Checkpoints**

[**Cars RNG**](https://scriptblox.com/game/18616404175-cars-rng "Cars RNG [NEW MAP]")**![OSGames](https://scriptblox.com/images/photo/64d068ef53c96ff197f650c8-1739511449922.png) [OSGames](https://scriptblox.com/u/OSGames)Lv 9Published 10**

2 years ago

[**Play game **](roblox://placeId=18616404175) [**Game Link **](https://roblox.com/games/18616404175)

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

Auto Race Checkpoints is a Cars RNG script for Roblox, uploaded to ScriptBlox on Mar 1, 2025.

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

when in line to race execute and "P" is to enable and disable. will need to start race manually every time im to slow to make this work welcome to take it and make it better. thanks Deep Seek for fixing, finish checkpoint and then reorganized the script -\_- but still works so meh

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Cars-RNG-Auto-Race-Checkpoints-30662)

```
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local toggleKey = Enum.KeyCode.P -- Key to start/stop
local moveSpeed = 350 -- Constant car speed
local tolerance = 5 -- Distance threshold to consider checkpoint reached
local autoDriveEnabled = false
local currentVehicle = nil
local checkpoints = {}
local finishLine = nil
local hasReachedFinishLine = false 

local function GetVehicleFromDescendant(part)
    while part and part ~= game do
        if part:IsA("Model") then
            return part
        end
        part = part.Parent
    end
    return nil
end

local function FindAllRaceCheckpoints()
    local racesFolder = workspace:FindFirstChild("Races")
    if not racesFolder then
        return {}
    end

    local checkpointVisuals = {}
    for _, child in pairs(racesFolder:GetDescendants()) do
        if child.Name == "RaceCheckpointVisual" and child:IsA("BasePart") then
            table.insert(checkpointVisuals, child)
        elseif child.Name == "LastRaceCheckpointVisual" and child:IsA("BasePart") then
            finishLine = child
        end
    end


```

## **Comments **

**0**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Cars-RNG-Auto-Race-Checkpoints-30662)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662#script","url":"https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662","name":"Auto Race Checkpoints","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"OSGames","url":"https://scriptblox.com/u/OSGames"},"datePublished":"2025-03-01T06:24:58.262Z","image":"https://tr.rbxcdn.com/180DAY-b7eea125500ec4b9b1606da5397dc20a/500/280/Image/Jpeg/noFilter","about":{"@type":"VideoGame","name":"Cars RNG","gamePlatform":"Roblox"},"isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662#webpage","@type":"WebPage","description":"Cars RNG Roblox script: Auto Race Checkpoints. when in line to race execute and \"P\" is to enable and disable. will need to start race manually every time...","name":"Cars RNG Script for Roblox: Auto Race Checkpoints - ScriptBlox","url":"https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662","breadcrumb":{"@id":"https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662"]}]},{"@id":"https://scriptblox.com/script/Cars-RNG-Auto-Race-Checkpoints-30662#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Cars RNG","item":"https://scriptblox.com/game/18616404175-cars-rng","position":2},{"@type":"ListItem","name":"Auto Race Checkpoints","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
