local RunService = game:GetService("RunService") local lagAmount = 1 RunService.Heartbeat:Connect(function() local start = tick() while tick() - start < lagAmount do end end)