Make a gameobject's child lerp its position and rotation back to its parent

for one, we’d need to see the code, to get a better understanding of what you may have wrong. Also use the Code: tab as stated in this post: Using code tags properly