It works saying hello from the print but no sound? i have it located directly to the sound but its not playing?

SCRIPT: local firesound = game.StarterPack.Gun.Handle.FireSound

game.ReplicatedStorage.SoundEvent.OnServerEvent:Connect(function(Player)

firesound:Play() Print("HEllO") end)

LOCAL SCRIPT: script.Parent.Activated:Connect(function() game.ReplicatedStorage.SoundEvent:FireServer() end

3 comments

0

do you want all the players to hear it play or just a single player?

0

Why do you need a Event for a single sound? you can rather make it happen casually or put it in anotehr event you already made if thats the problem.

0

game.ReplicatedStorage:WaitForChild("SoundEvent").OnServerEvent:Connect(function(Player) <- try this