function module.alreadPlayingAnim(F,C,R)local I=R.stop or nil local S=R.speed or nil local y=R.resume or nil local v=R.tim or nil local q=C:GetPlayingAnimationTracks()for C,R in pairs(q)do if I~=nil then if R.Name==F then R:Stop()end end if S~=nil then if R.Name==F then R:AdjustSpeed(S)if y~=nil then task.delay(v or 1,function()R:AdjustSpeed(1)end)end end end end end
-- stops specific anim
function module.alreadPlayingAnim(name, hum, data)
	local stop = data.stop or nil
	local speed = data.speed or nil
	local resume = data.resume or nil
	local tim = data.tim or nil

	local AnimationTracks = hum:GetPlayingAnimationTracks()

	for i, track in pairs(AnimationTracks) do
		if stop ~= nil then
			if track.Name == name then
				track:Stop()
			end
		end
		if speed ~= nil then
			if track.Name == name then
				track:AdjustSpeed(speed)

				-- continue?
				if resume ~= nil then
					task.delay(tim or 1, function()
						track:AdjustSpeed(1)
					end)
				end

				-- delay?
			end
		end
	end
end
