How can I make a player sprint when they push forward on the walk button On Mobile?

How can I make a player sprint when they push forward on the walk button on Mobile?

You mean double tap W?
Or increase the player speed?

if they double press it / hold it use the userinputservice and a event which fires when the input is held. So you make a variable which checks for a double press and then make the event fire. I think the event is InputChanged or InputBegan

Still need help?

I meant to say on Mobile sorry

I want to make a mobile game and I want the player to sprint when they press forward on the walk button.

How can I do this?