Loading model...
by Howdy Scripts · 6/19/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: MiniShip |
| 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 = "MiniShip" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["Brown"] = "2022 Stud", |
| 26 | ["Institutional white"] = "2022 Stud", |
| 27 | ["Medium stone grey"] = "2022 Inlet", |
| 28 | ["Really black"] = "2022 Universal", |
| 29 | ["Reddish brown"] = "2022 Small Stud", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Name = "HullBottom" |
| 34 | p.Size = Vector3.new(3, 1, 8) |
| 35 | p.CFrame = CFrame.new(0, 0.42, 0) |
| 36 | p.BrickColor = BrickColor.new("Reddish brown") |
| 37 | p.Material = Enum.Material.Glacier |
| 38 | p.MaterialVariant = "2022 Small Stud" |
| 39 | p.Anchored = true |
| 40 | p.Parent = model |
| 41 | end |
| 42 | do |
| 43 | local p = Instance.new("Part") |
| 44 | p.Name = "HullMid" |
| 45 | p.Size = Vector3.new(4, 1, 10) |
| 46 | p.CFrame = CFrame.new(0, 1.46, 0) |
| 47 | p.BrickColor = BrickColor.new("Reddish brown") |
| 48 | p.Material = Enum.Material.Glacier |
| 49 | p.MaterialVariant = "2022 Small Stud" |
| 50 | p.Anchored = true |
| 51 | p.Parent = model |
| 52 | end |
| 53 | do |
| 54 | local p = Instance.new("Part") |
| 55 | p.Name = "HullTop" |
| 56 | p.Size = Vector3.new(4.2, 1, 11) |
| 57 | p.CFrame = CFrame.new(0, 2.5, 0) |
| 58 | p.BrickColor = BrickColor.new("Reddish brown") |
| 59 | p.Material = Enum.Material.Glacier |
| 60 | p.MaterialVariant = "2022 Small Stud" |
| 61 | p.Anchored = true |
| 62 | p.Parent = model |
| 63 | end |
| 64 | do |
| 65 | local p = Instance.new("Part") |
| 66 | p.Name = "BowCurve" |
| 67 | p.Size = Vector3.new(3, 1, 1) |
| 68 | p.CFrame = CFrame.new(0, 1.46, -5.54) |
| 69 | p.BrickColor = BrickColor.new("Reddish brown") |
| 70 | p.Material = Enum.Material.Glacier |
| 71 | p.MaterialVariant = "2022 Small Stud" |
| 72 | p.Anchored = true |
| 73 | p.Parent = model |
| 74 | end |
| 75 | do |
| 76 | local p = Instance.new("Part") |
| 77 | p.Name = "BowTop" |
| 78 | p.Size = Vector3.new(3, 1, 1) |
| 79 | p.CFrame = CFrame.new(0, 2.5, -6.04) |
| 80 | p.BrickColor = BrickColor.new("Reddish brown") |
| 81 | p.Material = Enum.Material.Glacier |
| 82 | p.MaterialVariant = "2022 Small Stud" |
| 83 | p.Anchored = true |
| 84 | p.Parent = model |
| 85 | end |
| 86 | do |
| 87 | local p = Instance.new("Part") |
| 88 | p.Shape = Enum.PartType.Cylinder |
| 89 | p.Name = "BowTip" |
| 90 | p.Size = Vector3.new(1, 1, 1) |
| 91 | p.CFrame = CFrame.new(0, 2.5, -6.54) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 92 | p.BrickColor = BrickColor.new("Reddish brown") |
| 93 | p.Material = Enum.Material.Glacier |
| 94 | p.MaterialVariant = "2022 Small Stud" |
| 95 | p.Anchored = true |
| 96 | p.Parent = model |
| 97 | end |
| 98 | do |
| 99 | local p = Instance.new("Part") |
| 100 | p.Name = "SternDeck" |
| 101 | p.Size = Vector3.new(4.2, 1, 3) |
| 102 | p.CFrame = CFrame.new(0, 3.54, 4) |
| 103 | p.BrickColor = BrickColor.new("Brown") |
| 104 | p.Material = Enum.Material.Glacier |
| 105 | p.MaterialVariant = "2022 Stud" |
| 106 | p.Anchored = true |
| 107 | p.Parent = model |
| 108 | end |
| 109 | do |
| 110 | local p = Instance.new("Part") |
| 111 | p.Name = "SternBack" |
| 112 | p.Size = Vector3.new(4, 1, 1) |
| 113 | p.CFrame = CFrame.new(0, 2.5, 6.04) |
| 114 | p.BrickColor = BrickColor.new("Reddish brown") |
| 115 | p.Material = Enum.Material.Glacier |
| 116 | p.MaterialVariant = "2022 Small Stud" |
| 117 | p.Anchored = true |
| 118 | p.Parent = model |
| 119 | end |
| 120 | do |
| 121 | local p = Instance.new("Part") |
| 122 | p.Shape = Enum.PartType.Cylinder |
| 123 | p.Name = "CannonL_-2.0" |
| 124 | p.Size = Vector3.new(0.5, 1.2, 1.2) |
| 125 | p.CFrame = CFrame.new(-2.2, 2, -2) |
| 126 | p.BrickColor = BrickColor.new("Really black") |
| 127 | p.Material = Enum.Material.Glacier |
| 128 | p.MaterialVariant = "2022 Universal" |
| 129 | p.Anchored = true |
| 130 | p.Parent = model |
| 131 | end |
| 132 | do |
| 133 | local p = Instance.new("Part") |
| 134 | p.Shape = Enum.PartType.Cylinder |
| 135 | p.Name = "CannonR_-2.0" |
| 136 | p.Size = Vector3.new(0.5, 1.2, 1.2) |
| 137 | p.CFrame = CFrame.new(2.2, 2, -2) |
| 138 | p.BrickColor = BrickColor.new("Really black") |
| 139 | p.Material = Enum.Material.Glacier |
| 140 | p.MaterialVariant = "2022 Universal" |
| 141 | p.Anchored = true |
| 142 | p.Parent = model |
| 143 | end |
| 144 | do |
| 145 | local p = Instance.new("Part") |
| 146 | p.Shape = Enum.PartType.Cylinder |
| 147 | p.Name = "CannonL_0.0" |
| 148 | p.Size = Vector3.new(0.5, 1.2, 1.2) |
| 149 | p.CFrame = CFrame.new(-2.2, 2, 0) |
| 150 | p.BrickColor = BrickColor.new("Really black") |
| 151 | p.Material = Enum.Material.Glacier |
| 152 | p.MaterialVariant = "2022 Universal" |
| 153 | p.Anchored = true |
| 154 | p.Parent = model |
| 155 | end |
| 156 | do |
| 157 | local p = Instance.new("Part") |
| 158 | p.Shape = Enum.PartType.Cylinder |
| 159 | p.Name = "CannonR_0.0" |
| 160 | p.Size = Vector3.new(0.5, 1.2, 1.2) |
| 161 | p.CFrame = CFrame.new(2.2, 2, 0) |
| 162 | p.BrickColor = BrickColor.new("Really black") |
| 163 | p.Material = Enum.Material.Glacier |
| 164 | p.MaterialVariant = "2022 Universal" |
| 165 | p.Anchored = true |
| 166 | p.Parent = model |
| 167 | end |
| 168 | do |
| 169 | local p = Instance.new("Part") |
| 170 | p.Shape = Enum.PartType.Cylinder |
| 171 | p.Name = "CannonL_2.0" |
| 172 | p.Size = Vector3.new(0.5, 1.2, 1.2) |
| 173 | p.CFrame = CFrame.new(-2.2, 2, 2) |
| 174 | p.BrickColor = BrickColor.new("Really black") |
| 175 | p.Material = Enum.Material.Glacier |
| 176 | p.MaterialVariant = "2022 Universal" |
| 177 | p.Anchored = true |
| 178 | p.Parent = model |
| 179 | end |
| 180 | do |
| 181 | local p = Instance.new("Part") |
| 182 | p.Shape = Enum.PartType.Cylinder |
| 183 | p.Name = "CannonR_2.0" |
| 184 | p.Size = Vector3.new(0.5, 1.2, 1.2) |
| 185 | p.CFrame = CFrame.new(2.2, 2, 2) |
| 186 | p.BrickColor = BrickColor.new("Really black") |
| 187 | p.Material = Enum.Material.Glacier |
| 188 | p.MaterialVariant = "2022 Universal" |
| 189 | p.Anchored = true |
| 190 | p.Parent = model |
| 191 | end |
| 192 | do |
| 193 | local p = Instance.new("Part") |
| 194 | p.Name = "BowspritBase" |
| 195 | p.Size = Vector3.new(1, 1, 1) |
| 196 | p.CFrame = CFrame.new(0, 3, -5.5) |
| 197 | p.BrickColor = BrickColor.new("Really black") |
| 198 | p.Material = Enum.Material.Glacier |
| 199 | p.MaterialVariant = "2022 Universal" |
| 200 | p.Anchored = true |
| 201 | p.Parent = model |
| 202 | end |
| 203 | do |
| 204 | local p = Instance.new("Part") |
| 205 | p.Shape = Enum.PartType.Ball |
| 206 | p.Name = "BowspritJoint" |
| 207 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 208 | p.CFrame = CFrame.new(0, 3, -6.5) |
| 209 | p.BrickColor = BrickColor.new("Really black") |
| 210 | p.Material = Enum.Material.Glacier |
| 211 | p.MaterialVariant = "2022 Universal" |
| 212 | p.Anchored = true |
| 213 | p.Parent = model |
| 214 | end |
| 215 | do |
| 216 | local p = Instance.new("Part") |
| 217 | p.Shape = Enum.PartType.Cylinder |
| 218 | p.Name = "BowspritPole" |
| 219 | p.Size = Vector3.new(3.80789, 0.6, 0.6) |
| 220 | p.CFrame = CFrame.new(0, 3.75, -8.25) * CFrame.Angles(math.rad(23.1986), math.rad(90), math.rad(0)) |
| 221 | p.BrickColor = BrickColor.new("Reddish brown") |
| 222 | p.Material = Enum.Material.Glacier |
| 223 | p.MaterialVariant = "2022 Small Stud" |
| 224 | p.Anchored = true |
| 225 | p.Parent = model |
| 226 | end |
| 227 | do |
| 228 | local p = Instance.new("Part") |
| 229 | p.Name = "JibSail" |
| 230 | p.Size = Vector3.new(0.2, 2, 2) |
| 231 | p.CFrame = CFrame.new(0, 4.5, -8.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)) |
| 232 | p.BrickColor = BrickColor.new("Institutional white") |
| 233 | p.Material = Enum.Material.Glacier |
| 234 | p.MaterialVariant = "2022 Stud" |
| 235 | p.Anchored = true |
| 236 | p.Parent = model |
| 237 | end |
| 238 | do |
| 239 | local p = Instance.new("Part") |
| 240 | p.Shape = Enum.PartType.Cylinder |
| 241 | p.Name = "ForemastBase" |
| 242 | p.Size = Vector3.new(1, 1.2, 1.2) |
| 243 | p.CFrame = CFrame.new(0, 3.54, -2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 244 | p.BrickColor = BrickColor.new("Reddish brown") |
| 245 | p.Material = Enum.Material.Glacier |
| 246 | p.MaterialVariant = "2022 Small Stud" |
| 247 | p.Anchored = true |
| 248 | p.Parent = model |
| 249 | end |
| 250 | do |
| 251 | local p = Instance.new("Part") |
| 252 | p.Shape = Enum.PartType.Cylinder |
| 253 | p.Name = "ForemastPole" |
| 254 | p.Size = Vector3.new(4, 0.8, 0.8) |
| 255 | p.CFrame = CFrame.new(0, 6, -2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 256 | p.BrickColor = BrickColor.new("Reddish brown") |
| 257 | p.Material = Enum.Material.Glacier |
| 258 | p.MaterialVariant = "2022 Small Stud" |
| 259 | p.Anchored = true |
| 260 | p.Parent = model |
| 261 | end |
| 262 | do |
| 263 | local p = Instance.new("Part") |
| 264 | p.Shape = Enum.PartType.Cylinder |
| 265 | p.Name = "ForemastCross" |
| 266 | p.Size = Vector3.new(3, 0.4, 0.4) |
| 267 | p.CFrame = CFrame.new(0, 6.5, -1.8) |
| 268 | p.BrickColor = BrickColor.new("Really black") |
| 269 | p.Material = Enum.Material.Glacier |
| 270 | p.MaterialVariant = "2022 Universal" |
| 271 | p.Anchored = true |
| 272 | p.Parent = model |
| 273 | end |
| 274 | do |
| 275 | local p = Instance.new("Part") |
| 276 | p.Shape = Enum.PartType.Cylinder |
| 277 | p.Name = "MainmastBase" |
| 278 | p.Size = Vector3.new(1, 1.2, 1.2) |
| 279 | p.CFrame = CFrame.new(0, 3.58, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 280 | p.BrickColor = BrickColor.new("Reddish brown") |
| 281 | p.Material = Enum.Material.Glacier |
| 282 | p.MaterialVariant = "2022 Small Stud" |
| 283 | p.Anchored = true |
| 284 | p.Parent = model |
| 285 | end |
| 286 | do |
| 287 | local p = Instance.new("Part") |
| 288 | p.Shape = Enum.PartType.Cylinder |
| 289 | p.Name = "MainmastPole" |
| 290 | p.Size = Vector3.new(6, 0.8, 0.8) |
| 291 | p.CFrame = CFrame.new(0, 7, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 292 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 293 | p.Material = Enum.Material.Glacier |
| 294 | p.MaterialVariant = "2022 Inlet" |
| 295 | p.Anchored = true |
| 296 | p.Parent = model |
| 297 | end |
| 298 | do |
| 299 | local p = Instance.new("Part") |
| 300 | p.Shape = Enum.PartType.Cylinder |
| 301 | p.Name = "MainmastCross1" |
| 302 | p.Size = Vector3.new(4, 0.4, 0.4) |
| 303 | p.CFrame = CFrame.new(0, 6, 2.2) |
| 304 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 305 | p.Material = Enum.Material.Glacier |
| 306 | p.MaterialVariant = "2022 Inlet" |
| 307 | p.Anchored = true |
| 308 | p.Parent = model |
| 309 | end |
| 310 | do |
| 311 | local p = Instance.new("Part") |
| 312 | p.Shape = Enum.PartType.Cylinder |
| 313 | p.Name = "MainmastCross2" |
| 314 | p.Size = Vector3.new(3, 0.4, 0.4) |
| 315 | p.CFrame = CFrame.new(0, 9, 2.2) |
| 316 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 317 | p.Material = Enum.Material.Glacier |
| 318 | p.MaterialVariant = "2022 Inlet" |
| 319 | p.Anchored = true |
| 320 | p.Parent = model |
| 321 | end |
| 322 | do |
| 323 | local p = Instance.new("Part") |
| 324 | p.Name = "TopSailWhite" |
| 325 | p.Size = Vector3.new(1.5, 2, 0.4) |
| 326 | p.CFrame = CFrame.new(0, 8.5, 1.8) |
| 327 | p.BrickColor = BrickColor.new("Institutional white") |
| 328 | p.Material = Enum.Material.Glacier |
| 329 | p.MaterialVariant = "2022 Stud" |
| 330 | p.Anchored = true |
| 331 | p.Parent = model |
| 332 | end |
| 333 | do |
| 334 | local p = Instance.new("Part") |
| 335 | p.Name = "TopSailRedL" |
| 336 | p.Size = Vector3.new(0.8, 2, 0.4) |
| 337 | p.CFrame = CFrame.new(-1.2, 8.5, 1.8) |
| 338 | p.BrickColor = BrickColor.new("Bright red") |
| 339 | p.Material = Enum.Material.Glacier |
| 340 | p.MaterialVariant = "2022 Stud" |
| 341 | p.Anchored = true |
| 342 | p.Parent = model |
| 343 | end |
| 344 | do |
| 345 | local p = Instance.new("Part") |
| 346 | p.Name = "TopSailRedR" |
| 347 | p.Size = Vector3.new(0.8, 2, 0.4) |
| 348 | p.CFrame = CFrame.new(1.2, 8.5, 1.8) |
| 349 | p.BrickColor = BrickColor.new("Bright red") |
| 350 | p.Material = Enum.Material.Glacier |
| 351 | p.MaterialVariant = "2022 Stud" |
| 352 | p.Anchored = true |
| 353 | p.Parent = model |
| 354 | end |
| 355 | do |
| 356 | local rightV = Vector3.new(1,0,0).Unit |
| 357 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 358 | local normalV = upV:Cross(rightV) |
| 359 | local pos = Vector3.new(0, 5.5, -2.5) |
| 360 | local cyl = Instance.new("Part") |
| 361 | cyl.Shape = Enum.PartType.Cylinder |
| 362 | cyl.Size = Vector3.new(0.4, 5, 5) |
| 363 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 364 | cyl.BrickColor = BrickColor.new("Institutional white") |
| 365 | cyl.Material = Enum.Material.Glacier |
| 366 | cyl.MaterialVariant = "2022 Stud" |
| 367 | cyl.Anchored = true; cyl.Parent = workspace |
| 368 | local cuts = {} |
| 369 | local angBoxes = {} |
| 370 | do |
| 371 | local edgeDir = 1*rightV + 0*upV |
| 372 | local edgePerp = 0*rightV + 1*upV |
| 373 | local cut = Instance.new("Part") |
| 374 | cut.Size = Vector3.new(10, 0.6, 10) |
| 375 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5 * edgePerp, edgeDir, normalV) |
| 376 | cut.BrickColor = BrickColor.new("Institutional white") |
| 377 | cut.Material = Enum.Material.Glacier |
| 378 | cut.MaterialVariant = "2022 Stud" |
| 379 | cut.Anchored = true; cut.Parent = workspace |
| 380 | table.insert(angBoxes, cut) |
| 381 | end |
| 382 | do |
| 383 | local edgeDir = -1*rightV + 0*upV |
| 384 | local edgePerp = 0*rightV + -1*upV |
| 385 | local cut = Instance.new("Part") |
| 386 | cut.Size = Vector3.new(10, 0.6, 10) |
| 387 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5 * edgePerp, edgeDir, normalV) |
| 388 | cut.BrickColor = BrickColor.new("Institutional white") |
| 389 | cut.Material = Enum.Material.Glacier |
| 390 | cut.MaterialVariant = "2022 Stud" |
| 391 | cut.Anchored = true; cut.Parent = workspace |
| 392 | table.insert(angBoxes, cut) |
| 393 | end |
| 394 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 395 | if #cuts > 0 then |
| 396 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 397 | for _, c in ipairs(cuts) do c:Destroy() end |
| 398 | if ok and result then |
| 399 | cyl:Destroy() |
| 400 | result.Name = "ForemastSail"; result.Anchored = true; result.Parent = model |
| 401 | else |
| 402 | cyl.Name = "ForemastSail"; cyl.Parent = model |
| 403 | end |
| 404 | else |
| 405 | cyl.Name = "ForemastSail"; cyl.Parent = model |
| 406 | end |
| 407 | end |
| 408 | do |
| 409 | local rightV = Vector3.new(1,0,0).Unit |
| 410 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 411 | local normalV = upV:Cross(rightV) |
| 412 | local pos = Vector3.new(0, 5, 1.5) |
| 413 | local cyl = Instance.new("Part") |
| 414 | cyl.Shape = Enum.PartType.Cylinder |
| 415 | cyl.Size = Vector3.new(0.4, 6, 6) |
| 416 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 417 | cyl.BrickColor = BrickColor.new("Institutional white") |
| 418 | cyl.Material = Enum.Material.Glacier |
| 419 | cyl.MaterialVariant = "2022 Stud" |
| 420 | cyl.Anchored = true; cyl.Parent = workspace |
| 421 | local cuts = {} |
| 422 | local angBoxes = {} |
| 423 | do |
| 424 | local edgeDir = 1*rightV + 0*upV |
| 425 | local edgePerp = 0*rightV + 1*upV |
| 426 | local cut = Instance.new("Part") |
| 427 | cut.Size = Vector3.new(12, 0.6, 12) |
| 428 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 6 * edgePerp, edgeDir, normalV) |
| 429 | cut.BrickColor = BrickColor.new("Institutional white") |
| 430 | cut.Material = Enum.Material.Glacier |
| 431 | cut.MaterialVariant = "2022 Stud" |
| 432 | cut.Anchored = true; cut.Parent = workspace |
| 433 | table.insert(angBoxes, cut) |
| 434 | end |
| 435 | do |
| 436 | local edgeDir = -1*rightV + 0*upV |
| 437 | local edgePerp = 0*rightV + -1*upV |
| 438 | local cut = Instance.new("Part") |
| 439 | cut.Size = Vector3.new(12, 0.6, 12) |
| 440 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 6 * edgePerp, edgeDir, normalV) |
| 441 | cut.BrickColor = BrickColor.new("Institutional white") |
| 442 | cut.Material = Enum.Material.Glacier |
| 443 | cut.MaterialVariant = "2022 Stud" |
| 444 | cut.Anchored = true; cut.Parent = workspace |
| 445 | table.insert(angBoxes, cut) |
| 446 | end |
| 447 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 448 | if #cuts > 0 then |
| 449 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 450 | for _, c in ipairs(cuts) do c:Destroy() end |
| 451 | if ok and result then |
| 452 | cyl:Destroy() |
| 453 | result.Name = "MainSailLower"; result.Anchored = true; result.Parent = model |
| 454 | else |
| 455 | cyl.Name = "MainSailLower"; cyl.Parent = model |
| 456 | end |
| 457 | else |
| 458 | cyl.Name = "MainSailLower"; cyl.Parent = model |
| 459 | end |
| 460 | end |
| 461 | model.PrimaryPart = model:FindFirstChild("HullMid") |
| 462 | print("MiniShip built: " .. #model:GetChildren() .. " parts") |
Loading comments...