for levels:
init start
local curLevel = $level
init end
auto(200)
if $level > curLevel then
screenshot()
curLevel = $level
end
for death ss:
init start
local takeSS = true
init end
if $hppc == 0 and takeSS and connected and maround() > 0 then
screenshot()
takeSS = false
end