tAFK
$4.99
BuyTommy's AFK Cinematics
Go AFK with a camera, not a kick

tAFK Overview
1 / 4
One-time purchase. The copy you download is yours to keep; updates while it is sold.
Powered by Tebex. Instant delivery to your Cfx.re account. Refund policy.
FiveM usage
| Day | Servers |
|---|---|
| 26 Nov 2026 | 23 |
| 27 Nov 2026 | 22 |
| 28 Nov 2026 | 23 |
| 29 Nov 2026 | 23 |
| 30 Nov 2026 | 20 |
| 1 Dec 2026 | 21 |
| 2 Dec 2026 | 22 |
- 22
- Servers
- 32
- Players
Description
Every other AFK script in FiveM is a punishment: a timer, a warning, a kick. This one does the opposite. A player who sits still in a vehicle has their camera taken over by a cinematic orbit of their car — depth of field, cuts that land on the beat, music underneath. Touch any control and they are back in the driver's seat instantly.
Nobody is kicked, warned, or timed out. Ever.
- camera shots included
- 11
- default idle before the camera takes over
- 30s
- players kicked, warned, or timed out
- 0
- dependency — tLib, and it's free
- 1
Will it run on your server?
- OneSync, Infinity or Legacy.
- tLib v1.0 or newer — free, and the only dependency. Start it before tAFK.
- No framework needed. There is no framework code in it at all — nothing to detect, nothing to wire up.
- No ports to open, and no service to sign up for. The optional live-radio mode has each player's game client fetch a stream URL you choose; nothing else leaves your server.
- Vehicles only. The cinematic triggers in a car, bike, boat, or aircraft. There is no on-foot camera, and asking for it outside a vehicle just tells the player to get in one.
Which files you can edit
Every paid TIMMYG script uses Cfx Asset Escrow. Most of the Lua is encrypted. The files you're meant to change are left open.
Two things apply to all of them:
- Updating overwrites the open config files that ship in the zip. Keep a copy of your edits and merge them into the new file.
data.jsonis never in the zip. Each script writes its own on first boot, and it's where your in-game setup lives. Back it up before an update.
| File | Open? | What it's for |
|---|---|---|
shared/schema.lua | Yes | The built-in defaults every setting starts at |
audio/ | Yes | Drop .ogg, .mp3 or .wav music here. Scanned on every boot |
audio/beatmap.json | Readable, written by tAFK | Beat grids tAFK measures for your tracks. Leave it to tAFK |
data.json | Yes | Server defaults and sequences, created on first boot from schema.lua. Most settings are easier to change in /tafk |
| Other Lua files | No | Escrowed |
Try it before you buy it
See it on the test server
Press F8 in FiveM, paste the line below, and press enter. Get in any vehicle and press Enter AFK Mode in /tafk to trigger it on demand — or just sit still for 30 seconds and let it happen on its own.
Connect in FiveMconnect fivem.timmygstudios.com
What you get
A camera, not a kick
Idle in a vehicle and the screen fades, the HUD hides, and the camera moves to a chosen angle on the car. Shots cut from one to the next for as long as the player is away. Any input at all — steering, throttle, even a nudge of the mouse — fades them straight back to gameplay, including part-way through the fade.

Author shots by flying the camera
/tafkedit freezes your car and drops you into a free-fly camera around it. Fly to where the shot should begin and press 1. Move to where it should end and press 2. Press 3 to preview, 4 to save.
Saving pushes it to every connected player straight away. Naming, per-shot toggles, depth of field, and whether a shot is global or locked to that one vehicle model all live in the same overlay.
The director picks the shot, not a shuffle
Before every cut, each candidate shot is raycast — along its path and at both ends. Angles that clip the car, sit too close, are blocked by a trailer, repeat something from the last three cuts, or start far from where the previous shot ended all lose points. Whatever survives goes into a weighted draw.
Shot offsets scale to the vehicle as well, from 0.8× to 2.5× of its bounding box, so one shot frames a motorbike and an articulated truck without being re-authored.
Cuts land on the beat
The interface analyses the playing track in the browser, finds its tempo, and hands the timing back to the game. Each shot is then held for the beat-aligned length closest to a random target, with an anticipation offset so the cut lands with the beat rather than just after it.
The music is yours: drop any .ogg, .mp3, or .wav into audio/ and it joins the rotation on the next restart. No naming convention, no manifest. If a track's tempo can't be read, shot lengths fall back to random and everything else carries on working.
Or point it at a live station
Instead of the folder, tAFK can play a live internet radio stream, and still cut on its beat — it plays a configurable number of seconds behind the broadcast and analyses the audio that has arrived but not yet been heard, so the beats are known before the player hears them.
It is off by default, and switching it on means every AFK player opens their own connection to the station. If the stream cannot be reached or cannot be analysed, tAFK says so once in the console and falls back to the audio/ folder for the rest of the session — never to silence.
Every player owns their settings
/tafk gives each player a master switch, music and volume overrides, a hide-HUD toggle, and per-shot opt-outs. All of it survives a relog. Your server settings are the starting point; a player's own choice wins on their machine.
Vehicles can bring their own shots
A vehicle resource can ship shots for its own model by adding one line to its manifest:
tafk_config 'tafk.json'
Every running resource is scanned at boot and whenever one starts, and matching shots are merged in automatically. Your own edits always win over a pack's.
Also included
- Live admin settings. Idle timeout, shot length bounds, beat offset, music defaults, and the live-radio controls, changed from in game and applied without a restart.
- A state bag, not an integration.
Player(src).state.afkis readable from anywhere — nothing to wire up for the common case. - Six exports for everything else:
IsAFK,IsAFKEnabled,StartAFK,StopAFK,ToggleAFK,SetAFKEnabled. - A suppression hook.
SetAFKEnabled(false)keeps the camera out of your races, minigames, and cutscenes for the session. - It knows when not to fire. Cutscenes, player switches, and a ragdolled ped all block it.
Specifications
Compatibility
- OneSync
- Required — Infinity or Legacy
- Frameworks
- None needed. No framework code, nothing to detect
- Dependencies
- tLib v1.0+ (free). Nothing else
- Ports
- None to open. Live radio, if enabled, is an outbound stream fetched by each client
- Scope
- Vehicles only — there is no on-foot camera
- Lua
- 5.4, handled by the manifest
What is included
- Camera shots
- 11, all editable and extendable in game
- Shot editor
/tafkedit— free-fly camera, keyframe capture, live preview- Player settings
/tafk— per player, persisted across relogs- Beat detection
- Built in, with a configurable anticipation offset
- Music
- Bring your own — any filename, any of
.ogg/.mp3/.wav - Live radio
- Optional, off by default — stream a station and still cut on its beat
- Vehicle packs
- Shots shipped by a vehicle resource, discovered automatically
Extending it
- State bag
Player(src).state.afk— true / false / nil- Exports
- 6 client exports, plus a
tafk:stateChangedevent - Editable
data.json(shots and settings) and the wholeaudio/folder
Buying it
- Updates
- Included while the product is sold
- Support
- Discord, with a purchase-linked role
- Refunds
- Ask within 7 days of buying and we'll refund a one-time purchase, for any reason.
- Test server
- Public, permanent, no purchase needed
Questions people actually ask
No — there is no timer, no warning, and no kick anywhere in it. It only changes the camera. If
you do want session enforcement, run a kick script alongside it and have that script read
Player(src).state.afk.
No. Vehicles only. A player standing outside a car who presses Enter AFK Mode is told to get in one. If an on-foot idle camera is what you need, this is not it.
No, and you shouldn't. Shots are captured in game with /tafkedit and saved from that overlay,
which pushes them live. data.json is only read at start, so hand-edits need a restart tAFK.
No. Drop your own files into audio/ — any filename works, and the folder is scanned at start.
Delete what's there and it's gone. Beat sync reads whatever happens to be playing.
Yes, in /tafk, and the choice survives relogs. They can also mute the music, keep their HUD,
or opt out of individual shots without disabling the rest.
Call exports['tAFK']:SetAFKEnabled(false) when yours starts and true when it ends — that
also cancels a cinematic already running. Cutscenes, player switches, and ragdolls are blocked
automatically.
Also from TIMMYG Studios

tRadio
EscrowModelled on real P25 radio — dispatch panel, trunking, and 3D audio
standaloneqbcoreqboxesx
From$19.99/mo
or $99.99 one time

tLS
EscrowEmergency lighting for FiveM. Configured in the vehicle, not in a file.
standaloneupdated
From$19.99

tUnit
EscrowUnit numbers that are drawn, not bolted on
standaloneqbcoreesx
From$19.99
TIMMYG Studios