Question [Q] PLEASE PLEASE PLEASE help with galaxy s4 bootloop

Hi everyone please help me with my problem i have a Galax s4 and I just wanted to ask you people if everything that you change e.g. the system files while your phone was rooted change automatically after you unroot your phone or do you have to set them your self to default??
Please answer quickly as i need to do something about my phone soon or i will be in big trouble

the phone is rooted and with super user installed and is factory reset ???

Also i am new to xda and dont really know how to use it so if there any problems I apologise