Loading model...
by Zhoee · 8/15/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: PaleStalker |
| 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 = "PaleStalker" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Dark stone grey"] = "2022 Stud", |
| 25 | ["Fossil"] = "2022 Stud", |
| 26 | ["Ghost grey"] = "2022 Stud", |
| 27 | ["Really black"] = "2022 Universal", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "Pelvis" |
| 32 | p.Size = Vector3.new(2.2, 1.8, 1.8) |
| 33 | p.CFrame = CFrame.new(0, 8, 0) |
| 34 | p.BrickColor = BrickColor.new("Ghost grey") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Stud" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "SpineLower" |
| 43 | p.Size = Vector3.new(1.80278, 2, 1.6) |
| 44 | p.CFrame = CFrame.new(0, 9.25, -0.5) * CFrame.Angles(math.rad(56.3099), math.rad(90), math.rad(0)) |
| 45 | p.BrickColor = BrickColor.new("Ghost grey") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Stud" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Name = "SpineUpper" |
| 54 | p.Size = Vector3.new(2.5, 2.4, 2) |
| 55 | p.CFrame = CFrame.new(0, 11, -1.75) * CFrame.Angles(math.rad(53.1301), math.rad(90), math.rad(0)) |
| 56 | p.BrickColor = BrickColor.new("Ghost grey") |
| 57 | p.Material = Enum.Material.Glacier |
| 58 | p.MaterialVariant = "2022 Stud" |
| 59 | p.Anchored = true |
| 60 | p.Parent = model |
| 61 | end |
| 62 | do |
| 63 | local p = Instance.new("Part") |
| 64 | p.Name = "Shoulders" |
| 65 | p.Size = Vector3.new(4.5, 1.2, 1.8) |
| 66 | p.CFrame = CFrame.new(0, 12.2, -2.5) |
| 67 | p.BrickColor = BrickColor.new("Ghost grey") |
| 68 | p.Material = Enum.Material.Glacier |
| 69 | p.MaterialVariant = "2022 Stud" |
| 70 | p.Anchored = true |
| 71 | p.Parent = model |
| 72 | end |
| 73 | do |
| 74 | local p = Instance.new("Part") |
| 75 | p.Name = "Ribs" |
| 76 | p.Size = Vector3.new(2.8, 2, 1.5) |
| 77 | p.CFrame = CFrame.new(0, 11, -1.5) |
| 78 | p.BrickColor = BrickColor.new("Fossil") |
| 79 | p.Material = Enum.Material.Glacier |
| 80 | p.MaterialVariant = "2022 Stud" |
| 81 | p.Anchored = true |
| 82 | p.Parent = model |
| 83 | end |
| 84 | do |
| 85 | local p = Instance.new("Part") |
| 86 | p.Name = "Neck" |
| 87 | p.Size = Vector3.new(1.58114, 1.2, 1.2) |
| 88 | p.CFrame = CFrame.new(0, 11.75, -3.25) * CFrame.Angles(math.rad(-18.4349), math.rad(90), math.rad(0)) |
| 89 | p.BrickColor = BrickColor.new("Ghost grey") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Stud" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Name = "MouthBack" |
| 98 | p.Size = Vector3.new(1.2, 3.5, 0.5) |
| 99 | p.CFrame = CFrame.new(0, 10.5, -4.5) |
| 100 | p.BrickColor = BrickColor.new("Really black") |
| 101 | p.Material = Enum.Material.Glacier |
| 102 | p.MaterialVariant = "2022 Universal" |
| 103 | p.Anchored = true |
| 104 | p.Parent = model |
| 105 | end |
| 106 | do |
| 107 | local p = Instance.new("Part") |
| 108 | p.Name = "JawLeft" |
| 109 | p.Size = Vector3.new(0.3, 3.8, 1.2) |
| 110 | p.CFrame = CFrame.new(0.6, 10.5, -5) |
| 111 | p.BrickColor = BrickColor.new("Ghost grey") |
| 112 | p.Material = Enum.Material.Glacier |
| 113 | p.MaterialVariant = "2022 Stud" |
| 114 | p.Anchored = true |
| 115 | p.Parent = model |
| 116 | end |
| 117 | do |
| 118 | local p = Instance.new("Part") |
| 119 | p.Name = "JawRight" |
| 120 | p.Size = Vector3.new(0.3, 3.8, 1.2) |
| 121 | p.CFrame = CFrame.new(-0.6, 10.5, -5) |
| 122 | p.BrickColor = BrickColor.new("Ghost grey") |
| 123 | p.Material = Enum.Material.Glacier |
| 124 | p.MaterialVariant = "2022 Stud" |
| 125 | p.Anchored = true |
| 126 | p.Parent = model |
| 127 | end |
| 128 | do |
| 129 | local p = Instance.new("Part") |
| 130 | p.Name = "Chin" |
| 131 | p.Size = Vector3.new(1, 0.4, 1.2) |
| 132 | p.CFrame = CFrame.new(0, 8.6, -5) |
| 133 | p.BrickColor = BrickColor.new("Ghost grey") |
| 134 | p.Material = Enum.Material.Glacier |
| 135 | p.MaterialVariant = "2022 Stud" |
| 136 | p.Anchored = true |
| 137 | p.Parent = model |
| 138 | end |
| 139 | do |
| 140 | local p = Instance.new("Part") |
| 141 | p.Name = "EyeL" |
| 142 | p.Size = Vector3.new(0.2, 0.2, 0.1) |
| 143 | p.CFrame = CFrame.new(0.27, 12.2, -5.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 144 | p.BrickColor = BrickColor.new("Really black") |
| 145 | p.Material = Enum.Material.Glacier |
| 146 | p.MaterialVariant = "2022 Universal" |
| 147 | p.Anchored = true |
| 148 | p.Parent = model |
| 149 | end |
| 150 | do |
| 151 | local p = Instance.new("Part") |
| 152 | p.Name = "EyeR" |
| 153 | p.Size = Vector3.new(0.2, 0.2, 0.1) |
| 154 | p.CFrame = CFrame.new(-0.27, 12.2, -5.3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 155 | p.BrickColor = BrickColor.new("Really black") |
| 156 | p.Material = Enum.Material.Glacier |
| 157 | p.MaterialVariant = "2022 Universal" |
| 158 | p.Anchored = true |
| 159 | p.Parent = model |
| 160 | end |
| 161 | do |
| 162 | local p = Instance.new("Part") |
| 163 | p.Name = "R_UpperArm" |
| 164 | p.Size = Vector3.new(3.4322, 0.8, 0.8) |
| 165 | p.CFrame = CFrame.new(-2.85, 13.6, -1.75) * CFrame.Angles(math.rad(-180), math.rad(-49.0856), math.rad(-125.333)) |
| 166 | p.BrickColor = BrickColor.new("Ghost grey") |
| 167 | p.Material = Enum.Material.Glacier |
| 168 | p.MaterialVariant = "2022 Stud" |
| 169 | p.Anchored = true |
| 170 | p.Parent = model |
| 171 | end |
| 172 | do |
| 173 | local p = Instance.new("Part") |
| 174 | p.Name = "R_Forearm" |
| 175 | p.Size = Vector3.new(3.5, 0.6, 0.6) |
| 176 | p.CFrame = CFrame.new(-3, 16.5, -0.25) * CFrame.Angles(math.rad(0), math.rad(-56.3099), math.rad(58.9973)) |
| 177 | p.BrickColor = BrickColor.new("Ghost grey") |
| 178 | p.Material = Enum.Material.Glacier |
| 179 | p.MaterialVariant = "2022 Stud" |
| 180 | p.Anchored = true |
| 181 | p.Parent = model |
| 182 | end |
| 183 | do |
| 184 | local p = Instance.new("Part") |
| 185 | p.Shape = Enum.PartType.Cylinder |
| 186 | p.Name = "R_Claw1" |
| 187 | p.Size = Vector3.new(3.20156, 0.16, 0.16) |
| 188 | p.CFrame = CFrame.new(-2.25, 19.5, 1) * CFrame.Angles(math.rad(0), math.rad(-63.4349), math.rad(69.5607)) |
| 189 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 190 | p.Material = Enum.Material.Glacier |
| 191 | p.MaterialVariant = "2022 Stud" |
| 192 | p.Anchored = true |
| 193 | p.Parent = model |
| 194 | end |
| 195 | do |
| 196 | local p = Instance.new("Part") |
| 197 | p.Shape = Enum.PartType.Cylinder |
| 198 | p.Name = "R_Claw2" |
| 199 | p.Size = Vector3.new(3.5, 0.12, 0.12) |
| 200 | p.CFrame = CFrame.new(-2.5, 19.75, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 201 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 202 | p.Material = Enum.Material.Glacier |
| 203 | p.MaterialVariant = "2022 Stud" |
| 204 | p.Anchored = true |
| 205 | p.Parent = model |
| 206 | end |
| 207 | do |
| 208 | local p = Instance.new("Part") |
| 209 | p.Shape = Enum.PartType.Cylinder |
| 210 | p.Name = "R_Claw3" |
| 211 | p.Size = Vector3.new(3.20156, 0.2, 0.2) |
| 212 | p.CFrame = CFrame.new(-2.75, 19.5, 0) * CFrame.Angles(math.rad(-180), math.rad(63.4349), math.rad(-110.439)) |
| 213 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Stud" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Name = "L_UpperArm" |
| 222 | p.Size = Vector3.new(3.15911, 0.8, 0.8) |
| 223 | p.CFrame = CFrame.new(2.85, 10.85, -3) * CFrame.Angles(math.rad(0), math.rad(37.5686), math.rad(-58.7233)) |
| 224 | p.BrickColor = BrickColor.new("Ghost grey") |
| 225 | p.Material = Enum.Material.Glacier |
| 226 | p.MaterialVariant = "2022 Stud" |
| 227 | p.Anchored = true |
| 228 | p.Parent = model |
| 229 | end |
| 230 | do |
| 231 | local p = Instance.new("Part") |
| 232 | p.Name = "L_Forearm" |
| 233 | p.Size = Vector3.new(3.23883, 0.6, 0.6) |
| 234 | p.CFrame = CFrame.new(3.15, 8, -4) * CFrame.Angles(math.rad(-180), math.rad(55.008), math.rad(112.141)) |
| 235 | p.BrickColor = BrickColor.new("Ghost grey") |
| 236 | p.Material = Enum.Material.Glacier |
| 237 | p.MaterialVariant = "2022 Stud" |
| 238 | p.Anchored = true |
| 239 | p.Parent = model |
| 240 | end |
| 241 | do |
| 242 | local p = Instance.new("Part") |
| 243 | p.Shape = Enum.PartType.Cylinder |
| 244 | p.Name = "L_Claw1" |
| 245 | p.Size = Vector3.new(3.53553, 0.12, 0.12) |
| 246 | p.CFrame = CFrame.new(2.8, 4.75, -4.75) * CFrame.Angles(math.rad(-81.8699), math.rad(90), math.rad(0)) |
| 247 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 248 | p.Material = Enum.Material.Glacier |
| 249 | p.MaterialVariant = "2022 Stud" |
| 250 | p.Anchored = true |
| 251 | p.Parent = model |
| 252 | end |
| 253 | do |
| 254 | local p = Instance.new("Part") |
| 255 | p.Shape = Enum.PartType.Cylinder |
| 256 | p.Name = "L_Claw2" |
| 257 | p.Size = Vector3.new(3.04138, 0.16, 0.16) |
| 258 | p.CFrame = CFrame.new(3.05, 5, -4.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80.5377)) |
| 259 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 260 | p.Material = Enum.Material.Glacier |
| 261 | p.MaterialVariant = "2022 Stud" |
| 262 | p.Anchored = true |
| 263 | p.Parent = model |
| 264 | end |
| 265 | do |
| 266 | local p = Instance.new("Part") |
| 267 | p.Shape = Enum.PartType.Cylinder |
| 268 | p.Name = "L_Claw3" |
| 269 | p.Size = Vector3.new(3.04138, 0.2, 0.2) |
| 270 | p.CFrame = CFrame.new(2.55, 5, -4.5) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(99.4623)) |
| 271 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 272 | p.Material = Enum.Material.Glacier |
| 273 | p.MaterialVariant = "2022 Stud" |
| 274 | p.Anchored = true |
| 275 | p.Parent = model |
| 276 | end |
| 277 | do |
| 278 | local p = Instance.new("Part") |
| 279 | p.Name = "R_Thigh" |
| 280 | p.Size = Vector3.new(3.87169, 1, 1) |
| 281 | p.CFrame = CFrame.new(-1.15, 6.25, 0.75) * CFrame.Angles(math.rad(-180), math.rad(-64.9831), math.rad(115.311)) |
| 282 | p.BrickColor = BrickColor.new("Ghost grey") |
| 283 | p.Material = Enum.Material.Glacier |
| 284 | p.MaterialVariant = "2022 Stud" |
| 285 | p.Anchored = true |
| 286 | p.Parent = model |
| 287 | end |
| 288 | do |
| 289 | local p = Instance.new("Part") |
| 290 | p.Name = "R_Calf" |
| 291 | p.Size = Vector3.new(3.20156, 0.7, 0.7) |
| 292 | p.CFrame = CFrame.new(-1.25, 3, 1) * CFrame.Angles(math.rad(0), math.rad(63.4349), math.rad(-69.5607)) |
| 293 | p.BrickColor = BrickColor.new("Fossil") |
| 294 | p.Material = Enum.Material.Glacier |
| 295 | p.MaterialVariant = "2022 Stud" |
| 296 | p.Anchored = true |
| 297 | p.Parent = model |
| 298 | end |
| 299 | do |
| 300 | local p = Instance.new("Part") |
| 301 | p.Name = "R_Heel" |
| 302 | p.Size = Vector3.new(1.80278, 0.6, 0.8) |
| 303 | p.CFrame = CFrame.new(-1, 0.75, 1) * CFrame.Angles(math.rad(56.3099), math.rad(-90), math.rad(0)) |
| 304 | p.BrickColor = BrickColor.new("Ghost grey") |
| 305 | p.Material = Enum.Material.Glacier |
| 306 | p.MaterialVariant = "2022 Stud" |
| 307 | p.Anchored = true |
| 308 | p.Parent = model |
| 309 | end |
| 310 | do |
| 311 | local p = Instance.new("Part") |
| 312 | p.Name = "R_Toe1" |
| 313 | p.Size = Vector3.new(0.806226, 0.3, 0.3) |
| 314 | p.CFrame = CFrame.new(-0.8, 0.04, 1.85) * CFrame.Angles(math.rad(0), math.rad(-60.2551), math.rad(0)) |
| 315 | p.BrickColor = BrickColor.new("Fossil") |
| 316 | p.Material = Enum.Material.Glacier |
| 317 | p.MaterialVariant = "2022 Stud" |
| 318 | p.Anchored = true |
| 319 | p.Parent = model |
| 320 | end |
| 321 | do |
| 322 | local p = Instance.new("Part") |
| 323 | p.Name = "R_Toe2" |
| 324 | p.Size = Vector3.new(0.8, 0.3, 0.3) |
| 325 | p.CFrame = CFrame.new(-1, 0.08, 1.9) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)) |
| 326 | p.BrickColor = BrickColor.new("Fossil") |
| 327 | p.Material = Enum.Material.Glacier |
| 328 | p.MaterialVariant = "2022 Stud" |
| 329 | p.Anchored = true |
| 330 | p.Parent = model |
| 331 | end |
| 332 | do |
| 333 | local p = Instance.new("Part") |
| 334 | p.Name = "R_Toe3" |
| 335 | p.Size = Vector3.new(0.806226, 0.3, 0.3) |
| 336 | p.CFrame = CFrame.new(-1.2, 0, 1.85) * CFrame.Angles(math.rad(-180), math.rad(-60.2551), math.rad(-180)) |
| 337 | p.BrickColor = BrickColor.new("Fossil") |
| 338 | p.Material = Enum.Material.Glacier |
| 339 | p.MaterialVariant = "2022 Stud" |
| 340 | p.Anchored = true |
| 341 | p.Parent = model |
| 342 | end |
| 343 | do |
| 344 | local p = Instance.new("Part") |
| 345 | p.Name = "L_Thigh" |
| 346 | p.Size = Vector3.new(3.5623, 1, 1) |
| 347 | p.CFrame = CFrame.new(1.4, 6.5, -0.75) * CFrame.Angles(math.rad(0), math.rad(51.3402), math.rad(-57.3681)) |
| 348 | p.BrickColor = BrickColor.new("Ghost grey") |
| 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.Name = "L_Calf" |
| 357 | p.Size = Vector3.new(3.67423, 0.7, 0.7) |
| 358 | p.CFrame = CFrame.new(1.75, 3.25, -1) * CFrame.Angles(math.rad(-180), math.rad(-63.4349), math.rad(107.715)) |
| 359 | p.BrickColor = BrickColor.new("Fossil") |
| 360 | p.Material = Enum.Material.Glacier |
| 361 | p.MaterialVariant = "2022 Stud" |
| 362 | p.Anchored = true |
| 363 | p.Parent = model |
| 364 | end |
| 365 | do |
| 366 | local p = Instance.new("Part") |
| 367 | p.Name = "L_Heel" |
| 368 | p.Size = Vector3.new(1.80278, 0.6, 0.8) |
| 369 | p.CFrame = CFrame.new(1.5, 0.75, -1) * CFrame.Angles(math.rad(-56.3099), math.rad(90), math.rad(0)) |
| 370 | p.BrickColor = BrickColor.new("Ghost grey") |
| 371 | p.Material = Enum.Material.Glacier |
| 372 | p.MaterialVariant = "2022 Stud" |
| 373 | p.Anchored = true |
| 374 | p.Parent = model |
| 375 | end |
| 376 | do |
| 377 | local p = Instance.new("Part") |
| 378 | p.Name = "L_Toe1" |
| 379 | p.Size = Vector3.new(0.806226, 0.3, 0.3) |
| 380 | p.CFrame = CFrame.new(1.3, -0.04, -1.85) * CFrame.Angles(math.rad(-180), math.rad(60.2551), math.rad(-180)) |
| 381 | p.BrickColor = BrickColor.new("Fossil") |
| 382 | p.Material = Enum.Material.Glacier |
| 383 | p.MaterialVariant = "2022 Stud" |
| 384 | p.Anchored = true |
| 385 | p.Parent = model |
| 386 | end |
| 387 | do |
| 388 | local p = Instance.new("Part") |
| 389 | p.Name = "L_Toe2" |
| 390 | p.Size = Vector3.new(0.8, 0.3, 0.3) |
| 391 | p.CFrame = CFrame.new(1.5, 0.04, -1.9) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 392 | p.BrickColor = BrickColor.new("Fossil") |
| 393 | p.Material = Enum.Material.Glacier |
| 394 | p.MaterialVariant = "2022 Stud" |
| 395 | p.Anchored = true |
| 396 | p.Parent = model |
| 397 | end |
| 398 | do |
| 399 | local p = Instance.new("Part") |
| 400 | p.Name = "L_Toe3" |
| 401 | p.Size = Vector3.new(0.806226, 0.3, 0.3) |
| 402 | p.CFrame = CFrame.new(1.7, 0, -1.85) * CFrame.Angles(math.rad(0), math.rad(60.2551), math.rad(0)) |
| 403 | p.BrickColor = BrickColor.new("Fossil") |
| 404 | p.Material = Enum.Material.Glacier |
| 405 | p.MaterialVariant = "2022 Stud" |
| 406 | p.Anchored = true |
| 407 | p.Parent = model |
| 408 | end |
| 409 | do |
| 410 | local p = Instance.new("Part") |
| 411 | p.Name = "Spine_0" |
| 412 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 413 | p.CFrame = CFrame.new(0, 9.5, -0.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 414 | p.BrickColor = BrickColor.new("Fossil") |
| 415 | p.Material = Enum.Material.Glacier |
| 416 | p.MaterialVariant = "2022 Stud" |
| 417 | p.Anchored = true |
| 418 | p.Parent = model |
| 419 | end |
| 420 | do |
| 421 | local p = Instance.new("Part") |
| 422 | p.Name = "Spine_1" |
| 423 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 424 | p.CFrame = CFrame.new(0, 10.1, -1.1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 425 | p.BrickColor = BrickColor.new("Fossil") |
| 426 | p.Material = Enum.Material.Glacier |
| 427 | p.MaterialVariant = "2022 Stud" |
| 428 | p.Anchored = true |
| 429 | p.Parent = model |
| 430 | end |
| 431 | do |
| 432 | local p = Instance.new("Part") |
| 433 | p.Name = "Spine_2" |
| 434 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 435 | p.CFrame = CFrame.new(0, 10.7, -1.7) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 436 | p.BrickColor = BrickColor.new("Fossil") |
| 437 | p.Material = Enum.Material.Glacier |
| 438 | p.MaterialVariant = "2022 Stud" |
| 439 | p.Anchored = true |
| 440 | p.Parent = model |
| 441 | end |
| 442 | do |
| 443 | local p = Instance.new("Part") |
| 444 | p.Name = "Spine_3" |
| 445 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 446 | p.CFrame = CFrame.new(0, 11.3, -2.3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 447 | p.BrickColor = BrickColor.new("Fossil") |
| 448 | p.Material = Enum.Material.Glacier |
| 449 | p.MaterialVariant = "2022 Stud" |
| 450 | p.Anchored = true |
| 451 | p.Parent = model |
| 452 | end |
| 453 | do |
| 454 | local p = Instance.new("Part") |
| 455 | p.Name = "Spine_4" |
| 456 | p.Size = Vector3.new(0.2, 0.8, 0.4) |
| 457 | p.CFrame = CFrame.new(0, 11.9, -2.9) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 458 | p.BrickColor = BrickColor.new("Fossil") |
| 459 | p.Material = Enum.Material.Glacier |
| 460 | p.MaterialVariant = "2022 Stud" |
| 461 | p.Anchored = true |
| 462 | p.Parent = model |
| 463 | end |
| 464 | do |
| 465 | local upV = Vector3.new(0,1,0).Unit |
| 466 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 467 | local forwardV = rightV:Cross(upV) |
| 468 | local pos = Vector3.new(0, 12.44, -4.8) |
| 469 | local ball = Instance.new("Part") |
| 470 | ball.Shape = Enum.PartType.Ball |
| 471 | ball.Size = Vector3.new(1.6, 1.6, 1.6) |
| 472 | ball.CFrame = CFrame.new(pos) |
| 473 | ball.BrickColor = BrickColor.new("Ghost grey") |
| 474 | ball.Material = Enum.Material.Glacier |
| 475 | ball.MaterialVariant = "2022 Stud" |
| 476 | ball.Anchored = true; ball.Parent = workspace |
| 477 | local cuts = {} |
| 478 | do |
| 479 | local h = 0 |
| 480 | local cut = Instance.new("Part") |
| 481 | cut.Size = Vector3.new(3.2, 3.2, 3.2) |
| 482 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.6), rightV, upV) |
| 483 | cut.BrickColor = BrickColor.new("Ghost grey") |
| 484 | cut.Material = Enum.Material.Glacier |
| 485 | cut.MaterialVariant = "2022 Stud" |
| 486 | cut.Anchored = true; cut.Parent = workspace |
| 487 | table.insert(cuts, cut) |
| 488 | end |
| 489 | if #cuts > 0 then |
| 490 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 491 | for _, c in ipairs(cuts) do c:Destroy() end |
| 492 | if ok and result then |
| 493 | ball:Destroy() |
| 494 | result.Name = "Cranium"; result.Anchored = true; result.Parent = model |
| 495 | else |
| 496 | ball.Name = "Cranium"; ball.Parent = model |
| 497 | end |
| 498 | else |
| 499 | ball.Name = "Cranium"; ball.Parent = model |
| 500 | end |
| 501 | end |
| 502 | model.PrimaryPart = model:FindFirstChild("Pelvis") |
| 503 | print("PaleStalker built: " .. #model:GetChildren() .. " parts") |
Loading comments...