Power Bar

I’m looking to make a power bar that would bounce between 0 and 100 ~2-3 times a second. Then when you press space it would stop and save the value as and integer that I could use in my Rigidbody.addforce I have in a script. I’m assuming this could be accomplished using a some simple gui rectangles. I am completely lost as to where to start.

Any help would be appreciated.

Use the Search, Luke! :slight_smile: