Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. local userid_to_entindex = client.userid_to_entindex
  2. local get_player_name = entity.get_player_name
  3. local get_local_player = entity.get_local_player
  4. local is_enemy = entity.is_enemy
  5. local console_cmd = client.exec
  6. local ui_get = ui.get
  7. local trashtalk = ui.new_checkbox("MISC", "Miscellaneous", "Killsay")
  8.  
  9. local baimtable = {
  10. 'you got baimed by the best hvher',
  11. 'lol wtf? nn',
  12. 'oof',
  13. 'lol 1',
  14. 'Is this mm or hvh?',
  15. 'You got tapped bitch',
  16. 'Poof, youre dead',
  17. 'Owned Bitch',
  18. 'Maybe you should refund...',
  19. 'L',
  20. 'gtfo',
  21. 'sit dog',
  22. 'nice try, maybe next time',
  23. 'u mad',
  24. 'u really mad',
  25. 'raging in 2k18?',
  26. 'pu$$y pwnd',
  27. 'nice body',
  28. '1 on my screen',
  29. 'Get Good. Get Gamesense',
  30. }
  31.  
  32. local hstable = {
  33. 'THATS A BIG 1 TAP',
  34. 'Missed shot to spread? nah just a shit hek',
  35. '1',
  36. '1 Tapped Pu$$y',
  37. 'pTap',
  38. 'How many 1taps am I gonna get?',
  39. '1 on my screen',
  40. 'XD',
  41. 'Juan',
  42. 'KQLY',
  43. 'am i playing against legits?',
  44. 'You buy that cheat from reis?',
  45. 'NIGGER GOT TAPPED',
  46. 'u using a paste?',
  47. 'OWNED BITCH',
  48. 'CUNT GOT DESTROYED',
  49. 'ENRAGED DOG',
  50. 'HAHAHAHA',
  51. }
  52. local deathtable = {
  53. 'Trying is for niggers',
  54. 'Nice 1 way queer',
  55. 'tryharding cunt',
  56. '1way is the only way for this nigger',
  57. 'My aa was off',
  58. 'my keyboard was unplugged',
  59. 'my cat jumped on my keyboard',
  60. 'I forgot to turn aimbot on',
  61. 'sorry was fucking your mom',
  62. 'eat a dick'
  63. }
  64.  
  65.  
  66. local function get_table_length(data)
  67. if type(data) ~= 'table' then
  68. return 0
  69. end
  70. local count = 0
  71. for _ in pairs(data) do
  72. count = count + 1
  73. end
  74. return count
  75. end
  76.  
  77. local num_quotes_baim = get_table_length(baimtable)
  78. local num_quotes_hs = get_table_length(hstable)
  79. local num_quotes_death = get_table_length(deathtable)
  80.  
  81. local function on_player_death(e)
  82. if not ui_get(trashtalk) then
  83. return
  84. end
  85. local victim_userid, attacker_userid = e.userid, e.attacker
  86. if victim_userid == nil or attacker_userid == nil then
  87. return
  88. end
  89.  
  90. local victim_entindex = userid_to_entindex(victim_userid)
  91. local attacker_entindex = userid_to_entindex(attacker_userid)
  92. if attacker_entindex == get_local_player() and is_enemy(victim_entindex) then
  93. if e.headshot then
  94. local commandhs = 'say ' .. hstable[math.random(num_quotes_hs)]
  95. console_cmd(commandhs)
  96. else
  97. local commandbaim = 'say ' .. baimtable[math.random(num_quotes_baim)]
  98. console_cmd(commandbaim)
  99. end
  100. end
  101. if victim_entindex == get_local_player() and attacker_entindex ~= get_local_player() then
  102. console_cmd("say My aa was off")
  103. elseif victim_entindex == get_local_player() and attacker_entindex == get_local_player() then
  104. console_cmd("say EZ")
  105. end
  106. end
  107.  
  108. client.set_event_callback("player_death", on_player_death)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement