Collapse Sidebar


Returns whether the game is currently running

The game is considered running when it is not in edit mode in Roblox Studio. This means, if the simulation has been run using the ‘Run’ or ‘Play’ buttons the game is running.

IsRunning will always return the inverse of RunService/IsEdit with one exception, if the simulation has been ‘paused’ then both RunService/IsEdit and IsRunning will return false.

RunService test function results

See also

  • RunService/IsClient
  • RunService/IsServer
  • RunService/IsStudio
  • RunService/IsEdit
  • RunService/IsRunMode


Return Type Summary

Whether the game is currently running

Code Samples

Run Context

This code prints out details of a script’s running context, like if it is running on the server, client, in studio, etc. It uses RunService to do this.

Try pasting this code into a Script or LocalScript. See how it runs in online mode and on a Roblox server (open the developer console).