It’s every night and its because I do have a history of staying up
Okay, so you might not like this idea but here's what the deal probably is: You lost the privilege of using your devices at night because you abused those privileges too many times. Chances are the only way for you to get those privileges back is to show your parents that you can be responsible by going to
real sleep (Not faking it :P) at a reasonable time, especially on school nights. If you show you can do that over enough time, then they might give you your devices back.
The work is not over then, though. Once you get them back, you have to show that you can use them responsibly at night, go to sleep at a normal time and NOT just go right back to the way you were doing things. Maybe it sucks to have some of your time cut off at night, but that is better than having ALL of your device time cut off, ya?
Besides, if you stay up late using the internet, and have to go to school the next day, isn't it worse to have to do so when being dead tired? I made the mistake of doing that through my schooling, and I suffered worse because of it.