It’s referring to the stamina entry in line 56, located in this function:
function updatestats()
local hp = math.clamp(hum.Health / hum.MaxHealth, 0, 1)
local stm = math.clamp(charvalues:GetAttribute("STM") / 100, 0,1)
local hgr = math.clamp(charvalues:GetAttribute("HGR") / 100, 0,1)
pstats.HealthBar.HealthAmount.Size = UDim2.fromScale(hp, 1)
pstats.StaminaBar.StaminaAmount.Size = UDim2.fromScale(stm, 1)
pstats.HungerBar.HungerAmount.Size = UDim2.fromScale(hgr, 1)
end
Only they get this error though, not me. However, it could vary for other players. I don’t really know how I’d fix it, considering it should work as is.