Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Works in Test AND in Server, but not in actual game?

Asked by 9 years ago

I know I know, I'm not supposed to post a "how to" question, however I'm really confused. I'm making a horror game, and its very auditory. The audio parts work in test AND in a server (that I start in edit mode), however when I actually play the game from the website, the audio doesn't play.

This really confuses me because I thought starting a server in edit mode was treated the same way as playing the game from the website. Any reasons of what causes this and how to fix it?

0
Check the F9 console. try to match any of them with ones on this link: http://wiki.roblox.com/index.php/Lua_errors. If you didn't find any, ask or update a question. HungryJaffer 1246 — 9y

1 answer

Log in to vote
0
Answered by
Validark 1580 Snack Break Moderation Voter
9 years ago

Playing in Edit mode is not the same thing as playing on a server. When you play on edit mode, both localscripts and regular Scripts are run on the client. You are running into a problem because you are doing something you should be doing in a different kind of script.

Ad

Answer this question