Animating a clientside model

Hey,
I have been working on a jetpack addon and i am using clientside models to attach it to the body correctly, however i cannot use Entity:ResetSequence() on the clientside model.

I think i am doing something wrong but im not sure.


if not IsValid(ply) or not ply:Alive() then print("Dead")return end

		for k, v in pairs(ply.Data) do
			
			local bone_id = ply:LookupBone( v[2] )
			if not bone_id then return end
			
			local pos, ang = ply:GetBonePosition(bone_id)
			
			v[10]:SetModelScale(v[3], 0)
			pos = pos + (ang:Right() * v[4]) + (ang:Up() * v[5]) + (ang:Forward() * v[6])
			
			ang:RotateAroundAxis( ang:Forward(), tonumber(v[7]) )
			ang:RotateAroundAxis( ang:Up(), tonumber(v[8]) )
			ang:RotateAroundAxis( ang:Right(), tonumber(v[9]) )
			
			v[10]:SetAngles(ang)
			v[10]:SetPos(pos)
			
			v[10]:SetRenderOrigin( pos )
			v[10]:SetRenderAngles( ang )
			v[10]:DrawModel()
			v[10]:SetupBones()
			v[10]:SetRenderOrigin( )
			v[10]:SetRenderAngles()
			
			
			
		end

Can i run it’s sequence inside that ?


(User was banned for this post ("Wrong section, try Developer Discussion next time" - Shendow))

You never used ResetSequence in that code? Also, it has an argument, the sequence ID.