Guys, install RuneLite 32-bit, it shouldn't crash while attaching and scripts are working, I just tried.
Edit: RuneLite is crashing when attaching to more than one instance and when reopening RuneLite it also crashes while attaching, to fix that reinstall RuneLite 32 bit.