
Key Required VerifiedUniversal

-----Use when noli
--!strict
-- This script makes the character dash along the ground.
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
-- The speed of the original Void Rush from your config
local ORIGINAL_DASH_SPEED = 60
local isOverrideActive = false
local connection
local function startOverride()
if isOverrideActive then return end
isOverrideActive = true
-- Connect a loop to force the character to move forward
connection = RunService.RenderStepped:Connect(function()
-- Forcefully set WalkSpeed and AutoRotate on every frame
Humanoid.WalkSpeed = ORIGINAL_DASH_SPEED
Humanoid.AutoRotate = false
local direction = HumanoidRootPart.CFrame.LookVector
local horizontalDirection = Vector3.new(direction.X, 0, direction.Z).Unit
-- Use Humanoid.Move to directly move the character
Humanoid:Move(horizontalDirection)
end)
end
local function stopOverride()
if not isOverrideActive then return end
isOverrideActive = false
-- Restore original settings
Humanoid.WalkSpeed = 16 -- Or whatever your default walk speed is
Humanoid.AutoRotate = true
Humanoid:Move(Vector3.new(0, 0, 0)) -- Stop the character from moving
if connection then
connection:Disconnect()
connection = nil
end
end
-- Main loop to detect when to activate and deactivate the override
RunService.RenderStepped:Connect(function()
local voidRushState = Character:GetAttribute("VoidRushState")
if voidRushState == "Dashing" then
startOverride()
else
stopOverride()
end
end)



This was in discord firts made by ia