assuming your image is here based on your code as you're using the old system
Quote: "scriptbank\\images\\death_timer\\000.png"
if not then update the script to point to the correct location
so the script should look like this (converted to the sprite system)
local respawn_delay = 10000
local frozen = 0
function death_timer_init(e)
img = CreateSprite(LoadImage("scriptbank\\images\\death_timer\\000.png"))
SetSpritePosition(img,200,200)
end
function death_timer_main(e)
if g_PlayerHealth > 1 then
StartTimer(e)
elseif GetTimer(e) < respawn_delay then
if frozen == 0 then
FreezePlayer()
FreezeAI()
HideHuds()
frozen = 1
end
PasteSpritePosition(img,0,0) --can move the sprite around here
TextCenterOnX(50,45,4,"Öldün Polat Alemdar... INANILMAZ...")
TextCenterOnX(50,49,4,round((respawn_delay-GetTimer(e))/1000))
else
frozen = 0
UnFreezePlayer()
UnFreezeAI()
ShowHuds()
Destroy(e)
end
end
function death_timer_exit(e)
end
function round(num, idp)
local mult = 10^(idp or 0)
return math.floor(num * mult + 0.5) / mult
end