marketplace/gaming

Key Spammer

v0.1.0

@rebindfree

Hold one button to press any key over and over, as fast as you set.

Gallery

Key Spammer preview

Readme

Hold Mouse 4 and Rebind presses E, or any key you choose, over and over at the rate you set. Let go and it stops. Use it to interact, pick up, attack, or collect.

Needs Rebind 3.5.0 or newer on Windows, macOS, or Linux. No extra permissions.

Settings

  • Hold to spam: the button or key you hold. Default Mouse 4.
  • Key to spam: the key that gets pressed. Default E.
  • Presses per second: 2 to 30. Each press lasts 15 ms.

Key changes apply while the package runs on Rebind 3.9 or newer. On older versions, restart the package after changing a key.

Before you use it

Games set their own rules about repeated input. Check the rules where you play.

Limits

  • The hold button does nothing else while the package runs.
  • Live use remains unverified on Windows, macOS, and Linux.

Stop

Let go of the hold button to stop spamming. Stop the package from the editor toolbar, or press Left Ctrl + Left Alt + K to stop all scripts.

Reviews

No reviews yet. Be the first, from the app.

Source

Version 0.1.0 (current)

main.luau

-- Key Spammer: while the hold key is down, press the chosen key repeatedly.

local cfg = UI.Schema({
  hold = UI.Keybind("Mouse4", { label = "Hold to spam" }),
  key = UI.Keybind("E", { label = "Key to spam" }),
  rate = UI.Slider(12, {
    min = 2,
    max = 30,
    suffix = " /s",
    label = "Presses per second",
  }),
})

Bind(
  cfg.hold,
  Async(function()
    while Input.IsDown(cfg.hold) do
      HID.Press(cfg.key, 15)
      Sleep(math.max(0, 1000 / cfg.rate - 15))
    end
  end)
)