State senator threatens school funding