Loading model...
by rogie fan · 9/21/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: ToyFlipPhone |
| 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 = "ToyFlipPhone" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Carnation pink"] = "2022 Stud", |
| 25 | ["Ghost grey"] = "2022 Stud", |
| 26 | ["Hot pink"] = "2022 Stud", |
| 27 | ["Magenta"] = "2022 Stud", |
| 28 | ["Medium stone grey"] = "2022 Inlet", |
| 29 | ["White"] = "2022 Stud", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Name = "BodyCore" |
| 34 | p.Size = Vector3.new(7.5, 10, 2) |
| 35 | p.CFrame = CFrame.new(0, 6, 0) |
| 36 | p.BrickColor = BrickColor.new("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.Name = "BodyLeft" |
| 45 | p.Size = Vector3.new(0.3, 9, 1.8) |
| 46 | p.CFrame = CFrame.new(-3.98, 6, 0) |
| 47 | p.BrickColor = BrickColor.new("White") |
| 48 | p.Material = Enum.Material.Glacier |
| 49 | p.MaterialVariant = "2022 Stud" |
| 50 | p.Anchored = true |
| 51 | p.Parent = model |
| 52 | end |
| 53 | do |
| 54 | local p = Instance.new("Part") |
| 55 | p.Name = "BodyRight" |
| 56 | p.Size = Vector3.new(0.3, 9, 1.8) |
| 57 | p.CFrame = CFrame.new(3.98, 6, 0) |
| 58 | p.BrickColor = BrickColor.new("White") |
| 59 | p.Material = Enum.Material.Glacier |
| 60 | p.MaterialVariant = "2022 Stud" |
| 61 | p.Anchored = true |
| 62 | p.Parent = model |
| 63 | end |
| 64 | do |
| 65 | local p = Instance.new("Part") |
| 66 | p.Name = "BodyTop" |
| 67 | p.Size = Vector3.new(6.5, 0.3, 1.8) |
| 68 | p.CFrame = CFrame.new(0, 11.1, 0) |
| 69 | p.BrickColor = BrickColor.new("White") |
| 70 | p.Material = Enum.Material.Glacier |
| 71 | p.MaterialVariant = "2022 Stud" |
| 72 | p.Anchored = true |
| 73 | p.Parent = model |
| 74 | end |
| 75 | do |
| 76 | local p = Instance.new("Part") |
| 77 | p.Name = "TopCapFill" |
| 78 | p.Size = Vector3.new(6.4, 0.8, 1.6) |
| 79 | p.CFrame = CFrame.new(0, 11.44, 0) |
| 80 | p.BrickColor = BrickColor.new("White") |
| 81 | p.Material = Enum.Material.Glacier |
| 82 | p.MaterialVariant = "2022 Stud" |
| 83 | p.Anchored = true |
| 84 | p.Parent = model |
| 85 | end |
| 86 | do |
| 87 | local p = Instance.new("Part") |
| 88 | p.Name = "GripLeft" |
| 89 | p.Size = Vector3.new(0.4, 7, 1.2) |
| 90 | p.CFrame = CFrame.new(-3.8, 6, 0) |
| 91 | p.BrickColor = BrickColor.new("Hot pink") |
| 92 | p.Material = Enum.Material.Glacier |
| 93 | p.MaterialVariant = "2022 Stud" |
| 94 | p.Anchored = true |
| 95 | p.Parent = model |
| 96 | end |
| 97 | do |
| 98 | local p = Instance.new("Part") |
| 99 | p.Name = "GripRight" |
| 100 | p.Size = Vector3.new(0.4, 7, 1.2) |
| 101 | p.CFrame = CFrame.new(3.8, 6, 0) |
| 102 | p.BrickColor = BrickColor.new("Hot pink") |
| 103 | p.Material = Enum.Material.Glacier |
| 104 | p.MaterialVariant = "2022 Stud" |
| 105 | p.Anchored = true |
| 106 | p.Parent = model |
| 107 | end |
| 108 | do |
| 109 | local p = Instance.new("Part") |
| 110 | p.Name = "ScreenFrame" |
| 111 | p.Size = Vector3.new(6, 8, 0.1) |
| 112 | p.CFrame = CFrame.new(0, 6, -1.09) |
| 113 | p.BrickColor = BrickColor.new("Hot pink") |
| 114 | p.Material = Enum.Material.Glacier |
| 115 | p.MaterialVariant = "2022 Stud" |
| 116 | p.Anchored = true |
| 117 | p.Parent = model |
| 118 | end |
| 119 | do |
| 120 | local p = Instance.new("Part") |
| 121 | p.Name = "ScreenSurface" |
| 122 | p.Size = Vector3.new(5.2, 7, 0.1) |
| 123 | p.CFrame = CFrame.new(0, 6, -1.14) |
| 124 | p.BrickColor = BrickColor.new("Carnation pink") |
| 125 | p.Material = Enum.Material.Glacier |
| 126 | p.MaterialVariant = "2022 Stud" |
| 127 | p.Anchored = true |
| 128 | p.Parent = model |
| 129 | end |
| 130 | do |
| 131 | local p = Instance.new("Part") |
| 132 | p.Name = "HeartCenter" |
| 133 | p.Size = Vector3.new(1.5, 1.5, 0.05) |
| 134 | p.CFrame = CFrame.new(0, 5.8, -1.19) |
| 135 | p.BrickColor = BrickColor.new("Hot pink") |
| 136 | p.Material = Enum.Material.Glacier |
| 137 | p.MaterialVariant = "2022 Stud" |
| 138 | p.Anchored = true |
| 139 | p.Parent = model |
| 140 | end |
| 141 | do |
| 142 | local p = Instance.new("Part") |
| 143 | p.Shape = Enum.PartType.Ball |
| 144 | p.Name = "HeartLeft" |
| 145 | p.Size = Vector3.new(1, 1, 0.05) |
| 146 | p.CFrame = CFrame.new(-0.6, 6.3, -1.15) |
| 147 | p.BrickColor = BrickColor.new("Hot pink") |
| 148 | p.Material = Enum.Material.Glacier |
| 149 | p.MaterialVariant = "2022 Stud" |
| 150 | p.Anchored = true |
| 151 | p.Parent = model |
| 152 | end |
| 153 | do |
| 154 | local p = Instance.new("Part") |
| 155 | p.Shape = Enum.PartType.Ball |
| 156 | p.Name = "HeartRight" |
| 157 | p.Size = Vector3.new(1, 1, 0.05) |
| 158 | p.CFrame = CFrame.new(0.6, 6.3, -1.15) |
| 159 | p.BrickColor = BrickColor.new("Hot pink") |
| 160 | p.Material = Enum.Material.Glacier |
| 161 | p.MaterialVariant = "2022 Stud" |
| 162 | p.Anchored = true |
| 163 | p.Parent = model |
| 164 | end |
| 165 | do |
| 166 | local p = Instance.new("Part") |
| 167 | p.Shape = Enum.PartType.Ball |
| 168 | p.Name = "Flower1" |
| 169 | p.Size = Vector3.new(0.8, 0.8, 0.05) |
| 170 | p.CFrame = CFrame.new(-1.8, 8, -1.15) |
| 171 | p.BrickColor = BrickColor.new("Hot pink") |
| 172 | p.Material = Enum.Material.Glacier |
| 173 | p.MaterialVariant = "2022 Stud" |
| 174 | p.Anchored = true |
| 175 | p.Parent = model |
| 176 | end |
| 177 | do |
| 178 | local p = Instance.new("Part") |
| 179 | p.Shape = Enum.PartType.Ball |
| 180 | p.Name = "Flower2" |
| 181 | p.Size = Vector3.new(0.8, 0.8, 0.05) |
| 182 | p.CFrame = CFrame.new(1.8, 4, -1.15) |
| 183 | p.BrickColor = BrickColor.new("Hot pink") |
| 184 | p.Material = Enum.Material.Glacier |
| 185 | p.MaterialVariant = "2022 Stud" |
| 186 | p.Anchored = true |
| 187 | p.Parent = model |
| 188 | end |
| 189 | do |
| 190 | local p = Instance.new("Part") |
| 191 | p.Name = "EarpieceSlot" |
| 192 | p.Size = Vector3.new(2.5, 0.6, 0.1) |
| 193 | p.CFrame = CFrame.new(0, 10.2, -1.09) |
| 194 | p.BrickColor = BrickColor.new("Magenta") |
| 195 | p.Material = Enum.Material.Glacier |
| 196 | p.MaterialVariant = "2022 Stud" |
| 197 | p.Anchored = true |
| 198 | p.Parent = model |
| 199 | end |
| 200 | do |
| 201 | local p = Instance.new("Part") |
| 202 | p.Shape = Enum.PartType.Cylinder |
| 203 | p.Name = "HingeLeft" |
| 204 | p.Size = Vector3.new(1.6, 2, 2) |
| 205 | p.CFrame = CFrame.new(-3.28, 0.8, 0) |
| 206 | p.BrickColor = BrickColor.new("Hot pink") |
| 207 | p.Material = Enum.Material.Glacier |
| 208 | p.MaterialVariant = "2022 Stud" |
| 209 | p.Anchored = true |
| 210 | p.Parent = model |
| 211 | end |
| 212 | do |
| 213 | local p = Instance.new("Part") |
| 214 | p.Shape = Enum.PartType.Cylinder |
| 215 | p.Name = "HingeCenter" |
| 216 | p.Size = Vector3.new(4.8, 1.8, 1.8) |
| 217 | p.CFrame = CFrame.new(0, 0.8, 0) |
| 218 | p.BrickColor = BrickColor.new("White") |
| 219 | p.Material = Enum.Material.Glacier |
| 220 | p.MaterialVariant = "2022 Stud" |
| 221 | p.Anchored = true |
| 222 | p.Parent = model |
| 223 | end |
| 224 | do |
| 225 | local p = Instance.new("Part") |
| 226 | p.Shape = Enum.PartType.Cylinder |
| 227 | p.Name = "HingeRight" |
| 228 | p.Size = Vector3.new(1.6, 2, 2) |
| 229 | p.CFrame = CFrame.new(3.28, 0.8, 0) |
| 230 | p.BrickColor = BrickColor.new("Hot pink") |
| 231 | p.Material = Enum.Material.Glacier |
| 232 | p.MaterialVariant = "2022 Stud" |
| 233 | p.Anchored = true |
| 234 | p.Parent = model |
| 235 | end |
| 236 | do |
| 237 | local p = Instance.new("Part") |
| 238 | p.Name = "HingeNeck" |
| 239 | p.Size = Vector3.new(5, 1.5, 1.8) |
| 240 | p.CFrame = CFrame.new(0, 1.5, 0) |
| 241 | p.BrickColor = BrickColor.new("White") |
| 242 | p.Material = Enum.Material.Glacier |
| 243 | p.MaterialVariant = "2022 Stud" |
| 244 | p.Anchored = true |
| 245 | p.Parent = model |
| 246 | end |
| 247 | do |
| 248 | local p = Instance.new("Part") |
| 249 | p.Shape = Enum.PartType.Ball |
| 250 | p.Name = "BackScrewL" |
| 251 | p.Size = Vector3.new(0.4, 0.4, 0.1) |
| 252 | p.CFrame = CFrame.new(-2.5, 10, 1.05) |
| 253 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 254 | p.Material = Enum.Material.Glacier |
| 255 | p.MaterialVariant = "2022 Inlet" |
| 256 | p.Anchored = true |
| 257 | p.Parent = model |
| 258 | end |
| 259 | do |
| 260 | local p = Instance.new("Part") |
| 261 | p.Shape = Enum.PartType.Ball |
| 262 | p.Name = "BackScrewR" |
| 263 | p.Size = Vector3.new(0.4, 0.4, 0.1) |
| 264 | p.CFrame = CFrame.new(2.5, 10, 1.05) |
| 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 = "BackPanel" |
| 274 | p.Size = Vector3.new(6.5, 9, 0.05) |
| 275 | p.CFrame = CFrame.new(0, 6, 1.05) |
| 276 | p.BrickColor = BrickColor.new("Ghost grey") |
| 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 rightV = Vector3.new(1,0,0).Unit |
| 284 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 285 | local normalV = upV:Cross(rightV) |
| 286 | local pos = Vector3.new(0, 11.2, 0) |
| 287 | local cyl = Instance.new("Part") |
| 288 | cyl.Shape = Enum.PartType.Cylinder |
| 289 | cyl.Size = Vector3.new(2.1, 7, 7) |
| 290 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 291 | cyl.BrickColor = BrickColor.new("Hot pink") |
| 292 | cyl.Material = Enum.Material.Glacier |
| 293 | cyl.MaterialVariant = "2022 Stud" |
| 294 | cyl.Anchored = true; cyl.Parent = workspace |
| 295 | local cuts = {} |
| 296 | local angBoxes = {} |
| 297 | do |
| 298 | local edgeDir = 1*rightV + 0*upV |
| 299 | local edgePerp = 0*rightV + 1*upV |
| 300 | local cut = Instance.new("Part") |
| 301 | cut.Size = Vector3.new(14, 2.3, 14) |
| 302 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 7 * edgePerp, edgeDir, normalV) |
| 303 | cut.BrickColor = BrickColor.new("Hot pink") |
| 304 | cut.Material = Enum.Material.Glacier |
| 305 | cut.MaterialVariant = "2022 Stud" |
| 306 | cut.Anchored = true; cut.Parent = workspace |
| 307 | table.insert(angBoxes, cut) |
| 308 | end |
| 309 | do |
| 310 | local edgeDir = -1*rightV + 0*upV |
| 311 | local edgePerp = 0*rightV + -1*upV |
| 312 | local cut = Instance.new("Part") |
| 313 | cut.Size = Vector3.new(14, 2.3, 14) |
| 314 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 7 * edgePerp, edgeDir, normalV) |
| 315 | cut.BrickColor = BrickColor.new("Hot pink") |
| 316 | cut.Material = Enum.Material.Glacier |
| 317 | cut.MaterialVariant = "2022 Stud" |
| 318 | cut.Anchored = true; cut.Parent = workspace |
| 319 | table.insert(angBoxes, cut) |
| 320 | end |
| 321 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 322 | if #cuts > 0 then |
| 323 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 324 | for _, c in ipairs(cuts) do c:Destroy() end |
| 325 | if ok and result then |
| 326 | cyl:Destroy() |
| 327 | result.Name = "TopPinkInsert"; result.Anchored = true; result.Parent = model |
| 328 | else |
| 329 | cyl.Name = "TopPinkInsert"; cyl.Parent = model |
| 330 | end |
| 331 | else |
| 332 | cyl.Name = "TopPinkInsert"; cyl.Parent = model |
| 333 | end |
| 334 | end |
| 335 | do |
| 336 | local upV = Vector3.new(0,1,0).Unit |
| 337 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 338 | local forwardV = rightV:Cross(upV) |
| 339 | local pos = Vector3.new(-3.2, 11.08, 0) |
| 340 | local ball = Instance.new("Part") |
| 341 | ball.Shape = Enum.PartType.Ball |
| 342 | ball.Size = Vector3.new(1.6, 1.6, 1.6) |
| 343 | ball.CFrame = CFrame.new(pos) |
| 344 | ball.BrickColor = BrickColor.new("White") |
| 345 | ball.Material = Enum.Material.Glacier |
| 346 | ball.MaterialVariant = "2022 Stud" |
| 347 | ball.Anchored = true; ball.Parent = workspace |
| 348 | local cuts = {} |
| 349 | do |
| 350 | local h = 0 |
| 351 | local cut = Instance.new("Part") |
| 352 | cut.Size = Vector3.new(3.2, 3.2, 3.2) |
| 353 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.6), rightV, upV) |
| 354 | cut.BrickColor = BrickColor.new("White") |
| 355 | cut.Material = Enum.Material.Glacier |
| 356 | cut.MaterialVariant = "2022 Stud" |
| 357 | cut.Anchored = true; cut.Parent = workspace |
| 358 | table.insert(cuts, cut) |
| 359 | end |
| 360 | if #cuts > 0 then |
| 361 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 362 | for _, c in ipairs(cuts) do c:Destroy() end |
| 363 | if ok and result then |
| 364 | ball:Destroy() |
| 365 | result.Name = "TopCapLeft"; result.Anchored = true; result.Parent = model |
| 366 | else |
| 367 | ball.Name = "TopCapLeft"; ball.Parent = model |
| 368 | end |
| 369 | else |
| 370 | ball.Name = "TopCapLeft"; ball.Parent = model |
| 371 | end |
| 372 | end |
| 373 | do |
| 374 | local upV = Vector3.new(0,1,0).Unit |
| 375 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 376 | local forwardV = rightV:Cross(upV) |
| 377 | local pos = Vector3.new(3.2, 11.08, 0) |
| 378 | local ball = Instance.new("Part") |
| 379 | ball.Shape = Enum.PartType.Ball |
| 380 | ball.Size = Vector3.new(1.6, 1.6, 1.6) |
| 381 | ball.CFrame = CFrame.new(pos) |
| 382 | ball.BrickColor = BrickColor.new("White") |
| 383 | ball.Material = Enum.Material.Glacier |
| 384 | ball.MaterialVariant = "2022 Stud" |
| 385 | ball.Anchored = true; ball.Parent = workspace |
| 386 | local cuts = {} |
| 387 | do |
| 388 | local h = 0 |
| 389 | local cut = Instance.new("Part") |
| 390 | cut.Size = Vector3.new(3.2, 3.2, 3.2) |
| 391 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.6), rightV, upV) |
| 392 | cut.BrickColor = BrickColor.new("White") |
| 393 | cut.Material = Enum.Material.Glacier |
| 394 | cut.MaterialVariant = "2022 Stud" |
| 395 | cut.Anchored = true; cut.Parent = workspace |
| 396 | table.insert(cuts, cut) |
| 397 | end |
| 398 | if #cuts > 0 then |
| 399 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 400 | for _, c in ipairs(cuts) do c:Destroy() end |
| 401 | if ok and result then |
| 402 | ball:Destroy() |
| 403 | result.Name = "TopCapRight"; result.Anchored = true; result.Parent = model |
| 404 | else |
| 405 | ball.Name = "TopCapRight"; ball.Parent = model |
| 406 | end |
| 407 | else |
| 408 | ball.Name = "TopCapRight"; ball.Parent = model |
| 409 | end |
| 410 | end |
| 411 | model.PrimaryPart = model:FindFirstChild("BodyCore") |
| 412 | print("ToyFlipPhone built: " .. #model:GetChildren() .. " parts") |
Loading comments...