I hate parents for didn't talk to kids

I'm a male 29 years. I school teacher in Odessa. And I'm feed off of kids disrespect and misbehaving. The thing is kids to cool for knowing their right however oblivious to their responsibilities. I ain't best teacher for sure I have a lotta ro lean myself but... Why I have take I time to teach kids a basic ethical norm. I just can't yell on them constantly. So If they starfted going wisout permission or get late to the class I asked them about lessons subject. The one thing I can punish them on. Coz I have a right to judge their knowledge and skills. Well sometimes somekids cone well prepared so I alowed them slag off. The thing is most of kids don't wanna work even a bit. They can ask for bathroom and go to play in a corridors. Take along that a lotta leason just missed due to school other activities or air alarms.