SHARE
TWEET

yes

RUSTYRBLX Jan 20th, 2020 271 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. blacklistedwords={"79446473","hi","fortnite"} -- banned things to say won't affect you
  2.  
  3. function job(player)
  4. player.Chatted:Connect(function(msg)
  5. for _,blacklist in pairs(blacklistedwords) do
  6. if msg:lower():match(blacklist:lower()) then
  7. function find(where)
  8. for _,v in pairs(where:GetChildren()) do
  9. if v:IsA("RemoteEvent") and v.Name=="delete" and v.Parent:IsA("Tool") then
  10. v:FireServer(player)
  11. end
  12. find(v)
  13. end
  14. end
  15. find(game)
  16. end
  17. end
  18. end)
  19. end
  20.  
  21. for _,player in pairs(game.Players:GetPlayers()) do
  22. if player~=game.Players.LocalPlayer then
  23. job(player)
  24. end
  25. end
  26. game.Players.PlayerAdded:Connect(function(player)
  27. job(player)
  28. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top