Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Scripts just won't run?

So, I'm having a weird issue with Studio where scripts in workspace just won't run in test(server) mode. Is there a reason why? I don't have a specific script to show you, because it affects all scripts. I've made a simple script that says:

wait(1)
print("test")

But even that won't show up in output on the server. Is there a reason why? The scripts that don't work are all located in Workspace, every other script located somewhere else works. I've tried everything, from a simple "wait" before the script, to WaitForChild: (even though you shouldn't have to use that for Workspace stuff), however scripts just won't run. And yes, Filtering Enabled is not enabled. Any help?

NOTE: A thing I've noticed is that scripts that start running right when the server starts are the ones that don't work. For example, a script that is fired via being touched works, however scripts that run right away seem to be the broken ones. I've put "waits" before them, but that still doesn't fix it.

3 comments

0

Is the script disabled?

0

Are you using LocalScripts for most of the Scripts in the Workspace, or are the scripts disabled, as 1waffle1 exclaimed?

0

no, they're regular scripts, and no, they're not disabled (I made sure to check)

1 answer

Hi.

Put the Script in workspace and test it. If necessary, while you have the server running on roblox studio, press the disable script button in the properties and click it to enable. Then check your output.

This discussion is preserved as it was. New answers, comments, and votes are closed.