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

Should I play sounds locally or server-side?

Asked by
trecept 367 Moderation Voter
5 years ago

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

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

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!

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? trecept 367 — 5y
0
Whichever replicates to all the clients. hiimgoodpack 2009 — 5y
Ad

Answer this question