This script works but, I am not trying to do it individual. I am trying to get all the parts in a model and print the total mass of all together, not individual. I would appreciate the help!
local Parts = script.Parent:GetChildren()
local Table = {}
for i,Part in pairs(Parts) do
table.insert(Table,Part)
end
for i,Value in pairs(Table) do
if Value:IsA('Part') then
print(Value:GetMass())
end
end

6 comments
Is this mass a string? NumberValue? Is it custom? Or your trying to get Roblox part mass?
part mass.
Have a variable "mass" and then in the loop just add to it, then print the end value?
Can u type out the code so I can see what u mean?
Yeah can't you just add to it? Like, mass = 0 for i,v in pairs(tab) do mass = mass + getmass() end print(mass)
You have over 1300 reputation and don't know how to use a variable?