I was making some sound blocks that play audios when you click them, but I don’t know how to make a cooldown for it? I was wondering if I can get help with this. Thanks!
try doing this
local cooldown = 10 local cd = false script.Parent.MouseButton1Click:Connect(function() if cd = false then cd = true --Your play sound script here wait(cooldown) cd = false end end)