PcoWSkbVqDnWTu_dm2ix

Output How Long a Server Has Run

Output How Long a Server Has Run

Jun 14 2019, 4:46 PM PST

You want to figure out how long the server has been running.

Use the Workspace/DistributedGameTime|DistributedGameTime property of Workspace|game.Workspace.

print(game.Workspace.DistributedGameTime)

The Workspace/DistributedGameTime|DistributedGameTime property is how long the server has been running, in seconds.

Tags:
  • server
  • script