Anyone know the script for spacebar jumping

You guys know the script for spacebar jumping?
It has a rigid body and colliders and its 2d
Thanks in advance

There is no single “spacebar jumping” script. It depends on how your game is set up. Is the character using a CharacterController? Rigidbody physics? Something else? Do they have colliders? Does the ground have a collider? When should they be able to jump? What kind of curve should the jump follow? Is it 2D? 3D?

There is no one-size fits all. Can you be a bit more specific about what you’re asking?

Its 2d it has colliders and rigidbody.