Are soundID's ratelimited?

local Button = assert(GetPort(3),"Port appears to be missing.")
local Open = assert(GetPartFromPort(2, "Polysilicon"),"Polysilicon2 appears to be missing.")
local Close = assert(GetPartFromPort(1, "Polysilicon"),"Polysilicon1 appears to be missing.")
local Door = assert(GetPartFromPort(4, "Polysilicon"),"Polysilicon3 appears to be missing.")
local Speaker = assert(GetPart("Speaker"),"Speaker appears to be missing.")
if Speaker then 
print("speakerworks")
end
function OpenDoor()
	Open:Trigger()
	Door:Trigger()
end
task.wait(.1)
Door:Trigger()
Button.Triggered:Connect(function()
	Speaker:LoadSound("rbxassetid://109781246467797")
	Speaker:PlaySound("rbxassetid://109781246467797")
	OpenDoor()
	print("wait")
	task.wait(3)
	Speaker:LoadSound("rbxassetid://171412771")
	Speaker:PlaySound("rbxassetid://171412771")
	OpenDoor()
end)

I can play both audios just fine on activating the button multiple times, but if i press it too many times the audios suddenly break?

1 Like

The audios don’t “break”. They have some sort of cooldown which if you keep using :Play() on it, it will not play.