If you used code tags , the most important line wouldn’t get cut off
transform.position = Player.transform.position - (transform.rotation * offset
Kinda need the rest of that line, but that already looks a bit odd – subtracting rotation from position?