Controlling parent by Inputs


I need a way to controll the parent of my playerObject by simple Input contolls. I tryed much but I couldn’t figure it out up to now. It listens such easy but it isn’t.
Except I can’t simply use the transform functions, because that causes problems with other scripts.

I hope that there is someone who can help me.