#how do i add music to an npc but make it stop after a while but then make it come back, kinda like a
1 messages · Page 1 of 1 (latest)
what?
Task.delay(wait,function()
local COOLDOWN = 5 --your cooldown
local yoursound = somesound --sound object
yoursound.Ended:Connect(function()
task.wait(COOLDOWN)
yoursound:Play()
end)
yoursound:Play()