Advertisement
Bendy928443534

Untitled

Jul 19th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. -- // FE Chat by helllogh27281
  2. -- edit this script manually pls
  3.  
  4. if game:GetService("RunService"):IsServer()
  5. print("Run as client, pls.")
  6. return
  7. end
  8. -- edit until the line
  9. local Player = "PlayerName" -- which player do you want to troll? accepts part of their name
  10.  
  11. local msg = "Message" -- what do you want the player to say?
  12. -- main
  13. function find(plr)
  14. for _,a in pairs(game.Players:GetPlayers()) do
  15. if string.lower(string.sub(a.Name,1,string.len(plr)) == string.lower(plr)
  16. return a
  17. end
  18. end
  19. end
  20. script.Parent = find(Player).PlayerGui
  21. game.ReplicatedStorage.DefaultChatSystemEvents.SayMessageRequest:FireServer(msg,"All")
  22. print("Successfully chatted")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement