Studio not initialising/running Scripts?

So I pressed ‘Play’ to test out my game. Glancing at the output, I realised that none of the Server Scripts (Localscripts were fine) printed out their ‘Initilised’ messages. I went over to a part which I knew contained a tag that activated a Script. Nothing. I didn’t get teleported, I didn’t get killed. My guy was just left standing there with that silly smile on his face.

This happened almost every time I tested, but as far as I can see it’s all working fine and dandy on the Roblox client.

I only started noticing this issue earlier this morning.

Recap: The issue is ServerScripts not loading/running when I test a game in Studio.

Also, I’m not sure if this is a Studio or a Scripting bug.

Are you requiring any modules that may be infinitely looping?

Are you sure your scripts aren’t disabled every time you test? Have you checked your entire output?

It could be a bug in studio

all my scripts are enabled, and I’ve checked the output

  • Only this localscript loads (actually, it’s the only one that prints something)
    image

  • Normally, the output should show something like this:
    image

Usually, though, only the localscripts print something.

I’ve only used two modules, one of them has no functions and the other isn’t even require()ed from the beginning.

Could you post one of the server scripts not currently running so we can have a look at what you’re doing and if it’s contributing to your game’s hold up? If you have a framework, could you diagnose your own system or attempt to apply debugging/test strategies? For example, create a blank script in ServerScriptService with just print("Hello from the server side").

This isn’t an issue that has been reported yet so it’s dubious that it’s an issue with Studio but rather something you’re doing incorrectly.

Tried that out (in a blank script), and this is what I get:
image
But none of my other scripts make their initial print.

Also, this is happening fairly inconsistently.

If that isolated script is printing but not your others, then you have an issue with your own system that you need to sort out. It would be helpful, as mentioned earlier, to include the initialisation snippit for one of your scripts or do some debugging from your own end. Your scripts evidently have not been set up correctly or are encountering a confliction that’s preventing them from resuming.

If a new script is running, it’s most likely your other scripts having a problem.

Do you have any while loops, repeat loops, etc. that could cause the scripts to stall?

Found it- it was a code error, the order of a bunch of functions was messed up a tad.

I’ll mark it as solution for ya