Script Performance showing 0% when it's not suppose to?

I’m not sure if I’m doing something wrong but when I go in test mode it sometimes shows 0% for the script ClientSetup, but the script is still running.

What it’s showing
image

What it should show
image

Note: I did no edits to the scripts and all scripts still run and all I do is press stop and play on studio test mode and its like a 50 50 chance to show the actual % or 0%

2 Likes

0% doesn’t mean the script has stopped working. It could be that none of its threads are running. This can easily happen if its an input or tool script that just waits for inputs before doing anything.

It’s a script that has a RunService using RenderStepped. So it should always be running. And it does run and I see it doing things as normal.

Any ideas?

This is a bug with Roblox and not your code. It is caused by multiple things, but the most common issue is with the Roblox servers.
If there are issues with the servers, the % will not load.

I made a bug report about this, but I wonder if it’s specific to me since no one else seems to reply to it.

Script Performance freezing up and not displaying accurate stats - Bug Reports / Studio Bugs - DevForum | Roblox