api table. You can read its fields but not replace them.
Limerence runs in more than one game, so which namespaces exist (and which calls live inside them) depends on where you are. See Game support before writing scripts meant to run in more than one game.
Members
string
required
Your script’s filename, without the
.luau extension. Anything you save uses this as a prefix: luau.{api.name}.{key}.table
required
Tabs, sections, widgets. UI overview.
table
Universal mode only (any game without built-in support). Teach universal mode where characters, health, teams, and weapons live, report your hits and shots, and register NPC targets. Universal.
table
required
Groups per-feature namespaces. The table itself exists in every game; a sub-namespace is only present where its feature is, so check before using it:
if api.feature.autoloot then ... end.feature.autoloot: watch and shape Auto Loot. Apocalypse Rising 2 only. Auto Loot.feature.musichud: every game. Music HUD.feature.autopeek: drive Auto Peek. Bloxstrike, Rivals, Overkill, Murderers vs Sheriffs Duels. Auto Peek.feature.antiaim: set the direction others see you facing. Bloxstrike. Anti Aim.
table
required
Your local player: shared core plus per-game extras. Shared calls exist in Bloxstrike, Rivals, Apocalypse Rising 2, and universal mode; Phantom Forces and Overkill expose only the
onHit / onKill signals. Client.table
Every other player in the match. Present when the game has a player API (Bloxstrike, Rivals, Apocalypse Rising 2, universal mode). Players.
table
required
Match state. Contents differ per game (Bloxstrike: bomb and hostage; Rivals: match/environment/placeables; Apocalypse Rising 2: world pings/squad/zombies; Phantom Forces: match/rounds/dropped weapons/grenades; Overkill: match/teams/matchmaking/projectiles; Murderers vs Sheriffs Duels: match and team state). Game.
getGame
"bloxstrike", "rivals", "apocalypse rising 2", "phantom forces", "overkill", "murderers vs sheriffs duels", or "operation one". In a game without built-in support it returns "universal". See Universal.
onUnload
OnChange or OnUpdate.