Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local userid_to_entindex = client.userid_to_entindex
- local get_player_name = entity.get_player_name
- local get_local_player = entity.get_local_player
- local is_enemy = entity.is_enemy
- local console_cmd = client.exec
- local ui_get = ui.get
- local trashtalk = ui.new_checkbox("MISC", "Miscellaneous", "Killsay")
- local baimtable = {
- 'you got baimed by the best hvher',
- 'lol wtf? nn',
- 'oof',
- 'lol 1',
- 'Is this mm or hvh?',
- 'You got tapped bitch',
- 'Poof, youre dead',
- 'Owned Bitch',
- 'Maybe you should refund...',
- 'L',
- 'gtfo',
- 'sit dog',
- 'nice try, maybe next time',
- 'u mad',
- 'u really mad',
- 'raging in 2k18?',
- 'pu$$y pwnd',
- 'nice body',
- '1 on my screen',
- 'Get Good. Get Gamesense',
- }
- local hstable = {
- 'THATS A BIG 1 TAP',
- 'Missed shot to spread? nah just a shit hek',
- '1',
- '1 Tapped Pu$$y',
- 'pTap',
- 'How many 1taps am I gonna get?',
- '1 on my screen',
- 'XD',
- 'Juan',
- 'KQLY',
- 'am i playing against legits?',
- 'You buy that cheat from reis?',
- 'NIGGER GOT TAPPED',
- 'u using a paste?',
- 'OWNED BITCH',
- 'CUNT GOT DESTROYED',
- 'ENRAGED DOG',
- 'HAHAHAHA',
- }
- local deathtable = {
- 'Trying is for niggers',
- 'Nice 1 way queer',
- 'tryharding cunt',
- '1way is the only way for this nigger',
- 'My aa was off',
- 'my keyboard was unplugged',
- 'my cat jumped on my keyboard',
- 'I forgot to turn aimbot on',
- 'sorry was fucking your mom',
- 'eat a dick'
- }
- local function get_table_length(data)
- if type(data) ~= 'table' then
- return 0
- end
- local count = 0
- for _ in pairs(data) do
- count = count + 1
- end
- return count
- end
- local num_quotes_baim = get_table_length(baimtable)
- local num_quotes_hs = get_table_length(hstable)
- local num_quotes_death = get_table_length(deathtable)
- local function on_player_death(e)
- if not ui_get(trashtalk) then
- return
- end
- local victim_userid, attacker_userid = e.userid, e.attacker
- if victim_userid == nil or attacker_userid == nil then
- return
- end
- local victim_entindex = userid_to_entindex(victim_userid)
- local attacker_entindex = userid_to_entindex(attacker_userid)
- if attacker_entindex == get_local_player() and is_enemy(victim_entindex) then
- if e.headshot then
- local commandhs = 'say ' .. hstable[math.random(num_quotes_hs)]
- console_cmd(commandhs)
- else
- local commandbaim = 'say ' .. baimtable[math.random(num_quotes_baim)]
- console_cmd(commandbaim)
- end
- end
- if victim_entindex == get_local_player() and attacker_entindex ~= get_local_player() then
- console_cmd("say My aa was off")
- elseif victim_entindex == get_local_player() and attacker_entindex == get_local_player() then
- console_cmd("say EZ")
- end
- end
- client.set_event_callback("player_death", on_player_death)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement