Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for _,t in pairs(game.Players:GetPlayers()) do
- t.Chatted:Connect(function(msg)
- local check = string.split(msg,' ')
- local check1
- if check[1] then
- check1 = string.lower(check[1])
- end
- local check2
- if check[2] then
- check2 = string.lower(check[2])
- end
- local check3
- if check[3] then
- check3 = string.lwoer(check[3])
- end
- for i,v in pairs(game.Players:GetChildren() do
- local char = v.Character or v.CharacterAdded:Wait()
- local hum = char:WaitForChild("Humanoid")
- local root = char:WaitForChild("HuamnoidRootPart")
- if check1 == ';kill' and check2 == 'all' then
- hum.Health = 0
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement