vtrvsted

lua trash talk

Sep 18th, 2022
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. local words = {
  2.     'ur bad',
  3.     'seed',
  4.     'im not locking ur just bad',
  5.     'kid im not locking XDXDXDXD ur just bad',
  6.     'sad',
  7.     'sonned',
  8.     'how did u fail to get me',
  9. }
  10.  
  11. local player = game.Players.LocalPlayer
  12. local keybind = 'y'
  13.  
  14. local event = game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest
  15.  
  16. player:GetMouse().KeyDown:connect(function(key)
  17.     if key == keybind then
  18.         event:FireServer(words[math.random(#words)], "All")
  19.     end
  20. end)
Add Comment
Please, Sign In to add comment