Trials ragdoll/bail effect

Hey everyone. I am currently working on a game similar to trials evolution. (Trials Evolution - WarLokk perfect "bail out" finish - YouTube)

I need help making it so you “unhook” from the bike when you press the F button. I have a ragdoll that’s childed to the bike, and his bottom is stuck to the seat (Made by checking kinematic on this hips). Can someone help me make it so it unchecks the kinematic, and un-child him from the bike? Thanks in advance

hallo. can try this
depend from your set in the play, but fro me work to un-parent player from lift

var bike : Transform;
var player : Transform;


player.transform.parent = null;

or bike.transform.parent = null;