Loading model...
by Daniel G · 8/6/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: CursedPurpleBat |
| 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 = "CursedPurpleBat" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Dark indigo"] = "2022 Stud", |
| 25 | ["Magenta"] = "2022 Stud", |
| 26 | ["Medium stone grey"] = "2022 Inlet", |
| 27 | ["Really black"] = "2022 Universal", |
| 28 | ["Royal purple"] = "2022 Stud", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Shape = Enum.PartType.Cylinder |
| 33 | p.Name = "Knob" |
| 34 | p.Size = Vector3.new(1, 2.2, 2.2) |
| 35 | p.CFrame = CFrame.new(0, -0.04, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 36 | p.BrickColor = BrickColor.new("Royal purple") |
| 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 = "KnobCap" |
| 46 | p.Size = Vector3.new(0.2, 1.8, 1.8) |
| 47 | p.CFrame = CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 48 | p.BrickColor = BrickColor.new("Magenta") |
| 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 = "Handle" |
| 58 | p.Size = Vector3.new(4, 1.2, 1.2) |
| 59 | p.CFrame = CFrame.new(0, 2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 60 | p.BrickColor = BrickColor.new("Really black") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Universal" |
| 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 = "Taper1" |
| 70 | p.Size = Vector3.new(1, 1.5, 1.5) |
| 71 | p.CFrame = CFrame.new(0, 5.04, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 72 | p.BrickColor = BrickColor.new("Dark indigo") |
| 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 = "Taper2" |
| 82 | p.Size = Vector3.new(1, 1.9, 1.9) |
| 83 | p.CFrame = CFrame.new(0, 5.92, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 84 | p.BrickColor = BrickColor.new("Dark indigo") |
| 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 = "Taper3" |
| 94 | p.Size = Vector3.new(1, 2.4, 2.4) |
| 95 | p.CFrame = CFrame.new(0, 6.96, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 96 | p.BrickColor = BrickColor.new("Dark indigo") |
| 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 = "Barrel" |
| 106 | p.Size = Vector3.new(7, 2.8, 2.8) |
| 107 | p.CFrame = CFrame.new(0, 11, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 108 | p.BrickColor = BrickColor.new("Dark indigo") |
| 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.Name = "GlowStrip1" |
| 117 | p.Size = Vector3.new(6, 0.3, 0.3) |
| 118 | p.CFrame = CFrame.new(1.3, 11, 0.5) * CFrame.Angles(math.rad(5), math.rad(15), math.rad(90)) |
| 119 | p.Color = Color3.fromRGB(255, 10, 255) |
| 120 | p.Material = Enum.Material.Neon |
| 121 | p.Anchored = true |
| 122 | p.Parent = model |
| 123 | end |
| 124 | do |
| 125 | local p = Instance.new("Part") |
| 126 | p.Name = "GlowStrip2" |
| 127 | p.Size = Vector3.new(5, 0.3, 0.3) |
| 128 | p.CFrame = CFrame.new(-1.3, 10.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(90)) |
| 129 | p.BrickColor = BrickColor.new("Magenta") |
| 130 | p.Material = Enum.Material.Neon |
| 131 | p.Anchored = true |
| 132 | p.Parent = model |
| 133 | end |
| 134 | do |
| 135 | local p = Instance.new("Part") |
| 136 | p.Name = "GlowStrip3" |
| 137 | p.Size = Vector3.new(5.5, 0.3, 0.3) |
| 138 | p.CFrame = CFrame.new(0.5, 11.5, 1.3) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(90)) |
| 139 | p.BrickColor = BrickColor.new("Magenta") |
| 140 | p.Material = Enum.Material.Neon |
| 141 | p.Anchored = true |
| 142 | p.Parent = model |
| 143 | end |
| 144 | do |
| 145 | local p = Instance.new("Part") |
| 146 | p.Name = "GlowStrip4" |
| 147 | p.Size = Vector3.new(4, 0.3, 0.3) |
| 148 | p.CFrame = CFrame.new(-0.5, 12, -1.3) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(90)) |
| 149 | p.BrickColor = BrickColor.new("Magenta") |
| 150 | p.Material = Enum.Material.Neon |
| 151 | p.Anchored = true |
| 152 | p.Parent = model |
| 153 | end |
| 154 | do |
| 155 | local p = Instance.new("Part") |
| 156 | p.Name = "Particle1" |
| 157 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 158 | p.CFrame = CFrame.new(2, 13, 1) * CFrame.Angles(math.rad(45), math.rad(45), math.rad(0)) |
| 159 | p.BrickColor = BrickColor.new("Magenta") |
| 160 | p.Material = Enum.Material.Neon |
| 161 | p.Anchored = true |
| 162 | p.Parent = model |
| 163 | end |
| 164 | do |
| 165 | local p = Instance.new("Part") |
| 166 | p.Name = "Particle2" |
| 167 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 168 | p.CFrame = CFrame.new(-2.2, 9, -1.5) * CFrame.Angles(math.rad(30), math.rad(60), math.rad(0)) |
| 169 | p.BrickColor = BrickColor.new("Magenta") |
| 170 | p.Material = Enum.Material.Neon |
| 171 | p.Anchored = true |
| 172 | p.Parent = model |
| 173 | end |
| 174 | do |
| 175 | local p = Instance.new("Part") |
| 176 | p.Name = "Particle3" |
| 177 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 178 | p.CFrame = CFrame.new(1.8, 6, -1.2) * CFrame.Angles(math.rad(15), math.rad(75), math.rad(0)) |
| 179 | p.BrickColor = BrickColor.new("Magenta") |
| 180 | p.Material = Enum.Material.Neon |
| 181 | p.Anchored = true |
| 182 | p.Parent = model |
| 183 | end |
| 184 | do |
| 185 | local p = Instance.new("Part") |
| 186 | p.Name = "Particle4" |
| 187 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 188 | p.CFrame = CFrame.new(-1.5, 14, 1.5) * CFrame.Angles(math.rad(60), math.rad(30), math.rad(0)) |
| 189 | p.BrickColor = BrickColor.new("Magenta") |
| 190 | p.Material = Enum.Material.Neon |
| 191 | p.Anchored = true |
| 192 | p.Parent = model |
| 193 | end |
| 194 | do |
| 195 | local p = Instance.new("Part") |
| 196 | p.Name = "ChainLink_1" |
| 197 | p.Size = Vector3.new(0.525917, 0.25, 0.15) |
| 198 | p.CFrame = CFrame.new(0.8944, 2.12778, 0.222999) * CFrame.Angles(math.rad(-180), math.rad(-76), math.rad(-150.927)) |
| 199 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 200 | p.Material = Enum.Material.Glacier |
| 201 | p.MaterialVariant = "2022 Inlet" |
| 202 | p.Anchored = true |
| 203 | p.Parent = model |
| 204 | end |
| 205 | do |
| 206 | local p = Instance.new("Part") |
| 207 | p.Name = "ChainLink_2" |
| 208 | p.Size = Vector3.new(0.525917, 0.4, 0.25) |
| 209 | p.CFrame = CFrame.new(0.685017, 2.38333, 0.616792) * CFrame.Angles(math.rad(-180), math.rad(-48), math.rad(-150.927)) |
| 210 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 211 | p.Material = Enum.Material.Glacier |
| 212 | p.MaterialVariant = "2022 Inlet" |
| 213 | p.Anchored = true |
| 214 | p.Parent = model |
| 215 | end |
| 216 | do |
| 217 | local p = Instance.new("Part") |
| 218 | p.Name = "ChainLink_3" |
| 219 | p.Size = Vector3.new(0.525917, 0.25, 0.15) |
| 220 | p.CFrame = CFrame.new(0.315268, 2.63889, 0.866191) * CFrame.Angles(math.rad(-180), math.rad(-20), math.rad(-150.927)) |
| 221 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 222 | p.Material = Enum.Material.Glacier |
| 223 | p.MaterialVariant = "2022 Inlet" |
| 224 | p.Anchored = true |
| 225 | p.Parent = model |
| 226 | end |
| 227 | do |
| 228 | local p = Instance.new("Part") |
| 229 | p.Name = "ChainLink_4" |
| 230 | p.Size = Vector3.new(0.525917, 0.4, 0.25) |
| 231 | p.CFrame = CFrame.new(-0.128287, 2.89444, 0.91281) * CFrame.Angles(math.rad(-180), math.rad(8), math.rad(-150.927)) |
| 232 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 233 | p.Material = Enum.Material.Glacier |
| 234 | p.MaterialVariant = "2022 Inlet" |
| 235 | p.Anchored = true |
| 236 | p.Parent = model |
| 237 | end |
| 238 | do |
| 239 | local p = Instance.new("Part") |
| 240 | p.Name = "ChainLink_5" |
| 241 | p.Size = Vector3.new(0.525917, 0.25, 0.15) |
| 242 | p.CFrame = CFrame.new(-0.541809, 3.15, 0.745736) * CFrame.Angles(math.rad(-180), math.rad(36), math.rad(-150.927)) |
| 243 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 244 | p.Material = Enum.Material.Glacier |
| 245 | p.MaterialVariant = "2022 Inlet" |
| 246 | p.Anchored = true |
| 247 | p.Parent = model |
| 248 | end |
| 249 | do |
| 250 | local p = Instance.new("Part") |
| 251 | p.Name = "ChainLink_6" |
| 252 | p.Size = Vector3.new(0.525917, 0.4, 0.25) |
| 253 | p.CFrame = CFrame.new(-0.828491, 3.40556, 0.404082) * CFrame.Angles(math.rad(-180), math.rad(64), math.rad(-150.927)) |
| 254 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 255 | p.Material = Enum.Material.Glacier |
| 256 | p.MaterialVariant = "2022 Inlet" |
| 257 | p.Anchored = true |
| 258 | p.Parent = model |
| 259 | end |
| 260 | do |
| 261 | local p = Instance.new("Part") |
| 262 | p.Name = "ChainLink_7" |
| 263 | p.Size = Vector3.new(0.525917, 0.25, 0.15) |
| 264 | p.CFrame = CFrame.new(-0.921219, 3.66111, -0.03217) * CFrame.Angles(math.rad(0), math.rad(88), math.rad(29.073)) |
| 265 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 266 | p.Material = Enum.Material.Glacier |
| 267 | p.MaterialVariant = "2022 Inlet" |
| 268 | p.Anchored = true |
| 269 | p.Parent = model |
| 270 | end |
| 271 | do |
| 272 | local p = Instance.new("Part") |
| 273 | p.Name = "ChainLink_8" |
| 274 | p.Size = Vector3.new(0.525917, 0.4, 0.25) |
| 275 | p.CFrame = CFrame.new(-0.798286, 3.91667, -0.46089) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(29.073)) |
| 276 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 277 | p.Material = Enum.Material.Glacier |
| 278 | p.MaterialVariant = "2022 Inlet" |
| 279 | p.Anchored = true |
| 280 | p.Parent = model |
| 281 | end |
| 282 | do |
| 283 | local p = Instance.new("Part") |
| 284 | p.Name = "ChainLink_9" |
| 285 | p.Size = Vector3.new(0.525917, 0.25, 0.15) |
| 286 | p.CFrame = CFrame.new(-0.488469, 4.17222, -0.781715) * CFrame.Angles(math.rad(0), math.rad(32), math.rad(29.073)) |
| 287 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 288 | p.Material = Enum.Material.Glacier |
| 289 | p.MaterialVariant = "2022 Inlet" |
| 290 | p.Anchored = true |
| 291 | p.Parent = model |
| 292 | end |
| 293 | do |
| 294 | local p = Instance.new("Part") |
| 295 | p.Name = "ChainLink_10" |
| 296 | p.Size = Vector3.new(0.529027, 0.4, 0.25) |
| 297 | p.CFrame = CFrame.new(-0.063094, 4.42778, -0.926374) * CFrame.Angles(math.rad(0), math.rad(5.66717), math.rad(28.8859)) |
| 298 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 299 | p.Material = Enum.Material.Glacier |
| 300 | p.MaterialVariant = "2022 Inlet" |
| 301 | p.Anchored = true |
| 302 | p.Parent = model |
| 303 | end |
| 304 | do |
| 305 | local p = Instance.new("Part") |
| 306 | p.Name = "ChainLink_11" |
| 307 | p.Size = Vector3.new(0.548917, 0.25, 0.15) |
| 308 | p.CFrame = CFrame.new(0.40007, 4.68333, -0.879573) * CFrame.Angles(math.rad(0), math.rad(-16.6687), math.rad(27.7467)) |
| 309 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 310 | p.Material = Enum.Material.Glacier |
| 311 | p.MaterialVariant = "2022 Inlet" |
| 312 | p.Anchored = true |
| 313 | p.Parent = model |
| 314 | end |
| 315 | do |
| 316 | local p = Instance.new("Part") |
| 317 | p.Name = "ChainLink_12" |
| 318 | p.Size = Vector3.new(0.576241, 0.4, 0.25) |
| 319 | p.CFrame = CFrame.new(0.815025, 4.93889, -0.62696) * CFrame.Angles(math.rad(0), math.rad(-45.1063), math.rad(26.3266)) |
| 320 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 321 | p.Material = Enum.Material.Glacier |
| 322 | p.MaterialVariant = "2022 Inlet" |
| 323 | p.Anchored = true |
| 324 | p.Parent = model |
| 325 | end |
| 326 | do |
| 327 | local p = Instance.new("Part") |
| 328 | p.Name = "ChainLink_13" |
| 329 | p.Size = Vector3.new(0.603912, 0.25, 0.15) |
| 330 | p.CFrame = CFrame.new(1.07501, 5.19444, -0.181707) * CFrame.Angles(math.rad(0), math.rad(-73.4948), math.rad(25.0347)) |
| 331 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 332 | p.Material = Enum.Material.Glacier |
| 333 | p.MaterialVariant = "2022 Inlet" |
| 334 | p.Anchored = true |
| 335 | p.Parent = model |
| 336 | end |
| 337 | do |
| 338 | local p = Instance.new("Part") |
| 339 | p.Name = "ChainLink_14" |
| 340 | p.Size = Vector3.new(0.631883, 0.4, 0.25) |
| 341 | p.CFrame = CFrame.new(1.09344, 5.45, 0.363407) * CFrame.Angles(math.rad(-180), math.rad(-78.158), math.rad(-156.144)) |
| 342 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 343 | p.Material = Enum.Material.Glacier |
| 344 | p.MaterialVariant = "2022 Inlet" |
| 345 | p.Anchored = true |
| 346 | p.Parent = model |
| 347 | end |
| 348 | do |
| 349 | local p = Instance.new("Part") |
| 350 | p.Name = "ChainLink_15" |
| 351 | p.Size = Vector3.new(0.660116, 0.25, 0.15) |
| 352 | p.CFrame = CFrame.new(0.837907, 5.70556, 0.878803) * CFrame.Angles(math.rad(-180), math.rad(-49.8458), math.rad(-157.224)) |
| 353 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 354 | p.Material = Enum.Material.Glacier |
| 355 | p.MaterialVariant = "2022 Inlet" |
| 356 | p.Anchored = true |
| 357 | p.Parent = model |
| 358 | end |
| 359 | do |
| 360 | local p = Instance.new("Part") |
| 361 | p.Name = "ChainLink_16" |
| 362 | p.Size = Vector3.new(0.68858, 0.4, 0.25) |
| 363 | p.CFrame = CFrame.new(0.344342, 5.96111, 1.2289) * CFrame.Angles(math.rad(-180), math.rad(-21.5637), math.rad(-158.214)) |
| 364 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 365 | p.Material = Enum.Material.Glacier |
| 366 | p.MaterialVariant = "2022 Inlet" |
| 367 | p.Anchored = true |
| 368 | p.Parent = model |
| 369 | end |
| 370 | do |
| 371 | local p = Instance.new("Part") |
| 372 | p.Name = "ChainLink_17" |
| 373 | p.Size = Vector3.new(0.717246, 0.25, 0.15) |
| 374 | p.CFrame = CFrame.new(-0.285787, 6.21667, 1.30735) * CFrame.Angles(math.rad(-180), math.rad(6.69255), math.rad(-159.127)) |
| 375 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 376 | p.Material = Enum.Material.Glacier |
| 377 | p.MaterialVariant = "2022 Inlet" |
| 378 | p.Anchored = true |
| 379 | p.Parent = model |
| 380 | end |
| 381 | do |
| 382 | local p = Instance.new("Part") |
| 383 | p.Name = "ChainLink_18" |
| 384 | p.Size = Vector3.new(0.746092, 0.4, 0.25) |
| 385 | p.CFrame = CFrame.new(-0.905945, 6.47222, 1.06764) * CFrame.Angles(math.rad(-180), math.rad(34.9263), math.rad(-159.969)) |
| 386 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 387 | p.Material = Enum.Material.Glacier |
| 388 | p.MaterialVariant = "2022 Inlet" |
| 389 | p.Anchored = true |
| 390 | p.Parent = model |
| 391 | end |
| 392 | do |
| 393 | local p = Instance.new("Part") |
| 394 | p.Name = "ChainLink_19" |
| 395 | p.Size = Vector3.new(0.775097, 0.25, 0.15) |
| 396 | p.CFrame = CFrame.new(-1.35861, 6.72778, 0.540578) * CFrame.Angles(math.rad(-180), math.rad(63.1403), math.rad(-160.749)) |
| 397 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 398 | p.Material = Enum.Material.Glacier |
| 399 | p.MaterialVariant = "2022 Inlet" |
| 400 | p.Anchored = true |
| 401 | p.Parent = model |
| 402 | end |
| 403 | do |
| 404 | local p = Instance.new("Part") |
| 405 | p.Name = "ChainLink_20" |
| 406 | p.Size = Vector3.new(0.804245, 0.4, 0.25) |
| 407 | p.CFrame = CFrame.new(-1.51502, 6.98333, -0.167005) * CFrame.Angles(math.rad(0), math.rad(88.6629), math.rad(18.5274)) |
| 408 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 409 | p.Material = Enum.Material.Glacier |
| 410 | p.MaterialVariant = "2022 Inlet" |
| 411 | p.Anchored = true |
| 412 | p.Parent = model |
| 413 | end |
| 414 | do |
| 415 | local p = Instance.new("Part") |
| 416 | p.Name = "ChainLink_21" |
| 417 | p.Size = Vector3.new(0.833519, 0.25, 0.15) |
| 418 | p.CFrame = CFrame.new(-1.31067, 7.23889, -0.893378) * CFrame.Angles(math.rad(0), math.rad(60.4814), math.rad(17.8544)) |
| 419 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 420 | p.Material = Enum.Material.Glacier |
| 421 | p.MaterialVariant = "2022 Inlet" |
| 422 | p.Anchored = true |
| 423 | p.Parent = model |
| 424 | end |
| 425 | do |
| 426 | local p = Instance.new("Part") |
| 427 | p.Name = "ChainLink_22" |
| 428 | p.Size = Vector3.new(0.854235, 0.4, 0.25) |
| 429 | p.CFrame = CFrame.new(-0.763242, 7.49444, -1.44404) * CFrame.Angles(math.rad(0), math.rad(30.2741), math.rad(17.4074)) |
| 430 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 431 | p.Material = Enum.Material.Glacier |
| 432 | p.MaterialVariant = "2022 Inlet" |
| 433 | p.Anchored = true |
| 434 | p.Parent = model |
| 435 | end |
| 436 | do |
| 437 | local p = Instance.new("Part") |
| 438 | p.Name = "ChainLink_23" |
| 439 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 440 | p.CFrame = CFrame.new(0, 7.75, -1.6495) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(17.2596)) |
| 441 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 442 | p.Material = Enum.Material.Glacier |
| 443 | p.MaterialVariant = "2022 Inlet" |
| 444 | p.Anchored = true |
| 445 | p.Parent = model |
| 446 | end |
| 447 | do |
| 448 | local p = Instance.new("Part") |
| 449 | p.Name = "ChainLink_24" |
| 450 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 451 | p.CFrame = CFrame.new(0.774395, 8.00556, -1.45642) * CFrame.Angles(math.rad(0), math.rad(-28), math.rad(17.2596)) |
| 452 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 453 | p.Material = Enum.Material.Glacier |
| 454 | p.MaterialVariant = "2022 Inlet" |
| 455 | p.Anchored = true |
| 456 | p.Parent = model |
| 457 | end |
| 458 | do |
| 459 | local p = Instance.new("Part") |
| 460 | p.Name = "ChainLink_25" |
| 461 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 462 | p.CFrame = CFrame.new(1.3675, 8.26111, -0.92239) * CFrame.Angles(math.rad(0), math.rad(-56), math.rad(17.2596)) |
| 463 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 464 | p.Material = Enum.Material.Glacier |
| 465 | p.MaterialVariant = "2022 Inlet" |
| 466 | p.Anchored = true |
| 467 | p.Parent = model |
| 468 | end |
| 469 | do |
| 470 | local p = Instance.new("Part") |
| 471 | p.Name = "ChainLink_26" |
| 472 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 473 | p.CFrame = CFrame.new(1.64047, 8.51667, -0.17242) * CFrame.Angles(math.rad(0), math.rad(-84), math.rad(17.2596)) |
| 474 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 475 | p.Material = Enum.Material.Glacier |
| 476 | p.MaterialVariant = "2022 Inlet" |
| 477 | p.Anchored = true |
| 478 | p.Parent = model |
| 479 | end |
| 480 | do |
| 481 | local p = Instance.new("Part") |
| 482 | p.Name = "ChainLink_27" |
| 483 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 484 | p.CFrame = CFrame.new(1.52939, 8.77222, 0.617915) * CFrame.Angles(math.rad(-180), math.rad(-68), math.rad(-162.74)) |
| 485 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 486 | p.Material = Enum.Material.Glacier |
| 487 | p.MaterialVariant = "2022 Inlet" |
| 488 | p.Anchored = true |
| 489 | p.Parent = model |
| 490 | end |
| 491 | do |
| 492 | local p = Instance.new("Part") |
| 493 | p.Name = "ChainLink_28" |
| 494 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 495 | p.CFrame = CFrame.new(1.06028, 9.02778, 1.26359) * CFrame.Angles(math.rad(-180), math.rad(-40), math.rad(-162.74)) |
| 496 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 497 | p.Material = Enum.Material.Glacier |
| 498 | p.MaterialVariant = "2022 Inlet" |
| 499 | p.Anchored = true |
| 500 | p.Parent = model |
| 501 | end |
| 502 | do |
| 503 | local p = Instance.new("Part") |
| 504 | p.Name = "ChainLink_29" |
| 505 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 506 | p.CFrame = CFrame.new(0.342951, 9.28333, 1.61346) * CFrame.Angles(math.rad(-180), math.rad(-12), math.rad(-162.74)) |
| 507 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 508 | p.Material = Enum.Material.Glacier |
| 509 | p.MaterialVariant = "2022 Inlet" |
| 510 | p.Anchored = true |
| 511 | p.Parent = model |
| 512 | end |
| 513 | do |
| 514 | local p = Instance.new("Part") |
| 515 | p.Name = "ChainLink_30" |
| 516 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 517 | p.CFrame = CFrame.new(-0.454665, 9.53889, 1.5856) * CFrame.Angles(math.rad(-180), math.rad(16), math.rad(-162.74)) |
| 518 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 519 | p.Material = Enum.Material.Glacier |
| 520 | p.MaterialVariant = "2022 Inlet" |
| 521 | p.Anchored = true |
| 522 | p.Parent = model |
| 523 | end |
| 524 | do |
| 525 | local p = Instance.new("Part") |
| 526 | p.Name = "ChainLink_31" |
| 527 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 528 | p.CFrame = CFrame.new(-1.14584, 9.79444, 1.18655) * CFrame.Angles(math.rad(-180), math.rad(44), math.rad(-162.74)) |
| 529 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 530 | p.Material = Enum.Material.Glacier |
| 531 | p.MaterialVariant = "2022 Inlet" |
| 532 | p.Anchored = true |
| 533 | p.Parent = model |
| 534 | end |
| 535 | do |
| 536 | local p = Instance.new("Part") |
| 537 | p.Name = "ChainLink_32" |
| 538 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 539 | p.CFrame = CFrame.new(-1.56877, 10.05, 0.509724) * CFrame.Angles(math.rad(-180), math.rad(72), math.rad(-162.74)) |
| 540 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 541 | p.Material = Enum.Material.Glacier |
| 542 | p.MaterialVariant = "2022 Inlet" |
| 543 | p.Anchored = true |
| 544 | p.Parent = model |
| 545 | end |
| 546 | do |
| 547 | local p = Instance.new("Part") |
| 548 | p.Name = "ChainLink_33" |
| 549 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 550 | p.CFrame = CFrame.new(-1.62444, 10.3056, -0.286433) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(17.2596)) |
| 551 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 552 | p.Material = Enum.Material.Glacier |
| 553 | p.MaterialVariant = "2022 Inlet" |
| 554 | p.Anchored = true |
| 555 | p.Parent = model |
| 556 | end |
| 557 | do |
| 558 | local p = Instance.new("Part") |
| 559 | p.Name = "ChainLink_34" |
| 560 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 561 | p.CFrame = CFrame.new(-1.29983, 10.5611, -1.01554) * CFrame.Angles(math.rad(0), math.rad(52), math.rad(17.2596)) |
| 562 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 563 | p.Material = Enum.Material.Glacier |
| 564 | p.MaterialVariant = "2022 Inlet" |
| 565 | p.Anchored = true |
| 566 | p.Parent = model |
| 567 | end |
| 568 | do |
| 569 | local p = Instance.new("Part") |
| 570 | p.Name = "ChainLink_35" |
| 571 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 572 | p.CFrame = CFrame.new(-0.670913, 10.8167, -1.5069) * CFrame.Angles(math.rad(0), math.rad(24), math.rad(17.2596)) |
| 573 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 574 | p.Material = Enum.Material.Glacier |
| 575 | p.MaterialVariant = "2022 Inlet" |
| 576 | p.Anchored = true |
| 577 | p.Parent = model |
| 578 | end |
| 579 | do |
| 580 | local p = Instance.new("Part") |
| 581 | p.Name = "ChainLink_36" |
| 582 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 583 | p.CFrame = CFrame.new(0.115063, 11.0722, -1.64549) * CFrame.Angles(math.rad(0), math.rad(-4), math.rad(17.2596)) |
| 584 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 585 | p.Material = Enum.Material.Glacier |
| 586 | p.MaterialVariant = "2022 Inlet" |
| 587 | p.Anchored = true |
| 588 | p.Parent = model |
| 589 | end |
| 590 | do |
| 591 | local p = Instance.new("Part") |
| 592 | p.Name = "ChainLink_37" |
| 593 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 594 | p.CFrame = CFrame.new(0.874103, 11.3278, -1.39886) * CFrame.Angles(math.rad(0), math.rad(-32), math.rad(17.2596)) |
| 595 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 596 | p.Material = Enum.Material.Glacier |
| 597 | p.MaterialVariant = "2022 Inlet" |
| 598 | p.Anchored = true |
| 599 | p.Parent = model |
| 600 | end |
| 601 | do |
| 602 | local p = Instance.new("Part") |
| 603 | p.Name = "ChainLink_38" |
| 604 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 605 | p.CFrame = CFrame.new(1.42851, 11.5833, -0.824751) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(17.2596)) |
| 606 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 607 | p.Material = Enum.Material.Glacier |
| 608 | p.MaterialVariant = "2022 Inlet" |
| 609 | p.Anchored = true |
| 610 | p.Parent = model |
| 611 | end |
| 612 | do |
| 613 | local p = Instance.new("Part") |
| 614 | p.Name = "ChainLink_39" |
| 615 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 616 | p.CFrame = CFrame.new(1.6485, 11.8389, -0.057567) * CFrame.Angles(math.rad(0), math.rad(-88), math.rad(17.2596)) |
| 617 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 618 | p.Material = Enum.Material.Glacier |
| 619 | p.MaterialVariant = "2022 Inlet" |
| 620 | p.Anchored = true |
| 621 | p.Parent = model |
| 622 | end |
| 623 | do |
| 624 | local p = Instance.new("Part") |
| 625 | p.Name = "ChainLink_40" |
| 626 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 627 | p.CFrame = CFrame.new(1.48256, 12.0944, 0.723094) * CFrame.Angles(math.rad(-180), math.rad(-64), math.rad(-162.74)) |
| 628 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 629 | p.Material = Enum.Material.Glacier |
| 630 | p.MaterialVariant = "2022 Inlet" |
| 631 | p.Anchored = true |
| 632 | p.Parent = model |
| 633 | end |
| 634 | do |
| 635 | local p = Instance.new("Part") |
| 636 | p.Name = "ChainLink_41" |
| 637 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 638 | p.CFrame = CFrame.new(0.969553, 12.35, 1.33448) * CFrame.Angles(math.rad(-180), math.rad(-36), math.rad(-162.74)) |
| 639 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 640 | p.Material = Enum.Material.Glacier |
| 641 | p.MaterialVariant = "2022 Inlet" |
| 642 | p.Anchored = true |
| 643 | p.Parent = model |
| 644 | end |
| 645 | do |
| 646 | local p = Instance.new("Part") |
| 647 | p.Name = "ChainLink_42" |
| 648 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 649 | p.CFrame = CFrame.new(0.229566, 12.6056, 1.63345) * CFrame.Angles(math.rad(-180), math.rad(-8), math.rad(-162.74)) |
| 650 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 651 | p.Material = Enum.Material.Glacier |
| 652 | p.MaterialVariant = "2022 Inlet" |
| 653 | p.Anchored = true |
| 654 | p.Parent = model |
| 655 | end |
| 656 | do |
| 657 | local p = Instance.new("Part") |
| 658 | p.Name = "ChainLink_43" |
| 659 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 660 | p.CFrame = CFrame.new(-0.564163, 12.8611, 1.55003) * CFrame.Angles(math.rad(-180), math.rad(20), math.rad(-162.74)) |
| 661 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 662 | p.Material = Enum.Material.Glacier |
| 663 | p.MaterialVariant = "2022 Inlet" |
| 664 | p.Anchored = true |
| 665 | p.Parent = model |
| 666 | end |
| 667 | do |
| 668 | local p = Instance.new("Part") |
| 669 | p.Name = "ChainLink_44" |
| 670 | p.Size = Vector3.new(0.86132, 0.4, 0.25) |
| 671 | p.CFrame = CFrame.new(-1.22582, 13.1167, 1.10373) * CFrame.Angles(math.rad(-180), math.rad(48), math.rad(-162.74)) |
| 672 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 673 | p.Material = Enum.Material.Glacier |
| 674 | p.MaterialVariant = "2022 Inlet" |
| 675 | p.Anchored = true |
| 676 | p.Parent = model |
| 677 | end |
| 678 | do |
| 679 | local p = Instance.new("Part") |
| 680 | p.Name = "ChainLink_45" |
| 681 | p.Size = Vector3.new(0.86132, 0.25, 0.15) |
| 682 | p.CFrame = CFrame.new(-1.60051, 13.3722, 0.399051) * CFrame.Angles(math.rad(-180), math.rad(76), math.rad(-162.74)) |
| 683 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 684 | p.Material = Enum.Material.Glacier |
| 685 | p.MaterialVariant = "2022 Inlet" |
| 686 | p.Anchored = true |
| 687 | p.Parent = model |
| 688 | end |
| 689 | do |
| 690 | local p = Instance.new("Part") |
| 691 | p.Name = "ChainDangle1" |
| 692 | p.Size = Vector3.new(1.5, 0.3, 0.2) |
| 693 | p.CFrame = CFrame.new(-1.2, 13, 0.25) * CFrame.Angles(math.rad(0), math.rad(-26.5651), math.rad(-41.8103)) |
| 694 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 695 | p.Material = Enum.Material.Glacier |
| 696 | p.MaterialVariant = "2022 Inlet" |
| 697 | p.Anchored = true |
| 698 | p.Parent = model |
| 699 | end |
| 700 | do |
| 701 | local p = Instance.new("Part") |
| 702 | p.Name = "ChainDangle2" |
| 703 | p.Size = Vector3.new(1.65831, 0.3, 0.2) |
| 704 | p.CFrame = CFrame.new(-0.45, 11.75, 0.75) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-64.7606)) |
| 705 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 706 | p.Material = Enum.Material.Glacier |
| 707 | p.MaterialVariant = "2022 Inlet" |
| 708 | p.Anchored = true |
| 709 | p.Parent = model |
| 710 | end |
| 711 | do |
| 712 | local upV = Vector3.new(0,1,0).Unit |
| 713 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 714 | local forwardV = rightV:Cross(upV) |
| 715 | local pos = Vector3.new(0, 14.54, 0) |
| 716 | local ball = Instance.new("Part") |
| 717 | ball.Shape = Enum.PartType.Ball |
| 718 | ball.Size = Vector3.new(2.8, 2.8, 2.8) |
| 719 | ball.CFrame = CFrame.new(pos) |
| 720 | ball.BrickColor = BrickColor.new("Royal purple") |
| 721 | ball.Material = Enum.Material.Glacier |
| 722 | ball.MaterialVariant = "2022 Stud" |
| 723 | ball.Anchored = true; ball.Parent = workspace |
| 724 | local cuts = {} |
| 725 | do |
| 726 | local h = 0 |
| 727 | local cut = Instance.new("Part") |
| 728 | cut.Size = Vector3.new(5.6, 5.6, 5.6) |
| 729 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-2.8), rightV, upV) |
| 730 | cut.BrickColor = BrickColor.new("Royal purple") |
| 731 | cut.Material = Enum.Material.Glacier |
| 732 | cut.MaterialVariant = "2022 Stud" |
| 733 | cut.Anchored = true; cut.Parent = workspace |
| 734 | table.insert(cuts, cut) |
| 735 | end |
| 736 | if #cuts > 0 then |
| 737 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 738 | for _, c in ipairs(cuts) do c:Destroy() end |
| 739 | if ok and result then |
| 740 | ball:Destroy() |
| 741 | result.Name = "TopDome"; result.Anchored = true; result.Parent = model |
| 742 | else |
| 743 | ball.Name = "TopDome"; ball.Parent = model |
| 744 | end |
| 745 | else |
| 746 | ball.Name = "TopDome"; ball.Parent = model |
| 747 | end |
| 748 | end |
| 749 | model.PrimaryPart = model:FindFirstChild("Handle") |
| 750 | print("CursedPurpleBat built: " .. #model:GetChildren() .. " parts") |
Loading comments...