Loading model...
by junnebunne · 8/1/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: SyncIcon |
| 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 = "SyncIcon" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Baby blue"] = "2022 Stud", |
| 25 | ["Hot pink"] = "2022 Stud", |
| 26 | } |
| 27 | do |
| 28 | local p = Instance.new("Part") |
| 29 | p.Name = "PinkHead" |
| 30 | p.Size = Vector3.new(3.6, 3.6, 2) |
| 31 | p.CFrame = CFrame.new(2.82843, 2.82843, 0.04) |
| 32 | p.BrickColor = BrickColor.new("Hot pink") |
| 33 | p.Material = Enum.Material.Glacier |
| 34 | p.MaterialVariant = "2022 Stud" |
| 35 | p.Anchored = true |
| 36 | p.Parent = model |
| 37 | end |
| 38 | do |
| 39 | local p = Instance.new("Part") |
| 40 | p.Name = "BlueHead" |
| 41 | p.Size = Vector3.new(3.6, 3.6, 2) |
| 42 | p.CFrame = CFrame.new(-2.82843, -2.82843, 0.04) |
| 43 | p.BrickColor = BrickColor.new("Baby blue") |
| 44 | p.Material = Enum.Material.Glacier |
| 45 | p.MaterialVariant = "2022 Stud" |
| 46 | p.Anchored = true |
| 47 | p.Parent = model |
| 48 | end |
| 49 | do |
| 50 | local rightV = Vector3.new(1,0,0).Unit |
| 51 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 52 | local normalV = upV:Cross(rightV) |
| 53 | local pos = Vector3.new(0, 0, 0) |
| 54 | local cyl = Instance.new("Part") |
| 55 | cyl.Shape = Enum.PartType.Cylinder |
| 56 | cyl.Size = Vector3.new(2, 10, 10) |
| 57 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 58 | cyl.BrickColor = BrickColor.new("Hot pink") |
| 59 | cyl.Material = Enum.Material.Glacier |
| 60 | cyl.MaterialVariant = "2022 Stud" |
| 61 | cyl.Anchored = true; cyl.Parent = workspace |
| 62 | local cuts = {} |
| 63 | local hole = Instance.new("Part") |
| 64 | hole.Shape = Enum.PartType.Cylinder |
| 65 | hole.Size = Vector3.new(2.2, 6, 6) |
| 66 | hole.CFrame = cyl.CFrame |
| 67 | hole.BrickColor = BrickColor.new("Hot pink") |
| 68 | hole.Material = Enum.Material.Glacier |
| 69 | hole.MaterialVariant = "2022 Stud" |
| 70 | hole.Anchored = true; hole.Parent = workspace |
| 71 | table.insert(cuts, hole) |
| 72 | local angBoxes = {} |
| 73 | do |
| 74 | local edgeDir = 0.707107*rightV + 0.707107*upV |
| 75 | local edgePerp = -0.707107*rightV + 0.707107*upV |
| 76 | local cut = Instance.new("Part") |
| 77 | cut.Size = Vector3.new(20, 2.2, 20) |
| 78 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10 * edgePerp, edgeDir, normalV) |
| 79 | cut.BrickColor = BrickColor.new("Hot pink") |
| 80 | cut.Material = Enum.Material.Glacier |
| 81 | cut.MaterialVariant = "2022 Stud" |
| 82 | cut.Anchored = true; cut.Parent = workspace |
| 83 | table.insert(angBoxes, cut) |
| 84 | end |
| 85 | do |
| 86 | local edgeDir = -0.866025*rightV + -0.5*upV |
| 87 | local edgePerp = 0.5*rightV + -0.866025*upV |
| 88 | local cut = Instance.new("Part") |
| 89 | cut.Size = Vector3.new(20, 2.2, 20) |
| 90 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10 * edgePerp, edgeDir, normalV) |
| 91 | cut.BrickColor = BrickColor.new("Hot pink") |
| 92 | cut.Material = Enum.Material.Glacier |
| 93 | cut.MaterialVariant = "2022 Stud" |
| 94 | cut.Anchored = true; cut.Parent = workspace |
| 95 | table.insert(angBoxes, cut) |
| 96 | end |
| 97 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 98 | if #cuts > 0 then |
| 99 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 100 | for _, c in ipairs(cuts) do c:Destroy() end |
| 101 | if ok and result then |
| 102 | cyl:Destroy() |
| 103 | result.Name = "PinkTail"; result.Anchored = true; result.Parent = model |
| 104 | else |
| 105 | cyl.Name = "PinkTail"; cyl.Parent = model |
| 106 | end |
| 107 | else |
| 108 | cyl.Name = "PinkTail"; cyl.Parent = model |
| 109 | end |
| 110 | end |
| 111 | do |
| 112 | local rightV = Vector3.new(1,0,0).Unit |
| 113 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 114 | local normalV = upV:Cross(rightV) |
| 115 | local pos = Vector3.new(0, 0, 0.04) |
| 116 | local cyl = Instance.new("Part") |
| 117 | cyl.Shape = Enum.PartType.Cylinder |
| 118 | cyl.Size = Vector3.new(2, 10, 10) |
| 119 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 120 | cyl.BrickColor = BrickColor.new("Baby blue") |
| 121 | cyl.Material = Enum.Material.Glacier |
| 122 | cyl.MaterialVariant = "2022 Stud" |
| 123 | cyl.Anchored = true; cyl.Parent = workspace |
| 124 | local cuts = {} |
| 125 | local hole = Instance.new("Part") |
| 126 | hole.Shape = Enum.PartType.Cylinder |
| 127 | hole.Size = Vector3.new(2.2, 6, 6) |
| 128 | hole.CFrame = cyl.CFrame |
| 129 | hole.BrickColor = BrickColor.new("Baby blue") |
| 130 | hole.Material = Enum.Material.Glacier |
| 131 | hole.MaterialVariant = "2022 Stud" |
| 132 | hole.Anchored = true; hole.Parent = workspace |
| 133 | table.insert(cuts, hole) |
| 134 | local angBoxes = {} |
| 135 | do |
| 136 | local edgeDir = -0.707107*rightV + -0.707107*upV |
| 137 | local edgePerp = 0.707107*rightV + -0.707107*upV |
| 138 | local cut = Instance.new("Part") |
| 139 | cut.Size = Vector3.new(20, 2.2, 20) |
| 140 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10 * edgePerp, edgeDir, normalV) |
| 141 | cut.BrickColor = BrickColor.new("Baby blue") |
| 142 | cut.Material = Enum.Material.Glacier |
| 143 | cut.MaterialVariant = "2022 Stud" |
| 144 | cut.Anchored = true; cut.Parent = workspace |
| 145 | table.insert(angBoxes, cut) |
| 146 | end |
| 147 | do |
| 148 | local edgeDir = 1*rightV + 0*upV |
| 149 | local edgePerp = 0*rightV + 1*upV |
| 150 | local cut = Instance.new("Part") |
| 151 | cut.Size = Vector3.new(20, 2.2, 20) |
| 152 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10 * edgePerp, edgeDir, normalV) |
| 153 | cut.BrickColor = BrickColor.new("Baby blue") |
| 154 | cut.Material = Enum.Material.Glacier |
| 155 | cut.MaterialVariant = "2022 Stud" |
| 156 | cut.Anchored = true; cut.Parent = workspace |
| 157 | table.insert(angBoxes, cut) |
| 158 | end |
| 159 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 160 | if #cuts > 0 then |
| 161 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 162 | for _, c in ipairs(cuts) do c:Destroy() end |
| 163 | if ok and result then |
| 164 | cyl:Destroy() |
| 165 | result.Name = "BlueTail_A"; result.Anchored = true; result.Parent = model |
| 166 | else |
| 167 | cyl.Name = "BlueTail_A"; cyl.Parent = model |
| 168 | end |
| 169 | else |
| 170 | cyl.Name = "BlueTail_A"; cyl.Parent = model |
| 171 | end |
| 172 | end |
| 173 | do |
| 174 | local rightV = Vector3.new(1,0,0).Unit |
| 175 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 176 | local normalV = upV:Cross(rightV) |
| 177 | local pos = Vector3.new(0, 0.04, -0.04) |
| 178 | local cyl = Instance.new("Part") |
| 179 | cyl.Shape = Enum.PartType.Cylinder |
| 180 | cyl.Size = Vector3.new(2, 10, 10) |
| 181 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 182 | cyl.BrickColor = BrickColor.new("Baby blue") |
| 183 | cyl.Material = Enum.Material.Glacier |
| 184 | cyl.MaterialVariant = "2022 Stud" |
| 185 | cyl.Anchored = true; cyl.Parent = workspace |
| 186 | local cuts = {} |
| 187 | local hole = Instance.new("Part") |
| 188 | hole.Shape = Enum.PartType.Cylinder |
| 189 | hole.Size = Vector3.new(2.2, 6, 6) |
| 190 | hole.CFrame = cyl.CFrame |
| 191 | hole.BrickColor = BrickColor.new("Baby blue") |
| 192 | hole.Material = Enum.Material.Glacier |
| 193 | hole.MaterialVariant = "2022 Stud" |
| 194 | hole.Anchored = true; hole.Parent = workspace |
| 195 | table.insert(cuts, hole) |
| 196 | local angBoxes = {} |
| 197 | do |
| 198 | local edgeDir = 1*rightV + 0*upV |
| 199 | local edgePerp = 0*rightV + 1*upV |
| 200 | local cut = Instance.new("Part") |
| 201 | cut.Size = Vector3.new(20, 2.2, 20) |
| 202 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 10 * edgePerp, edgeDir, normalV) |
| 203 | cut.BrickColor = BrickColor.new("Baby blue") |
| 204 | cut.Material = Enum.Material.Glacier |
| 205 | cut.MaterialVariant = "2022 Stud" |
| 206 | cut.Anchored = true; cut.Parent = workspace |
| 207 | table.insert(angBoxes, cut) |
| 208 | end |
| 209 | do |
| 210 | local edgeDir = 0.866025*rightV + 0.5*upV |
| 211 | local edgePerp = -0.5*rightV + 0.866025*upV |
| 212 | local cut = Instance.new("Part") |
| 213 | cut.Size = Vector3.new(20, 2.2, 20) |
| 214 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 10 * edgePerp, edgeDir, normalV) |
| 215 | cut.BrickColor = BrickColor.new("Baby blue") |
| 216 | cut.Material = Enum.Material.Glacier |
| 217 | cut.MaterialVariant = "2022 Stud" |
| 218 | cut.Anchored = true; cut.Parent = workspace |
| 219 | table.insert(angBoxes, cut) |
| 220 | end |
| 221 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 222 | if #cuts > 0 then |
| 223 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 224 | for _, c in ipairs(cuts) do c:Destroy() end |
| 225 | if ok and result then |
| 226 | cyl:Destroy() |
| 227 | result.Name = "BlueTail_B"; result.Anchored = true; result.Parent = model |
| 228 | else |
| 229 | cyl.Name = "BlueTail_B"; cyl.Parent = model |
| 230 | end |
| 231 | else |
| 232 | cyl.Name = "BlueTail_B"; cyl.Parent = model |
| 233 | end |
| 234 | end |
| 235 | model.PrimaryPart = model:FindFirstChild("PinkHead") |
| 236 | print("SyncIcon built: " .. #model:GetChildren() .. " parts") |
Loading comments...