my shower keeps turning off and off after spamming it with 10 clicks
You would add a debounce so that there was a cooldown between clicks:
local debounce = true local cooldown = 5 --change to seconds between clicks script.Parent.ClickDetector.MouseClick:Connect(function() if debounce then debounce = false --do shower script wait(cooldown) debounce = true end end)