-- ScriptsCodes | Roblox Studio Luau utility -- Run: Open your own place in Roblox Studio, choose View > Command Bar, paste this file, and press Enter. -- Output: Results appear in the Studio Output window. Edit the sample values before running. -- Fishing Session Log: count catches by recorded name local catches = { "Bluefin", "Reed Carp", "Bluefin", "Moon Perch", "Bluefin" } local totals = {} for _, fish in ipairs(catches) do totals[fish] = (totals[fish] or 0) + 1 end for fish, count in pairs(totals) do print(fish, count) end