Loading model...
by Luke Fricke · 9/3/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: OrnateArmchair |
| 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 = "OrnateArmchair" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Cashmere"] = "2022 Stud", |
| 25 | ["Dusty Rose"] = "2022 Stud", |
| 26 | ["Pine Cone"] = "2022 Small Stud", |
| 27 | ["Sand green"] = "2022 Stud", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "SeatFrame" |
| 32 | p.Size = Vector3.new(10, 1, 10) |
| 33 | p.CFrame = CFrame.new(0, 4.5, 0) |
| 34 | p.BrickColor = BrickColor.new("Pine Cone") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Small Stud" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "ApronCenter" |
| 43 | p.Size = Vector3.new(4, 1.4, 0.8) |
| 44 | p.CFrame = CFrame.new(0, 3.8, -4.5) |
| 45 | p.BrickColor = BrickColor.new("Pine Cone") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Small Stud" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Name = "ApronL" |
| 54 | p.Size = Vector3.new(3, 1, 0.6) |
| 55 | p.CFrame = CFrame.new(-3, 4, -4.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)) |
| 56 | p.BrickColor = BrickColor.new("Pine Cone") |
| 57 | p.Material = Enum.Material.Glacier |
| 58 | p.MaterialVariant = "2022 Small Stud" |
| 59 | p.Anchored = true |
| 60 | p.Parent = model |
| 61 | end |
| 62 | do |
| 63 | local p = Instance.new("Part") |
| 64 | p.Name = "ApronR" |
| 65 | p.Size = Vector3.new(3, 1, 0.6) |
| 66 | p.CFrame = CFrame.new(3, 4, -4.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)) |
| 67 | p.BrickColor = BrickColor.new("Pine Cone") |
| 68 | p.Material = Enum.Material.Glacier |
| 69 | p.MaterialVariant = "2022 Small Stud" |
| 70 | p.Anchored = true |
| 71 | p.Parent = model |
| 72 | end |
| 73 | do |
| 74 | local p = Instance.new("Part") |
| 75 | p.Shape = Enum.PartType.Cylinder |
| 76 | p.Name = "ApronFlower" |
| 77 | p.Size = Vector3.new(0.4, 1.2, 1.2) |
| 78 | p.CFrame = CFrame.new(0, 3.8, -4.74) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 79 | p.BrickColor = BrickColor.new("Pine Cone") |
| 80 | p.Material = Enum.Material.Glacier |
| 81 | p.MaterialVariant = "2022 Small Stud" |
| 82 | p.Anchored = true |
| 83 | p.Parent = model |
| 84 | end |
| 85 | do |
| 86 | local p = Instance.new("Part") |
| 87 | p.Name = "SeatCushion" |
| 88 | p.Size = Vector3.new(9.6, 1, 9.6) |
| 89 | p.CFrame = CFrame.new(0, 5.25, 0) |
| 90 | p.BrickColor = BrickColor.new("Cashmere") |
| 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 = "SeatCushionTop" |
| 99 | p.Size = Vector3.new(8.6, 0.5, 8.6) |
| 100 | p.CFrame = CFrame.new(0, 5.6, 0) |
| 101 | p.BrickColor = BrickColor.new("Cashmere") |
| 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 = "PatS1" |
| 110 | p.Size = Vector3.new(2.5, 0.05, 2.5) |
| 111 | p.CFrame = CFrame.new(0, 5.9, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 112 | p.BrickColor = BrickColor.new("Dusty Rose") |
| 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.Name = "PatS2" |
| 121 | p.Size = Vector3.new(1.8, 0.05, 1.8) |
| 122 | p.CFrame = CFrame.new(2, 5.98, 1.5) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) |
| 123 | p.BrickColor = BrickColor.new("Sand green") |
| 124 | p.Material = Enum.Material.Glacier |
| 125 | p.MaterialVariant = "2022 Stud" |
| 126 | p.Anchored = true |
| 127 | p.Parent = model |
| 128 | end |
| 129 | do |
| 130 | local p = Instance.new("Part") |
| 131 | p.Name = "PatS3" |
| 132 | p.Size = Vector3.new(1.5, 0.05, 1.5) |
| 133 | p.CFrame = CFrame.new(-2, 6.06, -1) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)) |
| 134 | p.BrickColor = BrickColor.new("Sand green") |
| 135 | p.Material = Enum.Material.Glacier |
| 136 | p.MaterialVariant = "2022 Stud" |
| 137 | p.Anchored = true |
| 138 | p.Parent = model |
| 139 | end |
| 140 | do |
| 141 | local p = Instance.new("Part") |
| 142 | p.Name = "PatS4" |
| 143 | p.Size = Vector3.new(2, 0.05, 2) |
| 144 | p.CFrame = CFrame.new(0, 5.98, -2.5) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 145 | p.BrickColor = BrickColor.new("Dusty Rose") |
| 146 | p.Material = Enum.Material.Glacier |
| 147 | p.MaterialVariant = "2022 Stud" |
| 148 | p.Anchored = true |
| 149 | p.Parent = model |
| 150 | end |
| 151 | do |
| 152 | local p = Instance.new("Part") |
| 153 | p.Name = "FLLeg1" |
| 154 | p.Size = Vector3.new(2.23159, 1.4, 1.4) |
| 155 | p.CFrame = CFrame.new(-4.85, 3.5, -4.85) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(116.334)) |
| 156 | p.BrickColor = BrickColor.new("Pine Cone") |
| 157 | p.Material = Enum.Material.Glacier |
| 158 | p.MaterialVariant = "2022 Small Stud" |
| 159 | p.Anchored = true |
| 160 | p.Parent = model |
| 161 | end |
| 162 | do |
| 163 | local p = Instance.new("Part") |
| 164 | p.Name = "FLLeg2" |
| 165 | p.Size = Vector3.new(2.21133, 1, 1) |
| 166 | p.CFrame = CFrame.new(-4.7, 1.65, -4.7) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-50.2433)) |
| 167 | p.BrickColor = BrickColor.new("Pine Cone") |
| 168 | p.Material = Enum.Material.Glacier |
| 169 | p.MaterialVariant = "2022 Small Stud" |
| 170 | p.Anchored = true |
| 171 | p.Parent = model |
| 172 | end |
| 173 | do |
| 174 | local p = Instance.new("Part") |
| 175 | p.Name = "FLLeg3" |
| 176 | p.Size = Vector3.new(1.03923, 1.2, 1.2) |
| 177 | p.CFrame = CFrame.new(-4.5, 0.5, -4.5) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(144.736)) |
| 178 | p.BrickColor = BrickColor.new("Pine Cone") |
| 179 | p.Material = Enum.Material.Glacier |
| 180 | p.MaterialVariant = "2022 Small Stud" |
| 181 | p.Anchored = true |
| 182 | p.Parent = model |
| 183 | end |
| 184 | do |
| 185 | local p = Instance.new("Part") |
| 186 | p.Name = "FRLeg1" |
| 187 | p.Size = Vector3.new(2.23159, 1.4, 1.4) |
| 188 | p.CFrame = CFrame.new(4.85, 3.5, -4.85) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-63.6658)) |
| 189 | p.BrickColor = BrickColor.new("Pine Cone") |
| 190 | p.Material = Enum.Material.Glacier |
| 191 | p.MaterialVariant = "2022 Small Stud" |
| 192 | p.Anchored = true |
| 193 | p.Parent = model |
| 194 | end |
| 195 | do |
| 196 | local p = Instance.new("Part") |
| 197 | p.Name = "FRLeg2" |
| 198 | p.Size = Vector3.new(2.21133, 1, 1) |
| 199 | p.CFrame = CFrame.new(4.7, 1.65, -4.7) * CFrame.Angles(math.rad(-180), math.rad(-45), math.rad(129.757)) |
| 200 | p.BrickColor = BrickColor.new("Pine Cone") |
| 201 | p.Material = Enum.Material.Glacier |
| 202 | p.MaterialVariant = "2022 Small Stud" |
| 203 | p.Anchored = true |
| 204 | p.Parent = model |
| 205 | end |
| 206 | do |
| 207 | local p = Instance.new("Part") |
| 208 | p.Name = "FRLeg3" |
| 209 | p.Size = Vector3.new(1.03923, 1.2, 1.2) |
| 210 | p.CFrame = CFrame.new(4.5, 0.5, -4.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-35.2644)) |
| 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 = "BLLeg1" |
| 220 | p.Size = Vector3.new(2.2561, 1.2, 1.2) |
| 221 | p.CFrame = CFrame.new(-4.65, 3.5, 5) * CFrame.Angles(math.rad(-180), math.rad(-73.3008), math.rad(117.565)) |
| 222 | p.BrickColor = BrickColor.new("Pine Cone") |
| 223 | p.Material = Enum.Material.Glacier |
| 224 | p.MaterialVariant = "2022 Small Stud" |
| 225 | p.Anchored = true |
| 226 | p.Parent = model |
| 227 | end |
| 228 | do |
| 229 | local p = Instance.new("Part") |
| 230 | p.Name = "BLLeg2" |
| 231 | p.Size = Vector3.new(2.42899, 0.9, 0.9) |
| 232 | p.CFrame = CFrame.new(-4.5, 1.35, 5.75) * CFrame.Angles(math.rad(0), math.rad(-39.8056), math.rad(-71.2437)) |
| 233 | p.BrickColor = BrickColor.new("Pine Cone") |
| 234 | p.Material = Enum.Material.Glacier |
| 235 | p.MaterialVariant = "2022 Small Stud" |
| 236 | p.Anchored = true |
| 237 | p.Parent = model |
| 238 | end |
| 239 | do |
| 240 | local p = Instance.new("Part") |
| 241 | p.Name = "BRLeg1" |
| 242 | p.Size = Vector3.new(2.2561, 1.2, 1.2) |
| 243 | p.CFrame = CFrame.new(4.65, 3.5, 5) * CFrame.Angles(math.rad(0), math.rad(-73.3008), math.rad(-62.4348)) |
| 244 | p.BrickColor = BrickColor.new("Pine Cone") |
| 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.Name = "BRLeg2" |
| 253 | p.Size = Vector3.new(2.42899, 0.9, 0.9) |
| 254 | p.CFrame = CFrame.new(4.5, 1.35, 5.75) * CFrame.Angles(math.rad(-180), math.rad(-39.8056), math.rad(108.756)) |
| 255 | p.BrickColor = BrickColor.new("Pine Cone") |
| 256 | p.Material = Enum.Material.Glacier |
| 257 | p.MaterialVariant = "2022 Small Stud" |
| 258 | p.Anchored = true |
| 259 | p.Parent = model |
| 260 | end |
| 261 | do |
| 262 | local p = Instance.new("Part") |
| 263 | p.Name = "BackFrameL" |
| 264 | p.Size = Vector3.new(1, 10, 1) |
| 265 | p.CFrame = CFrame.new(-4.58, 9.75236, 5.77339) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 266 | p.BrickColor = BrickColor.new("Pine Cone") |
| 267 | p.Material = Enum.Material.Glacier |
| 268 | p.MaterialVariant = "2022 Small Stud" |
| 269 | p.Anchored = true |
| 270 | p.Parent = model |
| 271 | end |
| 272 | do |
| 273 | local p = Instance.new("Part") |
| 274 | p.Name = "BackFrameR" |
| 275 | p.Size = Vector3.new(1, 10, 1) |
| 276 | p.CFrame = CFrame.new(4.58, 9.75236, 5.77339) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 277 | p.BrickColor = BrickColor.new("Pine Cone") |
| 278 | p.Material = Enum.Material.Glacier |
| 279 | p.MaterialVariant = "2022 Small Stud" |
| 280 | p.Anchored = true |
| 281 | p.Parent = model |
| 282 | end |
| 283 | do |
| 284 | local p = Instance.new("Part") |
| 285 | p.Name = "BackCushion" |
| 286 | p.Size = Vector3.new(8, 10, 1.2) |
| 287 | p.CFrame = CFrame.new(0, 9.82963, 5.7941) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 288 | p.BrickColor = BrickColor.new("Cashmere") |
| 289 | p.Material = Enum.Material.Glacier |
| 290 | p.MaterialVariant = "2022 Stud" |
| 291 | p.Anchored = true |
| 292 | p.Parent = model |
| 293 | end |
| 294 | do |
| 295 | local p = Instance.new("Part") |
| 296 | p.Name = "BackCushionBulge" |
| 297 | p.Size = Vector3.new(7, 9, 1) |
| 298 | p.CFrame = CFrame.new(0, 9.82963, 5.5941) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 299 | p.BrickColor = BrickColor.new("Cashmere") |
| 300 | p.Material = Enum.Material.Glacier |
| 301 | p.MaterialVariant = "2022 Stud" |
| 302 | p.Anchored = true |
| 303 | p.Parent = model |
| 304 | end |
| 305 | do |
| 306 | local p = Instance.new("Part") |
| 307 | p.Name = "CarvingTop1" |
| 308 | p.Size = Vector3.new(2, 2, 1.2) |
| 309 | p.CFrame = CFrame.new(0, 19.4785, 8.42093) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(45)) |
| 310 | p.BrickColor = BrickColor.new("Pine Cone") |
| 311 | p.Material = Enum.Material.Glacier |
| 312 | p.MaterialVariant = "2022 Small Stud" |
| 313 | p.Anchored = true |
| 314 | p.Parent = model |
| 315 | end |
| 316 | do |
| 317 | local p = Instance.new("Part") |
| 318 | p.Name = "CarvingTop2" |
| 319 | p.Size = Vector3.new(1.5, 1.5, 1.2) |
| 320 | p.CFrame = CFrame.new(-1.5, 19.0578, 8.3982) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(15)) |
| 321 | p.BrickColor = BrickColor.new("Pine Cone") |
| 322 | p.Material = Enum.Material.Glacier |
| 323 | p.MaterialVariant = "2022 Small Stud" |
| 324 | p.Anchored = true |
| 325 | p.Parent = model |
| 326 | end |
| 327 | do |
| 328 | local p = Instance.new("Part") |
| 329 | p.Name = "CarvingTop3" |
| 330 | p.Size = Vector3.new(1.5, 1.5, 1.2) |
| 331 | p.CFrame = CFrame.new(1.5, 19.0578, 8.3982) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-15)) |
| 332 | p.BrickColor = BrickColor.new("Pine Cone") |
| 333 | p.Material = Enum.Material.Glacier |
| 334 | p.MaterialVariant = "2022 Small Stud" |
| 335 | p.Anchored = true |
| 336 | p.Parent = model |
| 337 | end |
| 338 | do |
| 339 | local p = Instance.new("Part") |
| 340 | p.Name = "PatB1" |
| 341 | p.Size = Vector3.new(3, 3, 0.1) |
| 342 | p.CFrame = CFrame.new(0, 10.0082, 5.1276) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(45)) |
| 343 | p.BrickColor = BrickColor.new("Dusty Rose") |
| 344 | p.Material = Enum.Material.Glacier |
| 345 | p.MaterialVariant = "2022 Stud" |
| 346 | p.Anchored = true |
| 347 | p.Parent = model |
| 348 | end |
| 349 | do |
| 350 | local p = Instance.new("Part") |
| 351 | p.Name = "PatB2" |
| 352 | p.Size = Vector3.new(2, 2, 0.1) |
| 353 | p.CFrame = CFrame.new(1.8, 11.4571, 5.51583) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(20)) |
| 354 | p.BrickColor = BrickColor.new("Sand green") |
| 355 | p.Material = Enum.Material.Glacier |
| 356 | p.MaterialVariant = "2022 Stud" |
| 357 | p.Anchored = true |
| 358 | p.Parent = model |
| 359 | end |
| 360 | do |
| 361 | local p = Instance.new("Part") |
| 362 | p.Name = "PatB3" |
| 363 | p.Size = Vector3.new(1.8, 1.8, 0.1) |
| 364 | p.CFrame = CFrame.new(-1.8, 8.59038, 4.62346) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(-30)) |
| 365 | p.BrickColor = BrickColor.new("Sand green") |
| 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 = "ArmPostL" |
| 374 | p.Size = Vector3.new(3, 1, 1) |
| 375 | p.CFrame = CFrame.new(-4.5, 6.58, -3.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 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 = "ArmPostR" |
| 385 | p.Size = Vector3.new(3, 1, 1) |
| 386 | p.CFrame = CFrame.new(4.5, 6.58, -3.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 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 = "ArmWoodL" |
| 396 | p.Size = Vector3.new(8.57887, 0.8, 0.8) |
| 397 | p.CFrame = CFrame.new(-4.5, 8.43185, 1.26764) * CFrame.Angles(math.rad(-5.77822), math.rad(90), math.rad(0)) |
| 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 = "ArmWoodR" |
| 407 | p.Size = Vector3.new(8.57887, 0.8, 0.8) |
| 408 | p.CFrame = CFrame.new(4.5, 8.43185, 1.26764) * CFrame.Angles(math.rad(-5.77822), math.rad(90), math.rad(0)) |
| 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 = "ArmPadL" |
| 418 | p.Size = Vector3.new(7.0881, 1.2, 0.6) |
| 419 | p.CFrame = CFrame.new(-4.5, 8.83185, 1.51764) * CFrame.Angles(math.rad(-6.99904), math.rad(90), math.rad(0)) |
| 420 | p.BrickColor = BrickColor.new("Cashmere") |
| 421 | p.Material = Enum.Material.Glacier |
| 422 | p.MaterialVariant = "2022 Stud" |
| 423 | p.Anchored = true |
| 424 | p.Parent = model |
| 425 | end |
| 426 | do |
| 427 | local p = Instance.new("Part") |
| 428 | p.Name = "ArmPadR" |
| 429 | p.Size = Vector3.new(7.0881, 1.2, 0.6) |
| 430 | p.CFrame = CFrame.new(4.5, 8.83185, 1.51764) * CFrame.Angles(math.rad(-6.99904), math.rad(90), math.rad(0)) |
| 431 | p.BrickColor = BrickColor.new("Cashmere") |
| 432 | p.Material = Enum.Material.Glacier |
| 433 | p.MaterialVariant = "2022 Stud" |
| 434 | p.Anchored = true |
| 435 | p.Parent = model |
| 436 | end |
| 437 | do |
| 438 | local p = Instance.new("Part") |
| 439 | p.Shape = Enum.PartType.Cylinder |
| 440 | p.Name = "ArmPadFrontL" |
| 441 | p.Size = Vector3.new(1.2, 0.6, 0.6) |
| 442 | p.CFrame = CFrame.new(-4.5, 8.4, -2) |
| 443 | p.BrickColor = BrickColor.new("Cashmere") |
| 444 | p.Material = Enum.Material.Glacier |
| 445 | p.MaterialVariant = "2022 Stud" |
| 446 | p.Anchored = true |
| 447 | p.Parent = model |
| 448 | end |
| 449 | do |
| 450 | local p = Instance.new("Part") |
| 451 | p.Shape = Enum.PartType.Cylinder |
| 452 | p.Name = "ArmPadFrontR" |
| 453 | p.Size = Vector3.new(1.2, 0.6, 0.6) |
| 454 | p.CFrame = CFrame.new(4.5, 8.4, -2) |
| 455 | p.BrickColor = BrickColor.new("Cashmere") |
| 456 | p.Material = Enum.Material.Glacier |
| 457 | p.MaterialVariant = "2022 Stud" |
| 458 | p.Anchored = true |
| 459 | p.Parent = model |
| 460 | end |
| 461 | do |
| 462 | local p = Instance.new("Part") |
| 463 | p.Shape = Enum.PartType.Cylinder |
| 464 | p.Name = "ArmScrollL" |
| 465 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 466 | p.CFrame = CFrame.new(-4.5, 8, -3.5) |
| 467 | p.BrickColor = BrickColor.new("Pine Cone") |
| 468 | p.Material = Enum.Material.Glacier |
| 469 | p.MaterialVariant = "2022 Small Stud" |
| 470 | p.Anchored = true |
| 471 | p.Parent = model |
| 472 | end |
| 473 | do |
| 474 | local p = Instance.new("Part") |
| 475 | p.Shape = Enum.PartType.Cylinder |
| 476 | p.Name = "ArmScrollR" |
| 477 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 478 | p.CFrame = CFrame.new(4.5, 8, -3.5) |
| 479 | p.BrickColor = BrickColor.new("Pine Cone") |
| 480 | p.Material = Enum.Material.Glacier |
| 481 | p.MaterialVariant = "2022 Small Stud" |
| 482 | p.Anchored = true |
| 483 | p.Parent = model |
| 484 | end |
| 485 | do |
| 486 | local rightV = Vector3.new(1,0,0).Unit |
| 487 | local upV = (Vector3.new(0,0.965926,0.258819) - Vector3.new(0,0.965926,0.258819):Dot(rightV)*rightV).Unit |
| 488 | local normalV = upV:Cross(rightV) |
| 489 | local pos = Vector3.new(0, 14.6593, 7.08819) |
| 490 | local cyl = Instance.new("Part") |
| 491 | cyl.Shape = Enum.PartType.Cylinder |
| 492 | cyl.Size = Vector3.new(1, 10, 10) |
| 493 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 494 | cyl.BrickColor = BrickColor.new("Pine Cone") |
| 495 | cyl.Material = Enum.Material.Glacier |
| 496 | cyl.MaterialVariant = "2022 Small Stud" |
| 497 | cyl.Anchored = true; cyl.Parent = workspace |
| 498 | local cuts = {} |
| 499 | local hole = Instance.new("Part") |
| 500 | hole.Shape = Enum.PartType.Cylinder |
| 501 | hole.Size = Vector3.new(1.2, 8, 8) |
| 502 | hole.CFrame = cyl.CFrame |
| 503 | hole.BrickColor = BrickColor.new("Pine Cone") |
| 504 | hole.Material = Enum.Material.Glacier |
| 505 | hole.MaterialVariant = "2022 Small Stud" |
| 506 | hole.Anchored = true; hole.Parent = workspace |
| 507 | table.insert(cuts, hole) |
| 508 | local angBoxes = {} |
| 509 | do |
| 510 | local edgeDir = 1*rightV + 0*upV |
| 511 | local edgePerp = 0*rightV + 1*upV |
| 512 | local cut = Instance.new("Part") |
| 513 | cut.Size = Vector3.new(20, 1.2, 20) |
| 514 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10 * edgePerp, edgeDir, normalV) |
| 515 | cut.BrickColor = BrickColor.new("Pine Cone") |
| 516 | cut.Material = Enum.Material.Glacier |
| 517 | cut.MaterialVariant = "2022 Small Stud" |
| 518 | cut.Anchored = true; cut.Parent = workspace |
| 519 | table.insert(angBoxes, cut) |
| 520 | end |
| 521 | do |
| 522 | local edgeDir = -1*rightV + 0*upV |
| 523 | local edgePerp = 0*rightV + -1*upV |
| 524 | local cut = Instance.new("Part") |
| 525 | cut.Size = Vector3.new(20, 1.2, 20) |
| 526 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10 * edgePerp, edgeDir, normalV) |
| 527 | cut.BrickColor = BrickColor.new("Pine Cone") |
| 528 | cut.Material = Enum.Material.Glacier |
| 529 | cut.MaterialVariant = "2022 Small Stud" |
| 530 | cut.Anchored = true; cut.Parent = workspace |
| 531 | table.insert(angBoxes, cut) |
| 532 | end |
| 533 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 534 | if #cuts > 0 then |
| 535 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 536 | for _, c in ipairs(cuts) do c:Destroy() end |
| 537 | if ok and result then |
| 538 | cyl:Destroy() |
| 539 | result.Name = "BackTopFrame"; result.Anchored = true; result.Parent = model |
| 540 | else |
| 541 | cyl.Name = "BackTopFrame"; cyl.Parent = model |
| 542 | end |
| 543 | else |
| 544 | cyl.Name = "BackTopFrame"; cyl.Parent = model |
| 545 | end |
| 546 | end |
| 547 | do |
| 548 | local rightV = Vector3.new(1,0,0).Unit |
| 549 | local upV = (Vector3.new(0,0.965926,0.258819) - Vector3.new(0,0.965926,0.258819):Dot(rightV)*rightV).Unit |
| 550 | local normalV = upV:Cross(rightV) |
| 551 | local pos = Vector3.new(0, 14.6979, 7.09854) |
| 552 | local cyl = Instance.new("Part") |
| 553 | cyl.Shape = Enum.PartType.Cylinder |
| 554 | cyl.Size = Vector3.new(1.2, 8, 8) |
| 555 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 556 | cyl.BrickColor = BrickColor.new("Cashmere") |
| 557 | cyl.Material = Enum.Material.Glacier |
| 558 | cyl.MaterialVariant = "2022 Stud" |
| 559 | cyl.Anchored = true; cyl.Parent = workspace |
| 560 | local cuts = {} |
| 561 | local angBoxes = {} |
| 562 | do |
| 563 | local edgeDir = 1*rightV + 0*upV |
| 564 | local edgePerp = 0*rightV + 1*upV |
| 565 | local cut = Instance.new("Part") |
| 566 | cut.Size = Vector3.new(16, 1.4, 16) |
| 567 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 8 * edgePerp, edgeDir, normalV) |
| 568 | cut.BrickColor = BrickColor.new("Cashmere") |
| 569 | cut.Material = Enum.Material.Glacier |
| 570 | cut.MaterialVariant = "2022 Stud" |
| 571 | cut.Anchored = true; cut.Parent = workspace |
| 572 | table.insert(angBoxes, cut) |
| 573 | end |
| 574 | do |
| 575 | local edgeDir = -1*rightV + 0*upV |
| 576 | local edgePerp = 0*rightV + -1*upV |
| 577 | local cut = Instance.new("Part") |
| 578 | cut.Size = Vector3.new(16, 1.4, 16) |
| 579 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 8 * edgePerp, edgeDir, normalV) |
| 580 | cut.BrickColor = BrickColor.new("Cashmere") |
| 581 | cut.Material = Enum.Material.Glacier |
| 582 | cut.MaterialVariant = "2022 Stud" |
| 583 | cut.Anchored = true; cut.Parent = workspace |
| 584 | table.insert(angBoxes, cut) |
| 585 | end |
| 586 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 587 | if #cuts > 0 then |
| 588 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 589 | for _, c in ipairs(cuts) do c:Destroy() end |
| 590 | if ok and result then |
| 591 | cyl:Destroy() |
| 592 | result.Name = "BackTopCushion"; result.Anchored = true; result.Parent = model |
| 593 | else |
| 594 | cyl.Name = "BackTopCushion"; cyl.Parent = model |
| 595 | end |
| 596 | else |
| 597 | cyl.Name = "BackTopCushion"; cyl.Parent = model |
| 598 | end |
| 599 | end |
| 600 | model.PrimaryPart = model:FindFirstChild("SeatFrame") |
| 601 | print("OrnateArmchair built: " .. #model:GetChildren() .. " parts") |
Loading comments...