Public feed
#529150
// HUDPaint function ContraptionSaver.HUDPaint() if (ContraptionSaver.Downloading and ContraptionSaver.Downloading.Percentage) then surface.SetFont("Default") local Text = "Downloading: "..ContraptionSaver.Downloading.Percentage.."%" local W, H = surface.GetTextSize(Text) W = W + 16 local X = (ScrW() / 2) - (W / 2) local Y = (ScrH() / 2) + 64 draw.RoundedBox(4, X, Y, W, 32, Color(0, 0, 0, 100)) draw.SimpleText(Text, "Default", X + (W / 2), Y + 16, Color(255, 255, 255, 255), 1, 1) end end hook.Add("HUDPaint", "ContraptionSaver.HUDPaint", ContraptionSaver.HUDPaint)