I made a part so that when you click on it, a gui shows up with a play button, a stop button, and a textbox to put the text in. The sound is inside the part that you click. The gui is in PlayerGui. But whenever I play the song, it only plays for myself, and not any other players. How do I fix this
ClickDetector script
script.Parent.ClickDetector.MouseClick:Connect(function(player)
player:WaitForChild("PlayerGui").StudioFMusic.Frame.Visible = true
end)
Button that closes the gui
script.Parent.MouseButton1Click:Connect(function(player)
script.Parent.Parent.Visible = false
end)
Play Button.
script.Parent.MouseButton1Click:connect(function()
local text = script.Parent.Parent.TextBox.Text
local sound = game.Workspace.StudioFMusic.PlayableSound
sound.SoundId = 'rbxassetid://'..text
sound:Play()
end)
Stop Button
script.Parent.MouseButton1Click:connect(function()
local sound = game.Workspace.StudioFMusic.PlayableSound
sound:Stop()
end)
The stop button, and play button are local scripts, the rest are normal scripts.

3 comments
I tried turning that off, but it's still not playing for others.
So the other thing that I'd do is to "RespectFilteringEnabled" true and then just use a remoteEvent to play it.
I don't really have much experience with remoteevents. Can you explain how I can use it?