Using a sphere as a character

Hi everyone I’m new here. I building that uses a sphere as the character.I’ve used the preset scripts but they don’t seem to work ,what or how do I write script that works, I need the ball to jump and roll.

for anybody who might want to help the game is going to be a 2d/3d sidescoller

You would probably give your sphere a rigidbody and add forces in the direction the user wants to move. Either in the x, y, or z direction. Look into the physics class to learn how to add forces to a rigidbody.