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

Do scripts not run inside the soundservice?

Asked by 5 years ago

Basically, I have this script that manages when the sound will repeat, but it doesn't run. I placed it inside a sound object for convenience sake (Easier to locate it), and the sound object is placed inside the soundservice. Is there a way for it to run, or should I just regulate it inside the serverscriptservice or something?

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

Scripts don't run unless they are in Workspace or ServerScriptService. (at least for server scripts)

You could put a ModuleScript in SoundService though and require() it to allow scripts to be run from practically anywhere, though.

0
how interesting :o I'll give it a shot, thanks :D Chronomance 0 — 5y
Ad

Answer this question