KayaHub Speed Boost
Key Required

KayaHub Speed Boost

[🌴NEW MAP]🚗Midnight Chasers: Highway RacingAhmetGayaRealAhmetGayaReal 10K views 551 executesUpdated Nov 2, 2025
5.0/ 5(5 votes)
50100% Positive
Lua Script•303 lines (9452 chars)
local player = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local HttpService = game:GetService("HttpService")

local gui = Instance.new("ScreenGui")
gui.Name = "KayaHub"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = player:WaitForChild("PlayerGui")

local main = Instance.new("Frame")
main.Size = UDim2.new(0, 320, 0, 280)
main.Position = UDim2.new(0, 0, 0.6, 0)
main.BackgroundColor3 = Color3.fromRGB(15, 60, 120)
main.BackgroundTransparency = 0.1
main.BorderSizePixel = 0
main.Active = true
main.Draggable = true
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 16)

local padding = Instance.new("UIPadding", main)
padding.PaddingTop = UDim.new(0, 8)
padding.PaddingLeft = UDim.new(0, 8)
padding.PaddingRight = UDim.new(0, 8)
padding.PaddingBottom = UDim.new(0, 8)

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -60, 0, 24)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundTransparency = 1
title.Text = "KayaHub"
title.Font = Enum.Font.GothamBold
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 17
title.TextXAlignment = Enum.TextXAlignment.Center
title.Parent = main

local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 24, 0, 24)
closeBtn.Position = UDim2.new(1, -28, 0, 2)
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 70, 70)
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.Text = "✖"
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextSize = 16
closeBtn.BackgroundTransparency = 0.05
closeBtn.Parent = main
Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(1, 0)
closeBtn.MouseButton1Click:Connect(function()
	main.Visible = false
end)

local function createSetting(name, defaultValue, position)
	local frame = Instance.new("Frame")
	frame.Size = UDim2.new(1, 0, 0, 30)
	frame.Position = position
	frame.BackgroundTransparency = 1
	frame.Parent = main

	local label = Instance.new("TextLabel")
	label.Size = UDim2.new(0.5, 0, 1, 0)
	label.BackgroundTransparency = 1
	label.Text = name .. ":"
	label.TextColor3 = Color3.fromRGB(255, 255, 255)
	label.Font = Enum.Font.Gotham
	label.TextSize = 14
	label.TextXAlignment = Enum.TextXAlignment.Left
	label.Parent = frame

	local box = Instance.new("TextBox")
	box.Size = UDim2.new(0.4, 0, 0.8, 0)
	box.Position = UDim2.new(0.55, 0, 0.1, 0)
	box.BackgroundColor3 = Color3.fromRGB(230, 240, 255)
	box.TextColor3 = Color3.fromRGB(0, 0, 0)
	box.Font = Enum.Font.Gotham
	box.TextSize = 14
	box.Text = tostring(defaultValue)
	box.ClearTextOnFocus = false
	box.Parent = frame
	Instance.new("UICorner", box).CornerRadius = UDim.new(0, 8)

	return box
end

local pushPowerBox = createSetting("Rear Push", 50000, UDim2.new(0,0,0,40))
local groundStickBox = createSetting("Ground Stick", -50000, UDim2.new(0,0,0,80))
local frontForceBox = createSetting("Front Force", 30000, UDim2.new(0,0,0,120))

local pushKey = Enum.KeyCode.LeftAlt
local keyFrame = Instance.new("Frame", main)
keyFrame.Size = UDim2.new(1, 0, 0, 30)
keyFrame.Position = UDim2.new(0,0,0,160)
keyFrame.BackgroundTransparency = 1

local keyLabel = Instance.new("TextLabel", keyFrame)
keyLabel.Size = UDim2.new(0.5,0,1,0)
keyLabel.BackgroundTransparency = 1
keyLabel.Text = "Push Key:"
keyLabel.TextColor3 = Color3.fromRGB(255,255,255)
keyLabel.Font = Enum.Font.Gotham
keyLabel.TextSize = 14
keyLabel.TextXAlignment = Enum.TextXAlignment.Left

local keyBtn = Instance.new("TextButton", keyFrame)
keyBtn.Size = UDim2.new(0.4,0,0.8,0)
keyBtn.Position = UDim2.new(0.55,0,0.1,0)
keyBtn.BackgroundColor3 = Color3.fromRGB(0,150,255)
keyBtn.TextColor3 = Color3.fromRGB(255,255,255)
keyBtn.Text = pushKey.Name
keyBtn.Font = Enum.Font.GothamBold
keyBtn.TextSize = 14
Instance.new("UICorner", keyBtn).CornerRadius = UDim.new(0,8)

keyBtn.MouseButton1Click:Connect(function()
	keyBtn.Text = "Press a key..."
	local conn
	conn = UIS.InputBegan:Connect(function(input, gpe)
		if gpe then return end
		if input.UserInputType == Enum.UserInputType.Keyboard then
			pushKey = input.KeyCode
			keyBtn.Text = pushKey.Name
			conn:Disconnect()
		end
	end)
end)

local status = Instance.new("TextLabel")
status.Size = UDim2.new(1, -10, 0, 24)
status.Position = UDim2.new(0, -70, 1, -50)
status.BackgroundTransparency = 1
status.Font = Enum.Font.GothamBold
status.TextColor3 = Color3.fromRGB(200, 255, 255)
status.TextSize = 14
status.Text = "🚗 Idle"
status.TextXAlignment = Enum.TextXAlignment.Center
status.Parent = main

local forceBarBG = Instance.new("Frame", main)
forceBarBG.Size = UDim2.new(0.9,0,0,8)
forceBarBG.Position = UDim2.new(0.05,0,0.92,0)
forceBarBG.BackgroundColor3 = Color3.fromRGB(50,50,50)
Instance.new("UICorner", forceBarBG).CornerRadius = UDim.new(0,4)

local forceBar = Instance.new("Frame", forceBarBG)
forceBar.Size = UDim2.new(0,0,1,0)
forceBar.Position = UDim2.new(0,0,0,0)
forceBar.BackgroundColor3 = Color3.fromRGB(0,255,150)
Instance.new("UICorner", forceBar).CornerRadius = UDim.new(0,4)

local saveBtn = Instance.new("TextButton")
saveBtn.Size = UDim2.new(0.4, 0, 0, 30)
saveBtn.Position = UDim2.new(0.55, 0, 0, 200)
saveBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
saveBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
saveBtn.Font = Enum.Font.GothamBold
saveBtn.Text = "Save"
saveBtn.TextSize = 14
saveBtn.Parent = main
Instance.new("UICorner", saveBtn).CornerRadius = UDim.new(0, 10)

local function saveSettings()
	local data = {
		pushPower = tonumber(pushPowerBox.Text) or 50000,
		groundStick = tonumber(groundStickBox.Text) or -50000,
		frontForce = tonumber(frontForceBox.Text) or 30000,
		pushKey = pushKey.Name
	}
	if isfile and writefile then
		writefile("KayaHub_Config.json", HttpService:JSONEncode(data))
	end
	status.Text = "✅ Settings Saved!"
	return data
end

local function loadSettings()
	if isfile and isfile("KayaHub_Config.json") then
		local json = readfile("KayaHub_Config.json")
		local data = HttpService:JSONDecode(json)
		pushPowerBox.Text = tostring(data.pushPower or 50000)
		groundStickBox.Text = tostring(data.groundStick or -50000)
		frontForceBox.Text = tostring(data.frontForce or 30000)
		if data.pushKey then
			pushKey = Enum.KeyCode[data.pushKey] or Enum.KeyCode.LeftAlt
			keyBtn.Text = pushKey.Name
		end
		return data
	end
	return { pushPower = 50000, groundStick = -50000, frontForce = 30000, pushKey = "LeftAlt" }
end

local settings = loadSettings()
local pushPower = settings.pushPower
local groundStick = settings.groundStick
local frontForce = settings.frontForce

local push = Instance.new("VectorForce")
local attachment
local pushing = false
local braking = false
local seat
local car

local function getCurrentVehicle()
	for _, obj in pairs(workspace:GetDescendants()) do
		if obj:IsA("VehicleSeat") then
			local occ = obj.Occupant
			if occ and occ.Parent == player.Character then
				return obj.Parent, obj
			end
		end
	end
	return nil, nil
end

local function applyForceToCar(targetCar, targetSeat)
	if not targetCar or not targetSeat then
		status.Text = "❌ No Vehicle Found!"
		return
	end
	car = targetCar
	seat = targetSeat
	status.Text = "✅ Connected to " .. tostring(car.Name)
	attachment = seat:FindFirstChildWhichIsA("Attachment") or Instance.new("Attachment", seat)
	push.Attachment0 = attachment
	push.ApplyAtCenterOfMass = true
	push.RelativeTo = Enum.ActuatorRelativeTo.World
	push.Force = Vector3.new(0, groundStick, 0)
	push.Parent = seat
end

local foundCar, foundSeat = getCurrentVehicle()
if foundCar and foundSeat then
	applyForceToCar(foundCar, foundSeat)
end

saveBtn.MouseButton1Click:Connect(function()
	settings = saveSettings()
	pushPower = settings.pushPower
	groundStick = settings.groundStick
	frontForce = settings.frontForce
	local currentCar, currentSeat = getCurrentVehicle()
	if currentCar and currentSeat then
		applyForceToCar(currentCar, currentSeat)
	else
		status.Text = "⚠️ Not in a vehicle!"
	end
end)

UIS.InputBegan:Connect(function(input, gpe)
	if gpe then return end
	if input.KeyCode == pushKey then
		pushing = true
		status.Text = "🔥 Rear Push Active"
	elseif input.KeyCode == Enum.KeyCode.S then
		braking = true
		status.Text = "🛑 Front Force Active"
	end
end)

UIS.InputEnded:Connect(function(input)
	if input.KeyCode == pushKey then
		pushing = false
		status.Text = "🚗 Idle"
	elseif input.KeyCode == Enum.KeyCode.S then
		braking = false
		status.Text = "🚗 Idle"
	end
end)

RunService.Heartbeat:Connect(function()
	if seat and seat.Parent then
		local dir = seat.CFrame.LookVector
		local currentForce = Vector3.new(0, groundStick, 0)
		if pushing then
			currentForce = currentForce + (dir * pushPower)
		end
		if braking then
			currentForce = currentForce - (dir * frontForce)
		end
		push.Force = currentForce

		local forceMagnitude = currentForce.Magnitude
		local maxForce = math.max(pushPower, frontForce)
		forceBar.Size = UDim2.new(math.clamp(forceMagnitude/maxForce,0,1),0,1,0)
	end
end)

local credit = Instance.new("TextLabel")
credit.Size = UDim2.new(1, -10, 0, 20)
credit.Position = UDim2.new(0, 5, 1, -15)
credit.BackgroundTransparency = 1
credit.Text = "Made By AhmetGayaReal"
credit.TextColor3 = Color3.fromRGB(200, 200, 200)
credit.Font = Enum.Font.Gotham
credit.TextSize = 12
credit.TextXAlignment = Enum.TextXAlignment.Right
credit.TextYAlignment = Enum.TextYAlignment.Bottom
credit.Parent = main

status.Text = "⚙️ KayaHub Ready!"

Features & Information

- Rear Push - Ground Stick - Front Force - Push Key - Open source

Community Comments (6)

Lioka122Lioka122Nov 10, 2025

nice bro

Replying to @Lioka122
AhmetGayaRealAhmetGayaRealNov 12, 2025

@Lioka122 ty bro

PureSlizzyPureSlizzyDec 14, 2025

w

HappyTimeHappyTimeJan 10, 2026

abo w

DlldldmdmmdmdnDlldldmdmmdmdnJan 10, 2026

No way this works, ill come in 5

DlldldmdmmdmdnDlldldmdmmdmdnJan 10, 2026

It wooorksss, but idk how to operate it, please tutorial

More Scripts for [🌴NEW MAP]🚗Midnight Chasers: Highway Racing