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

How do i make a local music player?

i have gui which plays music but how do i make it so that only the the client who click "play" can hear it, i know how remote event works and it did work but i don't know if it only plays on the client

2 comments

0

if you put a sound on the client it only plays for that player

0

so if i put it in the player gui or starter gui it will only play on the player?

1 answer

✓ Accepted answer

First, you must make sure that the game is Filtering Enabled.If it’s not, the sound played on the client will always replicate to everyone else. Secondly, you do not need RemoteEvent or such things that communicate with the server; Guis are driven by the client itself, you wouldn’t need to use them

With that all set, you could connect the MouseButton1Click event to a function that plays the sound from a localscript and you’re all done! The music should play on the client now.

1 comment

0

thanks for the info :)

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