I have no idea why it does this

https://gyazo.com/3b24178f29bb7f369bf8262e3be055d9

it works fine with a dummy, exact same script

https://gyazo.com/c7590b6174a8e077534feb7eaf489298

here is the script

https://gyazo.com/088a90e3ecbba0d9df663693058251b8

i think there is a problem with the model, maybe it doesn't realize the size of the model? Does anyone know how to fix this?