local RS = game:GetService("ReplicatedStorage") local daily = RS:WaitForChild("Remotes"):WaitForChild("daily") local RunService = game:GetService("RunService") local isRunning = true local autoEvent autoEvent = RunService.Heartbeat:Connect(function() if isRunning then pcall(function() daily:FireServer(5000) end) end end)