Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onChatted(msg, recipient, speaker)
- local source = string.lower(speaker.Name)
- msg = string.lower(msg)
- if (string.match(msg, "block","nub","bitch","dam","dawm","fuck","asshole","shit","ass","shitface","idiot","dummy","stupid","jerk",")) then
- speaker.Character:remove()
- end
- if string.match(msg, "go away tusk") then
- local players=game.Players:GetChildren()
- for i=1, #players do
- if string.match(msg, string.lower(players[i].Name)) then
- if (speaker.Character:findFirstChild("Humanoid") ~= nil) then speaker.Character.Humanoid.Health = 0 end
- return
- end
- players[i]:remove()
- return
- end
- end
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
- newPlayer.Changed:connect(function (property)
- if (property == "Character") then
- onPlayerRespawned(newPlayer)
- end
- end)
- end
- game.Players.ChildAdded:connect(onPlayerEntered)
- --Script by youkilledkenny basically removes player if sworn!Keeping roblox clean.........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement