2 min read

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

NameValueDescription
Automatic0The 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.
On1The 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.
Off2The 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.

FieldValue
value0

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.

FieldValue
value1

Off

The instance will not be predicted. Regular network ownership semantics apply.

FieldValue
value2