Skip to content

Instantly share code, notes, and snippets.

@OkiStuff
Last active September 22, 2022 23:14
Show Gist options
  • Save OkiStuff/73ebfb1ee22df9cf4409c0b625481c28 to your computer and use it in GitHub Desktop.
Save OkiStuff/73ebfb1ee22df9cf4409c0b625481c28 to your computer and use it in GitHub Desktop.
Undetectable Anti AFK Cheat/Script for Synapse X or krnl (untested on krnl)
-- Licensed under GNU v3.0
-- https://github.com/OkiStuff/synapse-x-cheats/blob/main/LICENSE
-- Made by OkiStuff / Frankie A.
anti_afk = true
KEY_W = 87
KEY_S = 83
key = 0
warn("Anti AFK Loaded")
while (anti_afk == true)
do
if (isrbxactive() == true)
then
wait(1)
keyrelease(KEY_S)
keyrelease(KEY_W)
if (key <= 5)
then
keypress(KEY_W)
key = key + 1
end
if (key >= 6)
then
keyrelease(KEY_W)
keypress(KEY_S)
key = key + 1
end
if (key >= 11)
then
key = 0
end
print('Pressed key')
else
wait(1)
warn("Roblox was not focused")
end
end
warn("Anti AFK stopped")
@tacotacoenchilada
Copy link

why are you doing "while(anti_afk == true)", if there is no way to turn it off, just do while(true)?

@OkiStuff
Copy link
Author

thats true tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment