Loading model...
by Somsone · 3/25/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: HealthManaBar |
| 3 | |
| 4 | local MS = game:GetService("MaterialService") |
| 5 | |
| 6 | local ok, roots = pcall(game.GetObjects, game, "rbxassetid://13386676607") |
| 7 | if not ok then return warn(roots) end |
| 8 | |
| 9 | local tmp = Instance.new("Folder") |
| 10 | for _, r in ipairs(roots) do r.Parent = tmp end |
| 11 | |
| 12 | for _, d in ipairs(tmp:GetDescendants()) do |
| 13 | if d:IsA("MaterialVariant") then |
| 14 | d.Parent = MS |
| 15 | end |
| 16 | end |
| 17 | tmp:Destroy() |
| 18 | |
| 19 | local model = Instance.new("Model") |
| 20 | model.Name = "HealthManaBar" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Bright red"] = "2022 Stud", |
| 26 | ["Bright yellow"] = "2022 Big Stud", |
| 27 | ["Dark stone grey"] = "2022 Stud", |
| 28 | ["Royal purple"] = "2022 Stud", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Name = "RedBarMain" |
| 33 | p.Size = Vector3.new(20, 2, 1) |
| 34 | p.CFrame = CFrame.new(-11, 0, 0) |
| 35 | p.BrickColor = BrickColor.new("Bright red") |
| 36 | p.Material = Enum.Material.Glacier |
| 37 | p.MaterialVariant = "2022 Stud" |
| 38 | p.Anchored = true |
| 39 | p.Parent = model |
| 40 | end |
| 41 | do |
| 42 | local p = Instance.new("Part") |
| 43 | p.Name = "RedBarTip" |
| 44 | p.Size = Vector3.new(1, 2, 1) |
| 45 | p.CFrame = CFrame.new(-21.5, 0, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 46 | p.BrickColor = BrickColor.new("Bright red") |
| 47 | p.Material = Enum.Material.Glacier |
| 48 | p.MaterialVariant = "2022 Stud" |
| 49 | p.Anchored = true |
| 50 | p.Parent = model |
| 51 | end |
| 52 | do |
| 53 | local p = Instance.new("Part") |
| 54 | p.Name = "BlueBarMain" |
| 55 | p.Size = Vector3.new(20, 2, 1) |
| 56 | p.CFrame = CFrame.new(11, 0, 0) |
| 57 | p.BrickColor = BrickColor.new("Bright blue") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Universal" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Name = "BlueBarTip" |
| 66 | p.Size = Vector3.new(1, 2, 1) |
| 67 | p.CFrame = CFrame.new(21.5, 0, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 68 | p.BrickColor = BrickColor.new("Bright blue") |
| 69 | p.Material = Enum.Material.Glacier |
| 70 | p.MaterialVariant = "2022 Universal" |
| 71 | p.Anchored = true |
| 72 | p.Parent = model |
| 73 | end |
| 74 | do |
| 75 | local p = Instance.new("Part") |
| 76 | p.Name = "PurpleBarMain" |
| 77 | p.Size = Vector3.new(16, 1, 1) |
| 78 | p.CFrame = CFrame.new(0, -1.7, 0) |
| 79 | p.BrickColor = BrickColor.new("Royal purple") |
| 80 | p.Material = Enum.Material.Glacier |
| 81 | p.MaterialVariant = "2022 Stud" |
| 82 | p.Anchored = true |
| 83 | p.Parent = model |
| 84 | end |
| 85 | do |
| 86 | local p = Instance.new("Part") |
| 87 | p.Name = "PurpleBarLeftTip" |
| 88 | p.Size = Vector3.new(1, 1, 1) |
| 89 | p.CFrame = CFrame.new(-8.5, -1.7, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 90 | p.BrickColor = BrickColor.new("Royal purple") |
| 91 | p.Material = Enum.Material.Glacier |
| 92 | p.MaterialVariant = "2022 Stud" |
| 93 | p.Anchored = true |
| 94 | p.Parent = model |
| 95 | end |
| 96 | do |
| 97 | local p = Instance.new("Part") |
| 98 | p.Name = "PurpleBarRightTip" |
| 99 | p.Size = Vector3.new(1, 1, 1) |
| 100 | p.CFrame = CFrame.new(8.5, -1.7, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 101 | p.BrickColor = BrickColor.new("Royal purple") |
| 102 | p.Material = Enum.Material.Glacier |
| 103 | p.MaterialVariant = "2022 Stud" |
| 104 | p.Anchored = true |
| 105 | p.Parent = model |
| 106 | end |
| 107 | do |
| 108 | local p = Instance.new("Part") |
| 109 | p.Name = "CenterDiamond" |
| 110 | p.Size = Vector3.new(2.5, 2.5, 1.2) |
| 111 | p.CFrame = CFrame.new(0, 0, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 112 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 113 | p.Material = Enum.Material.Glacier |
| 114 | p.MaterialVariant = "2022 Stud" |
| 115 | p.Anchored = true |
| 116 | p.Parent = model |
| 117 | end |
| 118 | do |
| 119 | local p = Instance.new("Part") |
| 120 | p.Shape = Enum.PartType.Cylinder |
| 121 | p.Name = "CenterGem" |
| 122 | p.Size = Vector3.new(0.2, 0.8, 0.8) |
| 123 | p.CFrame = CFrame.new(0, 0, 0.78) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 124 | p.BrickColor = BrickColor.new("Bright yellow") |
| 125 | p.Material = Enum.Material.Glacier |
| 126 | p.MaterialVariant = "2022 Big Stud" |
| 127 | p.Anchored = true |
| 128 | p.Parent = model |
| 129 | end |
| 130 | do |
| 131 | local p = Instance.new("Part") |
| 132 | p.Name = "FrameTop" |
| 133 | p.Size = Vector3.new(42, 0.2, 1.2) |
| 134 | p.CFrame = CFrame.new(0, 1.14, 0) |
| 135 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 136 | p.Material = Enum.Material.Glacier |
| 137 | p.MaterialVariant = "2022 Stud" |
| 138 | p.Anchored = true |
| 139 | p.Parent = model |
| 140 | end |
| 141 | do |
| 142 | local p = Instance.new("Part") |
| 143 | p.Name = "FrameBottomLeft" |
| 144 | p.Size = Vector3.new(20, 0.2, 1.2) |
| 145 | p.CFrame = CFrame.new(-11, -1.18, -0.16) |
| 146 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 147 | p.Material = Enum.Material.Glacier |
| 148 | p.MaterialVariant = "2022 Stud" |
| 149 | p.Anchored = true |
| 150 | p.Parent = model |
| 151 | end |
| 152 | do |
| 153 | local p = Instance.new("Part") |
| 154 | p.Name = "FrameBottomRight" |
| 155 | p.Size = Vector3.new(20, 0.2, 1.2) |
| 156 | p.CFrame = CFrame.new(11, -1.18, -0.16) |
| 157 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 158 | p.Material = Enum.Material.Glacier |
| 159 | p.MaterialVariant = "2022 Stud" |
| 160 | p.Anchored = true |
| 161 | p.Parent = model |
| 162 | end |
| 163 | do |
| 164 | local p = Instance.new("Part") |
| 165 | p.Name = "FrameLeftTipTop" |
| 166 | p.Size = Vector3.new(1.5, 0.2, 1.2) |
| 167 | p.CFrame = CFrame.new(-21.5, 1, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 168 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 169 | p.Material = Enum.Material.Glacier |
| 170 | p.MaterialVariant = "2022 Stud" |
| 171 | p.Anchored = true |
| 172 | p.Parent = model |
| 173 | end |
| 174 | do |
| 175 | local p = Instance.new("Part") |
| 176 | p.Name = "FrameLeftTipBot" |
| 177 | p.Size = Vector3.new(1.5, 0.2, 1.2) |
| 178 | p.CFrame = CFrame.new(-21.5, -1, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45)) |
| 179 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 180 | p.Material = Enum.Material.Glacier |
| 181 | p.MaterialVariant = "2022 Stud" |
| 182 | p.Anchored = true |
| 183 | p.Parent = model |
| 184 | end |
| 185 | do |
| 186 | local p = Instance.new("Part") |
| 187 | p.Name = "FrameRightTipTop" |
| 188 | p.Size = Vector3.new(1.5, 0.2, 1.2) |
| 189 | p.CFrame = CFrame.new(21.5, 1, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45)) |
| 190 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 191 | p.Material = Enum.Material.Glacier |
| 192 | p.MaterialVariant = "2022 Stud" |
| 193 | p.Anchored = true |
| 194 | p.Parent = model |
| 195 | end |
| 196 | do |
| 197 | local p = Instance.new("Part") |
| 198 | p.Name = "FrameRightTipBot" |
| 199 | p.Size = Vector3.new(1.5, 0.2, 1.2) |
| 200 | p.CFrame = CFrame.new(21.5, -1, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 201 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 202 | p.Material = Enum.Material.Glacier |
| 203 | p.MaterialVariant = "2022 Stud" |
| 204 | p.Anchored = true |
| 205 | p.Parent = model |
| 206 | end |
| 207 | do |
| 208 | local p = Instance.new("Part") |
| 209 | p.Name = "FramePurpleBottom" |
| 210 | p.Size = Vector3.new(16, 0.2, 1.2) |
| 211 | p.CFrame = CFrame.new(0, -2.34, 0) |
| 212 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 213 | p.Material = Enum.Material.Glacier |
| 214 | p.MaterialVariant = "2022 Stud" |
| 215 | p.Anchored = true |
| 216 | p.Parent = model |
| 217 | end |
| 218 | do |
| 219 | local p = Instance.new("Part") |
| 220 | p.Name = "FramePurpleLeftTip" |
| 221 | p.Size = Vector3.new(1.5, 0.2, 1.2) |
| 222 | p.CFrame = CFrame.new(-8.5, -2.2, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45)) |
| 223 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 224 | p.Material = Enum.Material.Glacier |
| 225 | p.MaterialVariant = "2022 Stud" |
| 226 | p.Anchored = true |
| 227 | p.Parent = model |
| 228 | end |
| 229 | do |
| 230 | local p = Instance.new("Part") |
| 231 | p.Name = "FramePurpleRightTip" |
| 232 | p.Size = Vector3.new(1.5, 0.2, 1.2) |
| 233 | p.CFrame = CFrame.new(8.5, -2.2, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 234 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 235 | p.Material = Enum.Material.Glacier |
| 236 | p.MaterialVariant = "2022 Stud" |
| 237 | p.Anchored = true |
| 238 | p.Parent = model |
| 239 | end |
| 240 | do |
| 241 | local p = Instance.new("Part") |
| 242 | p.Name = "CenterBottomPoint" |
| 243 | p.Size = Vector3.new(1.5, 1.5, 1.2) |
| 244 | p.CFrame = CFrame.new(0, -2.7, -0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 245 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 246 | p.Material = Enum.Material.Glacier |
| 247 | p.MaterialVariant = "2022 Stud" |
| 248 | p.Anchored = true |
| 249 | p.Parent = model |
| 250 | end |
| 251 | model.PrimaryPart = model:FindFirstChild("CenterDiamond") |
| 252 | print("HealthManaBar built: " .. #model:GetChildren() .. " parts") |
Loading comments...