local rs = game:GetService('RunService') local cc = require(game:GetService('ReplicatedStorage').Modules.CollectController) local lt = tick() local conn = rs.Heartbeat:Connect(function() if tick() - lt >= 0.01 then cc:Collect() lt = tick() end end)