while true do wait(0.5) for i, v in pairs(game.Workspace:GetDescendants()) do if v:IsA("ClickDetector") then fireclickdetector(v) end end end