Hi there. Currently I'm trying to make a GUI where a person on a team (Police) clicks a button and it plays a sound for people in-range. Here is my code:

game.ReplicatedStorage.Sounds.DriverStop.OnServerEvent:connect(function(player, music)
    music:Play()
end)

Currently it's not doing anything. I have put a few pictures showing what it looks like in Studio. https://imgur.com/a/wvXHNDA -- Explorer Menu

https://imgur.com/a/cjKPfOM -- Gui

https://imgur.com/a/d5fYA8R -- Sound Properties

Here is the sound ID: https://www.roblox.com/library/291690874/driver-stop-your-vehicle

What am I doing wrong?

1 comment

0

local script?