The auditor of any county receiving a payment of money pursuant to this article shall immediately apportion the money by placing 50 percent to the credit of the road fund. The remaining 50 percent shall be divided between school and community college districts where the lands are located, with the division based on attendance. The portion attributable to school districts shall be placed to the credit of the county school service fund of the county. The portion attributable to community college districts shall be paid directly to the district.