Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
PredictionMode
Enum used with RunService:SetPredictionMode() to define the prediction mode for the instance.
Items
| Name | Value | Description |
|---|---|---|
| Automatic | 0 | The engine will automatically decide if this instance should be predicted or not. Currently, only BaseParts near the local player character's Humanoid will be predicted within a dynamic radius that grows and shrinks based on the device's capability to handle the simulation load. |
| On | 1 | The instance will be predicted. Mismatches in the attributes of this instance between the client and server will cause a rollback and resimulation. If the instance is a BasePart, its physics properties will be predicted ahead of the replicated authoritative server state. |
| Off | 2 | The instance will not be predicted. Regular network ownership semantics apply. |
Automatic
The engine will automatically decide if this instance should be predicted or not. Currently, only BaseParts near the local player character's Humanoid will be predicted within a dynamic radius that grows and shrinks based on the device's capability to handle the simulation load.
| Field | Value |
|---|---|
| value | 0 |
On
The instance will be predicted. Mismatches in the attributes of this instance between the client and server will cause a rollback and resimulation. If the instance is a BasePart, its physics properties will be predicted ahead of the replicated authoritative server state.
| Field | Value |
|---|---|
| value | 1 |
Off
The instance will not be predicted. Regular network ownership semantics apply.
| Field | Value |
|---|---|
| value | 2 |