Simulating charge-discharge of a capacitor in TINKERCAD
Your scope connection is wrong. If you want to see the voltage of the cap, you need to connect the scope to both terminals of the cap.
Also note that you shorted the cap on the board (vertical holes are connected).