How would I go on about making a square progress bar for Proximity Prompt?

I tried modifying a custom proximity prompt script to make it square, but it didn’t work so is there any way? I know you can also script a proximity prompt from , but want to make it possible with the normal Proximity Prompt or a custom design one, so I still have the TriggerStarted and TriggerEnded events.