Loading model...
by FGDubbing · 6/28/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: StumpyHammer |
| 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 = "StumpyHammer" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Brick yellow"] = "2022 Stud", |
| 25 | ["Bright green"] = "2022 Stud", |
| 26 | ["Nougat"] = "2022 Stud", |
| 27 | ["Pine Cone"] = "2022 Small Stud", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Shape = Enum.PartType.Cylinder |
| 32 | p.Name = "HandleSeg_0" |
| 33 | p.Size = Vector3.new(2.54951, 0.8, 0.8) |
| 34 | p.CFrame = CFrame.new(0.2, 1.25, 0.15) * CFrame.Angles(math.rad(0), math.rad(-36.8699), math.rad(78.6901)) |
| 35 | p.BrickColor = BrickColor.new("Pine Cone") |
| 36 | p.Material = Enum.Material.Glacier |
| 37 | p.MaterialVariant = "2022 Small Stud" |
| 38 | p.Anchored = true |
| 39 | p.Parent = model |
| 40 | end |
| 41 | do |
| 42 | local p = Instance.new("Part") |
| 43 | p.Shape = Enum.PartType.Ball |
| 44 | p.Name = "HandleJoint_0" |
| 45 | p.Size = Vector3.new(0.7, 0.7, 0.7) |
| 46 | p.CFrame = CFrame.new(0, 0, 0) |
| 47 | p.BrickColor = BrickColor.new("Pine Cone") |
| 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.Shape = Enum.PartType.Cylinder |
| 56 | p.Name = "HandleSeg_1" |
| 57 | p.Size = Vector3.new(3.1209, 1, 1) |
| 58 | p.CFrame = CFrame.new(0.05, 4, 0.05) * CFrame.Angles(math.rad(-180), math.rad(35.5377), math.rad(-106)) |
| 59 | p.BrickColor = BrickColor.new("Pine Cone") |
| 60 | p.Material = Enum.Material.Glacier |
| 61 | p.MaterialVariant = "2022 Small Stud" |
| 62 | p.Anchored = true |
| 63 | p.Parent = model |
| 64 | end |
| 65 | do |
| 66 | local p = Instance.new("Part") |
| 67 | p.Shape = Enum.PartType.Ball |
| 68 | p.Name = "HandleJoint_1" |
| 69 | p.Size = Vector3.new(0.9, 0.9, 0.9) |
| 70 | p.CFrame = CFrame.new(0.4, 2.5, 0.3) |
| 71 | p.BrickColor = BrickColor.new("Pine Cone") |
| 72 | p.Material = Enum.Material.Glacier |
| 73 | p.MaterialVariant = "2022 Small Stud" |
| 74 | p.Anchored = true |
| 75 | p.Parent = model |
| 76 | end |
| 77 | do |
| 78 | local p = Instance.new("Part") |
| 79 | p.Shape = Enum.PartType.Cylinder |
| 80 | p.Name = "HandleSeg_2" |
| 81 | p.Size = Vector3.new(3.16228, 1.2, 1.2) |
| 82 | p.CFrame = CFrame.new(0.1, 7, 0.1) * CFrame.Angles(math.rad(0), math.rad(-36.8699), math.rad(71.5651)) |
| 83 | p.BrickColor = BrickColor.new("Pine Cone") |
| 84 | p.Material = Enum.Material.Glacier |
| 85 | p.MaterialVariant = "2022 Small Stud" |
| 86 | p.Anchored = true |
| 87 | p.Parent = model |
| 88 | end |
| 89 | do |
| 90 | local p = Instance.new("Part") |
| 91 | p.Shape = Enum.PartType.Ball |
| 92 | p.Name = "HandleJoint_2" |
| 93 | p.Size = Vector3.new(1.1, 1.1, 1.1) |
| 94 | p.CFrame = CFrame.new(-0.3, 5.5, -0.2) |
| 95 | p.BrickColor = BrickColor.new("Pine Cone") |
| 96 | p.Material = Enum.Material.Glacier |
| 97 | p.MaterialVariant = "2022 Small Stud" |
| 98 | p.Anchored = true |
| 99 | p.Parent = model |
| 100 | end |
| 101 | do |
| 102 | local p = Instance.new("Part") |
| 103 | p.Shape = Enum.PartType.Cylinder |
| 104 | p.Name = "HandleSeg_3" |
| 105 | p.Size = Vector3.new(3.06757, 1.45, 1.45) |
| 106 | p.CFrame = CFrame.new(0.25, 10, 0.2) * CFrame.Angles(math.rad(-180), math.rad(38.6598), math.rad(-102.048)) |
| 107 | p.BrickColor = BrickColor.new("Pine Cone") |
| 108 | p.Material = Enum.Material.Glacier |
| 109 | p.MaterialVariant = "2022 Small Stud" |
| 110 | p.Anchored = true |
| 111 | p.Parent = model |
| 112 | end |
| 113 | do |
| 114 | local p = Instance.new("Part") |
| 115 | p.Shape = Enum.PartType.Ball |
| 116 | p.Name = "HandleJoint_3" |
| 117 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 118 | p.CFrame = CFrame.new(0.5, 8.5, 0.4) |
| 119 | p.BrickColor = BrickColor.new("Pine Cone") |
| 120 | p.Material = Enum.Material.Glacier |
| 121 | p.MaterialVariant = "2022 Small Stud" |
| 122 | p.Anchored = true |
| 123 | p.Parent = model |
| 124 | end |
| 125 | do |
| 126 | local p = Instance.new("Part") |
| 127 | p.Shape = Enum.PartType.Ball |
| 128 | p.Name = "HandleJoint_Top" |
| 129 | p.Size = Vector3.new(1.6, 1.6, 1.6) |
| 130 | p.CFrame = CFrame.new(0, 11.5, 0) |
| 131 | p.BrickColor = BrickColor.new("Pine Cone") |
| 132 | p.Material = Enum.Material.Glacier |
| 133 | p.MaterialVariant = "2022 Small Stud" |
| 134 | p.Anchored = true |
| 135 | p.Parent = model |
| 136 | end |
| 137 | do |
| 138 | local p = Instance.new("Part") |
| 139 | p.Shape = Enum.PartType.Cylinder |
| 140 | p.Name = "Twig_0" |
| 141 | p.Size = Vector3.new(1.64924, 0.25, 0.25) |
| 142 | p.CFrame = CFrame.new(1, 2.1, 0.7) * CFrame.Angles(math.rad(0), math.rad(-33.6901), math.rad(-29.0171)) |
| 143 | p.BrickColor = BrickColor.new("Pine Cone") |
| 144 | p.Material = Enum.Material.Glacier |
| 145 | p.MaterialVariant = "2022 Small Stud" |
| 146 | p.Anchored = true |
| 147 | p.Parent = model |
| 148 | end |
| 149 | do |
| 150 | local p = Instance.new("Part") |
| 151 | p.Name = "Leaf_0a" |
| 152 | p.Size = Vector3.new(0.8, 0.1, 0.5) |
| 153 | p.CFrame = CFrame.new(1.6, 1.5, 1.1) * CFrame.Angles(math.rad(30), math.rad(45), math.rad(0)) |
| 154 | p.BrickColor = BrickColor.new("Bright green") |
| 155 | p.Material = Enum.Material.Glacier |
| 156 | p.MaterialVariant = "2022 Stud" |
| 157 | p.Anchored = true |
| 158 | p.Parent = model |
| 159 | end |
| 160 | do |
| 161 | local p = Instance.new("Part") |
| 162 | p.Name = "Leaf_0b" |
| 163 | p.Size = Vector3.new(0.6, 0.1, 0.4) |
| 164 | p.CFrame = CFrame.new(1.8, 1.3, 1.2) * CFrame.Angles(math.rad(45), math.rad(65), math.rad(0)) |
| 165 | p.BrickColor = BrickColor.new("Bright green") |
| 166 | p.Material = Enum.Material.Glacier |
| 167 | p.MaterialVariant = "2022 Stud" |
| 168 | p.Anchored = true |
| 169 | p.Parent = model |
| 170 | end |
| 171 | do |
| 172 | local p = Instance.new("Part") |
| 173 | p.Shape = Enum.PartType.Cylinder |
| 174 | p.Name = "Twig_1" |
| 175 | p.Size = Vector3.new(1.87083, 0.25, 0.25) |
| 176 | p.CFrame = CFrame.new(-1.05, 5.25, -0.7) * CFrame.Angles(math.rad(-180), math.rad(33.6901), math.rad(164.499)) |
| 177 | p.BrickColor = BrickColor.new("Pine Cone") |
| 178 | p.Material = Enum.Material.Glacier |
| 179 | p.MaterialVariant = "2022 Small Stud" |
| 180 | p.Anchored = true |
| 181 | p.Parent = model |
| 182 | end |
| 183 | do |
| 184 | local p = Instance.new("Part") |
| 185 | p.Name = "Leaf_1a" |
| 186 | p.Size = Vector3.new(0.8, 0.1, 0.5) |
| 187 | p.CFrame = CFrame.new(-1.8, 4.8, -1.2) * CFrame.Angles(math.rad(-20), math.rad(120), math.rad(15)) |
| 188 | p.BrickColor = BrickColor.new("Bright green") |
| 189 | p.Material = Enum.Material.Glacier |
| 190 | p.MaterialVariant = "2022 Stud" |
| 191 | p.Anchored = true |
| 192 | p.Parent = model |
| 193 | end |
| 194 | do |
| 195 | local p = Instance.new("Part") |
| 196 | p.Name = "Leaf_1b" |
| 197 | p.Size = Vector3.new(0.6, 0.1, 0.4) |
| 198 | p.CFrame = CFrame.new(-1.6, 4.6, -1.1) * CFrame.Angles(math.rad(-5), math.rad(140), math.rad(15)) |
| 199 | p.BrickColor = BrickColor.new("Bright green") |
| 200 | p.Material = Enum.Material.Glacier |
| 201 | p.MaterialVariant = "2022 Stud" |
| 202 | p.Anchored = true |
| 203 | p.Parent = model |
| 204 | end |
| 205 | do |
| 206 | local p = Instance.new("Part") |
| 207 | p.Shape = Enum.PartType.Cylinder |
| 208 | p.Name = "Twig_2" |
| 209 | p.Size = Vector3.new(1.56844, 0.25, 0.25) |
| 210 | p.CFrame = CFrame.new(1.2, 8.75, 0.15) * CFrame.Angles(math.rad(0), math.rad(19.6538), math.rad(18.5897)) |
| 211 | p.BrickColor = BrickColor.new("Pine Cone") |
| 212 | p.Material = Enum.Material.Glacier |
| 213 | p.MaterialVariant = "2022 Small Stud" |
| 214 | p.Anchored = true |
| 215 | p.Parent = model |
| 216 | end |
| 217 | do |
| 218 | local p = Instance.new("Part") |
| 219 | p.Name = "Leaf_2a" |
| 220 | p.Size = Vector3.new(0.8, 0.1, 0.5) |
| 221 | p.CFrame = CFrame.new(1.9, 8.8, -0.1) * CFrame.Angles(math.rad(45), math.rad(-30), math.rad(10)) |
| 222 | p.BrickColor = BrickColor.new("Bright green") |
| 223 | p.Material = Enum.Material.Glacier |
| 224 | p.MaterialVariant = "2022 Stud" |
| 225 | p.Anchored = true |
| 226 | p.Parent = model |
| 227 | end |
| 228 | do |
| 229 | local p = Instance.new("Part") |
| 230 | p.Name = "Leaf_2b" |
| 231 | p.Size = Vector3.new(0.6, 0.1, 0.4) |
| 232 | p.CFrame = CFrame.new(2.1, 8.6, 0) * CFrame.Angles(math.rad(60), math.rad(-10), math.rad(10)) |
| 233 | p.BrickColor = BrickColor.new("Bright green") |
| 234 | p.Material = Enum.Material.Glacier |
| 235 | p.MaterialVariant = "2022 Stud" |
| 236 | p.Anchored = true |
| 237 | p.Parent = model |
| 238 | end |
| 239 | do |
| 240 | local p = Instance.new("Part") |
| 241 | p.Shape = Enum.PartType.Cylinder |
| 242 | p.Name = "LogBark" |
| 243 | p.Size = Vector3.new(6.5, 4.4, 4.4) |
| 244 | p.CFrame = CFrame.new(0, 12.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 245 | p.BrickColor = BrickColor.new("Pine Cone") |
| 246 | p.Material = Enum.Material.Glacier |
| 247 | p.MaterialVariant = "2022 Small Stud" |
| 248 | p.Anchored = true |
| 249 | p.Parent = model |
| 250 | end |
| 251 | do |
| 252 | local p = Instance.new("Part") |
| 253 | p.Shape = Enum.PartType.Cylinder |
| 254 | p.Name = "LogWoodFront" |
| 255 | p.Size = Vector3.new(0.2, 3.8, 3.8) |
| 256 | p.CFrame = CFrame.new(0, 12.5, -3.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 257 | p.BrickColor = BrickColor.new("Brick yellow") |
| 258 | p.Material = Enum.Material.Glacier |
| 259 | p.MaterialVariant = "2022 Stud" |
| 260 | p.Anchored = true |
| 261 | p.Parent = model |
| 262 | end |
| 263 | do |
| 264 | local p = Instance.new("Part") |
| 265 | p.Shape = Enum.PartType.Cylinder |
| 266 | p.Name = "LogWoodBack" |
| 267 | p.Size = Vector3.new(0.2, 3.8, 3.8) |
| 268 | p.CFrame = CFrame.new(0, 12.5, 3.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 269 | p.BrickColor = BrickColor.new("Brick yellow") |
| 270 | p.Material = Enum.Material.Glacier |
| 271 | p.MaterialVariant = "2022 Stud" |
| 272 | p.Anchored = true |
| 273 | p.Parent = model |
| 274 | end |
| 275 | do |
| 276 | local p = Instance.new("Part") |
| 277 | p.Shape = Enum.PartType.Cylinder |
| 278 | p.Name = "KnotBase" |
| 279 | p.Size = Vector3.new(0.6, 1.6, 1.6) |
| 280 | p.CFrame = CFrame.new(2, 12.5, 0.8) |
| 281 | p.BrickColor = BrickColor.new("Pine Cone") |
| 282 | p.Material = Enum.Material.Glacier |
| 283 | p.MaterialVariant = "2022 Small Stud" |
| 284 | p.Anchored = true |
| 285 | p.Parent = model |
| 286 | end |
| 287 | do |
| 288 | local p = Instance.new("Part") |
| 289 | p.Shape = Enum.PartType.Cylinder |
| 290 | p.Name = "KnotWood" |
| 291 | p.Size = Vector3.new(0.2, 1.2, 1.2) |
| 292 | p.CFrame = CFrame.new(2.3, 12.5, 0.8) |
| 293 | p.BrickColor = BrickColor.new("Brick yellow") |
| 294 | p.Material = Enum.Material.Glacier |
| 295 | p.MaterialVariant = "2022 Stud" |
| 296 | p.Anchored = true |
| 297 | p.Parent = model |
| 298 | end |
| 299 | do |
| 300 | local p = Instance.new("Part") |
| 301 | p.Shape = Enum.PartType.Cylinder |
| 302 | p.Name = "Stub1Bark" |
| 303 | p.Size = Vector3.new(1.97231, 1.2, 1.2) |
| 304 | p.CFrame = CFrame.new(0.3, 15.05, -1.6) * CFrame.Angles(math.rad(0), math.rad(53.1301), math.rad(59.5345)) |
| 305 | p.BrickColor = BrickColor.new("Pine Cone") |
| 306 | p.Material = Enum.Material.Glacier |
| 307 | p.MaterialVariant = "2022 Small Stud" |
| 308 | p.Anchored = true |
| 309 | p.Parent = model |
| 310 | end |
| 311 | do |
| 312 | local p = Instance.new("Part") |
| 313 | p.Shape = Enum.PartType.Ball |
| 314 | p.Name = "Stub1Wood" |
| 315 | p.Size = Vector3.new(0.9, 0.9, 0.9) |
| 316 | p.CFrame = CFrame.new(0.6, 15.9, -2) |
| 317 | p.BrickColor = BrickColor.new("Brick yellow") |
| 318 | p.Material = Enum.Material.Glacier |
| 319 | p.MaterialVariant = "2022 Stud" |
| 320 | p.Anchored = true |
| 321 | p.Parent = model |
| 322 | end |
| 323 | do |
| 324 | local p = Instance.new("Part") |
| 325 | p.Shape = Enum.PartType.Cylinder |
| 326 | p.Name = "Stub2Bark" |
| 327 | p.Size = Vector3.new(2.04451, 1.4, 1.4) |
| 328 | p.CFrame = CFrame.new(0.6, 14.95, 1.85) * CFrame.Angles(math.rad(0), math.rad(-30.2564), math.rad(47.1953)) |
| 329 | p.BrickColor = BrickColor.new("Pine Cone") |
| 330 | p.Material = Enum.Material.Glacier |
| 331 | p.MaterialVariant = "2022 Small Stud" |
| 332 | p.Anchored = true |
| 333 | p.Parent = model |
| 334 | end |
| 335 | do |
| 336 | local p = Instance.new("Part") |
| 337 | p.Shape = Enum.PartType.Ball |
| 338 | p.Name = "Stub2Wood" |
| 339 | p.Size = Vector3.new(1.1, 1.1, 1.1) |
| 340 | p.CFrame = CFrame.new(1.2, 15.7, 2.2) |
| 341 | p.BrickColor = BrickColor.new("Brick yellow") |
| 342 | p.Material = Enum.Material.Glacier |
| 343 | p.MaterialVariant = "2022 Stud" |
| 344 | p.Anchored = true |
| 345 | p.Parent = model |
| 346 | end |
| 347 | do |
| 348 | local p = Instance.new("Part") |
| 349 | p.Shape = Enum.PartType.Cylinder |
| 350 | p.Name = "Stub3Bark" |
| 351 | p.Size = Vector3.new(1.50665, 0.8, 0.8) |
| 352 | p.CFrame = CFrame.new(-2.35, 13.35, -0.65) * CFrame.Angles(math.rad(-180), math.rad(12.9946), math.rad(-152.315)) |
| 353 | p.BrickColor = BrickColor.new("Pine Cone") |
| 354 | p.Material = Enum.Material.Glacier |
| 355 | p.MaterialVariant = "2022 Small Stud" |
| 356 | p.Anchored = true |
| 357 | p.Parent = model |
| 358 | end |
| 359 | do |
| 360 | local p = Instance.new("Part") |
| 361 | p.Shape = Enum.PartType.Ball |
| 362 | p.Name = "Stub3Wood" |
| 363 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 364 | p.CFrame = CFrame.new(-3, 13.7, -0.8) |
| 365 | p.BrickColor = BrickColor.new("Brick yellow") |
| 366 | p.Material = Enum.Material.Glacier |
| 367 | p.MaterialVariant = "2022 Stud" |
| 368 | p.Anchored = true |
| 369 | p.Parent = model |
| 370 | end |
| 371 | do |
| 372 | local p = Instance.new("Part") |
| 373 | p.Name = "RimF_0" |
| 374 | p.Size = Vector3.new(0.6, 1.2, 1.2) |
| 375 | p.CFrame = CFrame.new(2.1, 12.5, -2.85) |
| 376 | p.BrickColor = BrickColor.new("Pine Cone") |
| 377 | p.Material = Enum.Material.Glacier |
| 378 | p.MaterialVariant = "2022 Small Stud" |
| 379 | p.Anchored = true |
| 380 | p.Parent = model |
| 381 | end |
| 382 | do |
| 383 | local p = Instance.new("Part") |
| 384 | p.Name = "RimB_0" |
| 385 | p.Size = Vector3.new(0.6, 1.2, 1.2) |
| 386 | p.CFrame = CFrame.new(2.1, 12.5, 2.85) |
| 387 | p.BrickColor = BrickColor.new("Pine Cone") |
| 388 | p.Material = Enum.Material.Glacier |
| 389 | p.MaterialVariant = "2022 Small Stud" |
| 390 | p.Anchored = true |
| 391 | p.Parent = model |
| 392 | end |
| 393 | do |
| 394 | local p = Instance.new("Part") |
| 395 | p.Name = "RimF_1" |
| 396 | p.Size = Vector3.new(0.8, 1.2, 1.6) |
| 397 | p.CFrame = CFrame.new(1.60869, 13.8499, -2.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)) |
| 398 | p.BrickColor = BrickColor.new("Pine Cone") |
| 399 | p.Material = Enum.Material.Glacier |
| 400 | p.MaterialVariant = "2022 Small Stud" |
| 401 | p.Anchored = true |
| 402 | p.Parent = model |
| 403 | end |
| 404 | do |
| 405 | local p = Instance.new("Part") |
| 406 | p.Name = "RimB_1" |
| 407 | p.Size = Vector3.new(0.8, 1.2, 1.6) |
| 408 | p.CFrame = CFrame.new(1.60869, 13.8499, 2.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)) |
| 409 | p.BrickColor = BrickColor.new("Pine Cone") |
| 410 | p.Material = Enum.Material.Glacier |
| 411 | p.MaterialVariant = "2022 Small Stud" |
| 412 | p.Anchored = true |
| 413 | p.Parent = model |
| 414 | end |
| 415 | do |
| 416 | local p = Instance.new("Part") |
| 417 | p.Name = "RimF_2" |
| 418 | p.Size = Vector3.new(0.6, 1.2, 2) |
| 419 | p.CFrame = CFrame.new(0.364661, 14.5681, -2.45) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(80)) |
| 420 | p.BrickColor = BrickColor.new("Pine Cone") |
| 421 | p.Material = Enum.Material.Glacier |
| 422 | p.MaterialVariant = "2022 Small Stud" |
| 423 | p.Anchored = true |
| 424 | p.Parent = model |
| 425 | end |
| 426 | do |
| 427 | local p = Instance.new("Part") |
| 428 | p.Name = "RimB_2" |
| 429 | p.Size = Vector3.new(0.6, 1.2, 2) |
| 430 | p.CFrame = CFrame.new(0.364661, 14.5681, 2.45) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(80)) |
| 431 | p.BrickColor = BrickColor.new("Pine Cone") |
| 432 | p.Material = Enum.Material.Glacier |
| 433 | p.MaterialVariant = "2022 Small Stud" |
| 434 | p.Anchored = true |
| 435 | p.Parent = model |
| 436 | end |
| 437 | do |
| 438 | local p = Instance.new("Part") |
| 439 | p.Name = "RimF_3" |
| 440 | p.Size = Vector3.new(0.8, 1.2, 1.2) |
| 441 | p.CFrame = CFrame.new(-1.05, 14.3187, -2.85) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(120)) |
| 442 | p.BrickColor = BrickColor.new("Pine Cone") |
| 443 | p.Material = Enum.Material.Glacier |
| 444 | p.MaterialVariant = "2022 Small Stud" |
| 445 | p.Anchored = true |
| 446 | p.Parent = model |
| 447 | end |
| 448 | do |
| 449 | local p = Instance.new("Part") |
| 450 | p.Name = "RimB_3" |
| 451 | p.Size = Vector3.new(0.8, 1.2, 1.2) |
| 452 | p.CFrame = CFrame.new(-1.05, 14.3187, 2.85) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(120)) |
| 453 | p.BrickColor = BrickColor.new("Pine Cone") |
| 454 | p.Material = Enum.Material.Glacier |
| 455 | p.MaterialVariant = "2022 Small Stud" |
| 456 | p.Anchored = true |
| 457 | p.Parent = model |
| 458 | end |
| 459 | do |
| 460 | local p = Instance.new("Part") |
| 461 | p.Name = "RimF_4" |
| 462 | p.Size = Vector3.new(0.6, 1.2, 1.6) |
| 463 | p.CFrame = CFrame.new(-1.97335, 13.2182, -2.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(160)) |
| 464 | p.BrickColor = BrickColor.new("Pine Cone") |
| 465 | p.Material = Enum.Material.Glacier |
| 466 | p.MaterialVariant = "2022 Small Stud" |
| 467 | p.Anchored = true |
| 468 | p.Parent = model |
| 469 | end |
| 470 | do |
| 471 | local p = Instance.new("Part") |
| 472 | p.Name = "RimB_4" |
| 473 | p.Size = Vector3.new(0.6, 1.2, 1.6) |
| 474 | p.CFrame = CFrame.new(-1.97335, 13.2182, 2.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(160)) |
| 475 | p.BrickColor = BrickColor.new("Pine Cone") |
| 476 | p.Material = Enum.Material.Glacier |
| 477 | p.MaterialVariant = "2022 Small Stud" |
| 478 | p.Anchored = true |
| 479 | p.Parent = model |
| 480 | end |
| 481 | do |
| 482 | local p = Instance.new("Part") |
| 483 | p.Name = "RimF_5" |
| 484 | p.Size = Vector3.new(0.8, 1.2, 2) |
| 485 | p.CFrame = CFrame.new(-1.97335, 11.7818, -2.45) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(200)) |
| 486 | p.BrickColor = BrickColor.new("Pine Cone") |
| 487 | p.Material = Enum.Material.Glacier |
| 488 | p.MaterialVariant = "2022 Small Stud" |
| 489 | p.Anchored = true |
| 490 | p.Parent = model |
| 491 | end |
| 492 | do |
| 493 | local p = Instance.new("Part") |
| 494 | p.Name = "RimB_5" |
| 495 | p.Size = Vector3.new(0.8, 1.2, 2) |
| 496 | p.CFrame = CFrame.new(-1.97335, 11.7818, 2.45) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(200)) |
| 497 | p.BrickColor = BrickColor.new("Pine Cone") |
| 498 | p.Material = Enum.Material.Glacier |
| 499 | p.MaterialVariant = "2022 Small Stud" |
| 500 | p.Anchored = true |
| 501 | p.Parent = model |
| 502 | end |
| 503 | do |
| 504 | local p = Instance.new("Part") |
| 505 | p.Name = "RimF_6" |
| 506 | p.Size = Vector3.new(0.6, 1.2, 1.2) |
| 507 | p.CFrame = CFrame.new(-1.05, 10.6813, -2.85) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(240)) |
| 508 | p.BrickColor = BrickColor.new("Pine Cone") |
| 509 | p.Material = Enum.Material.Glacier |
| 510 | p.MaterialVariant = "2022 Small Stud" |
| 511 | p.Anchored = true |
| 512 | p.Parent = model |
| 513 | end |
| 514 | do |
| 515 | local p = Instance.new("Part") |
| 516 | p.Name = "RimB_6" |
| 517 | p.Size = Vector3.new(0.6, 1.2, 1.2) |
| 518 | p.CFrame = CFrame.new(-1.05, 10.6813, 2.85) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(240)) |
| 519 | p.BrickColor = BrickColor.new("Pine Cone") |
| 520 | p.Material = Enum.Material.Glacier |
| 521 | p.MaterialVariant = "2022 Small Stud" |
| 522 | p.Anchored = true |
| 523 | p.Parent = model |
| 524 | end |
| 525 | do |
| 526 | local p = Instance.new("Part") |
| 527 | p.Name = "RimF_7" |
| 528 | p.Size = Vector3.new(0.8, 1.2, 1.6) |
| 529 | p.CFrame = CFrame.new(0.364661, 10.4319, -2.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(280)) |
| 530 | p.BrickColor = BrickColor.new("Pine Cone") |
| 531 | p.Material = Enum.Material.Glacier |
| 532 | p.MaterialVariant = "2022 Small Stud" |
| 533 | p.Anchored = true |
| 534 | p.Parent = model |
| 535 | end |
| 536 | do |
| 537 | local p = Instance.new("Part") |
| 538 | p.Name = "RimB_7" |
| 539 | p.Size = Vector3.new(0.8, 1.2, 1.6) |
| 540 | p.CFrame = CFrame.new(0.364661, 10.4319, 2.65) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(280)) |
| 541 | p.BrickColor = BrickColor.new("Pine Cone") |
| 542 | p.Material = Enum.Material.Glacier |
| 543 | p.MaterialVariant = "2022 Small Stud" |
| 544 | p.Anchored = true |
| 545 | p.Parent = model |
| 546 | end |
| 547 | do |
| 548 | local p = Instance.new("Part") |
| 549 | p.Name = "RimF_8" |
| 550 | p.Size = Vector3.new(0.6, 1.2, 2) |
| 551 | p.CFrame = CFrame.new(1.60869, 11.1501, -2.45) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(320)) |
| 552 | p.BrickColor = BrickColor.new("Pine Cone") |
| 553 | p.Material = Enum.Material.Glacier |
| 554 | p.MaterialVariant = "2022 Small Stud" |
| 555 | p.Anchored = true |
| 556 | p.Parent = model |
| 557 | end |
| 558 | do |
| 559 | local p = Instance.new("Part") |
| 560 | p.Name = "RimB_8" |
| 561 | p.Size = Vector3.new(0.6, 1.2, 2) |
| 562 | p.CFrame = CFrame.new(1.60869, 11.1501, 2.45) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(320)) |
| 563 | p.BrickColor = BrickColor.new("Pine Cone") |
| 564 | p.Material = Enum.Material.Glacier |
| 565 | p.MaterialVariant = "2022 Small Stud" |
| 566 | p.Anchored = true |
| 567 | p.Parent = model |
| 568 | end |
| 569 | do |
| 570 | local rightV = Vector3.new(1,0,0).Unit |
| 571 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 572 | local normalV = upV:Cross(rightV) |
| 573 | local pos = Vector3.new(0, 12.5, -3.36) |
| 574 | local cyl = Instance.new("Part") |
| 575 | cyl.Shape = Enum.PartType.Cylinder |
| 576 | cyl.Size = Vector3.new(0.15, 0.6, 0.6) |
| 577 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 578 | cyl.BrickColor = BrickColor.new("Nougat") |
| 579 | cyl.Material = Enum.Material.Glacier |
| 580 | cyl.MaterialVariant = "2022 Stud" |
| 581 | cyl.Anchored = true; cyl.Parent = workspace |
| 582 | local cuts = {} |
| 583 | local hole = Instance.new("Part") |
| 584 | hole.Shape = Enum.PartType.Cylinder |
| 585 | hole.Size = Vector3.new(0.35, 0.2, 0.2) |
| 586 | hole.CFrame = cyl.CFrame |
| 587 | hole.BrickColor = BrickColor.new("Nougat") |
| 588 | hole.Material = Enum.Material.Glacier |
| 589 | hole.MaterialVariant = "2022 Stud" |
| 590 | hole.Anchored = true; hole.Parent = workspace |
| 591 | table.insert(cuts, hole) |
| 592 | local angBoxes = {} |
| 593 | do |
| 594 | local edgeDir = 1*rightV + 0*upV |
| 595 | local edgePerp = 0*rightV + 1*upV |
| 596 | local cut = Instance.new("Part") |
| 597 | cut.Size = Vector3.new(1.2, 0.35, 1.2) |
| 598 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 0.6 * edgePerp, edgeDir, normalV) |
| 599 | cut.BrickColor = BrickColor.new("Nougat") |
| 600 | cut.Material = Enum.Material.Glacier |
| 601 | cut.MaterialVariant = "2022 Stud" |
| 602 | cut.Anchored = true; cut.Parent = workspace |
| 603 | table.insert(angBoxes, cut) |
| 604 | end |
| 605 | do |
| 606 | local edgeDir = -1*rightV + 0*upV |
| 607 | local edgePerp = 0*rightV + -1*upV |
| 608 | local cut = Instance.new("Part") |
| 609 | cut.Size = Vector3.new(1.2, 0.35, 1.2) |
| 610 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 0.6 * edgePerp, edgeDir, normalV) |
| 611 | cut.BrickColor = BrickColor.new("Nougat") |
| 612 | cut.Material = Enum.Material.Glacier |
| 613 | cut.MaterialVariant = "2022 Stud" |
| 614 | cut.Anchored = true; cut.Parent = workspace |
| 615 | table.insert(angBoxes, cut) |
| 616 | end |
| 617 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 618 | if #cuts > 0 then |
| 619 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 620 | for _, c in ipairs(cuts) do c:Destroy() end |
| 621 | if ok and result then |
| 622 | cyl:Destroy() |
| 623 | result.Name = "SpF1"; result.Anchored = true; result.Parent = model |
| 624 | else |
| 625 | cyl.Name = "SpF1"; cyl.Parent = model |
| 626 | end |
| 627 | else |
| 628 | cyl.Name = "SpF1"; cyl.Parent = model |
| 629 | end |
| 630 | end |
| 631 | do |
| 632 | local rightV = Vector3.new(1,0,0).Unit |
| 633 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 634 | local normalV = upV:Cross(rightV) |
| 635 | local pos = Vector3.new(0, 12.5, -3.36) |
| 636 | local cyl = Instance.new("Part") |
| 637 | cyl.Shape = Enum.PartType.Cylinder |
| 638 | cyl.Size = Vector3.new(0.15, 1, 1) |
| 639 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 640 | cyl.BrickColor = BrickColor.new("Nougat") |
| 641 | cyl.Material = Enum.Material.Glacier |
| 642 | cyl.MaterialVariant = "2022 Stud" |
| 643 | cyl.Anchored = true; cyl.Parent = workspace |
| 644 | local cuts = {} |
| 645 | local hole = Instance.new("Part") |
| 646 | hole.Shape = Enum.PartType.Cylinder |
| 647 | hole.Size = Vector3.new(0.35, 0.6, 0.6) |
| 648 | hole.CFrame = cyl.CFrame |
| 649 | hole.BrickColor = BrickColor.new("Nougat") |
| 650 | hole.Material = Enum.Material.Glacier |
| 651 | hole.MaterialVariant = "2022 Stud" |
| 652 | hole.Anchored = true; hole.Parent = workspace |
| 653 | table.insert(cuts, hole) |
| 654 | local angBoxes = {} |
| 655 | do |
| 656 | local edgeDir = -1*rightV + 0*upV |
| 657 | local edgePerp = 0*rightV + -1*upV |
| 658 | local cut = Instance.new("Part") |
| 659 | cut.Size = Vector3.new(2, 0.35, 2) |
| 660 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1 * edgePerp, edgeDir, normalV) |
| 661 | cut.BrickColor = BrickColor.new("Nougat") |
| 662 | cut.Material = Enum.Material.Glacier |
| 663 | cut.MaterialVariant = "2022 Stud" |
| 664 | cut.Anchored = true; cut.Parent = workspace |
| 665 | table.insert(angBoxes, cut) |
| 666 | end |
| 667 | do |
| 668 | local edgeDir = 1*rightV + 0*upV |
| 669 | local edgePerp = 0*rightV + 1*upV |
| 670 | local cut = Instance.new("Part") |
| 671 | cut.Size = Vector3.new(2, 0.35, 2) |
| 672 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1 * edgePerp, edgeDir, normalV) |
| 673 | cut.BrickColor = BrickColor.new("Nougat") |
| 674 | cut.Material = Enum.Material.Glacier |
| 675 | cut.MaterialVariant = "2022 Stud" |
| 676 | cut.Anchored = true; cut.Parent = workspace |
| 677 | table.insert(angBoxes, cut) |
| 678 | end |
| 679 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 680 | if #cuts > 0 then |
| 681 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 682 | for _, c in ipairs(cuts) do c:Destroy() end |
| 683 | if ok and result then |
| 684 | cyl:Destroy() |
| 685 | result.Name = "SpF2"; result.Anchored = true; result.Parent = model |
| 686 | else |
| 687 | cyl.Name = "SpF2"; cyl.Parent = model |
| 688 | end |
| 689 | else |
| 690 | cyl.Name = "SpF2"; cyl.Parent = model |
| 691 | end |
| 692 | end |
| 693 | do |
| 694 | local rightV = Vector3.new(1,0,0).Unit |
| 695 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 696 | local normalV = upV:Cross(rightV) |
| 697 | local pos = Vector3.new(0, 12.5, -3.36) |
| 698 | local cyl = Instance.new("Part") |
| 699 | cyl.Shape = Enum.PartType.Cylinder |
| 700 | cyl.Size = Vector3.new(0.15, 1.4, 1.4) |
| 701 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 702 | cyl.BrickColor = BrickColor.new("Nougat") |
| 703 | cyl.Material = Enum.Material.Glacier |
| 704 | cyl.MaterialVariant = "2022 Stud" |
| 705 | cyl.Anchored = true; cyl.Parent = workspace |
| 706 | local cuts = {} |
| 707 | local hole = Instance.new("Part") |
| 708 | hole.Shape = Enum.PartType.Cylinder |
| 709 | hole.Size = Vector3.new(0.35, 1, 1) |
| 710 | hole.CFrame = cyl.CFrame |
| 711 | hole.BrickColor = BrickColor.new("Nougat") |
| 712 | hole.Material = Enum.Material.Glacier |
| 713 | hole.MaterialVariant = "2022 Stud" |
| 714 | hole.Anchored = true; hole.Parent = workspace |
| 715 | table.insert(cuts, hole) |
| 716 | local angBoxes = {} |
| 717 | do |
| 718 | local edgeDir = 1*rightV + 0*upV |
| 719 | local edgePerp = 0*rightV + 1*upV |
| 720 | local cut = Instance.new("Part") |
| 721 | cut.Size = Vector3.new(2.8, 0.35, 2.8) |
| 722 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.4 * edgePerp, edgeDir, normalV) |
| 723 | cut.BrickColor = BrickColor.new("Nougat") |
| 724 | cut.Material = Enum.Material.Glacier |
| 725 | cut.MaterialVariant = "2022 Stud" |
| 726 | cut.Anchored = true; cut.Parent = workspace |
| 727 | table.insert(angBoxes, cut) |
| 728 | end |
| 729 | do |
| 730 | local edgeDir = -1*rightV + 0*upV |
| 731 | local edgePerp = 0*rightV + -1*upV |
| 732 | local cut = Instance.new("Part") |
| 733 | cut.Size = Vector3.new(2.8, 0.35, 2.8) |
| 734 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.4 * edgePerp, edgeDir, normalV) |
| 735 | cut.BrickColor = BrickColor.new("Nougat") |
| 736 | cut.Material = Enum.Material.Glacier |
| 737 | cut.MaterialVariant = "2022 Stud" |
| 738 | cut.Anchored = true; cut.Parent = workspace |
| 739 | table.insert(angBoxes, cut) |
| 740 | end |
| 741 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 742 | if #cuts > 0 then |
| 743 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 744 | for _, c in ipairs(cuts) do c:Destroy() end |
| 745 | if ok and result then |
| 746 | cyl:Destroy() |
| 747 | result.Name = "SpF3"; result.Anchored = true; result.Parent = model |
| 748 | else |
| 749 | cyl.Name = "SpF3"; cyl.Parent = model |
| 750 | end |
| 751 | else |
| 752 | cyl.Name = "SpF3"; cyl.Parent = model |
| 753 | end |
| 754 | end |
| 755 | do |
| 756 | local rightV = Vector3.new(1,0,0).Unit |
| 757 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 758 | local normalV = upV:Cross(rightV) |
| 759 | local pos = Vector3.new(0, 12.5, -3.4) |
| 760 | local cyl = Instance.new("Part") |
| 761 | cyl.Shape = Enum.PartType.Cylinder |
| 762 | cyl.Size = Vector3.new(0.15, 1.8, 1.8) |
| 763 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 764 | cyl.BrickColor = BrickColor.new("Nougat") |
| 765 | cyl.Material = Enum.Material.Glacier |
| 766 | cyl.MaterialVariant = "2022 Stud" |
| 767 | cyl.Anchored = true; cyl.Parent = workspace |
| 768 | local cuts = {} |
| 769 | local hole = Instance.new("Part") |
| 770 | hole.Shape = Enum.PartType.Cylinder |
| 771 | hole.Size = Vector3.new(0.35, 1.4, 1.4) |
| 772 | hole.CFrame = cyl.CFrame |
| 773 | hole.BrickColor = BrickColor.new("Nougat") |
| 774 | hole.Material = Enum.Material.Glacier |
| 775 | hole.MaterialVariant = "2022 Stud" |
| 776 | hole.Anchored = true; hole.Parent = workspace |
| 777 | table.insert(cuts, hole) |
| 778 | local angBoxes = {} |
| 779 | do |
| 780 | local edgeDir = -1*rightV + 0*upV |
| 781 | local edgePerp = 0*rightV + -1*upV |
| 782 | local cut = Instance.new("Part") |
| 783 | cut.Size = Vector3.new(3.6, 0.35, 3.6) |
| 784 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.8 * edgePerp, edgeDir, normalV) |
| 785 | cut.BrickColor = BrickColor.new("Nougat") |
| 786 | cut.Material = Enum.Material.Glacier |
| 787 | cut.MaterialVariant = "2022 Stud" |
| 788 | cut.Anchored = true; cut.Parent = workspace |
| 789 | table.insert(angBoxes, cut) |
| 790 | end |
| 791 | do |
| 792 | local edgeDir = 1*rightV + 0*upV |
| 793 | local edgePerp = 0*rightV + 1*upV |
| 794 | local cut = Instance.new("Part") |
| 795 | cut.Size = Vector3.new(3.6, 0.35, 3.6) |
| 796 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.8 * edgePerp, edgeDir, normalV) |
| 797 | cut.BrickColor = BrickColor.new("Nougat") |
| 798 | cut.Material = Enum.Material.Glacier |
| 799 | cut.MaterialVariant = "2022 Stud" |
| 800 | cut.Anchored = true; cut.Parent = workspace |
| 801 | table.insert(angBoxes, cut) |
| 802 | end |
| 803 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 804 | if #cuts > 0 then |
| 805 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 806 | for _, c in ipairs(cuts) do c:Destroy() end |
| 807 | if ok and result then |
| 808 | cyl:Destroy() |
| 809 | result.Name = "SpF4"; result.Anchored = true; result.Parent = model |
| 810 | else |
| 811 | cyl.Name = "SpF4"; cyl.Parent = model |
| 812 | end |
| 813 | else |
| 814 | cyl.Name = "SpF4"; cyl.Parent = model |
| 815 | end |
| 816 | end |
| 817 | do |
| 818 | local rightV = Vector3.new(1,0,0).Unit |
| 819 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 820 | local normalV = upV:Cross(rightV) |
| 821 | local pos = Vector3.new(0, 12.5, -3.4) |
| 822 | local cyl = Instance.new("Part") |
| 823 | cyl.Shape = Enum.PartType.Cylinder |
| 824 | cyl.Size = Vector3.new(0.15, 2.2, 2.2) |
| 825 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 826 | cyl.BrickColor = BrickColor.new("Nougat") |
| 827 | cyl.Material = Enum.Material.Glacier |
| 828 | cyl.MaterialVariant = "2022 Stud" |
| 829 | cyl.Anchored = true; cyl.Parent = workspace |
| 830 | local cuts = {} |
| 831 | local hole = Instance.new("Part") |
| 832 | hole.Shape = Enum.PartType.Cylinder |
| 833 | hole.Size = Vector3.new(0.35, 1.8, 1.8) |
| 834 | hole.CFrame = cyl.CFrame |
| 835 | hole.BrickColor = BrickColor.new("Nougat") |
| 836 | hole.Material = Enum.Material.Glacier |
| 837 | hole.MaterialVariant = "2022 Stud" |
| 838 | hole.Anchored = true; hole.Parent = workspace |
| 839 | table.insert(cuts, hole) |
| 840 | local angBoxes = {} |
| 841 | do |
| 842 | local edgeDir = 1*rightV + 0*upV |
| 843 | local edgePerp = 0*rightV + 1*upV |
| 844 | local cut = Instance.new("Part") |
| 845 | cut.Size = Vector3.new(4.4, 0.35, 4.4) |
| 846 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.2 * edgePerp, edgeDir, normalV) |
| 847 | cut.BrickColor = BrickColor.new("Nougat") |
| 848 | cut.Material = Enum.Material.Glacier |
| 849 | cut.MaterialVariant = "2022 Stud" |
| 850 | cut.Anchored = true; cut.Parent = workspace |
| 851 | table.insert(angBoxes, cut) |
| 852 | end |
| 853 | do |
| 854 | local edgeDir = -1*rightV + 0*upV |
| 855 | local edgePerp = 0*rightV + -1*upV |
| 856 | local cut = Instance.new("Part") |
| 857 | cut.Size = Vector3.new(4.4, 0.35, 4.4) |
| 858 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.2 * edgePerp, edgeDir, normalV) |
| 859 | cut.BrickColor = BrickColor.new("Nougat") |
| 860 | cut.Material = Enum.Material.Glacier |
| 861 | cut.MaterialVariant = "2022 Stud" |
| 862 | cut.Anchored = true; cut.Parent = workspace |
| 863 | table.insert(angBoxes, cut) |
| 864 | end |
| 865 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 866 | if #cuts > 0 then |
| 867 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 868 | for _, c in ipairs(cuts) do c:Destroy() end |
| 869 | if ok and result then |
| 870 | cyl:Destroy() |
| 871 | result.Name = "SpF5"; result.Anchored = true; result.Parent = model |
| 872 | else |
| 873 | cyl.Name = "SpF5"; cyl.Parent = model |
| 874 | end |
| 875 | else |
| 876 | cyl.Name = "SpF5"; cyl.Parent = model |
| 877 | end |
| 878 | end |
| 879 | do |
| 880 | local rightV = Vector3.new(1,0,0).Unit |
| 881 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 882 | local normalV = upV:Cross(rightV) |
| 883 | local pos = Vector3.new(0, 12.5, 3.29) |
| 884 | local cyl = Instance.new("Part") |
| 885 | cyl.Shape = Enum.PartType.Cylinder |
| 886 | cyl.Size = Vector3.new(0.15, 0.6, 0.6) |
| 887 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 888 | cyl.BrickColor = BrickColor.new("Nougat") |
| 889 | cyl.Material = Enum.Material.Glacier |
| 890 | cyl.MaterialVariant = "2022 Stud" |
| 891 | cyl.Anchored = true; cyl.Parent = workspace |
| 892 | local cuts = {} |
| 893 | local hole = Instance.new("Part") |
| 894 | hole.Shape = Enum.PartType.Cylinder |
| 895 | hole.Size = Vector3.new(0.35, 0.2, 0.2) |
| 896 | hole.CFrame = cyl.CFrame |
| 897 | hole.BrickColor = BrickColor.new("Nougat") |
| 898 | hole.Material = Enum.Material.Glacier |
| 899 | hole.MaterialVariant = "2022 Stud" |
| 900 | hole.Anchored = true; hole.Parent = workspace |
| 901 | table.insert(cuts, hole) |
| 902 | local angBoxes = {} |
| 903 | do |
| 904 | local edgeDir = 1*rightV + 0*upV |
| 905 | local edgePerp = 0*rightV + 1*upV |
| 906 | local cut = Instance.new("Part") |
| 907 | cut.Size = Vector3.new(1.2, 0.35, 1.2) |
| 908 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 0.6 * edgePerp, edgeDir, normalV) |
| 909 | cut.BrickColor = BrickColor.new("Nougat") |
| 910 | cut.Material = Enum.Material.Glacier |
| 911 | cut.MaterialVariant = "2022 Stud" |
| 912 | cut.Anchored = true; cut.Parent = workspace |
| 913 | table.insert(angBoxes, cut) |
| 914 | end |
| 915 | do |
| 916 | local edgeDir = -1*rightV + 0*upV |
| 917 | local edgePerp = 0*rightV + -1*upV |
| 918 | local cut = Instance.new("Part") |
| 919 | cut.Size = Vector3.new(1.2, 0.35, 1.2) |
| 920 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 0.6 * edgePerp, edgeDir, normalV) |
| 921 | cut.BrickColor = BrickColor.new("Nougat") |
| 922 | cut.Material = Enum.Material.Glacier |
| 923 | cut.MaterialVariant = "2022 Stud" |
| 924 | cut.Anchored = true; cut.Parent = workspace |
| 925 | table.insert(angBoxes, cut) |
| 926 | end |
| 927 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 928 | if #cuts > 0 then |
| 929 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 930 | for _, c in ipairs(cuts) do c:Destroy() end |
| 931 | if ok and result then |
| 932 | cyl:Destroy() |
| 933 | result.Name = "SpB1"; result.Anchored = true; result.Parent = model |
| 934 | else |
| 935 | cyl.Name = "SpB1"; cyl.Parent = model |
| 936 | end |
| 937 | else |
| 938 | cyl.Name = "SpB1"; cyl.Parent = model |
| 939 | end |
| 940 | end |
| 941 | do |
| 942 | local rightV = Vector3.new(1,0,0).Unit |
| 943 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 944 | local normalV = upV:Cross(rightV) |
| 945 | local pos = Vector3.new(0, 12.5, 3.29) |
| 946 | local cyl = Instance.new("Part") |
| 947 | cyl.Shape = Enum.PartType.Cylinder |
| 948 | cyl.Size = Vector3.new(0.15, 1, 1) |
| 949 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 950 | cyl.BrickColor = BrickColor.new("Nougat") |
| 951 | cyl.Material = Enum.Material.Glacier |
| 952 | cyl.MaterialVariant = "2022 Stud" |
| 953 | cyl.Anchored = true; cyl.Parent = workspace |
| 954 | local cuts = {} |
| 955 | local hole = Instance.new("Part") |
| 956 | hole.Shape = Enum.PartType.Cylinder |
| 957 | hole.Size = Vector3.new(0.35, 0.6, 0.6) |
| 958 | hole.CFrame = cyl.CFrame |
| 959 | hole.BrickColor = BrickColor.new("Nougat") |
| 960 | hole.Material = Enum.Material.Glacier |
| 961 | hole.MaterialVariant = "2022 Stud" |
| 962 | hole.Anchored = true; hole.Parent = workspace |
| 963 | table.insert(cuts, hole) |
| 964 | local angBoxes = {} |
| 965 | do |
| 966 | local edgeDir = -1*rightV + 0*upV |
| 967 | local edgePerp = 0*rightV + -1*upV |
| 968 | local cut = Instance.new("Part") |
| 969 | cut.Size = Vector3.new(2, 0.35, 2) |
| 970 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1 * edgePerp, edgeDir, normalV) |
| 971 | cut.BrickColor = BrickColor.new("Nougat") |
| 972 | cut.Material = Enum.Material.Glacier |
| 973 | cut.MaterialVariant = "2022 Stud" |
| 974 | cut.Anchored = true; cut.Parent = workspace |
| 975 | table.insert(angBoxes, cut) |
| 976 | end |
| 977 | do |
| 978 | local edgeDir = 1*rightV + 0*upV |
| 979 | local edgePerp = 0*rightV + 1*upV |
| 980 | local cut = Instance.new("Part") |
| 981 | cut.Size = Vector3.new(2, 0.35, 2) |
| 982 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1 * edgePerp, edgeDir, normalV) |
| 983 | cut.BrickColor = BrickColor.new("Nougat") |
| 984 | cut.Material = Enum.Material.Glacier |
| 985 | cut.MaterialVariant = "2022 Stud" |
| 986 | cut.Anchored = true; cut.Parent = workspace |
| 987 | table.insert(angBoxes, cut) |
| 988 | end |
| 989 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 990 | if #cuts > 0 then |
| 991 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 992 | for _, c in ipairs(cuts) do c:Destroy() end |
| 993 | if ok and result then |
| 994 | cyl:Destroy() |
| 995 | result.Name = "SpB2"; result.Anchored = true; result.Parent = model |
| 996 | else |
| 997 | cyl.Name = "SpB2"; cyl.Parent = model |
| 998 | end |
| 999 | else |
| 1000 | cyl.Name = "SpB2"; cyl.Parent = model |
| 1001 | end |
| 1002 | end |
| 1003 | do |
| 1004 | local rightV = Vector3.new(1,0,0).Unit |
| 1005 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1006 | local normalV = upV:Cross(rightV) |
| 1007 | local pos = Vector3.new(0, 12.5, 3.29) |
| 1008 | local cyl = Instance.new("Part") |
| 1009 | cyl.Shape = Enum.PartType.Cylinder |
| 1010 | cyl.Size = Vector3.new(0.15, 1.4, 1.4) |
| 1011 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1012 | cyl.BrickColor = BrickColor.new("Nougat") |
| 1013 | cyl.Material = Enum.Material.Glacier |
| 1014 | cyl.MaterialVariant = "2022 Stud" |
| 1015 | cyl.Anchored = true; cyl.Parent = workspace |
| 1016 | local cuts = {} |
| 1017 | local hole = Instance.new("Part") |
| 1018 | hole.Shape = Enum.PartType.Cylinder |
| 1019 | hole.Size = Vector3.new(0.35, 1, 1) |
| 1020 | hole.CFrame = cyl.CFrame |
| 1021 | hole.BrickColor = BrickColor.new("Nougat") |
| 1022 | hole.Material = Enum.Material.Glacier |
| 1023 | hole.MaterialVariant = "2022 Stud" |
| 1024 | hole.Anchored = true; hole.Parent = workspace |
| 1025 | table.insert(cuts, hole) |
| 1026 | local angBoxes = {} |
| 1027 | do |
| 1028 | local edgeDir = 1*rightV + 0*upV |
| 1029 | local edgePerp = 0*rightV + 1*upV |
| 1030 | local cut = Instance.new("Part") |
| 1031 | cut.Size = Vector3.new(2.8, 0.35, 2.8) |
| 1032 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.4 * edgePerp, edgeDir, normalV) |
| 1033 | cut.BrickColor = BrickColor.new("Nougat") |
| 1034 | cut.Material = Enum.Material.Glacier |
| 1035 | cut.MaterialVariant = "2022 Stud" |
| 1036 | cut.Anchored = true; cut.Parent = workspace |
| 1037 | table.insert(angBoxes, cut) |
| 1038 | end |
| 1039 | do |
| 1040 | local edgeDir = -1*rightV + 0*upV |
| 1041 | local edgePerp = 0*rightV + -1*upV |
| 1042 | local cut = Instance.new("Part") |
| 1043 | cut.Size = Vector3.new(2.8, 0.35, 2.8) |
| 1044 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.4 * edgePerp, edgeDir, normalV) |
| 1045 | cut.BrickColor = BrickColor.new("Nougat") |
| 1046 | cut.Material = Enum.Material.Glacier |
| 1047 | cut.MaterialVariant = "2022 Stud" |
| 1048 | cut.Anchored = true; cut.Parent = workspace |
| 1049 | table.insert(angBoxes, cut) |
| 1050 | end |
| 1051 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1052 | if #cuts > 0 then |
| 1053 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1054 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1055 | if ok and result then |
| 1056 | cyl:Destroy() |
| 1057 | result.Name = "SpB3"; result.Anchored = true; result.Parent = model |
| 1058 | else |
| 1059 | cyl.Name = "SpB3"; cyl.Parent = model |
| 1060 | end |
| 1061 | else |
| 1062 | cyl.Name = "SpB3"; cyl.Parent = model |
| 1063 | end |
| 1064 | end |
| 1065 | do |
| 1066 | local rightV = Vector3.new(1,0,0).Unit |
| 1067 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1068 | local normalV = upV:Cross(rightV) |
| 1069 | local pos = Vector3.new(0, 12.5, 3.25) |
| 1070 | local cyl = Instance.new("Part") |
| 1071 | cyl.Shape = Enum.PartType.Cylinder |
| 1072 | cyl.Size = Vector3.new(0.15, 1.8, 1.8) |
| 1073 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1074 | cyl.BrickColor = BrickColor.new("Nougat") |
| 1075 | cyl.Material = Enum.Material.Glacier |
| 1076 | cyl.MaterialVariant = "2022 Stud" |
| 1077 | cyl.Anchored = true; cyl.Parent = workspace |
| 1078 | local cuts = {} |
| 1079 | local hole = Instance.new("Part") |
| 1080 | hole.Shape = Enum.PartType.Cylinder |
| 1081 | hole.Size = Vector3.new(0.35, 1.4, 1.4) |
| 1082 | hole.CFrame = cyl.CFrame |
| 1083 | hole.BrickColor = BrickColor.new("Nougat") |
| 1084 | hole.Material = Enum.Material.Glacier |
| 1085 | hole.MaterialVariant = "2022 Stud" |
| 1086 | hole.Anchored = true; hole.Parent = workspace |
| 1087 | table.insert(cuts, hole) |
| 1088 | local angBoxes = {} |
| 1089 | do |
| 1090 | local edgeDir = -1*rightV + 0*upV |
| 1091 | local edgePerp = 0*rightV + -1*upV |
| 1092 | local cut = Instance.new("Part") |
| 1093 | cut.Size = Vector3.new(3.6, 0.35, 3.6) |
| 1094 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 1.8 * edgePerp, edgeDir, normalV) |
| 1095 | cut.BrickColor = BrickColor.new("Nougat") |
| 1096 | cut.Material = Enum.Material.Glacier |
| 1097 | cut.MaterialVariant = "2022 Stud" |
| 1098 | cut.Anchored = true; cut.Parent = workspace |
| 1099 | table.insert(angBoxes, cut) |
| 1100 | end |
| 1101 | do |
| 1102 | local edgeDir = 1*rightV + 0*upV |
| 1103 | local edgePerp = 0*rightV + 1*upV |
| 1104 | local cut = Instance.new("Part") |
| 1105 | cut.Size = Vector3.new(3.6, 0.35, 3.6) |
| 1106 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 1.8 * edgePerp, edgeDir, normalV) |
| 1107 | cut.BrickColor = BrickColor.new("Nougat") |
| 1108 | cut.Material = Enum.Material.Glacier |
| 1109 | cut.MaterialVariant = "2022 Stud" |
| 1110 | cut.Anchored = true; cut.Parent = workspace |
| 1111 | table.insert(angBoxes, cut) |
| 1112 | end |
| 1113 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1114 | if #cuts > 0 then |
| 1115 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1116 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1117 | if ok and result then |
| 1118 | cyl:Destroy() |
| 1119 | result.Name = "SpB4"; result.Anchored = true; result.Parent = model |
| 1120 | else |
| 1121 | cyl.Name = "SpB4"; cyl.Parent = model |
| 1122 | end |
| 1123 | else |
| 1124 | cyl.Name = "SpB4"; cyl.Parent = model |
| 1125 | end |
| 1126 | end |
| 1127 | do |
| 1128 | local rightV = Vector3.new(1,0,0).Unit |
| 1129 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1130 | local normalV = upV:Cross(rightV) |
| 1131 | local pos = Vector3.new(0, 12.5, 3.25) |
| 1132 | local cyl = Instance.new("Part") |
| 1133 | cyl.Shape = Enum.PartType.Cylinder |
| 1134 | cyl.Size = Vector3.new(0.15, 2.2, 2.2) |
| 1135 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1136 | cyl.BrickColor = BrickColor.new("Nougat") |
| 1137 | cyl.Material = Enum.Material.Glacier |
| 1138 | cyl.MaterialVariant = "2022 Stud" |
| 1139 | cyl.Anchored = true; cyl.Parent = workspace |
| 1140 | local cuts = {} |
| 1141 | local hole = Instance.new("Part") |
| 1142 | hole.Shape = Enum.PartType.Cylinder |
| 1143 | hole.Size = Vector3.new(0.35, 1.8, 1.8) |
| 1144 | hole.CFrame = cyl.CFrame |
| 1145 | hole.BrickColor = BrickColor.new("Nougat") |
| 1146 | hole.Material = Enum.Material.Glacier |
| 1147 | hole.MaterialVariant = "2022 Stud" |
| 1148 | hole.Anchored = true; hole.Parent = workspace |
| 1149 | table.insert(cuts, hole) |
| 1150 | local angBoxes = {} |
| 1151 | do |
| 1152 | local edgeDir = 1*rightV + 0*upV |
| 1153 | local edgePerp = 0*rightV + 1*upV |
| 1154 | local cut = Instance.new("Part") |
| 1155 | cut.Size = Vector3.new(4.4, 0.35, 4.4) |
| 1156 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2.2 * edgePerp, edgeDir, normalV) |
| 1157 | cut.BrickColor = BrickColor.new("Nougat") |
| 1158 | cut.Material = Enum.Material.Glacier |
| 1159 | cut.MaterialVariant = "2022 Stud" |
| 1160 | cut.Anchored = true; cut.Parent = workspace |
| 1161 | table.insert(angBoxes, cut) |
| 1162 | end |
| 1163 | do |
| 1164 | local edgeDir = -1*rightV + 0*upV |
| 1165 | local edgePerp = 0*rightV + -1*upV |
| 1166 | local cut = Instance.new("Part") |
| 1167 | cut.Size = Vector3.new(4.4, 0.35, 4.4) |
| 1168 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2.2 * edgePerp, edgeDir, normalV) |
| 1169 | cut.BrickColor = BrickColor.new("Nougat") |
| 1170 | cut.Material = Enum.Material.Glacier |
| 1171 | cut.MaterialVariant = "2022 Stud" |
| 1172 | cut.Anchored = true; cut.Parent = workspace |
| 1173 | table.insert(angBoxes, cut) |
| 1174 | end |
| 1175 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1176 | if #cuts > 0 then |
| 1177 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1178 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1179 | if ok and result then |
| 1180 | cyl:Destroy() |
| 1181 | result.Name = "SpB5"; result.Anchored = true; result.Parent = model |
| 1182 | else |
| 1183 | cyl.Name = "SpB5"; cyl.Parent = model |
| 1184 | end |
| 1185 | else |
| 1186 | cyl.Name = "SpB5"; cyl.Parent = model |
| 1187 | end |
| 1188 | end |
| 1189 | do |
| 1190 | local rightV = Vector3.new(0,0,1).Unit |
| 1191 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1192 | local normalV = upV:Cross(rightV) |
| 1193 | local pos = Vector3.new(2.39, 12.5, 0.8) |
| 1194 | local cyl = Instance.new("Part") |
| 1195 | cyl.Shape = Enum.PartType.Cylinder |
| 1196 | cyl.Size = Vector3.new(0.1, 0.4, 0.4) |
| 1197 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1198 | cyl.BrickColor = BrickColor.new("Nougat") |
| 1199 | cyl.Material = Enum.Material.Glacier |
| 1200 | cyl.MaterialVariant = "2022 Stud" |
| 1201 | cyl.Anchored = true; cyl.Parent = workspace |
| 1202 | local cuts = {} |
| 1203 | local hole = Instance.new("Part") |
| 1204 | hole.Shape = Enum.PartType.Cylinder |
| 1205 | hole.Size = Vector3.new(0.3, 0.1, 0.1) |
| 1206 | hole.CFrame = cyl.CFrame |
| 1207 | hole.BrickColor = BrickColor.new("Nougat") |
| 1208 | hole.Material = Enum.Material.Glacier |
| 1209 | hole.MaterialVariant = "2022 Stud" |
| 1210 | hole.Anchored = true; hole.Parent = workspace |
| 1211 | table.insert(cuts, hole) |
| 1212 | local angBoxes = {} |
| 1213 | do |
| 1214 | local edgeDir = 1*rightV + 0*upV |
| 1215 | local edgePerp = 0*rightV + 1*upV |
| 1216 | local cut = Instance.new("Part") |
| 1217 | cut.Size = Vector3.new(0.8, 0.3, 0.8) |
| 1218 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 0.4 * edgePerp, edgeDir, normalV) |
| 1219 | cut.BrickColor = BrickColor.new("Nougat") |
| 1220 | cut.Material = Enum.Material.Glacier |
| 1221 | cut.MaterialVariant = "2022 Stud" |
| 1222 | cut.Anchored = true; cut.Parent = workspace |
| 1223 | table.insert(angBoxes, cut) |
| 1224 | end |
| 1225 | do |
| 1226 | local edgeDir = -1*rightV + 0*upV |
| 1227 | local edgePerp = 0*rightV + -1*upV |
| 1228 | local cut = Instance.new("Part") |
| 1229 | cut.Size = Vector3.new(0.8, 0.3, 0.8) |
| 1230 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 0.4 * edgePerp, edgeDir, normalV) |
| 1231 | cut.BrickColor = BrickColor.new("Nougat") |
| 1232 | cut.Material = Enum.Material.Glacier |
| 1233 | cut.MaterialVariant = "2022 Stud" |
| 1234 | cut.Anchored = true; cut.Parent = workspace |
| 1235 | table.insert(angBoxes, cut) |
| 1236 | end |
| 1237 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1238 | if #cuts > 0 then |
| 1239 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1240 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1241 | if ok and result then |
| 1242 | cyl:Destroy() |
| 1243 | result.Name = "SpK1"; result.Anchored = true; result.Parent = model |
| 1244 | else |
| 1245 | cyl.Name = "SpK1"; cyl.Parent = model |
| 1246 | end |
| 1247 | else |
| 1248 | cyl.Name = "SpK1"; cyl.Parent = model |
| 1249 | end |
| 1250 | end |
| 1251 | do |
| 1252 | local rightV = Vector3.new(0,0,1).Unit |
| 1253 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1254 | local normalV = upV:Cross(rightV) |
| 1255 | local pos = Vector3.new(2.39, 12.5, 0.8) |
| 1256 | local cyl = Instance.new("Part") |
| 1257 | cyl.Shape = Enum.PartType.Cylinder |
| 1258 | cyl.Size = Vector3.new(0.1, 0.7, 0.7) |
| 1259 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1260 | cyl.BrickColor = BrickColor.new("Nougat") |
| 1261 | cyl.Material = Enum.Material.Glacier |
| 1262 | cyl.MaterialVariant = "2022 Stud" |
| 1263 | cyl.Anchored = true; cyl.Parent = workspace |
| 1264 | local cuts = {} |
| 1265 | local hole = Instance.new("Part") |
| 1266 | hole.Shape = Enum.PartType.Cylinder |
| 1267 | hole.Size = Vector3.new(0.3, 0.4, 0.4) |
| 1268 | hole.CFrame = cyl.CFrame |
| 1269 | hole.BrickColor = BrickColor.new("Nougat") |
| 1270 | hole.Material = Enum.Material.Glacier |
| 1271 | hole.MaterialVariant = "2022 Stud" |
| 1272 | hole.Anchored = true; hole.Parent = workspace |
| 1273 | table.insert(cuts, hole) |
| 1274 | local angBoxes = {} |
| 1275 | do |
| 1276 | local edgeDir = -1*rightV + 0*upV |
| 1277 | local edgePerp = 0*rightV + -1*upV |
| 1278 | local cut = Instance.new("Part") |
| 1279 | cut.Size = Vector3.new(1.4, 0.3, 1.4) |
| 1280 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 0.7 * edgePerp, edgeDir, normalV) |
| 1281 | cut.BrickColor = BrickColor.new("Nougat") |
| 1282 | cut.Material = Enum.Material.Glacier |
| 1283 | cut.MaterialVariant = "2022 Stud" |
| 1284 | cut.Anchored = true; cut.Parent = workspace |
| 1285 | table.insert(angBoxes, cut) |
| 1286 | end |
| 1287 | do |
| 1288 | local edgeDir = 1*rightV + 0*upV |
| 1289 | local edgePerp = 0*rightV + 1*upV |
| 1290 | local cut = Instance.new("Part") |
| 1291 | cut.Size = Vector3.new(1.4, 0.3, 1.4) |
| 1292 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 0.7 * edgePerp, edgeDir, normalV) |
| 1293 | cut.BrickColor = BrickColor.new("Nougat") |
| 1294 | cut.Material = Enum.Material.Glacier |
| 1295 | cut.MaterialVariant = "2022 Stud" |
| 1296 | cut.Anchored = true; cut.Parent = workspace |
| 1297 | table.insert(angBoxes, cut) |
| 1298 | end |
| 1299 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1300 | if #cuts > 0 then |
| 1301 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1302 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1303 | if ok and result then |
| 1304 | cyl:Destroy() |
| 1305 | result.Name = "SpK2"; result.Anchored = true; result.Parent = model |
| 1306 | else |
| 1307 | cyl.Name = "SpK2"; cyl.Parent = model |
| 1308 | end |
| 1309 | else |
| 1310 | cyl.Name = "SpK2"; cyl.Parent = model |
| 1311 | end |
| 1312 | end |
| 1313 | model.PrimaryPart = model:FindFirstChild("LogBark") |
| 1314 | print("StumpyHammer built: " .. #model:GetChildren() .. " parts") |
Loading comments...