How to make ping pong accelerate

I am using mathf ping pong but I want to make the speed accelerate< does anyone know how I could do this?

Wrong forum for that question. And you’re posting the same question in multiple areas. This is a question for just plain old scripting. Not Testing, not Visual Scripting.

The Mathf.PingPong formula has nothing to do with speed. It’s up to you to increment or decrement the t parameter at whatever speed you want. Whenever you want it to go faster, add more to the t parameter each cycle.