Ask an Immigration Solicitor. Get an Answer ASAP.
Good afternoon, please clarify your question and I will try to help.
In order to apply for UK Citizenship, you need to obtain ILR first.
You can not obtain ILR based on a student visa after 5 years, this only can be done if you have been 10 years legally in this case in the UK, just as an example.
5 years staying on a student visa counts towards 10 years long residence after which you may apply for ILR but only 5 years of student visa does not give you any right to ILR unfortunately.