Modify Speed Open Source Code
Key Required

Modify Speed Open Source Code

[X2] +1 Speed Keyboard Escape | Candy & ChocolateNiloHookNiloHook 4.3K views 366 executesUpdated Jul 8, 2026
3.3/ 5(3 votes)
2167% Positive
Lua Script•80 lines (1997 chars)
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local Players = game:GetService('Players')
local player = Players.LocalPlayer

local ClientState = require(ReplicatedStorage:WaitForChild('ClientState'))
local Config = require(ReplicatedStorage:WaitForChild('Config'))


local Speed = 100 

local function getSafeSpeed()
    local success, result = pcall(function()
        local state = ClientState:Get()
        return Config.CalculateMaxSpeed(state.Level)
    end)
    
    if success and result then
        return result
    end
    
   
    if Config and Config.cfg then
        return Config.cfg
    end
    
    return 0
end

local mt = getrawmetatable(game)
local oldIndex = mt.__index
setreadonly(mt, false)

mt.__index = newcclosure(function(self, key)
    if not checkcaller() and tostring(key) == 'WalkSpeed' and typeof(self) == 'Instance' and self:IsA('Humanoid') then
        local safeSpeed = getSafeSpeed()
        return safeSpeed
    end
    
    return oldIndex(self, key)
end)

local index__ = mt.__newindex
mt.__newindex = newcclosure(function(self, key, value)
    if not checkcaller() and tostring(key) == 'WalkSpeed' and typeof(self) == 'Instance' and self:IsA('Humanoid') then
        return 
    end
    
    return index__(self, key, value)
end)

setreadonly(mt, true)

local function setSpeed(character)
    local humanoid = character:WaitForChild('Humanoid', 5)
    if humanoid then
        humanoid.WalkSpeed = Speed
    end
end

if player.Character then
    setSpeed(player.Character)
end


game:GetService('RunService').Heartbeat:Connect(function()
    if player.Character then
        local humanoid = player.Character:FindFirstChild('Humanoid')
        if humanoid and humanoid.WalkSpeed ~= Speed then
            print('Set Speed back to Original Modification')
            humanoid.WalkSpeed = Speed
        end
    end
end)

player.CharacterAdded:Connect(function(char)
    task.wait(0.5) 
    setSpeed(char)
end)

print('modified current speed')

Features & Information

Modify your speed. dosnt support xeno / solara
#Speed#keyboard escape

Community Comments (5)

NiloHookNiloHookJul 8, 2026

For those who dont know how to change the speed : Search for the line which includes : 'local Speed = 100' and change 100 to the speed you'd like.

f1233df1233dJul 8, 2026

make one for xeno

conejopiquiconejopiquiJul 8, 2026

que hago con el codigo ese?? lo descargo y que mas

zazaeurozazaeuroJul 11, 2026

doesnt work

kp5826814kp5826814Jul 15, 2026

How to use

More Scripts for [X2] +1 Speed Keyboard Escape | Candy & Chocolate