Script shows no error but preview is being weird?