Wrote a script the other day on a baseplate that works fine while on the baseplate.
Had it exported to another game and it didn’t work.
After spending an hour or two debugging, I tried making a script with only 1 line in it:
print("olalala")
The script doesn’t print anything to the server console.
It’s a regular Script placed in ServerScriptService.
The same print script works in other baseplates.
Some other scripts in ServerScriptService seem to work, it’s just newly added ones that break.
Any ideas on what could be causing this?
Thanks in advance.
Sounds like the game you exported to might have StreamingEnabled or API Services disabled, but more likely, the script is just not enabled or there’s weird corruption in the place.
Try this:
Make sure the script’s “Enabled”
Try moving the script to another location (like Workspace), see if it prints there.
Sometimes places get bugged on export like uh try copying everything into a fresh baseplate manually instead of using “Publish As…”
Check if the script’s parent exists on the server maybe something is deleting it silently.
Also make sure no scripts are overwriting or deleting other scripts on runtime (seen that before lol).
If none of that helps, it’s probably a Roblox Studio bug and cloning the game into a new place usually fixes it.
If the script is a server script (aka just regular “Script”) it should work everywhere. If it is a localscript it will only work in StarterPlayerScripts, StarterCharacterScripts, and a few others so that it is copied and placed into each player