setfpscap
Sets the current instance’s requested frame limit and replaces Roblox’s current cap. Rates above 240 use Apex pacing. The next manual Roblox menu change can replace this request.
Syntax
setfpscap(fps: number) -> ()
Also available as
set_fps_cap
Parameters
| Parameter | Type | Description |
|---|---|---|
fps | number | Zero, or a finite limit of at least 1. Numeric text is also accepted. |
Description
Zero means uncapped; finite values of at least 1 are supported. The cap is a limit, not a promise of achieved performance. VSync, the display compositor, rendering load and system resources can impose a lower actual frame rate.
Example
setfpscap(360)
print(getfpscap())
These are Game executor contracts. Check build requirements and session lifetimes before using them.
