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

Scripts not working in play mode but works in Studio Play mode?

As far as the title says, Scripts aren't working in play mode but works with studio's play mode. Anybody help?

2 comments

0

There probably is a problem with your script.. Please post it in your question.

0

I don't think so, I'll go check over my script.

1 answer

Scripting for awhile, this problem does not happen on rare occasions. However, this problem is due to the fact of not being aware of [tiny] mistakes that would be inconsistent in the play mode.

Here are two things you should try that might save you from this devastating event.

CHECKING IN-GAME - Errors can frequently be found not in the studio output but in the prompt in game. This can be accessed by pressing F9 in-game and there, observe several errors that aren't showing up in the studio output.

WRONG SCRIPT - Another problem can be caused by putting codes that aren't compatible with the type of script you're using. 'Localscripts','Scripts' to name a few, can differ.

And i assure you, at certain circumstances, this has nothing to do with miss spelled codes.

2 comments

0

I tried making it a localscript, It breaks the game in studio. I don't really seem to find a mistake. Let me try the f9. Also is it possible for you to codeshare, so you can check over the script?

0

I didn't find any traces of error both in studio and in ROBLOX client.

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