getgenv().AutoFinish = true -- Set to false to stop local rs = game:GetService("ReplicatedStorage") task.spawn(function() while getgenv().AutoFinish do pcall(function() rs.Shared.Remotes.RecordFinished:FireServer() end) task.wait() end end)