Skip to main content
Sets the game’s frame-rate limit.
Most often used to bypass Roblox’s built-in fps settings restrictions. Common pattern: drop to 30 on alt accounts or autofarm scripts. Frees CPU and GPU headroom for the active client.

Parameters

Returns

number - the cap that was active before calling setfpscap().

Aliases

  • setfps

Example

In Roblox, wallhops land more reliably at 60 fps.
Bind F1 to toggle the cap between 60 and the player’s previous setting.
Roblox caps actual rendering at ~240 Hz from 2024 onwards. Caps above that store and read back fine, but the rendered frame interval won’t drop below ~4 ms. Background here.