-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local cloneref = (type(cloneref) == "function" and cloneref) or function(inst) return inst end local getgenv = (type(getgenv) == "function" and getgenv) or function() return _G end if getgenv().SpeedCarCleanup then pcall(getgenv().SpeedCarCleanup) end local Players = cloneref(game:GetService("Players")) local ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage")) local UserInputService = cloneref(game:GetService("UserInputService")) local localPlayer = Players.LocalPlayer or Players.PlayerAdded:Wait() local playerScripts = localPlayer:WaitForChild("PlayerScripts", 15) local playerGui = localPlayer:WaitForChild("PlayerGui", 15) local sharedFolder = ReplicatedStorage:WaitForChild("Shared", 15) local simFolder = sharedFolder and sharedFolder:WaitForChild("Sim", 15) local clientFolder = playerScripts and playerScripts:WaitForChild("Client", 15) local function safeRequire(parent, name) if not parent then return nil end local child = parent:FindFirstChild(name) or parent:WaitForChild(name, 10) if not child then return nil end local ok, mod = pcall(require, child) return if ok then mod else nil end local CarModule = safeRequire(simFolder, "Car") local QuatModule = safeRequire(simFolder, "Quat") local CarRuntimeModule = safeRequire(clientFolder, "CarRuntime") local ControlsModule = safeRequire(clientFolder, "Controls") local HudTelemetryModule = safeRequire(clientFolder, "HudTelemetry") local Config = { Enabled = true, Speed = 1, KeyToHide = Enum.KeyCode.RightShift, } local MAX_BOOST_SPEED = 400 local BASE_ACCEL_MPS2 = 35 local MPH_PER_MPS = 2.2369362921 local STEP_DT = 1 / 60 local makeVec = (vector and vector.create) or Vector3.new local LOCAL_FORWARD = makeVec(0, 0, -1) local COLOR_ON = Color3.fromRGB(46, 160, 67) local COLOR_OFF = Color3.fromRGB(190, 50, 50) local COLOR_STATUS_ACTIVE = Color3.fromRGB(120, 220, 145) local COLOR_STATUS_IDLE = Color3.fromRGB(165, 170, 185) local KEY_W = Enum.KeyCode.W local KEY_UP = Enum.KeyCode.Up local KEY_S = Enum.KeyCode.S local KEY_DOWN = Enum.KeyCode.Down local INPUT_MB1 = Enum.UserInputType.MouseButton1 local INPUT_MOUSEMOVE = Enum.UserInputType.MouseMovement local INPUT_TOUCH = Enum.UserInputType.Touch local connections = {} local hooks = {} local cleaned = false local activeRt = nil local activeModel = nil local ancestryConn = nil local heldW = UserInputService:IsKeyDown(KEY_W) local heldUp = UserInputService:IsKeyDown(KEY_UP) local heldS = UserInputService:IsKeyDown(KEY_S) local heldDown = UserInputService:IsKeyDown(KEY_DOWN) local isTextFocused = UserInputService:GetFocusedTextBox() ~= nil local dirSign = ((heldW or heldUp) and 1 or 0) - ((heldS or heldDown) and 1 or 0) local uiVisible = true local lastDisplayedActive = false local lastDisplayedMph = -1 local lastDisplayedName = nil local function addHook(tbl, key, makeWrapper) if type(tbl) ~= "table" or type(tbl[key]) ~= "function" then return end local orig = tbl[key] local wrapper = makeWrapper(orig) tbl[key] = wrapper table.insert(hooks, { tbl = tbl, key = key, orig = orig, wrapper = wrapper }) end local function updateDirSign() dirSign = ((heldW or heldUp) and 1 or 0) - ((heldS or heldDown) and 1 or 0) end local function setKey(code, state) if code == KEY_W then heldW = state elseif code == KEY_UP then heldUp = state elseif code == KEY_S then heldS = state elseif code == KEY_DOWN then heldDown = state else return false end updateDirSign() return true end local function clearKeys() heldW = false heldUp = false heldS = false heldDown = false dirSign = 0 end local function getForwardScalars(rt, body) local look = if QuatModule and type(QuatModule.rotate) == "function" and body.qw and body.qv then QuatModule.rotate(body.qw, body.qv, LOCAL_FORWARD) elseif typeof(rt.renderCF) == "CFrame" then rt.renderCF.LookVector else nil if not look then return nil, nil, nil end local lx, lz = look.X, look.Z local horizSq = lx * lx + lz * lz if horizSq > 0.0025 then local inv = 1 / math.sqrt(horizSq) return lx * inv, 0, lz * inv end local ly = look.Y local fullSq = horizSq + ly * ly if fullSq > 0.0025 then local inv = 1 / math.sqrt(fullSq) return lx * inv, ly * inv, lz * inv end return nil, nil, nil end local function applyBoost(rt) if cleaned or dirSign == 0 or not Config.Enabled or Config.Speed <= 0 or isTextFocused then return end if type(rt) ~= "table" or rt.error ~= nil then return end local car = rt.car if type(car) ~= "table" or type(car.body) ~= "table" or type(car.coupling) ~= "table" then return end local body = car.body local coupling = car.coupling local fx, fy, fz = getForwardScalars(rt, body) if not fx then return end fx *= dirSign fy *= dirSign fz *= dirSign local vel = body.vel local currentProj = vel.X * fx + vel.Y * fy + vel.Z * fz local maxTarget = math.clamp(55 + Config.Speed * 40, 1, MAX_BOOST_SPEED) if currentProj >= maxTarget then return end local dv = math.min(Config.Speed * BASE_ACCEL_MPS2 * STEP_DT, maxTarget - currentProj) if dv <= 0 then return end local mass = (type(coupling.mass) == "number" and coupling.mass > 0 and coupling.mass) or (type(body.mass) == "number" and body.mass > 0 and body.mass) or 1300 local impulse = makeVec(fx * dv * mass, fy * dv * mass, fz * dv * mass) if CarModule and type(CarModule.push) == "function" then CarModule.push(car, impulse) elseif car.components and car.components.pushImpulse ~= nil then car.components.pushImpulse += impulse end end local function addCorner(parent, radius) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, radius) corner.Parent = parent end local function createGui() local existing = playerGui:FindFirstChild("TitanSpeedBoostGui") if existing then existing:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "TitanSpeedBoostGui" ScreenGui.ResetOnSpawn = false ScreenGui.DisplayOrder = 100 ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = playerGui local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 224, 0, 148) MainFrame.Position = UDim2.new(0.5, -112, 0.2, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(22, 22, 26) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Parent = ScreenGui addCorner(MainFrame, 8) local Stroke = Instance.new("UIStroke") Stroke.Color = Color3.fromRGB(58, 58, 70) Stroke.Thickness = 1 Stroke.Parent = MainFrame local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 28) Title.BackgroundColor3 = Color3.fromRGB(30, 30, 36) Title.BorderSizePixel = 0 Title.Text = "TITAN SPEED BOOST" Title.TextColor3 = Color3.fromRGB(240, 240, 245) Title.Font = Enum.Font.GothamBold Title.TextSize = 13 Title.Parent = MainFrame addCorner(Title, 8) local StatusLabel = Instance.new("TextLabel") StatusLabel.Size = UDim2.new(1, -20, 0, 18) StatusLabel.Position = UDim2.new(0, 10, 0, 32) StatusLabel.BackgroundTransparency = 1 StatusLabel.Text = "Car: Enter a vehicle" StatusLabel.TextColor3 = COLOR_STATUS_IDLE StatusLabel.Font = Enum.Font.Gotham StatusLabel.TextSize = 11 StatusLabel.TextXAlignment = Enum.TextXAlignment.Left StatusLabel.Parent = MainFrame local ToggleBtn = Instance.new("TextButton") ToggleBtn.Size = UDim2.new(1, -20, 0, 32) ToggleBtn.Position = UDim2.new(0, 10, 0, 54) ToggleBtn.BackgroundColor3 = COLOR_ON ToggleBtn.Text = "Status: ON" ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleBtn.Font = Enum.Font.GothamSemibold ToggleBtn.TextSize = 13 ToggleBtn.AutoButtonColor = true ToggleBtn.Parent = MainFrame addCorner(ToggleBtn, 6) local SpeedLabel = Instance.new("TextLabel") SpeedLabel.Size = UDim2.new(0.45, -10, 0, 30) SpeedLabel.Position = UDim2.new(0, 10, 0, 94) SpeedLabel.BackgroundTransparency = 1 SpeedLabel.Text = "Multiplier:" SpeedLabel.TextColor3 = Color3.fromRGB(205, 210, 220) SpeedLabel.Font = Enum.Font.GothamMedium SpeedLabel.TextSize = 12 SpeedLabel.TextXAlignment = Enum.TextXAlignment.Left SpeedLabel.Parent = MainFrame local SpeedBox = Instance.new("TextBox") SpeedBox.Size = UDim2.new(0.55, -10, 0, 30) SpeedBox.Position = UDim2.new(0.45, 0, 0, 94) SpeedBox.BackgroundColor3 = Color3.fromRGB(36, 36, 44) SpeedBox.PlaceholderText = "Speed" SpeedBox.Text = tostring(Config.Speed) SpeedBox.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedBox.Font = Enum.Font.GothamBold SpeedBox.TextSize = 13 SpeedBox.ClearTextOnFocus = false SpeedBox.Parent = MainFrame addCorner(SpeedBox, 6) local HintLabel = Instance.new("TextLabel") HintLabel.Size = UDim2.new(1, -20, 0, 16) HintLabel.Position = UDim2.new(0, 10, 1, -19) HintLabel.BackgroundTransparency = 1 HintLabel.Text = "RightShift: Hide GUI | W/S: Boost" HintLabel.TextColor3 = Color3.fromRGB(125, 130, 145) HintLabel.Font = Enum.Font.Gotham HintLabel.TextSize = 10 HintLabel.Parent = MainFrame return ScreenGui, MainFrame, StatusLabel, ToggleBtn, SpeedBox end local ScreenGui, MainFrame, StatusLabel, ToggleBtn, SpeedBox = createGui() local function refreshStatusUi(force) if cleaned or not uiVisible then return end if activeRt then local car = activeRt.car local mph = if car then math.floor(math.abs(car.speed or 0) * MPH_PER_MPS + 0.5) else 0 local name = activeRt.carId or (activeModel and activeModel.Name) or "Vehicle" if force or not lastDisplayedActive or mph ~= lastDisplayedMph or name ~= lastDisplayedName then lastDisplayedActive = true lastDisplayedMph = mph lastDisplayedName = name StatusLabel.Text = string.format("Car: %s (%d mph)", tostring(name), mph) StatusLabel.TextColor3 = COLOR_STATUS_ACTIVE end elseif force or lastDisplayedActive then lastDisplayedActive = false lastDisplayedMph = -1 lastDisplayedName = nil StatusLabel.Text = "Car: Enter a vehicle" StatusLabel.TextColor3 = COLOR_STATUS_IDLE end end local function setActiveRt(rt) local targetRt = if type(rt) == "table" and rt.error == nil then rt else nil if targetRt == activeRt then return end if ancestryConn then ancestryConn:Disconnect() ancestryConn = nil end activeRt = targetRt activeModel = if targetRt then targetRt.model else nil if activeModel then ancestryConn = activeModel.AncestryChanged:Connect(function(_, parent) if parent == nil or not activeModel:IsDescendantOf(workspace) then setActiveRt(nil) end end) end refreshStatusUi(true) end local dragging = false local dragStartInput = nil local dragMoveInput = nil local dragStartPos = nil local frameStartPos = nil table.insert(connections, MainFrame.InputBegan:Connect(function(input) local inputType = input.UserInputType if inputType == INPUT_MB1 or inputType == INPUT_TOUCH then dragging = true dragStartInput = input dragStartPos = input.Position frameStartPos = MainFrame.Position end end)) table.insert(connections, MainFrame.InputChanged:Connect(function(input) local inputType = input.UserInputType if inputType == INPUT_MOUSEMOVE or inputType == INPUT_TOUCH then dragMoveInput = input end end)) table.insert(connections, UserInputService.InputChanged:Connect(function(input) if dragging and input == dragMoveInput then local delta = input.Position - dragStartPos MainFrame.Position = UDim2.new( frameStartPos.X.Scale, frameStartPos.X.Offset + delta.X, frameStartPos.Y.Scale, frameStartPos.Y.Offset + delta.Y ) end end)) table.insert(connections, ToggleBtn.MouseButton1Click:Connect(function() Config.Enabled = not Config.Enabled if Config.Enabled then ToggleBtn.Text = "Status: ON" ToggleBtn.BackgroundColor3 = COLOR_ON else ToggleBtn.Text = "Status: OFF" ToggleBtn.BackgroundColor3 = COLOR_OFF end end)) table.insert(connections, SpeedBox.FocusLost:Connect(function() local val = tonumber(SpeedBox.Text) if val and val >= 0 then Config.Speed = math.min(val, 50) end SpeedBox.Text = tostring(Config.Speed) end)) table.insert(connections, UserInputService.TextBoxFocused:Connect(function() isTextFocused = true clearKeys() end)) table.insert(connections, UserInputService.TextBoxFocusReleased:Connect(function() isTextFocused = UserInputService:GetFocusedTextBox() ~= nil end)) table.insert(connections, UserInputService.WindowFocusReleased:Connect(function() clearKeys() dragging = false dragStartInput = nil end)) table.insert(connections, UserInputService.InputBegan:Connect(function(input) local code = input.KeyCode if not setKey(code, true) and code == Config.KeyToHide and not isTextFocused then uiVisible = not uiVisible MainFrame.Visible = uiVisible if uiVisible then refreshStatusUi(true) end end end)) table.insert(connections, UserInputService.InputEnded:Connect(function(input) if input == dragStartInput then dragging = false dragStartInput = nil end setKey(input.KeyCode, false) end)) addHook(HudTelemetryModule, "read", function(orig) return function(rt, ...) if not cleaned and type(rt) == "table" then if rt ~= activeRt then setActiveRt(rt) else refreshStatusUi(false) end end return orig(rt, ...) end end) addHook(CarRuntimeModule, "drive", function(orig) return function(rt, ...) if not cleaned then setActiveRt(rt) end return orig(rt, ...) end end) addHook(CarRuntimeModule, "updateSound", function(orig) return function(rt, dt, isDriven, ...) if not cleaned then if isDriven and type(rt) == "table" then if rt ~= activeRt then setActiveRt(rt) elseif rt.error ~= nil then setActiveRt(nil) else refreshStatusUi(false) end elseif not isDriven and rt == activeRt then setActiveRt(nil) end end return orig(rt, dt, isDriven, ...) end end) addHook(ControlsModule, "setActive", function(orig) return function(active, ...) if not cleaned and not active then setActiveRt(nil) end return orig(active, ...) end end) addHook(ControlsModule, "read", function(orig) return function(...) if not cleaned and activeRt then applyBoost(activeRt) end return orig(...) end end) local function cleanup() if cleaned then return end cleaned = true if ancestryConn then pcall(function() ancestryConn:Disconnect() end) ancestryConn = nil end for i = #hooks, 1, -1 do local h = hooks[i] pcall(function() if h.tbl[h.key] == h.wrapper then h.tbl[h.key] = h.orig end end) end table.clear(hooks) for i = #connections, 1, -1 do local conn = connections[i] pcall(function() conn:Disconnect() end) end table.clear(connections) if ScreenGui then pcall(function() ScreenGui:Destroy() end) ScreenGui = nil end clearKeys() dragging = false dragStartInput = nil dragMoveInput = nil activeRt = nil activeModel = nil getgenv().SpeedCarCleanup = nil end getgenv().SpeedCarCleanup = cleanup