Maybe put a wait() in the beginning? Because sometimes a script always needs a wait. I know It helped with mine. Though I'm not guaranteed it will work with yours.
It's worth a shot though.
0
At the beginning? Because it's an event when the TextButton is clicked, so I don't think it would need one.systematicaddict295— 10y
0
Try when the camera is about to be loaded to "Attach".DesignerDavid0— 10y