Advanced Glass Material WIP

Same here, the editor crashes, the code I’m trying to paste is this one:

I paste it into a translucent material, (add new > material > then I make it translucent) and it crashes during the paste.