Loading model...
by Asher Flekser · 4/20/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: LollipopWand |
| 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 = "LollipopWand" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Carnation pink"] = "2022 Stud", |
| 25 | ["Cool yellow"] = "2022 Stud", |
| 26 | ["Cyan"] = "2022 Stud", |
| 27 | ["Gold"] = "2022 Stud", |
| 28 | ["Institutional white"] = "2022 Stud", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Shape = Enum.PartType.Cylinder |
| 33 | p.Name = "HandleStripe_0" |
| 34 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 35 | p.CFrame = CFrame.new(0, 5.125, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 36 | p.BrickColor = BrickColor.new("Institutional white") |
| 37 | p.Material = Enum.Material.Glacier |
| 38 | p.MaterialVariant = "2022 Stud" |
| 39 | p.Anchored = true |
| 40 | p.Parent = model |
| 41 | end |
| 42 | do |
| 43 | local p = Instance.new("Part") |
| 44 | p.Shape = Enum.PartType.Cylinder |
| 45 | p.Name = "HandleStripe_1" |
| 46 | p.Size = Vector3.new(0.65, 1.16, 1.16) |
| 47 | p.CFrame = CFrame.new(0, 5.775, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 48 | p.BrickColor = BrickColor.new("Carnation pink") |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Stud" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Shape = Enum.PartType.Cylinder |
| 57 | p.Name = "HandleStripe_2" |
| 58 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 59 | p.CFrame = CFrame.new(0, 6.425, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 60 | p.BrickColor = BrickColor.new("Institutional white") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Stud" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Shape = Enum.PartType.Cylinder |
| 69 | p.Name = "HandleStripe_3" |
| 70 | p.Size = Vector3.new(0.65, 1.16, 1.16) |
| 71 | p.CFrame = CFrame.new(0, 7.075, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 72 | p.BrickColor = BrickColor.new("Cyan") |
| 73 | p.Material = Enum.Material.Glacier |
| 74 | p.MaterialVariant = "2022 Stud" |
| 75 | p.Anchored = true |
| 76 | p.Parent = model |
| 77 | end |
| 78 | do |
| 79 | local p = Instance.new("Part") |
| 80 | p.Shape = Enum.PartType.Cylinder |
| 81 | p.Name = "HandleStripe_4" |
| 82 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 83 | p.CFrame = CFrame.new(0, 7.725, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 84 | p.BrickColor = BrickColor.new("Institutional white") |
| 85 | p.Material = Enum.Material.Glacier |
| 86 | p.MaterialVariant = "2022 Stud" |
| 87 | p.Anchored = true |
| 88 | p.Parent = model |
| 89 | end |
| 90 | do |
| 91 | local p = Instance.new("Part") |
| 92 | p.Shape = Enum.PartType.Cylinder |
| 93 | p.Name = "HandleStripe_5" |
| 94 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 95 | p.CFrame = CFrame.new(0, 8.375, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 96 | p.BrickColor = BrickColor.new("Cool yellow") |
| 97 | p.Material = Enum.Material.Glacier |
| 98 | p.MaterialVariant = "2022 Stud" |
| 99 | p.Anchored = true |
| 100 | p.Parent = model |
| 101 | end |
| 102 | do |
| 103 | local p = Instance.new("Part") |
| 104 | p.Shape = Enum.PartType.Cylinder |
| 105 | p.Name = "HandleStripe_6" |
| 106 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 107 | p.CFrame = CFrame.new(0, 9.025, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 108 | p.BrickColor = BrickColor.new("Institutional white") |
| 109 | p.Material = Enum.Material.Glacier |
| 110 | p.MaterialVariant = "2022 Stud" |
| 111 | p.Anchored = true |
| 112 | p.Parent = model |
| 113 | end |
| 114 | do |
| 115 | local p = Instance.new("Part") |
| 116 | p.Shape = Enum.PartType.Cylinder |
| 117 | p.Name = "HandleStripe_7" |
| 118 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 119 | p.CFrame = CFrame.new(0, 9.675, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 120 | p.BrickColor = BrickColor.new("Carnation pink") |
| 121 | p.Material = Enum.Material.Glacier |
| 122 | p.MaterialVariant = "2022 Stud" |
| 123 | p.Anchored = true |
| 124 | p.Parent = model |
| 125 | end |
| 126 | do |
| 127 | local p = Instance.new("Part") |
| 128 | p.Shape = Enum.PartType.Cylinder |
| 129 | p.Name = "HandleStripe_8" |
| 130 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 131 | p.CFrame = CFrame.new(0, 10.325, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 132 | p.BrickColor = BrickColor.new("Institutional white") |
| 133 | p.Material = Enum.Material.Glacier |
| 134 | p.MaterialVariant = "2022 Stud" |
| 135 | p.Anchored = true |
| 136 | p.Parent = model |
| 137 | end |
| 138 | do |
| 139 | local p = Instance.new("Part") |
| 140 | p.Shape = Enum.PartType.Cylinder |
| 141 | p.Name = "HandleStripe_9" |
| 142 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 143 | p.CFrame = CFrame.new(0, 10.975, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 144 | p.BrickColor = BrickColor.new("Cyan") |
| 145 | p.Material = Enum.Material.Glacier |
| 146 | p.MaterialVariant = "2022 Stud" |
| 147 | p.Anchored = true |
| 148 | p.Parent = model |
| 149 | end |
| 150 | do |
| 151 | local p = Instance.new("Part") |
| 152 | p.Shape = Enum.PartType.Cylinder |
| 153 | p.Name = "HandleStripe_10" |
| 154 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 155 | p.CFrame = CFrame.new(0, 11.625, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 156 | p.BrickColor = BrickColor.new("Institutional white") |
| 157 | p.Material = Enum.Material.Glacier |
| 158 | p.MaterialVariant = "2022 Stud" |
| 159 | p.Anchored = true |
| 160 | p.Parent = model |
| 161 | end |
| 162 | do |
| 163 | local p = Instance.new("Part") |
| 164 | p.Shape = Enum.PartType.Cylinder |
| 165 | p.Name = "HandleStripe_11" |
| 166 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 167 | p.CFrame = CFrame.new(0, 12.275, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 168 | p.BrickColor = BrickColor.new("Cool yellow") |
| 169 | p.Material = Enum.Material.Glacier |
| 170 | p.MaterialVariant = "2022 Stud" |
| 171 | p.Anchored = true |
| 172 | p.Parent = model |
| 173 | end |
| 174 | do |
| 175 | local p = Instance.new("Part") |
| 176 | p.Shape = Enum.PartType.Cylinder |
| 177 | p.Name = "HandleStripe_12" |
| 178 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 179 | p.CFrame = CFrame.new(0, 12.925, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 180 | p.BrickColor = BrickColor.new("Institutional white") |
| 181 | p.Material = Enum.Material.Glacier |
| 182 | p.MaterialVariant = "2022 Stud" |
| 183 | p.Anchored = true |
| 184 | p.Parent = model |
| 185 | end |
| 186 | do |
| 187 | local p = Instance.new("Part") |
| 188 | p.Shape = Enum.PartType.Cylinder |
| 189 | p.Name = "HandleStripe_13" |
| 190 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 191 | p.CFrame = CFrame.new(0, 13.615, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 192 | p.BrickColor = BrickColor.new("Carnation pink") |
| 193 | p.Material = Enum.Material.Glacier |
| 194 | p.MaterialVariant = "2022 Stud" |
| 195 | p.Anchored = true |
| 196 | p.Parent = model |
| 197 | end |
| 198 | do |
| 199 | local p = Instance.new("Part") |
| 200 | p.Shape = Enum.PartType.Cylinder |
| 201 | p.Name = "HandleStripe_14" |
| 202 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 203 | p.CFrame = CFrame.new(0, 14.305, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 204 | p.BrickColor = BrickColor.new("Institutional white") |
| 205 | p.Material = Enum.Material.Glacier |
| 206 | p.MaterialVariant = "2022 Stud" |
| 207 | p.Anchored = true |
| 208 | p.Parent = model |
| 209 | end |
| 210 | do |
| 211 | local p = Instance.new("Part") |
| 212 | p.Shape = Enum.PartType.Cylinder |
| 213 | p.Name = "HandleStripe_15" |
| 214 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 215 | p.CFrame = CFrame.new(0, 14.995, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 216 | p.BrickColor = BrickColor.new("Cyan") |
| 217 | p.Material = Enum.Material.Glacier |
| 218 | p.MaterialVariant = "2022 Stud" |
| 219 | p.Anchored = true |
| 220 | p.Parent = model |
| 221 | end |
| 222 | do |
| 223 | local p = Instance.new("Part") |
| 224 | p.Shape = Enum.PartType.Cylinder |
| 225 | p.Name = "HandleStripe_16" |
| 226 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 227 | p.CFrame = CFrame.new(0, 15.685, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 228 | p.BrickColor = BrickColor.new("Institutional white") |
| 229 | p.Material = Enum.Material.Glacier |
| 230 | p.MaterialVariant = "2022 Stud" |
| 231 | p.Anchored = true |
| 232 | p.Parent = model |
| 233 | end |
| 234 | do |
| 235 | local p = Instance.new("Part") |
| 236 | p.Shape = Enum.PartType.Cylinder |
| 237 | p.Name = "HandleStripe_17" |
| 238 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 239 | p.CFrame = CFrame.new(0, 16.375, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 240 | p.BrickColor = BrickColor.new("Cool yellow") |
| 241 | p.Material = Enum.Material.Glacier |
| 242 | p.MaterialVariant = "2022 Stud" |
| 243 | p.Anchored = true |
| 244 | p.Parent = model |
| 245 | end |
| 246 | do |
| 247 | local p = Instance.new("Part") |
| 248 | p.Shape = Enum.PartType.Cylinder |
| 249 | p.Name = "HandleStripe_18" |
| 250 | p.Size = Vector3.new(0.65, 1.16, 1.16) |
| 251 | p.CFrame = CFrame.new(0, 17.065, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 252 | p.BrickColor = BrickColor.new("Institutional white") |
| 253 | p.Material = Enum.Material.Glacier |
| 254 | p.MaterialVariant = "2022 Stud" |
| 255 | p.Anchored = true |
| 256 | p.Parent = model |
| 257 | end |
| 258 | do |
| 259 | local p = Instance.new("Part") |
| 260 | p.Shape = Enum.PartType.Cylinder |
| 261 | p.Name = "HandleStripe_19" |
| 262 | p.Size = Vector3.new(0.65, 1.2, 1.2) |
| 263 | p.CFrame = CFrame.new(0, 17.675, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 264 | p.BrickColor = BrickColor.new("Carnation pink") |
| 265 | p.Material = Enum.Material.Glacier |
| 266 | p.MaterialVariant = "2022 Stud" |
| 267 | p.Anchored = true |
| 268 | p.Parent = model |
| 269 | end |
| 270 | do |
| 271 | local p = Instance.new("Part") |
| 272 | p.Shape = Enum.PartType.Cylinder |
| 273 | p.Name = "PommelRing1" |
| 274 | p.Size = Vector3.new(0.4, 1.6, 1.6) |
| 275 | p.CFrame = CFrame.new(0, 4.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 276 | p.BrickColor = BrickColor.new("Gold") |
| 277 | p.Material = Enum.Material.Glacier |
| 278 | p.MaterialVariant = "2022 Stud" |
| 279 | p.Anchored = true |
| 280 | p.Parent = model |
| 281 | end |
| 282 | do |
| 283 | local p = Instance.new("Part") |
| 284 | p.Shape = Enum.PartType.Cylinder |
| 285 | p.Name = "PommelRing2" |
| 286 | p.Size = Vector3.new(0.4, 1.4, 1.4) |
| 287 | p.CFrame = CFrame.new(0, 4.36, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 288 | p.BrickColor = BrickColor.new("Gold") |
| 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.Shape = Enum.PartType.Cylinder |
| 297 | p.Name = "PommelWhiteBase" |
| 298 | p.Size = Vector3.new(0.8, 2.2, 2.2) |
| 299 | p.CFrame = CFrame.new(0, 3.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 300 | p.BrickColor = BrickColor.new("Institutional white") |
| 301 | p.Material = Enum.Material.Glacier |
| 302 | p.MaterialVariant = "2022 Stud" |
| 303 | p.Anchored = true |
| 304 | p.Parent = model |
| 305 | end |
| 306 | do |
| 307 | local p = Instance.new("Part") |
| 308 | p.Shape = Enum.PartType.Ball |
| 309 | p.Name = "PommelRuffle_0" |
| 310 | p.Size = Vector3.new(0.76, 0.76, 0.76) |
| 311 | p.CFrame = CFrame.new(1.1, 4, 0) |
| 312 | p.BrickColor = BrickColor.new("Institutional white") |
| 313 | p.Material = Enum.Material.Glacier |
| 314 | p.MaterialVariant = "2022 Stud" |
| 315 | p.Anchored = true |
| 316 | p.Parent = model |
| 317 | end |
| 318 | do |
| 319 | local p = Instance.new("Part") |
| 320 | p.Shape = Enum.PartType.Ball |
| 321 | p.Name = "PommelRuffle_1" |
| 322 | p.Size = Vector3.new(0.76, 0.76, 0.76) |
| 323 | p.CFrame = CFrame.new(0.777817, 4, 0.777817) |
| 324 | p.BrickColor = BrickColor.new("Institutional white") |
| 325 | p.Material = Enum.Material.Glacier |
| 326 | p.MaterialVariant = "2022 Stud" |
| 327 | p.Anchored = true |
| 328 | p.Parent = model |
| 329 | end |
| 330 | do |
| 331 | local p = Instance.new("Part") |
| 332 | p.Shape = Enum.PartType.Ball |
| 333 | p.Name = "PommelRuffle_2" |
| 334 | p.Size = Vector3.new(0.76, 0.76, 0.76) |
| 335 | p.CFrame = CFrame.new(0, 4, 1.1) |
| 336 | p.BrickColor = BrickColor.new("Institutional white") |
| 337 | p.Material = Enum.Material.Glacier |
| 338 | p.MaterialVariant = "2022 Stud" |
| 339 | p.Anchored = true |
| 340 | p.Parent = model |
| 341 | end |
| 342 | do |
| 343 | local p = Instance.new("Part") |
| 344 | p.Shape = Enum.PartType.Ball |
| 345 | p.Name = "PommelRuffle_3" |
| 346 | p.Size = Vector3.new(0.76, 0.76, 0.76) |
| 347 | p.CFrame = CFrame.new(-0.777817, 4, 0.777817) |
| 348 | p.BrickColor = BrickColor.new("Institutional white") |
| 349 | p.Material = Enum.Material.Glacier |
| 350 | p.MaterialVariant = "2022 Stud" |
| 351 | p.Anchored = true |
| 352 | p.Parent = model |
| 353 | end |
| 354 | do |
| 355 | local p = Instance.new("Part") |
| 356 | p.Shape = Enum.PartType.Ball |
| 357 | p.Name = "PommelRuffle_4" |
| 358 | p.Size = Vector3.new(0.76, 0.76, 0.76) |
| 359 | p.CFrame = CFrame.new(-1.1, 4, 0) |
| 360 | p.BrickColor = BrickColor.new("Institutional white") |
| 361 | p.Material = Enum.Material.Glacier |
| 362 | p.MaterialVariant = "2022 Stud" |
| 363 | p.Anchored = true |
| 364 | p.Parent = model |
| 365 | end |
| 366 | do |
| 367 | local p = Instance.new("Part") |
| 368 | p.Shape = Enum.PartType.Ball |
| 369 | p.Name = "PommelRuffle_5" |
| 370 | p.Size = Vector3.new(0.76, 0.76, 0.76) |
| 371 | p.CFrame = CFrame.new(-0.777817, 4, -0.777817) |
| 372 | p.BrickColor = BrickColor.new("Institutional white") |
| 373 | p.Material = Enum.Material.Glacier |
| 374 | p.MaterialVariant = "2022 Stud" |
| 375 | p.Anchored = true |
| 376 | p.Parent = model |
| 377 | end |
| 378 | do |
| 379 | local p = Instance.new("Part") |
| 380 | p.Shape = Enum.PartType.Ball |
| 381 | p.Name = "PommelRuffle_6" |
| 382 | p.Size = Vector3.new(0.76, 0.76, 0.76) |
| 383 | p.CFrame = CFrame.new(0, 4, -1.1) |
| 384 | p.BrickColor = BrickColor.new("Institutional white") |
| 385 | p.Material = Enum.Material.Glacier |
| 386 | p.MaterialVariant = "2022 Stud" |
| 387 | p.Anchored = true |
| 388 | p.Parent = model |
| 389 | end |
| 390 | do |
| 391 | local p = Instance.new("Part") |
| 392 | p.Shape = Enum.PartType.Ball |
| 393 | p.Name = "PommelRuffle_7" |
| 394 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 395 | p.CFrame = CFrame.new(0.777817, 4, -0.777817) |
| 396 | p.BrickColor = BrickColor.new("Institutional white") |
| 397 | p.Material = Enum.Material.Glacier |
| 398 | p.MaterialVariant = "2022 Stud" |
| 399 | p.Anchored = true |
| 400 | p.Parent = model |
| 401 | end |
| 402 | do |
| 403 | local p = Instance.new("Part") |
| 404 | p.Shape = Enum.PartType.Cylinder |
| 405 | p.Name = "PommelPinkBase" |
| 406 | p.Size = Vector3.new(0.6, 2, 2) |
| 407 | p.CFrame = CFrame.new(0, 3.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 408 | p.BrickColor = BrickColor.new("Carnation pink") |
| 409 | p.Material = Enum.Material.Glacier |
| 410 | p.MaterialVariant = "2022 Stud" |
| 411 | p.Anchored = true |
| 412 | p.Parent = model |
| 413 | end |
| 414 | do |
| 415 | local p = Instance.new("Part") |
| 416 | p.Name = "BottomStarCore" |
| 417 | p.Size = Vector3.new(1.5, 1.5, 0.5) |
| 418 | p.CFrame = CFrame.new(0, 2.2, 0) |
| 419 | p.BrickColor = BrickColor.new("Gold") |
| 420 | p.Material = Enum.Material.Glacier |
| 421 | p.MaterialVariant = "2022 Stud" |
| 422 | p.Anchored = true |
| 423 | p.Parent = model |
| 424 | end |
| 425 | do |
| 426 | local p = Instance.new("Part") |
| 427 | p.Name = "BottomStarPoint1" |
| 428 | p.Size = Vector3.new(0.8, 0.8, 0.4) |
| 429 | p.CFrame = CFrame.new(0, 3, 0.16) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 430 | p.BrickColor = BrickColor.new("Gold") |
| 431 | p.Material = Enum.Material.Glacier |
| 432 | p.MaterialVariant = "2022 Stud" |
| 433 | p.Anchored = true |
| 434 | p.Parent = model |
| 435 | end |
| 436 | do |
| 437 | local p = Instance.new("Part") |
| 438 | p.Name = "BottomStarPoint2" |
| 439 | p.Size = Vector3.new(0.8, 0.8, 0.4) |
| 440 | p.CFrame = CFrame.new(0.8, 2.4, 0.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 441 | p.BrickColor = BrickColor.new("Gold") |
| 442 | p.Material = Enum.Material.Glacier |
| 443 | p.MaterialVariant = "2022 Stud" |
| 444 | p.Anchored = true |
| 445 | p.Parent = model |
| 446 | end |
| 447 | do |
| 448 | local p = Instance.new("Part") |
| 449 | p.Name = "BottomStarPoint3" |
| 450 | p.Size = Vector3.new(0.8, 0.8, 0.4) |
| 451 | p.CFrame = CFrame.new(-0.8, 2.4, 0.08) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 452 | p.BrickColor = BrickColor.new("Gold") |
| 453 | p.Material = Enum.Material.Glacier |
| 454 | p.MaterialVariant = "2022 Stud" |
| 455 | p.Anchored = true |
| 456 | p.Parent = model |
| 457 | end |
| 458 | do |
| 459 | local p = Instance.new("Part") |
| 460 | p.Name = "BottomStarPoint4" |
| 461 | p.Size = Vector3.new(0.8, 0.8, 0.4) |
| 462 | p.CFrame = CFrame.new(0.5, 1.4, 0.08) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 463 | p.BrickColor = BrickColor.new("Gold") |
| 464 | p.Material = Enum.Material.Glacier |
| 465 | p.MaterialVariant = "2022 Stud" |
| 466 | p.Anchored = true |
| 467 | p.Parent = model |
| 468 | end |
| 469 | do |
| 470 | local p = Instance.new("Part") |
| 471 | p.Name = "BottomStarPoint5" |
| 472 | p.Size = Vector3.new(0.8, 0.8, 0.4) |
| 473 | p.CFrame = CFrame.new(-0.5, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 474 | p.BrickColor = BrickColor.new("Gold") |
| 475 | p.Material = Enum.Material.Glacier |
| 476 | p.MaterialVariant = "2022 Stud" |
| 477 | p.Anchored = true |
| 478 | p.Parent = model |
| 479 | end |
| 480 | do |
| 481 | local p = Instance.new("Part") |
| 482 | p.Shape = Enum.PartType.Ball |
| 483 | p.Name = "BottomTip" |
| 484 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 485 | p.CFrame = CFrame.new(0, 1, 0) |
| 486 | p.BrickColor = BrickColor.new("Gold") |
| 487 | p.Material = Enum.Material.Glacier |
| 488 | p.MaterialVariant = "2022 Stud" |
| 489 | p.Anchored = true |
| 490 | p.Parent = model |
| 491 | end |
| 492 | do |
| 493 | local p = Instance.new("Part") |
| 494 | p.Shape = Enum.PartType.Cylinder |
| 495 | p.Name = "BottomTipPoint" |
| 496 | p.Size = Vector3.new(0.6, 0.4, 0.4) |
| 497 | p.CFrame = CFrame.new(0, 0.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 498 | p.BrickColor = BrickColor.new("Gold") |
| 499 | p.Material = Enum.Material.Glacier |
| 500 | p.MaterialVariant = "2022 Stud" |
| 501 | p.Anchored = true |
| 502 | p.Parent = model |
| 503 | end |
| 504 | do |
| 505 | local p = Instance.new("Part") |
| 506 | p.Shape = Enum.PartType.Cylinder |
| 507 | p.Name = "NeckRing1" |
| 508 | p.Size = Vector3.new(0.4, 1.4, 1.4) |
| 509 | p.CFrame = CFrame.new(0, 18.24, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 510 | p.BrickColor = BrickColor.new("Gold") |
| 511 | p.Material = Enum.Material.Glacier |
| 512 | p.MaterialVariant = "2022 Stud" |
| 513 | p.Anchored = true |
| 514 | p.Parent = model |
| 515 | end |
| 516 | do |
| 517 | local p = Instance.new("Part") |
| 518 | p.Shape = Enum.PartType.Cylinder |
| 519 | p.Name = "NeckRing2" |
| 520 | p.Size = Vector3.new(0.4, 1.6, 1.6) |
| 521 | p.CFrame = CFrame.new(0, 18.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 522 | p.BrickColor = BrickColor.new("Gold") |
| 523 | p.Material = Enum.Material.Glacier |
| 524 | p.MaterialVariant = "2022 Stud" |
| 525 | p.Anchored = true |
| 526 | p.Parent = model |
| 527 | end |
| 528 | do |
| 529 | local p = Instance.new("Part") |
| 530 | p.Shape = Enum.PartType.Cylinder |
| 531 | p.Name = "NeckBase" |
| 532 | p.Size = Vector3.new(1, 2, 2) |
| 533 | p.CFrame = CFrame.new(0, 19.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 534 | p.BrickColor = BrickColor.new("Gold") |
| 535 | p.Material = Enum.Material.Glacier |
| 536 | p.MaterialVariant = "2022 Stud" |
| 537 | p.Anchored = true |
| 538 | p.Parent = model |
| 539 | end |
| 540 | do |
| 541 | local p = Instance.new("Part") |
| 542 | p.Shape = Enum.PartType.Ball |
| 543 | p.Name = "CenterOrb" |
| 544 | p.Size = Vector3.new(1.96, 1.96, 1.96) |
| 545 | p.CFrame = CFrame.new(0, 20, 0) |
| 546 | p.BrickColor = BrickColor.new("Gold") |
| 547 | p.Material = Enum.Material.Glacier |
| 548 | p.MaterialVariant = "2022 Stud" |
| 549 | p.Anchored = true |
| 550 | p.Parent = model |
| 551 | end |
| 552 | do |
| 553 | local p = Instance.new("Part") |
| 554 | p.Name = "BowLeftMain" |
| 555 | p.Size = Vector3.new(3.5, 2, 0.6) |
| 556 | p.CFrame = CFrame.new(-1.8, 20, 0.04) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) |
| 557 | p.BrickColor = BrickColor.new("Carnation pink") |
| 558 | p.Material = Enum.Material.Glacier |
| 559 | p.MaterialVariant = "2022 Stud" |
| 560 | p.Anchored = true |
| 561 | p.Parent = model |
| 562 | end |
| 563 | do |
| 564 | local p = Instance.new("Part") |
| 565 | p.Name = "BowLeftInner" |
| 566 | p.Size = Vector3.new(3.1, 1.6, 0.6) |
| 567 | p.CFrame = CFrame.new(-1.8, 20, 0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) |
| 568 | p.BrickColor = BrickColor.new("Institutional white") |
| 569 | p.Material = Enum.Material.Glacier |
| 570 | p.MaterialVariant = "2022 Stud" |
| 571 | p.Anchored = true |
| 572 | p.Parent = model |
| 573 | end |
| 574 | do |
| 575 | local p = Instance.new("Part") |
| 576 | p.Name = "BowRightMain" |
| 577 | p.Size = Vector3.new(3.5, 2, 0.6) |
| 578 | p.CFrame = CFrame.new(1.8, 20, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)) |
| 579 | p.BrickColor = BrickColor.new("Carnation pink") |
| 580 | p.Material = Enum.Material.Glacier |
| 581 | p.MaterialVariant = "2022 Stud" |
| 582 | p.Anchored = true |
| 583 | p.Parent = model |
| 584 | end |
| 585 | do |
| 586 | local p = Instance.new("Part") |
| 587 | p.Name = "BowRightInner" |
| 588 | p.Size = Vector3.new(3.1, 1.6, 0.6) |
| 589 | p.CFrame = CFrame.new(1.8, 20, 0.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)) |
| 590 | p.BrickColor = BrickColor.new("Institutional white") |
| 591 | p.Material = Enum.Material.Glacier |
| 592 | p.MaterialVariant = "2022 Stud" |
| 593 | p.Anchored = true |
| 594 | p.Parent = model |
| 595 | end |
| 596 | do |
| 597 | local p = Instance.new("Part") |
| 598 | p.Name = "BowTailLeft" |
| 599 | p.Size = Vector3.new(1.5, 2.5, 0.4) |
| 600 | p.CFrame = CFrame.new(-1.5, 18.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)) |
| 601 | p.BrickColor = BrickColor.new("Institutional white") |
| 602 | p.Material = Enum.Material.Glacier |
| 603 | p.MaterialVariant = "2022 Stud" |
| 604 | p.Anchored = true |
| 605 | p.Parent = model |
| 606 | end |
| 607 | do |
| 608 | local p = Instance.new("Part") |
| 609 | p.Name = "BowTailLeftStripe" |
| 610 | p.Size = Vector3.new(1, 2.5, 0.4) |
| 611 | p.CFrame = CFrame.new(-1.48, 18.534641, -0.3) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)) |
| 612 | p.BrickColor = BrickColor.new("Carnation pink") |
| 613 | p.Material = Enum.Material.Glacier |
| 614 | p.MaterialVariant = "2022 Stud" |
| 615 | p.Anchored = true |
| 616 | p.Parent = model |
| 617 | end |
| 618 | do |
| 619 | local p = Instance.new("Part") |
| 620 | p.Name = "BowTailRight" |
| 621 | p.Size = Vector3.new(1.5, 2.5, 0.4) |
| 622 | p.CFrame = CFrame.new(1.5, 18.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) |
| 623 | p.BrickColor = BrickColor.new("Institutional white") |
| 624 | p.Material = Enum.Material.Glacier |
| 625 | p.MaterialVariant = "2022 Stud" |
| 626 | p.Anchored = true |
| 627 | p.Parent = model |
| 628 | end |
| 629 | do |
| 630 | local p = Instance.new("Part") |
| 631 | p.Name = "BowTailRightStripe" |
| 632 | p.Size = Vector3.new(1, 2.5, 0.4) |
| 633 | p.CFrame = CFrame.new(1.52, 18.465359, -0.3) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) |
| 634 | p.BrickColor = BrickColor.new("Carnation pink") |
| 635 | p.Material = Enum.Material.Glacier |
| 636 | p.MaterialVariant = "2022 Stud" |
| 637 | p.Anchored = true |
| 638 | p.Parent = model |
| 639 | end |
| 640 | do |
| 641 | local p = Instance.new("Part") |
| 642 | p.Shape = Enum.PartType.Cylinder |
| 643 | p.Name = "DangleChainL" |
| 644 | p.Size = Vector3.new(2.02237, 0.1, 0.1) |
| 645 | p.CFrame = CFrame.new(-1.35, 18.5, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(98.5308)) |
| 646 | p.BrickColor = BrickColor.new("Gold") |
| 647 | p.Material = Enum.Material.Glacier |
| 648 | p.MaterialVariant = "2022 Stud" |
| 649 | p.Anchored = true |
| 650 | p.Parent = model |
| 651 | end |
| 652 | do |
| 653 | local p = Instance.new("Part") |
| 654 | p.Shape = Enum.PartType.Ball |
| 655 | p.Name = "DangleBeadL1" |
| 656 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 657 | p.CFrame = CFrame.new(-1.3, 18.7, 0) |
| 658 | p.BrickColor = BrickColor.new("Carnation pink") |
| 659 | p.Material = Enum.Material.Glacier |
| 660 | p.MaterialVariant = "2022 Stud" |
| 661 | p.Anchored = true |
| 662 | p.Parent = model |
| 663 | end |
| 664 | do |
| 665 | local p = Instance.new("Part") |
| 666 | p.Shape = Enum.PartType.Ball |
| 667 | p.Name = "DangleBeadL2" |
| 668 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 669 | p.CFrame = CFrame.new(-1.4, 18.1, 0) |
| 670 | p.BrickColor = BrickColor.new("Cyan") |
| 671 | p.Material = Enum.Material.Glacier |
| 672 | p.MaterialVariant = "2022 Stud" |
| 673 | p.Anchored = true |
| 674 | p.Parent = model |
| 675 | end |
| 676 | do |
| 677 | local p = Instance.new("Part") |
| 678 | p.Name = "StarLCore" |
| 679 | p.Size = Vector3.new(1, 1, 0.4) |
| 680 | p.CFrame = CFrame.new(-1.6, 17, 0) |
| 681 | p.BrickColor = BrickColor.new("Cyan") |
| 682 | p.Material = Enum.Material.Glacier |
| 683 | p.MaterialVariant = "2022 Stud" |
| 684 | p.Anchored = true |
| 685 | p.Parent = model |
| 686 | end |
| 687 | do |
| 688 | local p = Instance.new("Part") |
| 689 | p.Name = "StarLPoint1" |
| 690 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 691 | p.CFrame = CFrame.new(-1.6, 17.5, 0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 692 | p.BrickColor = BrickColor.new("Cyan") |
| 693 | p.Material = Enum.Material.Glacier |
| 694 | p.MaterialVariant = "2022 Stud" |
| 695 | p.Anchored = true |
| 696 | p.Parent = model |
| 697 | end |
| 698 | do |
| 699 | local p = Instance.new("Part") |
| 700 | p.Name = "StarLPoint2" |
| 701 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 702 | p.CFrame = CFrame.new(-1.1, 17.1, 0.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 703 | p.BrickColor = BrickColor.new("Cyan") |
| 704 | p.Material = Enum.Material.Glacier |
| 705 | p.MaterialVariant = "2022 Stud" |
| 706 | p.Anchored = true |
| 707 | p.Parent = model |
| 708 | end |
| 709 | do |
| 710 | local p = Instance.new("Part") |
| 711 | p.Name = "StarLPoint3" |
| 712 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 713 | p.CFrame = CFrame.new(-2.1, 17.1, 0.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 714 | p.BrickColor = BrickColor.new("Cyan") |
| 715 | p.Material = Enum.Material.Glacier |
| 716 | p.MaterialVariant = "2022 Stud" |
| 717 | p.Anchored = true |
| 718 | p.Parent = model |
| 719 | end |
| 720 | do |
| 721 | local p = Instance.new("Part") |
| 722 | p.Name = "StarLPoint4" |
| 723 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 724 | p.CFrame = CFrame.new(-1.3, 16.5, 0.08) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 725 | p.BrickColor = BrickColor.new("Cyan") |
| 726 | p.Material = Enum.Material.Glacier |
| 727 | p.MaterialVariant = "2022 Stud" |
| 728 | p.Anchored = true |
| 729 | p.Parent = model |
| 730 | end |
| 731 | do |
| 732 | local p = Instance.new("Part") |
| 733 | p.Name = "StarLPoint5" |
| 734 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 735 | p.CFrame = CFrame.new(-1.9, 16.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 736 | p.BrickColor = BrickColor.new("Cyan") |
| 737 | p.Material = Enum.Material.Glacier |
| 738 | p.MaterialVariant = "2022 Stud" |
| 739 | p.Anchored = true |
| 740 | p.Parent = model |
| 741 | end |
| 742 | do |
| 743 | local p = Instance.new("Part") |
| 744 | p.Shape = Enum.PartType.Cylinder |
| 745 | p.Name = "DangleChainR" |
| 746 | p.Size = Vector3.new(2.02237, 0.1, 0.1) |
| 747 | p.CFrame = CFrame.new(1.35, 18.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-81.4692)) |
| 748 | p.BrickColor = BrickColor.new("Gold") |
| 749 | p.Material = Enum.Material.Glacier |
| 750 | p.MaterialVariant = "2022 Stud" |
| 751 | p.Anchored = true |
| 752 | p.Parent = model |
| 753 | end |
| 754 | do |
| 755 | local p = Instance.new("Part") |
| 756 | p.Shape = Enum.PartType.Ball |
| 757 | p.Name = "DangleBeadR1" |
| 758 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 759 | p.CFrame = CFrame.new(1.3, 18.7, 0) |
| 760 | p.BrickColor = BrickColor.new("Cyan") |
| 761 | p.Material = Enum.Material.Glacier |
| 762 | p.MaterialVariant = "2022 Stud" |
| 763 | p.Anchored = true |
| 764 | p.Parent = model |
| 765 | end |
| 766 | do |
| 767 | local p = Instance.new("Part") |
| 768 | p.Shape = Enum.PartType.Ball |
| 769 | p.Name = "DangleBeadR2" |
| 770 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 771 | p.CFrame = CFrame.new(1.4, 18.1, 0) |
| 772 | p.BrickColor = BrickColor.new("Carnation pink") |
| 773 | p.Material = Enum.Material.Glacier |
| 774 | p.MaterialVariant = "2022 Stud" |
| 775 | p.Anchored = true |
| 776 | p.Parent = model |
| 777 | end |
| 778 | do |
| 779 | local p = Instance.new("Part") |
| 780 | p.Name = "StarRCore" |
| 781 | p.Size = Vector3.new(1, 1, 0.4) |
| 782 | p.CFrame = CFrame.new(1.6, 17, 0) |
| 783 | p.BrickColor = BrickColor.new("Carnation pink") |
| 784 | p.Material = Enum.Material.Glacier |
| 785 | p.MaterialVariant = "2022 Stud" |
| 786 | p.Anchored = true |
| 787 | p.Parent = model |
| 788 | end |
| 789 | do |
| 790 | local p = Instance.new("Part") |
| 791 | p.Name = "StarRPoint1" |
| 792 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 793 | p.CFrame = CFrame.new(1.6, 17.5, 0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 794 | p.BrickColor = BrickColor.new("Carnation pink") |
| 795 | p.Material = Enum.Material.Glacier |
| 796 | p.MaterialVariant = "2022 Stud" |
| 797 | p.Anchored = true |
| 798 | p.Parent = model |
| 799 | end |
| 800 | do |
| 801 | local p = Instance.new("Part") |
| 802 | p.Name = "StarRPoint2" |
| 803 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 804 | p.CFrame = CFrame.new(2.1, 17.1, 0.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 805 | p.BrickColor = BrickColor.new("Carnation pink") |
| 806 | p.Material = Enum.Material.Glacier |
| 807 | p.MaterialVariant = "2022 Stud" |
| 808 | p.Anchored = true |
| 809 | p.Parent = model |
| 810 | end |
| 811 | do |
| 812 | local p = Instance.new("Part") |
| 813 | p.Name = "StarRPoint3" |
| 814 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 815 | p.CFrame = CFrame.new(1.1, 17.1, 0.12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 816 | p.BrickColor = BrickColor.new("Carnation pink") |
| 817 | p.Material = Enum.Material.Glacier |
| 818 | p.MaterialVariant = "2022 Stud" |
| 819 | p.Anchored = true |
| 820 | p.Parent = model |
| 821 | end |
| 822 | do |
| 823 | local p = Instance.new("Part") |
| 824 | p.Name = "StarRPoint4" |
| 825 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 826 | p.CFrame = CFrame.new(1.9, 16.5, 0.08) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 827 | p.BrickColor = BrickColor.new("Carnation pink") |
| 828 | p.Material = Enum.Material.Glacier |
| 829 | p.MaterialVariant = "2022 Stud" |
| 830 | p.Anchored = true |
| 831 | p.Parent = model |
| 832 | end |
| 833 | do |
| 834 | local p = Instance.new("Part") |
| 835 | p.Name = "StarRPoint5" |
| 836 | p.Size = Vector3.new(0.6, 0.6, 0.3) |
| 837 | p.CFrame = CFrame.new(1.3, 16.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 838 | p.BrickColor = BrickColor.new("Carnation pink") |
| 839 | p.Material = Enum.Material.Glacier |
| 840 | p.MaterialVariant = "2022 Stud" |
| 841 | p.Anchored = true |
| 842 | p.Parent = model |
| 843 | end |
| 844 | do |
| 845 | local rightV = Vector3.new(1,0,0).Unit |
| 846 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 847 | local normalV = upV:Cross(rightV) |
| 848 | local pos = Vector3.new(0, 24.62, 0.1) |
| 849 | local cyl = Instance.new("Part") |
| 850 | cyl.Shape = Enum.PartType.Cylinder |
| 851 | cyl.Size = Vector3.new(1.5, 9, 9) |
| 852 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 853 | cyl.BrickColor = BrickColor.new("Carnation pink") |
| 854 | cyl.Material = Enum.Material.Glacier |
| 855 | cyl.MaterialVariant = "2022 Stud" |
| 856 | cyl.Anchored = true; cyl.Parent = workspace |
| 857 | local cuts = {} |
| 858 | local angBoxes = {} |
| 859 | do |
| 860 | local edgeDir = 1*rightV + 0*upV |
| 861 | local edgePerp = 0*rightV + 1*upV |
| 862 | local cut = Instance.new("Part") |
| 863 | cut.Size = Vector3.new(18, 1.7, 18) |
| 864 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 9 * edgePerp, edgeDir, normalV) |
| 865 | cut.BrickColor = BrickColor.new("Carnation pink") |
| 866 | cut.Material = Enum.Material.Glacier |
| 867 | cut.MaterialVariant = "2022 Stud" |
| 868 | cut.Anchored = true; cut.Parent = workspace |
| 869 | table.insert(angBoxes, cut) |
| 870 | end |
| 871 | do |
| 872 | local edgeDir = -1*rightV + 0*upV |
| 873 | local edgePerp = 0*rightV + -1*upV |
| 874 | local cut = Instance.new("Part") |
| 875 | cut.Size = Vector3.new(18, 1.7, 18) |
| 876 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 9 * edgePerp, edgeDir, normalV) |
| 877 | cut.BrickColor = BrickColor.new("Carnation pink") |
| 878 | cut.Material = Enum.Material.Glacier |
| 879 | cut.MaterialVariant = "2022 Stud" |
| 880 | cut.Anchored = true; cut.Parent = workspace |
| 881 | table.insert(angBoxes, cut) |
| 882 | end |
| 883 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 884 | if #cuts > 0 then |
| 885 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 886 | for _, c in ipairs(cuts) do c:Destroy() end |
| 887 | if ok and result then |
| 888 | cyl:Destroy() |
| 889 | result.Name = "PopSwirlPink1"; result.Anchored = true; result.Parent = model |
| 890 | else |
| 891 | cyl.Name = "PopSwirlPink1"; cyl.Parent = model |
| 892 | end |
| 893 | else |
| 894 | cyl.Name = "PopSwirlPink1"; cyl.Parent = model |
| 895 | end |
| 896 | end |
| 897 | do |
| 898 | local rightV = Vector3.new(1,0,0).Unit |
| 899 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 900 | local normalV = upV:Cross(rightV) |
| 901 | local pos = Vector3.new(0, 24.58, 0.1) |
| 902 | local cyl = Instance.new("Part") |
| 903 | cyl.Shape = Enum.PartType.Cylinder |
| 904 | cyl.Size = Vector3.new(1.5, 9, 9) |
| 905 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 906 | cyl.BrickColor = BrickColor.new("Cyan") |
| 907 | cyl.Material = Enum.Material.Glacier |
| 908 | cyl.MaterialVariant = "2022 Stud" |
| 909 | cyl.Anchored = true; cyl.Parent = workspace |
| 910 | local cuts = {} |
| 911 | local angBoxes = {} |
| 912 | do |
| 913 | local edgeDir = -1*rightV + 0*upV |
| 914 | local edgePerp = 0*rightV + -1*upV |
| 915 | local cut = Instance.new("Part") |
| 916 | cut.Size = Vector3.new(18, 1.7, 18) |
| 917 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 9 * edgePerp, edgeDir, normalV) |
| 918 | cut.BrickColor = BrickColor.new("Cyan") |
| 919 | cut.Material = Enum.Material.Glacier |
| 920 | cut.MaterialVariant = "2022 Stud" |
| 921 | cut.Anchored = true; cut.Parent = workspace |
| 922 | table.insert(angBoxes, cut) |
| 923 | end |
| 924 | do |
| 925 | local edgeDir = 1*rightV + 0*upV |
| 926 | local edgePerp = 0*rightV + 1*upV |
| 927 | local cut = Instance.new("Part") |
| 928 | cut.Size = Vector3.new(18, 1.7, 18) |
| 929 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 9 * edgePerp, edgeDir, normalV) |
| 930 | cut.BrickColor = BrickColor.new("Cyan") |
| 931 | cut.Material = Enum.Material.Glacier |
| 932 | cut.MaterialVariant = "2022 Stud" |
| 933 | cut.Anchored = true; cut.Parent = workspace |
| 934 | table.insert(angBoxes, cut) |
| 935 | end |
| 936 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 937 | if #cuts > 0 then |
| 938 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 939 | for _, c in ipairs(cuts) do c:Destroy() end |
| 940 | if ok and result then |
| 941 | cyl:Destroy() |
| 942 | result.Name = "PopSwirlBlue1"; result.Anchored = true; result.Parent = model |
| 943 | else |
| 944 | cyl.Name = "PopSwirlBlue1"; cyl.Parent = model |
| 945 | end |
| 946 | else |
| 947 | cyl.Name = "PopSwirlBlue1"; cyl.Parent = model |
| 948 | end |
| 949 | end |
| 950 | do |
| 951 | local rightV = Vector3.new(1,0,0).Unit |
| 952 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 953 | local normalV = upV:Cross(rightV) |
| 954 | local pos = Vector3.new(0.04, 24.5, 0.24) |
| 955 | local cyl = Instance.new("Part") |
| 956 | cyl.Shape = Enum.PartType.Cylinder |
| 957 | cyl.Size = Vector3.new(1.5, 7.2, 7.2) |
| 958 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 959 | cyl.BrickColor = BrickColor.new("Cool yellow") |
| 960 | cyl.Material = Enum.Material.Glacier |
| 961 | cyl.MaterialVariant = "2022 Stud" |
| 962 | cyl.Anchored = true; cyl.Parent = workspace |
| 963 | local cuts = {} |
| 964 | local angBoxes = {} |
| 965 | do |
| 966 | local edgeDir = 0*rightV + 1*upV |
| 967 | local edgePerp = -1*rightV + 0*upV |
| 968 | local cut = Instance.new("Part") |
| 969 | cut.Size = Vector3.new(14.4, 1.7, 14.4) |
| 970 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 7.2 * edgePerp, edgeDir, normalV) |
| 971 | cut.BrickColor = BrickColor.new("Cool yellow") |
| 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 = 0*rightV + -1*upV |
| 979 | local edgePerp = 1*rightV + 0*upV |
| 980 | local cut = Instance.new("Part") |
| 981 | cut.Size = Vector3.new(14.4, 1.7, 14.4) |
| 982 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 7.2 * edgePerp, edgeDir, normalV) |
| 983 | cut.BrickColor = BrickColor.new("Cool yellow") |
| 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 = "PopSwirlYellow1"; result.Anchored = true; result.Parent = model |
| 996 | else |
| 997 | cyl.Name = "PopSwirlYellow1"; cyl.Parent = model |
| 998 | end |
| 999 | else |
| 1000 | cyl.Name = "PopSwirlYellow1"; 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, 24.5, 0.2) |
| 1008 | local cyl = Instance.new("Part") |
| 1009 | cyl.Shape = Enum.PartType.Cylinder |
| 1010 | cyl.Size = Vector3.new(1.5, 7.2, 7.2) |
| 1011 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1012 | cyl.BrickColor = BrickColor.new("Institutional white") |
| 1013 | cyl.Material = Enum.Material.Glacier |
| 1014 | cyl.MaterialVariant = "2022 Stud" |
| 1015 | cyl.Anchored = true; cyl.Parent = workspace |
| 1016 | local cuts = {} |
| 1017 | local angBoxes = {} |
| 1018 | do |
| 1019 | local edgeDir = 0*rightV + -1*upV |
| 1020 | local edgePerp = 1*rightV + 0*upV |
| 1021 | local cut = Instance.new("Part") |
| 1022 | cut.Size = Vector3.new(14.4, 1.7, 14.4) |
| 1023 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 7.2 * edgePerp, edgeDir, normalV) |
| 1024 | cut.BrickColor = BrickColor.new("Institutional white") |
| 1025 | cut.Material = Enum.Material.Glacier |
| 1026 | cut.MaterialVariant = "2022 Stud" |
| 1027 | cut.Anchored = true; cut.Parent = workspace |
| 1028 | table.insert(angBoxes, cut) |
| 1029 | end |
| 1030 | do |
| 1031 | local edgeDir = 0*rightV + 1*upV |
| 1032 | local edgePerp = -1*rightV + 0*upV |
| 1033 | local cut = Instance.new("Part") |
| 1034 | cut.Size = Vector3.new(14.4, 1.7, 14.4) |
| 1035 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 7.2 * edgePerp, edgeDir, normalV) |
| 1036 | cut.BrickColor = BrickColor.new("Institutional white") |
| 1037 | cut.Material = Enum.Material.Glacier |
| 1038 | cut.MaterialVariant = "2022 Stud" |
| 1039 | cut.Anchored = true; cut.Parent = workspace |
| 1040 | table.insert(angBoxes, cut) |
| 1041 | end |
| 1042 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1043 | if #cuts > 0 then |
| 1044 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1045 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1046 | if ok and result then |
| 1047 | cyl:Destroy() |
| 1048 | result.Name = "PopSwirlWhite1"; result.Anchored = true; result.Parent = model |
| 1049 | else |
| 1050 | cyl.Name = "PopSwirlWhite1"; cyl.Parent = model |
| 1051 | end |
| 1052 | else |
| 1053 | cyl.Name = "PopSwirlWhite1"; cyl.Parent = model |
| 1054 | end |
| 1055 | end |
| 1056 | do |
| 1057 | local rightV = Vector3.new(1,0,0).Unit |
| 1058 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1059 | local normalV = upV:Cross(rightV) |
| 1060 | local pos = Vector3.new(0, 24.62, 0.34) |
| 1061 | local cyl = Instance.new("Part") |
| 1062 | cyl.Shape = Enum.PartType.Cylinder |
| 1063 | cyl.Size = Vector3.new(1.5, 5.4, 5.4) |
| 1064 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1065 | cyl.BrickColor = BrickColor.new("Carnation pink") |
| 1066 | cyl.Material = Enum.Material.Glacier |
| 1067 | cyl.MaterialVariant = "2022 Stud" |
| 1068 | cyl.Anchored = true; cyl.Parent = workspace |
| 1069 | local cuts = {} |
| 1070 | local angBoxes = {} |
| 1071 | do |
| 1072 | local edgeDir = -1*rightV + 0*upV |
| 1073 | local edgePerp = 0*rightV + -1*upV |
| 1074 | local cut = Instance.new("Part") |
| 1075 | cut.Size = Vector3.new(10.8, 1.7, 10.8) |
| 1076 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5.4 * edgePerp, edgeDir, normalV) |
| 1077 | cut.BrickColor = BrickColor.new("Carnation pink") |
| 1078 | cut.Material = Enum.Material.Glacier |
| 1079 | cut.MaterialVariant = "2022 Stud" |
| 1080 | cut.Anchored = true; cut.Parent = workspace |
| 1081 | table.insert(angBoxes, cut) |
| 1082 | end |
| 1083 | do |
| 1084 | local edgeDir = 1*rightV + 0*upV |
| 1085 | local edgePerp = 0*rightV + 1*upV |
| 1086 | local cut = Instance.new("Part") |
| 1087 | cut.Size = Vector3.new(10.8, 1.7, 10.8) |
| 1088 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5.4 * edgePerp, edgeDir, normalV) |
| 1089 | cut.BrickColor = BrickColor.new("Carnation pink") |
| 1090 | cut.Material = Enum.Material.Glacier |
| 1091 | cut.MaterialVariant = "2022 Stud" |
| 1092 | cut.Anchored = true; cut.Parent = workspace |
| 1093 | table.insert(angBoxes, cut) |
| 1094 | end |
| 1095 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1096 | if #cuts > 0 then |
| 1097 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1098 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1099 | if ok and result then |
| 1100 | cyl:Destroy() |
| 1101 | result.Name = "PopSwirlPink2"; result.Anchored = true; result.Parent = model |
| 1102 | else |
| 1103 | cyl.Name = "PopSwirlPink2"; cyl.Parent = model |
| 1104 | end |
| 1105 | else |
| 1106 | cyl.Name = "PopSwirlPink2"; cyl.Parent = model |
| 1107 | end |
| 1108 | end |
| 1109 | do |
| 1110 | local rightV = Vector3.new(1,0,0).Unit |
| 1111 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1112 | local normalV = upV:Cross(rightV) |
| 1113 | local pos = Vector3.new(0, 24.46, 0.3) |
| 1114 | local cyl = Instance.new("Part") |
| 1115 | cyl.Shape = Enum.PartType.Cylinder |
| 1116 | cyl.Size = Vector3.new(1.5, 5.4, 5.4) |
| 1117 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1118 | cyl.BrickColor = BrickColor.new("Cyan") |
| 1119 | cyl.Material = Enum.Material.Glacier |
| 1120 | cyl.MaterialVariant = "2022 Stud" |
| 1121 | cyl.Anchored = true; cyl.Parent = workspace |
| 1122 | local cuts = {} |
| 1123 | local angBoxes = {} |
| 1124 | do |
| 1125 | local edgeDir = 1*rightV + 0*upV |
| 1126 | local edgePerp = 0*rightV + 1*upV |
| 1127 | local cut = Instance.new("Part") |
| 1128 | cut.Size = Vector3.new(10.8, 1.7, 10.8) |
| 1129 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5.4 * edgePerp, edgeDir, normalV) |
| 1130 | cut.BrickColor = BrickColor.new("Cyan") |
| 1131 | cut.Material = Enum.Material.Glacier |
| 1132 | cut.MaterialVariant = "2022 Stud" |
| 1133 | cut.Anchored = true; cut.Parent = workspace |
| 1134 | table.insert(angBoxes, cut) |
| 1135 | end |
| 1136 | do |
| 1137 | local edgeDir = -1*rightV + 0*upV |
| 1138 | local edgePerp = 0*rightV + -1*upV |
| 1139 | local cut = Instance.new("Part") |
| 1140 | cut.Size = Vector3.new(10.8, 1.7, 10.8) |
| 1141 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5.4 * edgePerp, edgeDir, normalV) |
| 1142 | cut.BrickColor = BrickColor.new("Cyan") |
| 1143 | cut.Material = Enum.Material.Glacier |
| 1144 | cut.MaterialVariant = "2022 Stud" |
| 1145 | cut.Anchored = true; cut.Parent = workspace |
| 1146 | table.insert(angBoxes, cut) |
| 1147 | end |
| 1148 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1149 | if #cuts > 0 then |
| 1150 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1151 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1152 | if ok and result then |
| 1153 | cyl:Destroy() |
| 1154 | result.Name = "PopSwirlBlue2"; result.Anchored = true; result.Parent = model |
| 1155 | else |
| 1156 | cyl.Name = "PopSwirlBlue2"; cyl.Parent = model |
| 1157 | end |
| 1158 | else |
| 1159 | cyl.Name = "PopSwirlBlue2"; cyl.Parent = model |
| 1160 | end |
| 1161 | end |
| 1162 | do |
| 1163 | local rightV = Vector3.new(1,0,0).Unit |
| 1164 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1165 | local normalV = upV:Cross(rightV) |
| 1166 | local pos = Vector3.new(0.08, 24.5, 0.4) |
| 1167 | local cyl = Instance.new("Part") |
| 1168 | cyl.Shape = Enum.PartType.Cylinder |
| 1169 | cyl.Size = Vector3.new(1.5, 3.6, 3.6) |
| 1170 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1171 | cyl.BrickColor = BrickColor.new("Cool yellow") |
| 1172 | cyl.Material = Enum.Material.Glacier |
| 1173 | cyl.MaterialVariant = "2022 Stud" |
| 1174 | cyl.Anchored = true; cyl.Parent = workspace |
| 1175 | local cuts = {} |
| 1176 | local angBoxes = {} |
| 1177 | do |
| 1178 | local edgeDir = 0*rightV + -1*upV |
| 1179 | local edgePerp = 1*rightV + 0*upV |
| 1180 | local cut = Instance.new("Part") |
| 1181 | cut.Size = Vector3.new(7.2, 1.7, 7.2) |
| 1182 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.6 * edgePerp, edgeDir, normalV) |
| 1183 | cut.BrickColor = BrickColor.new("Cool yellow") |
| 1184 | cut.Material = Enum.Material.Glacier |
| 1185 | cut.MaterialVariant = "2022 Stud" |
| 1186 | cut.Anchored = true; cut.Parent = workspace |
| 1187 | table.insert(angBoxes, cut) |
| 1188 | end |
| 1189 | do |
| 1190 | local edgeDir = 0*rightV + 1*upV |
| 1191 | local edgePerp = -1*rightV + 0*upV |
| 1192 | local cut = Instance.new("Part") |
| 1193 | cut.Size = Vector3.new(7.2, 1.7, 7.2) |
| 1194 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.6 * edgePerp, edgeDir, normalV) |
| 1195 | cut.BrickColor = BrickColor.new("Cool yellow") |
| 1196 | cut.Material = Enum.Material.Glacier |
| 1197 | cut.MaterialVariant = "2022 Stud" |
| 1198 | cut.Anchored = true; cut.Parent = workspace |
| 1199 | table.insert(angBoxes, cut) |
| 1200 | end |
| 1201 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1202 | if #cuts > 0 then |
| 1203 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1204 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1205 | if ok and result then |
| 1206 | cyl:Destroy() |
| 1207 | result.Name = "PopSwirlYellow2"; result.Anchored = true; result.Parent = model |
| 1208 | else |
| 1209 | cyl.Name = "PopSwirlYellow2"; cyl.Parent = model |
| 1210 | end |
| 1211 | else |
| 1212 | cyl.Name = "PopSwirlYellow2"; cyl.Parent = model |
| 1213 | end |
| 1214 | end |
| 1215 | do |
| 1216 | local rightV = Vector3.new(1,0,0).Unit |
| 1217 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1218 | local normalV = upV:Cross(rightV) |
| 1219 | local pos = Vector3.new(-0.04, 24.5, 0.4) |
| 1220 | local cyl = Instance.new("Part") |
| 1221 | cyl.Shape = Enum.PartType.Cylinder |
| 1222 | cyl.Size = Vector3.new(1.5, 3.6, 3.6) |
| 1223 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1224 | cyl.BrickColor = BrickColor.new("Institutional white") |
| 1225 | cyl.Material = Enum.Material.Glacier |
| 1226 | cyl.MaterialVariant = "2022 Stud" |
| 1227 | cyl.Anchored = true; cyl.Parent = workspace |
| 1228 | local cuts = {} |
| 1229 | local angBoxes = {} |
| 1230 | do |
| 1231 | local edgeDir = 0*rightV + 1*upV |
| 1232 | local edgePerp = -1*rightV + 0*upV |
| 1233 | local cut = Instance.new("Part") |
| 1234 | cut.Size = Vector3.new(7.2, 1.7, 7.2) |
| 1235 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.6 * edgePerp, edgeDir, normalV) |
| 1236 | cut.BrickColor = BrickColor.new("Institutional white") |
| 1237 | cut.Material = Enum.Material.Glacier |
| 1238 | cut.MaterialVariant = "2022 Stud" |
| 1239 | cut.Anchored = true; cut.Parent = workspace |
| 1240 | table.insert(angBoxes, cut) |
| 1241 | end |
| 1242 | do |
| 1243 | local edgeDir = 0*rightV + -1*upV |
| 1244 | local edgePerp = 1*rightV + 0*upV |
| 1245 | local cut = Instance.new("Part") |
| 1246 | cut.Size = Vector3.new(7.2, 1.7, 7.2) |
| 1247 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.6 * edgePerp, edgeDir, normalV) |
| 1248 | cut.BrickColor = BrickColor.new("Institutional white") |
| 1249 | cut.Material = Enum.Material.Glacier |
| 1250 | cut.MaterialVariant = "2022 Stud" |
| 1251 | cut.Anchored = true; cut.Parent = workspace |
| 1252 | table.insert(angBoxes, cut) |
| 1253 | end |
| 1254 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1255 | if #cuts > 0 then |
| 1256 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1257 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1258 | if ok and result then |
| 1259 | cyl:Destroy() |
| 1260 | result.Name = "PopSwirlWhite2"; result.Anchored = true; result.Parent = model |
| 1261 | else |
| 1262 | cyl.Name = "PopSwirlWhite2"; cyl.Parent = model |
| 1263 | end |
| 1264 | else |
| 1265 | cyl.Name = "PopSwirlWhite2"; cyl.Parent = model |
| 1266 | end |
| 1267 | end |
| 1268 | do |
| 1269 | local rightV = Vector3.new(1,0,0).Unit |
| 1270 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1271 | local normalV = upV:Cross(rightV) |
| 1272 | local pos = Vector3.new(0, 24.5, 0.5) |
| 1273 | local cyl = Instance.new("Part") |
| 1274 | cyl.Shape = Enum.PartType.Cylinder |
| 1275 | cyl.Size = Vector3.new(1.5, 1.8, 1.8) |
| 1276 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1277 | cyl.BrickColor = BrickColor.new("Carnation pink") |
| 1278 | cyl.Material = Enum.Material.Glacier |
| 1279 | cyl.MaterialVariant = "2022 Stud" |
| 1280 | cyl.Anchored = true; cyl.Parent = workspace |
| 1281 | local cuts = {} |
| 1282 | if #cuts > 0 then |
| 1283 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1284 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1285 | if ok and result then |
| 1286 | cyl:Destroy() |
| 1287 | result.Name = "PopSwirlCenter"; result.Anchored = true; result.Parent = model |
| 1288 | else |
| 1289 | cyl.Name = "PopSwirlCenter"; cyl.Parent = model |
| 1290 | end |
| 1291 | else |
| 1292 | cyl.Name = "PopSwirlCenter"; cyl.Parent = model |
| 1293 | end |
| 1294 | end |
| 1295 | do |
| 1296 | local rightV = Vector3.new(1,0,0).Unit |
| 1297 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1298 | local normalV = upV:Cross(rightV) |
| 1299 | local pos = Vector3.new(0, 24.54, -0.1) |
| 1300 | local cyl = Instance.new("Part") |
| 1301 | cyl.Shape = Enum.PartType.Cylinder |
| 1302 | cyl.Size = Vector3.new(1.5, 9, 9) |
| 1303 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1304 | cyl.BrickColor = BrickColor.new("Carnation pink") |
| 1305 | cyl.Material = Enum.Material.Glacier |
| 1306 | cyl.MaterialVariant = "2022 Stud" |
| 1307 | cyl.Anchored = true; cyl.Parent = workspace |
| 1308 | local cuts = {} |
| 1309 | local angBoxes = {} |
| 1310 | do |
| 1311 | local edgeDir = 1*rightV + 0*upV |
| 1312 | local edgePerp = 0*rightV + 1*upV |
| 1313 | local cut = Instance.new("Part") |
| 1314 | cut.Size = Vector3.new(18, 1.7, 18) |
| 1315 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 9 * edgePerp, edgeDir, normalV) |
| 1316 | cut.BrickColor = BrickColor.new("Carnation pink") |
| 1317 | cut.Material = Enum.Material.Glacier |
| 1318 | cut.MaterialVariant = "2022 Stud" |
| 1319 | cut.Anchored = true; cut.Parent = workspace |
| 1320 | table.insert(angBoxes, cut) |
| 1321 | end |
| 1322 | do |
| 1323 | local edgeDir = -1*rightV + 0*upV |
| 1324 | local edgePerp = 0*rightV + -1*upV |
| 1325 | local cut = Instance.new("Part") |
| 1326 | cut.Size = Vector3.new(18, 1.7, 18) |
| 1327 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 9 * edgePerp, edgeDir, normalV) |
| 1328 | cut.BrickColor = BrickColor.new("Carnation pink") |
| 1329 | cut.Material = Enum.Material.Glacier |
| 1330 | cut.MaterialVariant = "2022 Stud" |
| 1331 | cut.Anchored = true; cut.Parent = workspace |
| 1332 | table.insert(angBoxes, cut) |
| 1333 | end |
| 1334 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1335 | if #cuts > 0 then |
| 1336 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1337 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1338 | if ok and result then |
| 1339 | cyl:Destroy() |
| 1340 | result.Name = "PopSwirlPink1B"; result.Anchored = true; result.Parent = model |
| 1341 | else |
| 1342 | cyl.Name = "PopSwirlPink1B"; cyl.Parent = model |
| 1343 | end |
| 1344 | else |
| 1345 | cyl.Name = "PopSwirlPink1B"; cyl.Parent = model |
| 1346 | end |
| 1347 | end |
| 1348 | do |
| 1349 | local rightV = Vector3.new(1,0,0).Unit |
| 1350 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 1351 | local normalV = upV:Cross(rightV) |
| 1352 | local pos = Vector3.new(0, 24.5, -0.1) |
| 1353 | local cyl = Instance.new("Part") |
| 1354 | cyl.Shape = Enum.PartType.Cylinder |
| 1355 | cyl.Size = Vector3.new(1.5, 9, 9) |
| 1356 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 1357 | cyl.BrickColor = BrickColor.new("Cyan") |
| 1358 | cyl.Material = Enum.Material.Glacier |
| 1359 | cyl.MaterialVariant = "2022 Stud" |
| 1360 | cyl.Anchored = true; cyl.Parent = workspace |
| 1361 | local cuts = {} |
| 1362 | local angBoxes = {} |
| 1363 | do |
| 1364 | local edgeDir = -1*rightV + 0*upV |
| 1365 | local edgePerp = 0*rightV + -1*upV |
| 1366 | local cut = Instance.new("Part") |
| 1367 | cut.Size = Vector3.new(18, 1.7, 18) |
| 1368 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 9 * edgePerp, edgeDir, normalV) |
| 1369 | cut.BrickColor = BrickColor.new("Cyan") |
| 1370 | cut.Material = Enum.Material.Glacier |
| 1371 | cut.MaterialVariant = "2022 Stud" |
| 1372 | cut.Anchored = true; cut.Parent = workspace |
| 1373 | table.insert(angBoxes, cut) |
| 1374 | end |
| 1375 | do |
| 1376 | local edgeDir = 1*rightV + 0*upV |
| 1377 | local edgePerp = 0*rightV + 1*upV |
| 1378 | local cut = Instance.new("Part") |
| 1379 | cut.Size = Vector3.new(18, 1.7, 18) |
| 1380 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 9 * edgePerp, edgeDir, normalV) |
| 1381 | cut.BrickColor = BrickColor.new("Cyan") |
| 1382 | cut.Material = Enum.Material.Glacier |
| 1383 | cut.MaterialVariant = "2022 Stud" |
| 1384 | cut.Anchored = true; cut.Parent = workspace |
| 1385 | table.insert(angBoxes, cut) |
| 1386 | end |
| 1387 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 1388 | if #cuts > 0 then |
| 1389 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 1390 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1391 | if ok and result then |
| 1392 | cyl:Destroy() |
| 1393 | result.Name = "PopSwirlBlue1B"; result.Anchored = true; result.Parent = model |
| 1394 | else |
| 1395 | cyl.Name = "PopSwirlBlue1B"; cyl.Parent = model |
| 1396 | end |
| 1397 | else |
| 1398 | cyl.Name = "PopSwirlBlue1B"; cyl.Parent = model |
| 1399 | end |
| 1400 | end |
| 1401 | model.PrimaryPart = model:FindFirstChild("HandleStripe_10") |
| 1402 | print("LollipopWand built: " .. #model:GetChildren() .. " parts") |
Loading comments...