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.
Food item giver script from our tutorials on Youtube and TikTok! Feel free to customize it to however you would like. Have fun creating!