Rscripts
-- Put this in StarterPlayer > StarterPlayerScripts as a Loc
Views: 1.2KExecutions: 135

-- Put this in StarterPlayer > StarterPlayerScripts as a Loc

+1 Speed Keyboard Escape | Honey & Chocolate
Copy it, then tell others if it worked.
  • Keyless
  • Mobile untested

Advertisement

About this script

-- Put this in StarterPlayer > StarterPlayerScripts as a LocalScript

local Players = game:GetService("Players")

local UIS = game:GetService("UserInputService")

local player = Players.LocalPlayer

local speed = 50 -- default walk speed is 16

local jumping = 50

local escapeKey = Enum.KeyCode.E -- press E to "escape spam"

-- Speed boost

game:GetService("RunService").Heartbeat:Connect(function()

if player.Character and player.Character:FindFirstChild("Humanoid") then

player.Character.Humanoid.WalkSpeed = speed

player.Character.Humanoid.JumpPower = jumping

end

end)

-- Escape spam - presses keys fast when you hold E

local spamming = false

UIS.InputBegan:Connect(function(input, gameProcessed)

if gameProcessed then return end

if input.KeyCode == escapeKey then

spamming = true

end

end)

UIS.InputEnded:Connect(function(input)

if input.KeyCode == escapeKey then

spamming = false

end

end)

task.spawn(function()

while true do

if spamming then

-- spam common "mash" keys

for _, key in pairs({Enum.KeyCode.W, Enum.KeyCode.A, Enum.KeyCode.S, Enum.KeyCode.D, Enum.KeyCode.Space}) do

game:GetService("VirtualInputManager"):SendKeyEvent(true, key, false, game)

task.wait(0.01)

game:GetService("VirtualInputManager"):SendKeyEvent(false, key, false, game)

end

end

task.wait(0.01)

end

end)