Skip to content

Tommy's AFK Cinematics

Go AFK with a camera, not a kick

Docs
FiveMEscrowstandaloneupdated

tAFK Overview

1 / 5

Escrow
$4.99

One-time purchase — lifetime access to this product, for as long as we continue to offer it.

Powered by Tebex. Instant delivery to your Cfx.re account. Refund policy.

FiveM usage

Live
tAFK servers, last seven days
DayServers
12 Oct 202628
13 Oct 202629
14 Oct 202626
15 Oct 202625
16 Oct 202627
17 Oct 202625
18 Oct 202625
25
Servers
51
Players
#26,572
Rank

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.

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 fivem.timmygstudios.com
    Connect in FiveM

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.afk is 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:stateChanged event
Editable
data.json (shots and settings) and the whole audio/ folder

Buying it

Updates
Included, forever
Support
Discord, with a purchase-linked role
Refunds
7-day money-back guarantee
Test server
Public, permanent, no purchase needed

Questions people actually ask