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

Should I play sounds locally or server-side?

I've never tested with adding music to my games, and now that I want to I have a few questions. Is it best to play sounds locally or on the server (I just want normal music everyone can hear so I assume server?) and do I just place the sound in the Workspace or is there a special place sounds can go into to be stored? Thanks!

1 answer

✓ Accepted answer

You can play sounds by local or server script, whichever is more convenient (see this).

If you don't like this feature (and you probably wouldn't!), you can disable this feature by turning RespectFilteringEnabled off. Remember, when you turn RespectFilteringEnabled on, you must turn FilteringEnabled on for sounds to not replicate their Playing property.

Hope this helps!

2 comments

0

Thanks! Where do I put sounds (In workspace or?) and will I be able to put a script in serverscriptservice to play the sound for all players?

0

Whichever replicates to all the clients.

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