local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, procesado)
if procesado then return end
if input.KeyCode == Enum.KeyCode.K then
if keypress then
-- 1. Presiona ESC (0x1B)
keypress(0x1B)
task.wait() -- Espera solo 1 fotograma
keyrelease(0x1B)
task.wait()
-- 2. Presiona L (0x4C)
keypress(0x4C)
task.wait()
keyrelease(0x4C)
task.wait()
-- 3. Presiona ENTER (0x0D)
keypress(0x0D)
task.wait()
keyrelease(0x0D)
else
game.Players.LocalPlayer:Kick("")
end
end
end)