The form is blocking my script to work properly, how can I fix this?