Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("HUDPaint", "dt", function()
- if !LocalPlayer():Alive() then
- LocalPlayer().DeathTime = CurTime()
- if LocalPlayer().DeathTime and ( CurTime() - LocalPlayer().DeathTime ) < 30 then
- local timeleft = 30 - ( CurTime() - LocalPlayer().DeathTime )
- draw.SimpleText( timeleft .. " seconds left", "ScoreboardText", ScrW()/2, ScrH()/2 - 25, Color(255, 0, 0, 255))
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement