FkRoblox I ROBLOX CHASEBAN BYPASSER
Key RequiredUniversal

FkRoblox I ROBLOX CHASEBAN BYPASSER

Universal ScriptReWelpReWelp 1.8K views 4.5K executesUpdated Jan 29, 2026
Unrated
00
Lua Script•236 lines (6317 chars)
; deletes rblx cookie file
; Replace 'black' below with your Windows username before using.

#SingleInstance Force
Persistent

RobloxExes := [
    "RobloxPlayerBeta.exe",
    "RobloxPlayerLauncher.exe",
    "RobloxStudioBeta.exe"
]

LeftoverExes := [
    "RobloxCrashHandler.exe",
    "RobloxPlayerLauncher.exe"
]

; Change your user here:
CookieFile := "C:\Users\black\AppData\Local\Roblox\LocalStorage\RobloxCookies.dat"
LogFile    := A_ScriptDir "\FkRoblox.log"

AllowElevation := true
robloxRunning := false

A_TrayMenu.Add("Cleanup Now", DoManualCleanup)
A_TrayMenu.Default := "Cleanup Now"
A_TrayMenu.Tip := "Fk Roblox (Right-click for options)"
^!c::DoManualCleanup()

if (A_IsAdmin && HasCleanupFlag()) {
    DoNotify("Admin cleanup in progress")
    Log("Admin cleanup mode triggered")
    KillLeftovers()
    Sleep 2000
    DeleteCookies(false)
}

if !AnyRobloxRunning() {
    Log("First run: Roblox not detected in background. Performing cleanup.")
    DoNotify("Roblox not running. Performing cleanup.")
    KillLeftovers()
    Sleep 1000
    DeleteCookies(true)
} else if IsRobloxTrayOnly() {
    Log("First run: Roblox running only in background/system tray. Killing for cleanup.")
    DoNotify("Roblox in tray. Closing and cleaning up...")
    for exe in RobloxExes {
        while ProcessExist(exe) {
            try ProcessClose exe
            Sleep 300
        }
        Log("Closed (tray) Roblox instance: " exe)
    }
    Sleep 1000
    KillLeftovers()
    DeleteCookies(true)
} else {
    Log("First run: Roblox window(s) visible, skipping initial cleanup.")
    DoNotify("Roblox active (window open), skipping cleanup.")
}

SetTimer WatchRoblox, 1000
DoNotify("Fk Roblox is watching")
Log("Script started | Admin=" A_IsAdmin)

WatchRoblox() {
    global RobloxExes, robloxRunning
    running := false
    for exe in RobloxExes {
        if ProcessExist(exe) {
            running := true
            break
        }
    }

    if (running && !robloxRunning) {
        robloxRunning := true
        Log("Roblox launched")
        DoNotify("Roblox started")
        return
    }

    if (!running && robloxRunning) {
        robloxRunning := false
        Log("Roblox closed")
        DoNotify("Roblox closed. Cleaning up...")
        KillLeftovers()
        Sleep 1000
        DeleteCookies(true)
    }
}

AnyRobloxRunning() {
    global RobloxExes
    for exe in RobloxExes {
        if ProcessExist(exe)
            return true
    }
    return false
}

IsRobloxTrayOnly() {
    global RobloxExes
    visibleFound := false
    for exe in RobloxExes {
        pid := ProcessExist(exe)
        if pid {
            win := WinExist("ahk_pid " pid)
            if win && WinGetMinMax("ahk_pid " pid) != -1
                visibleFound := true
        }
    }
    return (!visibleFound)
}

KillLeftovers() {
    global LeftoverExes
    for exe in LeftoverExes {
        while ProcessExist(exe) {
            ProcessClose exe
            Sleep 200
        }
        Log("Ensured closed: " exe)
    }
}

DeleteCookies(allowElevate := true) {
    global CookieFile, AllowElevation

    if !FileExist(CookieFile) {
        Log("Cookie file not found")
        DoNotify("Cookie file not found.")
        return
    }

    try
        attrib := FileGetAttrib(CookieFile)
    catch
        attrib := "(attrib fetch error)"
    Log("Attempting deletion; attrib=" . attrib)

    try {
        FileSetAttrib("-R-S-H", CookieFile)
        Log("Attributes cleared before deletion")
    } catch {
        Log("FileSetAttrib failed on " . CookieFile)
    }

    Loop 5 {
        delException := ""
        try {
            FileDelete CookieFile
            Log("FileDelete attempted, A_LastError=" . A_LastError)
        } catch {
            delException := "FileDelete threw exception"
            Log("FileDelete exception caught | A_LastError=" . A_LastError)
        }

        Sleep 300

        if !FileExist(CookieFile) {
            DoNotify("Cookies deleted.")
            Log("Cookie file deleted successfully")
            return
        } else {
            try
                attrib := FileGetAttrib(CookieFile)
            catch
                attrib := "(attrib fetch error)"
            Log("Delete failed; file still exists; attrib=" . attrib . " | A_LastError=" . A_LastError . (delException ? " | LastException=" . delException : ""))
        }

        try {
            tmp := CookieFile ".to_delete"
            FileMove CookieFile, tmp, 1
            FileDelete tmp
            Log("Move+Delete workaround attempted (to " . tmp . ")")
            Sleep 200
            if !FileExist(CookieFile) && !FileExist(tmp) {
                DoNotify("Cookies deleted (workaround).")
                Log("Cookie file deleted by move+delete workaround")
                return
            }
        } catch {
            Log("Move+Delete workaround failed | A_LastError=" . A_LastError)
        }

        try {
            Log("Attempting PowerShell Remove-Item fallback")
            RunWait('powershell -Command "Remove-Item -Path ' . '"' . CookieFile . '"' . ' -Force"',, 'Hide')
            Sleep 250
            if !FileExist(CookieFile) {
                DoNotify("Cookies deleted (PowerShell).")
                Log("Cookie file deleted by PowerShell fallback")
                return
            }
        } catch {
            Log("PowerShell fallback failed | A_LastError=" . A_LastError)
        }
    }

    Log("Delete failed after all attempts | Admin=" . A_IsAdmin . " | File still exists: " . FileExist(CookieFile))

    if (allowElevate && AllowElevation && !A_IsAdmin) {
        DoNotify("Elevation required – relaunching as Admin.")
        Log("Relaunching as admin with cleanup flag")
        Run('*RunAs "' . A_ScriptFullPath . '" --cleanup')
        ExitApp
    }
    Log("ERROR: Cookie file still exists after admin cleanup")
}

DoManualCleanup(*) {
    Log("Manual cleanup triggered.")
    DoNotify("Manual cleanup triggered!")
    KillLeftovers()
    Sleep 1000
    DeleteCookies(true)
}

HasCleanupFlag() {
    for arg in A_Args {
        if (arg = "--cleanup")
            return true
    }
    return false
}

Log(msg) {
    global LogFile
    FileAppend("[" . A_Now . "] " . msg . "`n", LogFile)
}

DoNotify(msg, title := "Fk Roblox") {
    TrayTip(title, msg, 6)
}

Features & Information

if you want support, bug fixes, or want to see more or just hang out, JOIN THE DISCORD: https://discord.gg/26NkKuHzt3 Fk Roblox - Cookie file Auto Cleaner Deletes leftover Roblox files and cookies so you don't get chase banned after raging or hopping off alt/other accounts. - How to setup (takes 1 min): 1. Download & install AutoHotkey v2 from: https://www.autohotkey.com 2. Make a new blank text file somewhere (like AHK folder), name it whatever you want but make it end with `.ahk` (like FkRoblox.ahk). 3. Right click your new `.ahk` file, click "Edit Script". 4. OPEN THE SCRIPT and PASTE everything from this post in there (replace everything already in it). 5. REALLY IMPORTANT: At the top of the script, find this line: `C:\Users\black\AppData\Local\Roblox\LocalStorage\RobloxCookies.dat` - Change `black` to your Windows username (the folder name you see in C:\Users\). - Should look like: `C:\Users\yourusername\AppData\Local\Roblox\LocalStorage\RobloxCookies.dat` 6. Save and close the editor! 7. Now just double-click the `.ahk` file to run! It shows tray tips when it does stuff, and will handle everything automatically. (you must run the .ahk file everytime you start windows) - What it does / features: - Deletes leftover Roblox cookie/session file when you close Roblox (to help prevent chase bans when account hopping) - Admin auto-relaunch: If Windows blocks the delete, it'll auto-retry as admin (you'll get a UAC popup) so it actually nukes the files - Logs everything to a .log file in the same folder, so you can see what got deleted - Auto-kills Roblox crash handlers and launchers beforehand (no leftover Roblox stuff running) - PowerShell fallback as a last resort if couldnt delete - Easy to setup - OPEN SOURCE - Safe: Only touches Roblox session/cookie files, that's it - IMPORTANT (Prevents Extra Bans): This script REDUCES the risk of chase bans by instantly removing the main cookie/session file right after you close Roblox, making it harder for Roblox to link your alts/mains. BUT: You should still do the normal error 600 bypass method when swapping back to main after raging or using alts. This script is a helper; always use standard precautions for max safety. - Tested working Jan 2026 let me know if anything breaks with Roblox updates. Have fun, stay safe, and JOIN DISCORD! https://discord.gg/26NkKuHzt3
#roblox cookies#cookie cleaner#roblox script#script#universal script

Community Comments (1)

ReWelpReWelpJan 29, 2026

report bugs or anything or if u wanna chill or be first to know bout a new script join discord: https://discord.gg/26NkKuHzt3

More Scripts for Universal Scripts