Skateboard You can get off

I want to have the ability to get on and off a skateboard in my game and have it act like a skateboard

@Chase Does

You need to parent the rider to the skateboard when the rider is on it. And un-parent the rider from the skateboard when the rider gets off. For example

GameObject skateboardRider;
GameObject skateboard;

// skateboardRider gets on skateboard 
skateboardRider.transform.SetParent(skateboard.transform, false);

// skateboardRider gets off skateboard 
skateboardRider.transform.parent = null;