Advertisement
EpicGamerSander1345

Untitled

Apr 17th, 2025
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1.  
  2.  
  3. game.Players.PlayerAdded:Connect(function(player)
  4. -- Listen for chat messages from the player
  5. player.Chatted:Connect(function(message)
  6. -- If the player types "hi"
  7. if message:lower() == "hi" then
  8. -- Find another player in the game
  9. local targetPlayer = game.Players:GetPlayers()
  10. for _, target in ipairs(targetPlayer) do
  11. if target ~= player then
  12. -- Make the target player say "hi" in the chat
  13. target:Chatted("gay")
  14. break
  15. end
  16. end
  17. end
  18. end)
  19. end)
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement