local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local Workspace = game:GetService("Workspace") local CoreGui = game:GetService("CoreGui") local LocalPlayer = Players.LocalPlayer local Config = { MenuKey = Enum.KeyCode.RightShift, SpeedBoost = 60, MaxSpeedLimit = 400, TurnAssist = 40, Downforce = 50, Enabled = true } local Palette = { Base = Color3.fromRGB(14, 14, 16), Header = Color3.fromRGB(10, 10, 12), Surface = Color3.fromRGB(20, 20, 23), SurfaceHover = Color3.fromRGB(25, 25, 29), KeycapBg = Color3.fromRGB(24, 24, 29), KeycapBottom = Color3.fromRGB(8, 8, 10), Stroke = Color3.fromRGB(36, 36, 42), StrokeFocus = Color3.fromRGB(64, 64, 74), Accent = Color3.fromRGB(220, 48, 68), TextPrimary = Color3.fromRGB(240, 240, 244), TextSecondary = Color3.fromRGB(142, 142, 152), TextDim = Color3.fromRGB(88, 88, 98), Track = Color3.fromRGB(30, 30, 35) } local GuiParent = (gethui and gethui()) or CoreGui if GuiParent:FindFirstChild("SoftBodySpeedGUI") then GuiParent.SoftBodySpeedGUI:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "SoftBodySpeedGUI" ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = GuiParent local function Stroke(parent, color, thickness) local s = Instance.new("UIStroke") s.Color = color or Palette.Stroke s.Thickness = thickness or 1 s.ApplyStrokeMode = Enum.ApplyStrokeMode.Border s.Parent = parent return s end local function Corner(parent, radius) local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, radius) c.Parent = parent return c end local function Anim(obj, props, time) local info = TweenInfo.new(time or 0.14, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) local t = TweenService:Create(obj, info, props) t:Play() return t end local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 332, 0, 288) MainFrame.Position = UDim2.new(0.02, 0, 0.25, 0) MainFrame.BackgroundColor3 = Palette.Base MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.ClipsDescendants = true MainFrame.Parent = ScreenGui local MainStroke = Stroke(MainFrame, Palette.Stroke, 1) local TopAccent = Instance.new("Frame") TopAccent.Size = UDim2.new(1, 0, 0, 1) TopAccent.BackgroundColor3 = Palette.Accent TopAccent.BorderSizePixel = 0 TopAccent.ZIndex = 3 TopAccent.Parent = MainFrame local TopBar = Instance.new("Frame") TopBar.Size = UDim2.new(1, 0, 0, 36) TopBar.Position = UDim2.new(0, 0, 0, 1) TopBar.BackgroundColor3 = Palette.Header TopBar.BorderSizePixel = 0 TopBar.Parent = MainFrame local HeaderLine = Instance.new("Frame") HeaderLine.Size = UDim2.new(1, 0, 0, 1) HeaderLine.Position = UDim2.new(0, 0, 1, -1) HeaderLine.BackgroundColor3 = Palette.Stroke HeaderLine.BorderSizePixel = 0 HeaderLine.Parent = TopBar local TitleGroup = Instance.new("Frame") TitleGroup.Size = UDim2.new(1, -90, 1, 0) TitleGroup.Position = UDim2.new(0, 12, 0, 0) TitleGroup.BackgroundTransparency = 1 TitleGroup.Parent = TopBar local TitleList = Instance.new("UIListLayout") TitleList.FillDirection = Enum.FillDirection.Horizontal TitleList.VerticalAlignment = Enum.VerticalAlignment.Center TitleList.Padding = UDim.new(0, 6) TitleList.Parent = TitleGroup local BrandTitle = Instance.new("TextLabel") BrandTitle.Size = UDim2.new(0, 0, 1, 0) BrandTitle.AutomaticSize = Enum.AutomaticSize.X BrandTitle.BackgroundTransparency = 1 BrandTitle.Text = "BloxNG" BrandTitle.TextColor3 = Palette.TextPrimary BrandTitle.Font = Enum.Font.GothamBlack BrandTitle.TextSize = 13 BrandTitle.Parent = TitleGroup local EditionSep = Instance.new("Frame") EditionSep.Size = UDim2.new(0, 1, 0, 11) EditionSep.BackgroundColor3 = Palette.StrokeFocus EditionSep.BorderSizePixel = 0 EditionSep.Parent = TitleGroup local EditionTitle = Instance.new("TextLabel") EditionTitle.Size = UDim2.new(0, 0, 1, 0) EditionTitle.AutomaticSize = Enum.AutomaticSize.X EditionTitle.BackgroundTransparency = 1 EditionTitle.Text = "Special Edition" EditionTitle.TextColor3 = Palette.Accent EditionTitle.Font = Enum.Font.GothamBold EditionTitle.TextSize = 11 EditionTitle.Parent = TitleGroup local KeycapOuter = Instance.new("Frame") KeycapOuter.Size = UDim2.new(0, 56, 0, 21) KeycapOuter.Position = UDim2.new(1, -66, 0.5, -10) KeycapOuter.BackgroundColor3 = Palette.KeycapBottom KeycapOuter.BorderSizePixel = 0 KeycapOuter.Parent = TopBar Corner(KeycapOuter, 3) local KeycapStroke = Stroke(KeycapOuter, Palette.StrokeFocus, 1) local KeycapTop = Instance.new("Frame") KeycapTop.Size = UDim2.new(1, 0, 1, -2) KeycapTop.BackgroundColor3 = Palette.KeycapBg KeycapTop.BorderSizePixel = 0 KeycapTop.Parent = KeycapOuter Corner(KeycapTop, 3) local KeyLabel = Instance.new("TextLabel") KeyLabel.Size = UDim2.new(1, 0, 1, 0) KeyLabel.BackgroundTransparency = 1 KeyLabel.Text = "RShift" KeyLabel.TextColor3 = Palette.TextPrimary KeyLabel.Font = Enum.Font.GothamMedium KeyLabel.TextSize = 10 KeyLabel.Parent = KeycapTop local Container = Instance.new("Frame") Container.Size = UDim2.new(1, -20, 1, -48) Container.Position = UDim2.new(0, 10, 0, 44) Container.BackgroundTransparency = 1 Container.Parent = MainFrame local Layout = Instance.new("UIListLayout") Layout.Padding = UDim.new(0, 7) Layout.SortOrder = Enum.SortOrder.LayoutOrder Layout.Parent = Container local Dragging = false local DragStart, StartPos local TargetPos = MainFrame.Position TopBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then Dragging = true DragStart = input.Position StartPos = TargetPos Anim(MainStroke, { Color = Palette.StrokeFocus }, 0.1) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 and Dragging then Dragging = false Anim(MainStroke, { Color = Palette.Stroke }, 0.15) end end) UserInputService.InputChanged:Connect(function(input) if Dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - DragStart TargetPos = UDim2.new( StartPos.X.Scale, StartPos.X.Offset + delta.X, StartPos.Y.Scale, StartPos.Y.Offset + delta.Y ) end end) local MenuOpen = true local FullSize = UDim2.new(0, 332, 0, 288) local ClosedSize = UDim2.new(0, 332, 0, 0) UserInputService.InputBegan:Connect(function(input, gp) if not gp and input.KeyCode == Config.MenuKey then Anim(KeycapTop, { Size = UDim2.new(1, 0, 1, 0) }, 0.06) Anim(KeycapStroke, { Color = Palette.Accent }, 0.06) task.delay(0.1, function() Anim(KeycapTop, { Size = UDim2.new(1, 0, 1, -2) }, 0.1) Anim(KeycapStroke, { Color = Palette.StrokeFocus }, 0.1) end) MenuOpen = not MenuOpen if MenuOpen then MainFrame.Visible = true Anim(MainFrame, { Size = FullSize }, 0.16) else local t = Anim(MainFrame, { Size = ClosedSize }, 0.12) t.Completed:Connect(function() if not MenuOpen then MainFrame.Visible = false end end) end end end) local function CreateToggle(titleText, descText, defaultState, callback) local State = defaultState local Row = Instance.new("TextButton") Row.Size = UDim2.new(1, 0, 0, 46) Row.BackgroundColor3 = Palette.Surface Row.BorderSizePixel = 0 Row.AutoButtonColor = false Row.Text = "" Row.Parent = Container Stroke(Row, Palette.Stroke, 1) local TitleLbl = Instance.new("TextLabel") TitleLbl.Size = UDim2.new(1, -68, 0, 18) TitleLbl.Position = UDim2.new(0, 11, 0, 6) TitleLbl.BackgroundTransparency = 1 TitleLbl.Text = titleText TitleLbl.TextColor3 = State and Palette.TextPrimary or Palette.TextSecondary TitleLbl.Font = Enum.Font.GothamBold TitleLbl.TextSize = 12 TitleLbl.TextXAlignment = Enum.TextXAlignment.Left TitleLbl.Parent = Row local DescLbl = Instance.new("TextLabel") DescLbl.Size = UDim2.new(1, -68, 0, 15) DescLbl.Position = UDim2.new(0, 11, 0, 24) DescLbl.BackgroundTransparency = 1 DescLbl.Text = descText DescLbl.TextColor3 = Palette.TextDim DescLbl.Font = Enum.Font.Gotham DescLbl.TextSize = 10 DescLbl.TextXAlignment = Enum.TextXAlignment.Left DescLbl.Parent = Row local Track = Instance.new("Frame") Track.Size = UDim2.new(0, 40, 0, 20) Track.Position = UDim2.new(1, -51, 0.5, -10) Track.BackgroundColor3 = State and Palette.Accent or Palette.Track Track.BorderSizePixel = 0 Track.Parent = Row Corner(Track, 99) local TrackStroke = Stroke(Track, State and Palette.Accent or Palette.StrokeFocus, 1) local Knob = Instance.new("Frame") Knob.Size = UDim2.new(0, 14, 0, 14) Knob.Position = State and UDim2.new(1, -17, 0.5, -7) or UDim2.new(0, 3, 0.5, -7) Knob.BackgroundColor3 = Palette.TextPrimary Knob.BorderSizePixel = 0 Knob.Parent = Track Corner(Knob, 99) Row.MouseEnter:Connect(function() Anim(Row, { BackgroundColor3 = Palette.SurfaceHover }, 0.08) end) Row.MouseLeave:Connect(function() Anim(Row, { BackgroundColor3 = Palette.Surface }, 0.08) end) Row.MouseButton1Click:Connect(function() State = not State Anim(Knob, { Position = State and UDim2.new(1, -17, 0.5, -7) or UDim2.new(0, 3, 0.5, -7) }, 0.12) Anim(Track, { BackgroundColor3 = State and Palette.Accent or Palette.Track }, 0.12) Anim(TrackStroke, { Color = State and Palette.Accent or Palette.StrokeFocus }, 0.12) Anim(TitleLbl, { TextColor3 = State and Palette.TextPrimary or Palette.TextSecondary }, 0.12) Anim(TopAccent, { BackgroundColor3 = State and Palette.Accent or Palette.StrokeFocus }, 0.12) callback(State) end) end local SliderUpdaters = {} local function CreateSlider(titleText, suffix, minVal, maxVal, defaultVal, callback) local Row = Instance.new("Frame") Row.Size = UDim2.new(1, 0, 0, 56) Row.BackgroundColor3 = Palette.Surface Row.BorderSizePixel = 0 Row.Parent = Container local RowStroke = Stroke(Row, Palette.Stroke, 1) local Label = Instance.new("TextLabel") Label.Size = UDim2.new(1, -80, 0, 18) Label.Position = UDim2.new(0, 11, 0, 7) Label.BackgroundTransparency = 1 Label.Text = titleText Label.TextColor3 = Palette.TextPrimary Label.Font = Enum.Font.GothamMedium Label.TextSize = 12 Label.TextXAlignment = Enum.TextXAlignment.Left Label.Parent = Row local ValueText = Instance.new("TextLabel") ValueText.Size = UDim2.new(0, 60, 0, 18) ValueText.Position = UDim2.new(1, -71, 0, 7) ValueText.BackgroundTransparency = 1 ValueText.Text = tostring(defaultVal) .. suffix ValueText.TextColor3 = Palette.TextSecondary ValueText.Font = Enum.Font.Code ValueText.TextSize = 11 ValueText.TextXAlignment = Enum.TextXAlignment.Right ValueText.Parent = Row local Hitbox = Instance.new("TextButton") Hitbox.Size = UDim2.new(1, -22, 0, 20) Hitbox.Position = UDim2.new(0, 11, 0, 30) Hitbox.BackgroundTransparency = 1 Hitbox.Text = "" Hitbox.Parent = Row local Bar = Instance.new("Frame") Bar.Size = UDim2.new(1, 0, 0, 3) Bar.Position = UDim2.new(0, 0, 0.5, -1) Bar.BackgroundColor3 = Palette.Track Bar.BorderSizePixel = 0 Bar.Parent = Hitbox Corner(Bar, 99) local initRatio = (defaultVal - minVal) / (maxVal - minVal) local TargetRatio = initRatio local CurrentRatio = initRatio local Fill = Instance.new("Frame") Fill.Size = UDim2.new(initRatio, 0, 1, 0) Fill.BackgroundColor3 = Palette.Accent Fill.BorderSizePixel = 0 Fill.Parent = Bar Corner(Fill, 99) local Thumb = Instance.new("Frame") Thumb.Size = UDim2.new(0, 12, 0, 12) Thumb.AnchorPoint = Vector2.new(0.5, 0.5) Thumb.Position = UDim2.new(initRatio, 0, 0.5, 0) Thumb.BackgroundColor3 = Palette.TextPrimary Thumb.BorderSizePixel = 0 Thumb.ZIndex = 2 Thumb.Parent = Bar Corner(Thumb, 99) Stroke(Thumb, Palette.Base, 1.5) local Sliding = false local function Update(input) local pos = math.clamp((input.Position.X - Bar.AbsolutePosition.X) / Bar.AbsoluteSize.X, 0, 1) TargetRatio = pos local val = math.floor(minVal + ((maxVal - minVal) * pos) + 0.5) ValueText.Text = tostring(val) .. suffix callback(val) end Hitbox.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then Sliding = true Anim(RowStroke, { Color = Palette.StrokeFocus }, 0.08) Anim(ValueText, { TextColor3 = Palette.TextPrimary }, 0.08) Anim(Thumb, { Size = UDim2.new(0, 15, 0, 15) }, 0.08) Update(input) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 and Sliding then Sliding = false Anim(RowStroke, { Color = Palette.Stroke }, 0.12) Anim(ValueText, { TextColor3 = Palette.TextSecondary }, 0.12) Anim(Thumb, { Size = UDim2.new(0, 12, 0, 12) }, 0.12) end end) UserInputService.InputChanged:Connect(function(input) if Sliding and input.UserInputType == Enum.UserInputType.MouseMovement then Update(input) end end) Row.MouseEnter:Connect(function() Anim(Row, { BackgroundColor3 = Palette.SurfaceHover }, 0.08) end) Row.MouseLeave:Connect(function() Anim(Row, { BackgroundColor3 = Palette.Surface }, 0.08) end) table.insert(SliderUpdaters, function(alpha) CurrentRatio = CurrentRatio + (TargetRatio - CurrentRatio) * alpha Fill.Size = UDim2.new(CurrentRatio, 0, 1, 0) Thumb.Position = UDim2.new(CurrentRatio, 0, 0.5, 0) end) end RunService.RenderStepped:Connect(function(dt) local alpha = 1 - math.exp(-36 * dt) MainFrame.Position = MainFrame.Position:Lerp(TargetPos, alpha) for _, fn in ipairs(SliderUpdaters) do fn(alpha) end end) CreateToggle("Speed & Handling", "Boost acceleration and cornering grip", Config.Enabled, function(state) Config.Enabled = state end) CreateSlider("Speed Boost", "", 0, 200, Config.SpeedBoost, function(val) Config.SpeedBoost = val end) CreateSlider("Max Speed", " km/h", 100, 600, Config.MaxSpeedLimit, function(val) Config.MaxSpeedLimit = val end) CreateSlider("Turn Speed", "%", 0, 100, Config.TurnAssist, function(val) Config.TurnAssist = val end) local function GetVehicleSeat() local Char = LocalPlayer.Character local Hum = Char and Char:FindFirstChildOfClass("Humanoid") if Hum and Hum.SeatPart and Hum.SeatPart:IsA("VehicleSeat") then return Hum.SeatPart end local CarsFolder = Workspace:FindFirstChild("CrashTest") and Workspace.CrashTest:FindFirstChild("Cars") if CarsFolder then for _, car in ipairs(CarsFolder:GetChildren()) do if string.find(car.Name, LocalPlayer.Name) and car:FindFirstChild("DriverSeat") then return car.DriverSeat end end end return nil end RunService.Heartbeat:Connect(function(dt) if not Config.Enabled then return end local Seat = GetVehicleSeat() if not Seat then return end local Throttle = Seat.ThrottleFloat local Steer = Seat.SteerFloat local CurrentVel = Seat.AssemblyLinearVelocity local Speed = CurrentVel.Magnitude if Config.SpeedBoost > 0 and math.abs(Throttle) > 0.05 then if Speed < Config.MaxSpeedLimit then local Forward = Seat.CFrame.LookVector * Throttle local Boost = Forward * (Config.SpeedBoost * dt * 2.2) local Down = Vector3.new(0, -Config.Downforce * dt * 0.5, 0) Seat.AssemblyLinearVelocity = CurrentVel + Boost + Down end end if Config.TurnAssist > 0 and math.abs(Steer) > 0.05 and Speed > 10 then local SpeedScale = math.clamp(Speed / 80, 0.7, 2.5) local TargetYaw = -Steer * (Config.TurnAssist * 0.04) * SpeedScale local AngVel = Seat.AssemblyAngularVelocity Seat.AssemblyAngularVelocity = AngVel:Lerp(Vector3.new(AngVel.X, TargetYaw, AngVel.Z), 0.35) local Dir = Seat.CFrame.LookVector * (Throttle >= 0 and 1 or -1) local FlatVel = Vector3.new(CurrentVel.X, 0, CurrentVel.Z) local AlignedVel = FlatVel:Lerp(Dir * FlatVel.Magnitude, 0.12) Seat.AssemblyLinearVelocity = Vector3.new(AlignedVel.X, CurrentVel.Y, AlignedVel.Z) end end)