local RanTimes = 0 local Connection = game:GetService("RunService").Heartbeat:Connect(function() RanTimes += 1 end) repeat task.wait() until RanTimes >= 2 Connection:Disconnect() --[[ Right before obfuscating, paste this code above/before your source code, and your script will not be able to be env logged ]]