Loading model...
by Prime AirGhost · 9/20/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: RedBook |
| 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 = "RedBook" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["Bright yellow"] = "2022 Big Stud", |
| 26 | ["Dark red"] = "2022 Stud", |
| 27 | ["Institutional white"] = "2022 Stud", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "BottomCover" |
| 32 | p.Size = Vector3.new(12, 0.4, 16) |
| 33 | p.CFrame = CFrame.new(0.04, 0.16, 0) |
| 34 | p.BrickColor = BrickColor.new("Bright red") |
| 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 = "Pages" |
| 43 | p.Size = Vector3.new(11.4, 3.2, 15.4) |
| 44 | p.CFrame = CFrame.new(0.3, 2, 0) |
| 45 | p.BrickColor = BrickColor.new("Institutional white") |
| 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 = "TopCover" |
| 54 | p.Size = Vector3.new(12, 0.4, 16) |
| 55 | p.CFrame = CFrame.new(0.04, 3.84, 0) |
| 56 | p.BrickColor = BrickColor.new("Bright red") |
| 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 = "TrimTop" |
| 65 | p.Size = Vector3.new(10, 0.1, 0.2) |
| 66 | p.CFrame = CFrame.new(0, 4.13, -7) |
| 67 | p.BrickColor = BrickColor.new("Bright yellow") |
| 68 | p.Material = Enum.Material.Glacier |
| 69 | p.MaterialVariant = "2022 Big Stud" |
| 70 | p.Anchored = true |
| 71 | p.Parent = model |
| 72 | end |
| 73 | do |
| 74 | local p = Instance.new("Part") |
| 75 | p.Name = "TrimBottom" |
| 76 | p.Size = Vector3.new(10, 0.1, 0.2) |
| 77 | p.CFrame = CFrame.new(0, 4.13, 7) |
| 78 | p.BrickColor = BrickColor.new("Bright yellow") |
| 79 | p.Material = Enum.Material.Glacier |
| 80 | p.MaterialVariant = "2022 Big Stud" |
| 81 | p.Anchored = true |
| 82 | p.Parent = model |
| 83 | end |
| 84 | do |
| 85 | local p = Instance.new("Part") |
| 86 | p.Name = "TrimLeft" |
| 87 | p.Size = Vector3.new(0.2, 0.1, 14) |
| 88 | p.CFrame = CFrame.new(-5, 4.13, 0) |
| 89 | p.BrickColor = BrickColor.new("Bright yellow") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Big Stud" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Name = "TrimRight" |
| 98 | p.Size = Vector3.new(0.2, 0.1, 14) |
| 99 | p.CFrame = CFrame.new(5, 4.13, 0) |
| 100 | p.BrickColor = BrickColor.new("Bright yellow") |
| 101 | p.Material = Enum.Material.Glacier |
| 102 | p.MaterialVariant = "2022 Big Stud" |
| 103 | p.Anchored = true |
| 104 | p.Parent = model |
| 105 | end |
| 106 | do |
| 107 | local p = Instance.new("Part") |
| 108 | p.Name = "CornerFR_X" |
| 109 | p.Size = Vector3.new(1.5, 0.15, 0.4) |
| 110 | p.CFrame = CFrame.new(5.21, 4.195, -7.84) |
| 111 | p.BrickColor = BrickColor.new("Bright yellow") |
| 112 | p.Material = Enum.Material.Glacier |
| 113 | p.MaterialVariant = "2022 Big Stud" |
| 114 | p.Anchored = true |
| 115 | p.Parent = model |
| 116 | end |
| 117 | do |
| 118 | local p = Instance.new("Part") |
| 119 | p.Name = "CornerFR_Z" |
| 120 | p.Size = Vector3.new(0.4, 0.15, 1.5) |
| 121 | p.CFrame = CFrame.new(5.8, 4.155, -7.25) |
| 122 | p.BrickColor = BrickColor.new("Bright yellow") |
| 123 | p.Material = Enum.Material.Glacier |
| 124 | p.MaterialVariant = "2022 Big Stud" |
| 125 | p.Anchored = true |
| 126 | p.Parent = model |
| 127 | end |
| 128 | do |
| 129 | local p = Instance.new("Part") |
| 130 | p.Name = "CornerBR_X" |
| 131 | p.Size = Vector3.new(1.5, 0.15, 0.4) |
| 132 | p.CFrame = CFrame.new(5.21, 4.195, 7.84) |
| 133 | p.BrickColor = BrickColor.new("Bright yellow") |
| 134 | p.Material = Enum.Material.Glacier |
| 135 | p.MaterialVariant = "2022 Big Stud" |
| 136 | p.Anchored = true |
| 137 | p.Parent = model |
| 138 | end |
| 139 | do |
| 140 | local p = Instance.new("Part") |
| 141 | p.Name = "CornerBR_Z" |
| 142 | p.Size = Vector3.new(0.4, 0.15, 1.5) |
| 143 | p.CFrame = CFrame.new(5.8, 4.155, 7.25) |
| 144 | p.BrickColor = BrickColor.new("Bright yellow") |
| 145 | p.Material = Enum.Material.Glacier |
| 146 | p.MaterialVariant = "2022 Big Stud" |
| 147 | p.Anchored = true |
| 148 | p.Parent = model |
| 149 | end |
| 150 | do |
| 151 | local p = Instance.new("Part") |
| 152 | p.Name = "BookmarkBase" |
| 153 | p.Size = Vector3.new(1.5, 0.1, 4) |
| 154 | p.CFrame = CFrame.new(0, 2, -9.5) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)) |
| 155 | p.BrickColor = BrickColor.new("Bright yellow") |
| 156 | p.Material = Enum.Material.Glacier |
| 157 | p.MaterialVariant = "2022 Big Stud" |
| 158 | p.Anchored = true |
| 159 | p.Parent = model |
| 160 | end |
| 161 | do |
| 162 | local p = Instance.new("Part") |
| 163 | p.Name = "BookmarkTip1" |
| 164 | p.Size = Vector3.new(0.75, 0.1, 1.5) |
| 165 | p.CFrame = CFrame.new(-0.375, 1.53464, -12.02) * CFrame.Angles(math.rad(-30), math.rad(15), math.rad(0)) |
| 166 | p.BrickColor = BrickColor.new("Bright yellow") |
| 167 | p.Material = Enum.Material.Glacier |
| 168 | p.MaterialVariant = "2022 Big Stud" |
| 169 | p.Anchored = true |
| 170 | p.Parent = model |
| 171 | end |
| 172 | do |
| 173 | local p = Instance.new("Part") |
| 174 | p.Name = "BookmarkTip2" |
| 175 | p.Size = Vector3.new(0.75, 0.1, 1.5) |
| 176 | p.CFrame = CFrame.new(0.375, 1.5, -12) * CFrame.Angles(math.rad(-30), math.rad(-15), math.rad(0)) |
| 177 | p.BrickColor = BrickColor.new("Bright yellow") |
| 178 | p.Material = Enum.Material.Glacier |
| 179 | p.MaterialVariant = "2022 Big Stud" |
| 180 | p.Anchored = true |
| 181 | p.Parent = model |
| 182 | end |
| 183 | do |
| 184 | local rightV = Vector3.new(0,1,0).Unit |
| 185 | local upV = (Vector3.new(-1,0,0) - Vector3.new(-1,0,0):Dot(rightV)*rightV).Unit |
| 186 | local normalV = upV:Cross(rightV) |
| 187 | local pos = Vector3.new(-6, 2, 0) |
| 188 | local cyl = Instance.new("Part") |
| 189 | cyl.Shape = Enum.PartType.Cylinder |
| 190 | cyl.Size = Vector3.new(16, 4.4, 4.4) |
| 191 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 192 | cyl.BrickColor = BrickColor.new("Dark red") |
| 193 | cyl.Material = Enum.Material.Glacier |
| 194 | cyl.MaterialVariant = "2022 Stud" |
| 195 | cyl.Anchored = true; cyl.Parent = workspace |
| 196 | local cuts = {} |
| 197 | local angBoxes = {} |
| 198 | do |
| 199 | local edgeDir = 1*rightV + 0*upV |
| 200 | local edgePerp = 0*rightV + 1*upV |
| 201 | local cut = Instance.new("Part") |
| 202 | cut.Size = Vector3.new(8.8, 16.2, 8.8) |
| 203 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 4.4 * edgePerp, edgeDir, normalV) |
| 204 | cut.BrickColor = BrickColor.new("Dark red") |
| 205 | cut.Material = Enum.Material.Glacier |
| 206 | cut.MaterialVariant = "2022 Stud" |
| 207 | cut.Anchored = true; cut.Parent = workspace |
| 208 | table.insert(angBoxes, cut) |
| 209 | end |
| 210 | do |
| 211 | local edgeDir = -1*rightV + 0*upV |
| 212 | local edgePerp = 0*rightV + -1*upV |
| 213 | local cut = Instance.new("Part") |
| 214 | cut.Size = Vector3.new(8.8, 16.2, 8.8) |
| 215 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 4.4 * edgePerp, edgeDir, normalV) |
| 216 | cut.BrickColor = BrickColor.new("Dark red") |
| 217 | cut.Material = Enum.Material.Glacier |
| 218 | cut.MaterialVariant = "2022 Stud" |
| 219 | cut.Anchored = true; cut.Parent = workspace |
| 220 | table.insert(angBoxes, cut) |
| 221 | end |
| 222 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 223 | if #cuts > 0 then |
| 224 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 225 | for _, c in ipairs(cuts) do c:Destroy() end |
| 226 | if ok and result then |
| 227 | cyl:Destroy() |
| 228 | result.Name = "SpineCurve"; result.Anchored = true; result.Parent = model |
| 229 | else |
| 230 | cyl.Name = "SpineCurve"; cyl.Parent = model |
| 231 | end |
| 232 | else |
| 233 | cyl.Name = "SpineCurve"; cyl.Parent = model |
| 234 | end |
| 235 | end |
| 236 | model.PrimaryPart = model:FindFirstChild("BottomCover") |
| 237 | print("RedBook built: " .. #model:GetChildren() .. " parts") |
Loading comments...