Scripts systems not working

so i have created a topic on this before but i could not find the solution

whenever i script my UI’s or anything my script never puts the automatic end system
i have to type it manually and it used to help me out a lot because i dont know where to put the ends i tried
and my Auto intend rule is also not working even tho its set to absolute, my script color also changed even tho never even touched the color settings in the script editor settings area
i tried everything, i pressed reset all settings, i tried to reopen studio and i tried it after reinstalling studio but its not working