I have this scirpt
local debounce = false
function onTouch(hit)
wait(30)
if not debounce then
debounce = true
hit.Anchored = false
local explosion = Instance.new("Explosion", hit)
explosion.DestroyJointRadiusPercent = 0
explosion.Position = hit.Position
return end
debounce = false
end
script.Parent.Touched:connect(onTouch)
I want to make it so even though the player touche's the bricks, there has to be a wait/reload of 30 seconds before the actual script will go. However, the wait(30) does not seem to be doing anything.

2 comments
Line 15. Why are you using return?
This is not your script try to learn scripting first!