1 online351 executions12,604 scripts111 users
Brookhaven 🏡RP
Mobile Friendly
0 views0 executions
ScriptKeyless

Brookhaven Car Speed Changer

Brookhaven 🏡RP
M
MaxLegendsOwnerThe owner of BloxScripts.fun.Early CreatorPublish a script as one of the first 100 accounts.ContributorPublish your first script.
· 0 followers
Play
Desktop & mobile ready

Description

-- BROOKHAVEN SPEED CHANGER - USERNAME BRANDED EDITION local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer -- Clear out any old versions running in memory safely local oldGui = player:WaitForChild("PlayerGui"):FindFirstChild("BrookhavenDragMaster") if oldGui then oldGui:Destroy() end -- 1. MAIN PANEL INTERFACE local screenGui = Instance.new("ScreenGui") screenGui.Name = "BrookhavenDragMaster" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 210, 0, 105) -- Made taller to cleanly cradle your username asset mainFrame.Position = UDim2.new(0.60, 0, 0.40, 0) mainFrame.BackgroundTransparency = 1 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui -- 📛 YOUR ROBLOX USERNAME TEXT LABEL local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(0, 100, 0, 20) nameLabel.Position = UDim2.new(0, 0, 0, 0) nameLabel.BackgroundTransparency = 1 nameLabel.Font = Enum.Font.SourceSansBold nameLabel.Text = "@" .. player.Name -- Dynamically hooks and displays your exact Roblox user handle! nameLabel.TextColor3 = Color3.fromRGB(0, 150, 255) nameLabel.TextSize = 14 nameLabel.TextXAlignment = Enum.TextXAlignment.Left nameLabel.Parent = mainFrame -- 👤 YOUR CUSTOM AVATAR PROOF CONTAINER local avatarImage = Instance.new("ImageLabel") avatarImage.Size = UDim2.new(0, 45, 0, 45) avatarImage.Position = UDim2.new(0, 0, 0, 25) -- Placed smoothly right under your username string avatarImage.BackgroundColor3 = Color3.fromRGB(20, 20, 30) avatarImage.BorderSizePixel = 0 -- Pulls the live high-res thumbnail of whichever developer executes the pipeline block avatarImage.Image = "rbxthumb://type=AvatarHeadShot&id=" .. player.UserId .. "&w=150&h=150" avatarImage.Parent = mainFrame local avatarCorner = Instance.new("UICorner") avatarCorner.CornerRadius = UDim.new(0, 8) avatarCorner.Parent = avatarImage local avatarStroke = Instance.new("UIStroke") avatarStroke.Thickness = 2 avatarStroke.Color = Color3.fromRGB(0, 150, 255) avatarStroke.Parent = avatarImage -- GREEN DRIVE ACCELERATION KEY local arrowButton = Instance.new("TextButton") arrowButton.Size = UDim2.new(0, 70, 0, 70) arrowButton.Position = UDim2.new(0, 55, 0, 12) arrowButton.BackgroundColor3 = Color3.fromRGB(15, 15, 25) arrowButton.Text = "⬆️\nDRIVE" arrowButton.TextColor3 = Color3.fromRGB(255, 255, 255) arrowButton.TextSize = 13 arrowButton.Font = Enum.Font.SourceSansBold arrowButton.Parent = mainFrame local c1 = Instance.new("UICorner") c1.CornerRadius = UDim.new(1, 0) c1.Parent = arrowButton local s1 = Instance.new("UIStroke") s1.Thickness = 3 s1.Color = Color3.fromRGB(0, 255, 150) s1.Parent = arrowButton -- SPEED NUMBER DATA ENTRY PARAMETER BOX local speedInput = Instance.new("TextBox") speedInput.Size = UDim2.new(0, 75, 0, 50) speedInput.Position = UDim2.new(0, 135, 0, 22) speedInput.BackgroundColor3 = Color3.fromRGB(20, 20, 30) speedInput.Text = "300" -- Standard starting speed metric speedInput.TextColor3 = Color3.fromRGB(255, 255, 255) speedInput.TextSize = 18 speedInput.Font = Enum.Font.SourceSansBold speedInput.Parent = mainFrame local c2 = Instance.new("UICorner") c2.CornerRadius = UDim.new(0, 8) c2.Parent = speedInput local s2 = Instance.new("UIStroke") s2.Thickness = 1.5 s2.Color = Color3.fromRGB(0, 150, 255) s2.Parent = speedInput -- CORE PHYSICS VARIABLES MATRIX local CustomDragSpeedForce = 300 local IsHoldingArrow = false local LockedRoadHeading = nil local LockedHeightY = nil -- 2. CAPTURE CHANGER VALUE STRINGS speedInput.FocusLost:Connect(function() local userNum = tonumber(speedInput.Text) if userNum then CustomDragSpeedForce = math.max(userNum, 0) end speedInput.Text = tostring(CustomDragSpeedForce) end) -- 3. DETECT DEPLOYMENT PHASES (Clamps horizontal axis rails instantly) arrowButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.SeatPart and humanoid.SeatPart:IsA("VehicleSeat") then IsHoldingArrow = true arrowButton.BackgroundColor3 = Color3.fromRGB(0, 60, 25) arrowButton.Text = "🚀\nRUN" local carSeat = humanoid.SeatPart LockedRoadHeading = carSeat.CFrame.Rotation LockedHeightY = carSeat.Position.Y end end end) arrowButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then IsHoldingArrow = false LockedRoadHeading = nil LockedHeightY = nil arrowButton.BackgroundColor3 = Color3.fromRGB(15, 15, 25) arrowButton.Text = "⬆️\nDRIVE" local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.SeatPart and humanoid.SeatPart:IsA("VehicleSeat") then humanoid.SeatPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0) humanoid.SeatPart.AssemblyAngularVelocity = Vector3.new(0, 0, 0) end end end) -- 4. HORIZONTAL STABILITY CONTROLLER RUNTIME PIPELINE RunService.PostSimulation:Connect(function() local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.SeatPart and humanoid.SeatPart:IsA("VehicleSeat") then local carSeat = humanoid.SeatPart if IsHoldingArrow and LockedRoadHeading and LockedHeightY and CustomDragSpeedForce > 0 then -- Kill chassis rolling/tipping values completely carSeat.AssemblyAngularVelocity = Vector3.new(0, 0, 0) -- Lock plane altitude configuration parameters securely to ground floor target local currentPos = carSeat.Position local newCFrame = CFrame.new(currentPos.X, LockedHeightY, currentPos.Z) * LockedRoadHeading carSeat.CFrame = newCFrame -- Translate pure forward engine vector down heading look axis local straightVector = carSeat.CFrame.LookVecto r * CustomDragSpeedForce carSeat.AssemblyLinearVelocity = Vector3.new(straightVector.X, 0, straightVector.Z) end end end)

GAMEBrookhaven 🏡RP
UPDATEDOct 10, 2026
ACCESSKeyless
PLATFORMDesktop & Mobile

Find your next script

Search titles, descriptions, creators, tags, and features.