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

why isnt my animation working? it doesnt load when i want it to

Asked by
worklok -24
6 years ago
Edited 6 years ago

my animation doesn't seem to load.

my game is filteringdisabled

sp is just script.Parent(sp=script.Parent)


anim2 = sp.Parent.Humanoid:LoadAnimation(sp.FireAni) if anim2 then anim2:Play() anim2:AdjustSpeed(5) end local startpos=he.Position local fakestartpos=(sp.Handle.CFrame*CFrame.new(barreloffset)).p local vec=(themouse.Hit.p-startpos).unit + (Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000)) / (1500*50))

1 answer

Log in to vote
0
Answered by 6 years ago

script.Parent.Humanoid:LoadAnimation() not script.Parent.Parent.Humanoid:LoadAnimation()

0
are u sure?because its just a localscript(with some other stuff) inside a tool worklok -24 — 6y
Ad

Answer this question