Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

I really need help, can i play a sound with a RemoteEvent?

Asked by 5 years ago

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

0
do you want all the players to hear it play or just a single player? User#23252 26 — 5y
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. Adenandpuppy 87 — 5y
0
game.ReplicatedStorage:WaitForChild("SoundEvent").OnServerEvent:Connect(function(Player) <- try this Fad99 286 — 5y

Answer this question