// Name: Roblox Auto Player
// Description: Opens the Roblox game and simulates basic movement to auto play.
// Author: costamartamaria131-lab
// GitHub: costamartamaria131-lab
import "@johnlindquist/kit"
const GAME_URL =
"https://www.roblox.com/pt/games/131832665672192/Hide-In-Attic-From-John-bob-And-George-Hampleton"
let running = false
let removeStopShortcut: (() => void) | null = null
const stopShortcut = isMac ? "cmd+shift+s" : "ctrl+shift+s"
function randInt(min: number, max: number) {
return Math.floor(Math.random() * (max - min + 1)) + min
}
async function press(key: string, times = 1, delayMs = 60) {