Last year I created a cool AFK system that allows your players to say AFK and it puts them in a hidden area, perfect for games like FPS without lobbies and other things. I recently decided to make this open-source.
The system listens to triggers such as afk and brb.
I suggest putting a box around the red brick in case others decide to go AFK so they do not fall out of the map.
The system comes with a clean UI to use. If you need any assistance with setting up then I am more than happy to help!
The system responds to any form of activity, like pressing a key while in the game or moving the mouse.
Roblox will still kick after 20 minutes of idle.
Pretty cool system, I wish you didn’t get kicked after idle for 20 minus but that’s ok there’s no way around it. Well good job and best of luck, John.
@Void_Frost@pranvexploder
This doesn’t effect how it operates, I suspect its binded onto the FocusLost or the input services and detects the time its lost / not being used for. As such no matter what the client scripts or server do, you most likely can’t prevent it.
You wouldn’t want to prevent it anyway, as its saving processing power on behalf of Roblox and stops people from using bots etc and being online for 4000 hours.
Now the problem is, couldn’t people also use this as sort of an “excuse”? When people are pvp and someone is about to die, couldn’t the person just say AFK and use that to prevent dying?
This idea is still very creative and useful, especially in round based games.
From what I can find online, this is one that supposedly works in a script injector (so ran on client obv):
(NOT MY CODE) https://pastebin.com/raw/sd4C8Fgm