This won't help, the reason that the "script" remains, is that your binds (and some settings) are saved in config.cfg even after you close TF2. It's generally not a good idea to manually edit that file, so the recourse is to manually rebind the keys, either through the options menu, the console, or through one of the user cfg files.
1
u/CAPSLOCK_USERNAME Valued contributor Jun 09 '14
Go to the options menu and rebind the 1-5 keys to their normal settings.
1
u/MattEZQ Jun 09 '14
disable steam cloud sync