Advertisement
BobMe

heccyhecc

Jan 16th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. function kill(plr)
  2. plr:BreakJoints()
  3. end
  4.  
  5. for i,players in pairs(game.Players:GetChildren()) do -- holy oof that is a thicc for loop
  6. players.Chatted:connect(function(msg)
  7. if msg:sub(1,6):lower() == "fkill " then
  8. for i,v in pairs(workspace:GetChildren()) do
  9. if v:FindFirstChild('Head') ~= nil and v.Name:lower():match(msg:sub(7):lower()) then
  10. kill(v)
  11. break
  12. end
  13. end
  14. end
  15. end)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement