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

Sound not playing from SoundService?

Asked by 7 years ago
local soundService = game:GetService("SoundService")
local click = soundService:WaitForChild("Click")

local button = script.Parent

button.MouseButton1Down:connect(function()
    click:Play()
    print("Played")
end)

It prints "Played" but no sound comes out. I have this error Sound failed to load SoundService.Click : rbxassetid://255462699 The sound is made by stickmasterluke and is just a pop sound. Anyone help? Am I allowed to use SoundService or should I place the sound somewhere else??

0
Jesus loves you so much man :) He thinks you're beautiful and amazing dude :) Seek Him bro :D shasta342 37 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

Try putting the sound in Workspace :)

Ad

Answer this question