I recommend you debugging the script, It wasn’t made to be ran functionally as I didn’t test it, if it has no errors I’d add prints in parts then see what runs and what doesn’t, if it errors research the error or fix it if you know what the error is.
sorry to bump, but i wouldn’t bother trying at this point. he wont send errors or anything to help debug his problems.
This is one way of doing it. You could have the same script that is putting the clothing back on do this from the beginning and just hold the IDs in variables …
But RetroAmythest needs to code this out. You can’t ask questions every step of the way. Every programmer ever learn with research and practice. You may fail 1000 times … totally part of the learning process. Good luck.