Wondering How To Change Properties In Lua And How To Edit Buttons

Hello Developers!
I’m doing the Build It, Play It Roblox animation challenge. I want to edit the “click to interact” button. I’m wondering how to do this. I want to make it so when the button is pressed, the WalkAnimationID value is set to my animation code. I also want to make it so when the home button is pressed, the value it set to " " (nothing). So how would I do that using Lua? I’m very new to scripting. Would it be possible to edit the button script that Roblox made and change the value (In Propertiess) of a different object at the same time using script? Thank you in advance!

Happy Building!
~ Blox