Universal Script 📌
8.6k Views
328 Executions

Walkable desync

Universal Script 📌
i1231931
i1231931Published 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Walkable desync Changeable keybind (normal keybind is E)

View Raw

getgenv().DesyncEnabled = true


local function clearUnwantedScripts(character)
    for _, v in pairs(character:GetChildren()) do
        if v:IsA("Script") and v.Name ~= "Health" and v.Name ~= "Sound" and v:FindFirstChild("LocalScript") then
            v:Destroy()
        end
    end
end


game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
    repeat task.wait() until char 
    clearUnwantedScripts(char)
    
    char.ChildAdded:Connect(function(child)
        if child:IsA("Script") and child:FindFirstChild("LocalScript") then
            task.wait(0.25) 
            child.LocalScript:FireServer() 
        end
    end)
end)


game:GetService("RunService").Heartbeat:Connect(function()
    if getgenv().DesyncEnabled then
        local hrp = game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character.HumanoidRootPart
        if hrp then
            local currentVelocity = hrp.Velocity
            
            hrp.CFrame = hrp.CFrame * CFrame.Angles(0, math.rad(0.0001), 0)
        
            hrp.AssemblyLinearVelocity = Vector3.new(math.random(2000, 4000), math.random(2000, 4000), math.random(2000, 4000))
            game:GetService("RunService").RenderStepped:Wait() 
            hrp.Velocity = currentVelocity 
        end
    end
end)


Comments

3
Log in to join the conversation. Login
zezimburlador's profile picture
zezimburlador2 years ago

It works

1
i1231931's profile picture
i1231931Uploader2 years ago

It works, but you just cant see it, get your alt to join you and press the keybind, and you will see it works (might not work in all games)

1
ape3nt's profile picture
ape3nt2 years ago

doesnt work in games ive tried

1