while true do
local p = game.Players:GetChildren()
for i = 1,#p do
if p[i].Character~=nil then
if p[i].Character:findFirstChild("Torso")~=nil then
if (p[i].Character.Torso.Position - script.Parent.Torso.Position).magnitude < 5 then
script.Parent.Human:LoadAnimation(script.Parent.Slash):Play()
end
end
end
end
wait(1)
end
COMMUNITY QUESTION
Mob attacking animation wont work help me?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
where is the script, and what is "Human"?
Human = Mob or humanoid