Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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

1 comment

0

are u sure?because its just a localscript(with some other stuff) inside a tool

This discussion is preserved as it was. New answers, comments, and votes are closed.