local check_time = 2000 --2s between checks local base_score_per_kill = 100 --points for 1 kill local bonus_modifier = 0 --adjusts the multiplier (negative = less bonus) g_score = 0 killed_count = 0 local old_kill_count = 0 local diff = 0 score_counter = 0 function combo_kill_score_init(e) score_counter = e end function combo_kill_score_main(e) if killed_count > old_kill_count then if GetTimer(e) < check_time then diff = killed_count - old_kill_count --adjusts the multiplier up more for each quick kill if diff > 1 then diff = diff*(diff+bonus_modifier) end else old_kill_count = killed_count g_score = g_score+(base_score_per_kill*diff) diff = 0 end end Panel(0,0,10,5) TextCenterOnX(5,3,3,"Score = "..g_score) if diff > 0 then PromptDuration(diff.." x multiplier!",2000) end end