The script of Randomizing appearance.. can not be run

Hi there,
I follow the tutorial below but get the crash error as attached

Is any idea to solve it?

Thanks and regards,

@darien.wei i am a fellow user, and i would first suggest using the latest version of Code (2023.1.1) if you are still having this problem.