Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local KillList = {
- NiggerList = {
- DoubleKill = "1doublekill.wav";
- TripleKill = "2triplekill.wav";
- OverKill = "3overkill.wav";
- killtacular = "4killtacular.wav";
- killtrocity = "5killtrocity.wav";
- killimanjaro = "6killimanjaro.wav";
- killtastrophe = "7killtastrophe.wav";
- killpocalypse = "8killpocalypse.wav";
- killionaire = "9killionaire.wav";
- runningriot = "10runningriot.wav"
- };
- };
- local kills = 0
- local function KillCount(event)
- if event:GetName() == "round_start" then
- kills = 0
- end
- local local_player = client.GetLocalPlayerIndex( );
- local INDEX_Attacker = client.GetPlayerIndexByUserID( event:GetInt( 'attacker' ) );
- if event:GetName( ) == "player_death" then
- if INDEX_Attacker == local_player then
- kills = kills + 1
- end
- end
- end
- function PlaySound(abc)
- client.Command("playvol "..abc.." 1",true);
- end
- function Noob()
- local GetKillList = KillList.NiggerList
- if kills == 2 then
- PlaySound(GetKillList.DoubleKill);
- end
- if kills == 3 then
- PlaySound(GetKillList.TripleKill);
- end
- if kills == 4 then
- PlaySound(GetKillList.OverKill)
- end
- if kills == 5 then
- PlaySound(GetKillList.killtacular)
- end
- if kills == 6 then
- PlaySound(GetKillList.killtrocity)
- end
- if kills == 7 then
- PlaySound(GetKillList.killimanjaro)
- end
- if kills == 8 then
- PlaySound(GetKillList.killtastrophe)
- end
- if kills == 9 then
- PlaySound(GetKillList.killpocalypse)
- end
- if kills == 10 then
- PlaySound(GetKillList.killionaire)
- end
- if kills == 11 then
- PlaySound(GetKillList.runningriot)
- end
- end
- client.AllowListener( "player_death" );
- client.AllowListener( 'player_hurt' );
- client.AllowListener( "client_disconnect" );
- client.AllowListener( "begin_new_match" );
- callbacks.Register( "FireGameEvent", "KillCount", KillCount);
- callbacks.Register( "Draw", "Noob", Noob);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement