Loading model...
by Killian Kay · 7/12/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: WaterBlaster |
| 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 = "WaterBlaster" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Dark stone grey"] = "2022 Stud", |
| 26 | ["Deep orange"] = "2022 Stud", |
| 27 | ["White"] = "2022 Stud", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "ReceiverMain" |
| 32 | p.Size = Vector3.new(5.5, 1.8, 1.4) |
| 33 | p.CFrame = CFrame.new(0, 5, 0) |
| 34 | p.BrickColor = BrickColor.new("Bright blue") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Universal" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "ReceiverTop" |
| 43 | p.Size = Vector3.new(5, 0.4, 1.2) |
| 44 | p.CFrame = CFrame.new(0, 6, 0) |
| 45 | p.BrickColor = BrickColor.new("Bright blue") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Universal" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("WedgePart") |
| 53 | p.Name = "ReceiverFrontSlope" |
| 54 | p.Size = Vector3.new(1.4, 1.8, 1.4) |
| 55 | p.CFrame = CFrame.new(2.75, 5.04, 0.04) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) |
| 56 | p.BrickColor = BrickColor.new("Bright blue") |
| 57 | p.Material = Enum.Material.Glacier |
| 58 | p.MaterialVariant = "2022 Universal" |
| 59 | p.Anchored = true |
| 60 | p.Parent = model |
| 61 | end |
| 62 | do |
| 63 | local p = Instance.new("Part") |
| 64 | p.Name = "Grip" |
| 65 | p.Size = Vector3.new(1.2, 2.5, 1) |
| 66 | p.CFrame = CFrame.new(-1.8, 3.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)) |
| 67 | p.BrickColor = BrickColor.new("Bright blue") |
| 68 | p.Material = Enum.Material.Glacier |
| 69 | p.MaterialVariant = "2022 Universal" |
| 70 | p.Anchored = true |
| 71 | p.Parent = model |
| 72 | end |
| 73 | do |
| 74 | local p = Instance.new("Part") |
| 75 | p.Name = "TriggerGuardBottom" |
| 76 | p.Size = Vector3.new(2, 0.2, 0.6) |
| 77 | p.CFrame = CFrame.new(-0.5, 3.96, 0) |
| 78 | p.BrickColor = BrickColor.new("Bright blue") |
| 79 | p.Material = Enum.Material.Glacier |
| 80 | p.MaterialVariant = "2022 Universal" |
| 81 | p.Anchored = true |
| 82 | p.Parent = model |
| 83 | end |
| 84 | do |
| 85 | local p = Instance.new("Part") |
| 86 | p.Name = "TriggerGuardFront" |
| 87 | p.Size = Vector3.new(0.2, 0.8, 0.6) |
| 88 | p.CFrame = CFrame.new(0.5, 4.4, 0) |
| 89 | p.BrickColor = BrickColor.new("Bright blue") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Universal" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Name = "Trigger" |
| 98 | p.Size = Vector3.new(0.4, 0.8, 0.3) |
| 99 | p.CFrame = CFrame.new(-0.8, 4.4, 0) |
| 100 | p.BrickColor = BrickColor.new("Deep orange") |
| 101 | p.Material = Enum.Material.Glacier |
| 102 | p.MaterialVariant = "2022 Stud" |
| 103 | p.Anchored = true |
| 104 | p.Parent = model |
| 105 | end |
| 106 | do |
| 107 | local p = Instance.new("Part") |
| 108 | p.Shape = Enum.PartType.Cylinder |
| 109 | p.Name = "BarrelTube" |
| 110 | p.Size = Vector3.new(5, 0.6, 0.6) |
| 111 | p.CFrame = CFrame.new(5.04, 5.6, 0) |
| 112 | p.BrickColor = BrickColor.new("White") |
| 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 = "NozzleBase" |
| 122 | p.Size = Vector3.new(0.7, 0.9, 0.9) |
| 123 | p.CFrame = CFrame.new(7.93, 5.6, 0) |
| 124 | p.BrickColor = BrickColor.new("Bright blue") |
| 125 | p.Material = Enum.Material.Glacier |
| 126 | p.MaterialVariant = "2022 Universal" |
| 127 | p.Anchored = true |
| 128 | p.Parent = model |
| 129 | end |
| 130 | do |
| 131 | local p = Instance.new("Part") |
| 132 | p.Shape = Enum.PartType.Cylinder |
| 133 | p.Name = "NozzleTip" |
| 134 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 135 | p.CFrame = CFrame.new(8.62, 5.6, 0) |
| 136 | p.BrickColor = BrickColor.new("Bright blue") |
| 137 | p.Material = Enum.Material.Glacier |
| 138 | p.MaterialVariant = "2022 Universal" |
| 139 | p.Anchored = true |
| 140 | p.Parent = model |
| 141 | end |
| 142 | do |
| 143 | local p = Instance.new("Part") |
| 144 | p.Name = "PumpMain" |
| 145 | p.Size = Vector3.new(2.5, 1.5, 1.2) |
| 146 | p.CFrame = CFrame.new(4.5, 4.5, 0) |
| 147 | p.BrickColor = BrickColor.new("Bright blue") |
| 148 | p.Material = Enum.Material.Glacier |
| 149 | p.MaterialVariant = "2022 Universal" |
| 150 | p.Anchored = true |
| 151 | p.Parent = model |
| 152 | end |
| 153 | do |
| 154 | local p = Instance.new("WedgePart") |
| 155 | p.Name = "PumpSlope" |
| 156 | p.Size = Vector3.new(2.5, 0.5, 1.2) |
| 157 | p.CFrame = CFrame.new(4.5, 5.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)) |
| 158 | p.BrickColor = BrickColor.new("Bright blue") |
| 159 | p.Material = Enum.Material.Glacier |
| 160 | p.MaterialVariant = "2022 Universal" |
| 161 | p.Anchored = true |
| 162 | p.Parent = model |
| 163 | end |
| 164 | do |
| 165 | local p = Instance.new("Part") |
| 166 | p.Shape = Enum.PartType.Cylinder |
| 167 | p.Name = "TankMountBack" |
| 168 | p.Size = Vector3.new(1.5, 1.5, 1.5) |
| 169 | p.CFrame = CFrame.new(-2.04, 6.2, 0) |
| 170 | p.BrickColor = BrickColor.new("Bright blue") |
| 171 | p.Material = Enum.Material.Glacier |
| 172 | p.MaterialVariant = "2022 Universal" |
| 173 | p.Anchored = true |
| 174 | p.Parent = model |
| 175 | end |
| 176 | do |
| 177 | local p = Instance.new("Part") |
| 178 | p.Shape = Enum.PartType.Cylinder |
| 179 | p.Name = "TankBody" |
| 180 | p.Size = Vector3.new(5, 2.2, 2.2) |
| 181 | p.CFrame = CFrame.new(1.5, 7, 0) |
| 182 | p.BrickColor = BrickColor.new("Deep orange") |
| 183 | p.Material = Enum.Material.Glacier |
| 184 | p.MaterialVariant = "2022 Stud" |
| 185 | p.Anchored = true |
| 186 | p.Parent = model |
| 187 | end |
| 188 | do |
| 189 | local p = Instance.new("Part") |
| 190 | p.Name = "StrapBase" |
| 191 | p.Size = Vector3.new(0.8, 0.6, 1.4) |
| 192 | p.CFrame = CFrame.new(1, 5.8, 0.04) |
| 193 | p.BrickColor = BrickColor.new("Bright blue") |
| 194 | p.Material = Enum.Material.Glacier |
| 195 | p.MaterialVariant = "2022 Universal" |
| 196 | p.Anchored = true |
| 197 | p.Parent = model |
| 198 | end |
| 199 | do |
| 200 | local p = Instance.new("Part") |
| 201 | p.Shape = Enum.PartType.Cylinder |
| 202 | p.Name = "RearCap" |
| 203 | p.Size = Vector3.new(0.45, 1, 1) |
| 204 | p.CFrame = CFrame.new(-3.055, 5, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(-180)) |
| 205 | p.BrickColor = BrickColor.new("Bright blue") |
| 206 | p.Material = Enum.Material.Glacier |
| 207 | p.MaterialVariant = "2022 Universal" |
| 208 | p.Anchored = true |
| 209 | p.Parent = model |
| 210 | end |
| 211 | do |
| 212 | local p = Instance.new("Part") |
| 213 | p.Shape = Enum.PartType.Cylinder |
| 214 | p.Name = "RearValve" |
| 215 | p.Size = Vector3.new(0.2, 0.6, 0.6) |
| 216 | p.CFrame = CFrame.new(-3.42, 5, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(-180)) |
| 217 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 218 | p.Material = Enum.Material.Glacier |
| 219 | p.MaterialVariant = "2022 Stud" |
| 220 | p.Anchored = true |
| 221 | p.Parent = model |
| 222 | end |
| 223 | do |
| 224 | local p = Instance.new("Part") |
| 225 | p.Name = "SideDetailL" |
| 226 | p.Size = Vector3.new(3, 0.4, 0.1) |
| 227 | p.CFrame = CFrame.new(0, 5.2, 0.71) |
| 228 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 229 | p.Material = Enum.Material.Glacier |
| 230 | p.MaterialVariant = "2022 Stud" |
| 231 | p.Anchored = true |
| 232 | p.Parent = model |
| 233 | end |
| 234 | do |
| 235 | local p = Instance.new("Part") |
| 236 | p.Name = "SideDetailR" |
| 237 | p.Size = Vector3.new(3, 0.4, 0.1) |
| 238 | p.CFrame = CFrame.new(0, 5.2, -0.71) |
| 239 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 240 | p.Material = Enum.Material.Glacier |
| 241 | p.MaterialVariant = "2022 Stud" |
| 242 | p.Anchored = true |
| 243 | p.Parent = model |
| 244 | end |
| 245 | do |
| 246 | local rightV = Vector3.new(0,1,0).Unit |
| 247 | local upV = (Vector3.new(0,0,1) - Vector3.new(0,0,1):Dot(rightV)*rightV).Unit |
| 248 | local normalV = upV:Cross(rightV) |
| 249 | local pos = Vector3.new(1.04, 7, 0) |
| 250 | local cyl = Instance.new("Part") |
| 251 | cyl.Shape = Enum.PartType.Cylinder |
| 252 | cyl.Size = Vector3.new(0.8, 2.6, 2.6) |
| 253 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 254 | cyl.BrickColor = BrickColor.new("Bright blue") |
| 255 | cyl.Material = Enum.Material.Glacier |
| 256 | cyl.MaterialVariant = "2022 Universal" |
| 257 | cyl.Anchored = true; cyl.Parent = workspace |
| 258 | local cuts = {} |
| 259 | local hole = Instance.new("Part") |
| 260 | hole.Shape = Enum.PartType.Cylinder |
| 261 | hole.Size = Vector3.new(1, 2.2, 2.2) |
| 262 | hole.CFrame = cyl.CFrame |
| 263 | hole.BrickColor = BrickColor.new("Bright blue") |
| 264 | hole.Material = Enum.Material.Glacier |
| 265 | hole.MaterialVariant = "2022 Universal" |
| 266 | hole.Anchored = true; hole.Parent = workspace |
| 267 | table.insert(cuts, hole) |
| 268 | local angBoxes = {} |
| 269 | do |
| 270 | local edgeDir = 0.984808*rightV + -0.173648*upV |
| 271 | local edgePerp = 0.173648*rightV + 0.984808*upV |
| 272 | local cut = Instance.new("Part") |
| 273 | cut.Size = Vector3.new(5.2, 1, 5.2) |
| 274 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.6 * edgePerp, edgeDir, normalV) |
| 275 | cut.BrickColor = BrickColor.new("Bright blue") |
| 276 | cut.Material = Enum.Material.Glacier |
| 277 | cut.MaterialVariant = "2022 Universal" |
| 278 | cut.Anchored = true; cut.Parent = workspace |
| 279 | table.insert(angBoxes, cut) |
| 280 | end |
| 281 | do |
| 282 | local edgeDir = -0.984808*rightV + -0.173648*upV |
| 283 | local edgePerp = 0.173648*rightV + -0.984808*upV |
| 284 | local cut = Instance.new("Part") |
| 285 | cut.Size = Vector3.new(5.2, 1, 5.2) |
| 286 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.6 * edgePerp, edgeDir, normalV) |
| 287 | cut.BrickColor = BrickColor.new("Bright blue") |
| 288 | cut.Material = Enum.Material.Glacier |
| 289 | cut.MaterialVariant = "2022 Universal" |
| 290 | cut.Anchored = true; cut.Parent = workspace |
| 291 | table.insert(angBoxes, cut) |
| 292 | end |
| 293 | do |
| 294 | local w = angBoxes[1]:IntersectAsync({angBoxes[2]}) |
| 295 | angBoxes[1]:Destroy(); angBoxes[2]:Destroy() |
| 296 | w.Anchored = true; w.Parent = workspace |
| 297 | table.insert(cuts, w) |
| 298 | end |
| 299 | if #cuts > 0 then |
| 300 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 301 | for _, c in ipairs(cuts) do c:Destroy() end |
| 302 | if ok and result then |
| 303 | cyl:Destroy() |
| 304 | result.Name = "TankStrap"; result.Anchored = true; result.Parent = model |
| 305 | else |
| 306 | cyl.Name = "TankStrap"; cyl.Parent = model |
| 307 | end |
| 308 | else |
| 309 | cyl.Name = "TankStrap"; cyl.Parent = model |
| 310 | end |
| 311 | end |
| 312 | do |
| 313 | local upV = Vector3.new(-1,0,0).Unit |
| 314 | local rightV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(upV)*upV).Unit |
| 315 | local forwardV = rightV:Cross(upV) |
| 316 | local pos = Vector3.new(-1.04, 7, 0) |
| 317 | local ball = Instance.new("Part") |
| 318 | ball.Shape = Enum.PartType.Ball |
| 319 | ball.Size = Vector3.new(2.2, 2.2, 2.2) |
| 320 | ball.CFrame = CFrame.new(pos) |
| 321 | ball.BrickColor = BrickColor.new("Deep orange") |
| 322 | ball.Material = Enum.Material.Glacier |
| 323 | ball.MaterialVariant = "2022 Stud" |
| 324 | ball.Anchored = true; ball.Parent = workspace |
| 325 | local cuts = {} |
| 326 | do |
| 327 | local h = 0 |
| 328 | local cut = Instance.new("Part") |
| 329 | cut.Size = Vector3.new(4.4, 4.4, 4.4) |
| 330 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-2.2), rightV, upV) |
| 331 | cut.BrickColor = BrickColor.new("Deep orange") |
| 332 | cut.Material = Enum.Material.Glacier |
| 333 | cut.MaterialVariant = "2022 Stud" |
| 334 | cut.Anchored = true; cut.Parent = workspace |
| 335 | table.insert(cuts, cut) |
| 336 | end |
| 337 | if #cuts > 0 then |
| 338 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 339 | for _, c in ipairs(cuts) do c:Destroy() end |
| 340 | if ok and result then |
| 341 | ball:Destroy() |
| 342 | result.Name = "TankBackCap"; result.Anchored = true; result.Parent = model |
| 343 | else |
| 344 | ball.Name = "TankBackCap"; ball.Parent = model |
| 345 | end |
| 346 | else |
| 347 | ball.Name = "TankBackCap"; ball.Parent = model |
| 348 | end |
| 349 | end |
| 350 | do |
| 351 | local upV = Vector3.new(1,0,0).Unit |
| 352 | local rightV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(upV)*upV).Unit |
| 353 | local forwardV = rightV:Cross(upV) |
| 354 | local pos = Vector3.new(4.04, 7, 0) |
| 355 | local ball = Instance.new("Part") |
| 356 | ball.Shape = Enum.PartType.Ball |
| 357 | ball.Size = Vector3.new(2.2, 2.2, 2.2) |
| 358 | ball.CFrame = CFrame.new(pos) |
| 359 | ball.BrickColor = BrickColor.new("Deep orange") |
| 360 | ball.Material = Enum.Material.Glacier |
| 361 | ball.MaterialVariant = "2022 Stud" |
| 362 | ball.Anchored = true; ball.Parent = workspace |
| 363 | local cuts = {} |
| 364 | do |
| 365 | local h = 0 |
| 366 | local cut = Instance.new("Part") |
| 367 | cut.Size = Vector3.new(4.4, 4.4, 4.4) |
| 368 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-2.2), rightV, upV) |
| 369 | cut.BrickColor = BrickColor.new("Deep orange") |
| 370 | cut.Material = Enum.Material.Glacier |
| 371 | cut.MaterialVariant = "2022 Stud" |
| 372 | cut.Anchored = true; cut.Parent = workspace |
| 373 | table.insert(cuts, cut) |
| 374 | end |
| 375 | if #cuts > 0 then |
| 376 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 377 | for _, c in ipairs(cuts) do c:Destroy() end |
| 378 | if ok and result then |
| 379 | ball:Destroy() |
| 380 | result.Name = "TankFrontCap"; result.Anchored = true; result.Parent = model |
| 381 | else |
| 382 | ball.Name = "TankFrontCap"; ball.Parent = model |
| 383 | end |
| 384 | else |
| 385 | ball.Name = "TankFrontCap"; ball.Parent = model |
| 386 | end |
| 387 | end |
| 388 | model.PrimaryPart = model:FindFirstChild("ReceiverMain") |
| 389 | print("WaterBlaster built: " .. #model:GetChildren() .. " parts") |
Loading comments...