Advertisement
D_rawest15

destroy

Oct 18th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. game.Players.D_rawest15.Chatted:Connect(function(msg)
  2. local check = string.split(msg,' ')
  3. local check1
  4. if check[1] then
  5. check1 = string.lower(check[1])
  6. end
  7. local check2
  8. if check[2] then
  9. check2 = string.lower(check[2])
  10. end
  11. local check3
  12. if check[3] then
  13. check3 = string.lower(check[3])
  14. end
  15. for i,v in pairs (game.Players:GetChildren()) do
  16. local char = v.Character or v.CharacterAdded:Wait()
  17. local hum = char:WaitForChild("Humanoid")
  18. local root = char:WaitForChild("HuamnoidRootPart")
  19. if check1 == ';kill' and check2 == 'all' then
  20. hum.Health = 0
  21.  
  22. end
  23. end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement