The file downloaded is a .lua file (text file). Make sure to open the file in any word document, notes app, etc and then copy/paste the script into Roblox Studio in a script/localscript.
Hold to equip script from our tutorials on Youtube and TikTok! Feel free to customize it to however you would like. Have fun creating!