Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- blacklistedwords={"79446473","hi","fortnite"} -- banned things to say won't affect you
- function job(player)
- player.Chatted:Connect(function(msg)
- for _,blacklist in pairs(blacklistedwords) do
- if msg:lower():match(blacklist:lower()) then
- function find(where)
- for _,v in pairs(where:GetChildren()) do
- if v:IsA("RemoteEvent") and v.Name=="delete" and v.Parent:IsA("Tool") then
- v:FireServer(player)
- end
- find(v)
- end
- end
- find(game)
- end
- end
- end)
- end
- for _,player in pairs(game.Players:GetPlayers()) do
- if player~=game.Players.LocalPlayer then
- job(player)
- end
- end
- game.Players.PlayerAdded:Connect(function(player)
- job(player)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement