If you are calling it from a local script in the player that won't work.
You need to have a remote event and put it in replicated storage, call it 'Play_Music'
--- client
game.ReplicatedStorage.Play_Music:FireServer()
-- server
function play()
game.Workspace.Music:Play()
end
game.ReplicatedStorage.Play_Music.OnServerEvent:connect(play)
Server script may be dodgy, I didn't test it but yea
|