Advertisement
-ascriptprovider-

Fake A Join

Aug 18th, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  2. local plr = game.Players.LocalPlayer
  3.  
  4.  
  5.  
  6. plr.Chatted:Connect(function(msg)
  7. local s = msg:split(' ')
  8.  
  9. if s[1]:lower() == ':chat' and s[2] and s[3] then
  10. local message = ''
  11. local player = s[2]
  12. for i = 3, #s do
  13. message = message .. s[i] .. ' '
  14. end
  15. wait(0.1)
  16. Event:FireServer('aaaa'..(" "):rep(147)..("[%s]: %s"):format(player, message), 'All')
  17. elseif s[1]:lower() == ':joingame' and s[2] then
  18. local name = s[2]
  19. wait(0.1)
  20. Event:FireServer('poop'..(" "):rep(146)..('Your friend %s joined the game.'):format(name), 'All')
  21. end
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement