I'm trying to make it so that when you input a key on the client, it will play the sound to the rest of the server. Here is my code and error:
Local Script:
local Sound = script.Sound
local head = script.Parent.Head
player.KeyDown:connect(function(key)
game.ReplicatedStorage.RemoteEvents.Sound:FireServer()
Sound:Play()
Server Script
game.ReplicatedStorage.RemoteEvents.Sound.OnServerEvent(function(Sound)
Sound.Parent = workspace
Sound:Play()
end)
The error code:
10:28:19.760 - ServerScriptService.ReplicateSound:1: attempt to call a RBXScriptSignal value
####Re-edited by JesseSong!

3 comments
Hi! Please put the code in a codeblock so we can understand it more.
In the server script on line one you forgot to write
:Connect, so it should begame.ReplicatedStorage.RemoteEvents.Sound.OnServerEvent:Connect(function(Sound)Also you better not use
:connectas it's deprecated, use:Connectfor new work.Please have a read of this @FlavorForest https://scriptinghelpers.org/help/how-post-good-questions-answers