Replace walking sounds?

Simply how can I set the player to have different footsteps in lua?

There is an example on the wiki, here it is.

Thanks loads. I couldn’t find that damn article.
Although, how can I fit this into my fretta gamemode?

The same way it shows on the wiki.