local times = math.random(5, 5)
while true do
wait(times)
game.SoundService.Announcement:Play()
wait(times)
end
The sound doesn’t play for some reason, and I’m not for sure why. I checked the properties, and it was fine.
local times = math.random(5, 5)
while true do
wait(times)
game.SoundService.Announcement:Play()
wait(times)
end
The sound doesn’t play for some reason, and I’m not for sure why. I checked the properties, and it was fine.
Not sure how you want to organize your game - but it probably makes more sense to have sounds parent to where you want them playing from. If you want to keep sounds inside of SoundService you may look into :PlayLocalSound().
It works if you take it out of soundservice.
Also if you’re looking to organize, make a sounds folder in workspace.
Try parenting the Sound to the workspace
instead if you want it to play globally
Not sure if this is correct, but Sounds inside the SoundService
can be only accessible via the client
Oh ok thanks everyone. I thought you could access the soundservice in the server.