Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Mob attacking animation wont work help me?

Asked by 5 years ago
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
0
where is the script, and what is "Human"? darkzerobits 92 — 5y
0
Human = Mob or humanoid dark_nineret -25 — 5y

Answer this question