Loading model...
by Thimo Rau · 10/8/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: WoodenClub |
| 3 | |
| 4 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 5 | -- Model: WoodenClub |
| 6 | |
| 7 | local MS = game:GetService("MaterialService") |
| 8 | |
| 9 | local ok, roots = pcall(game.GetObjects, game, "rbxassetid://13386676607") |
| 10 | if not ok then return warn(roots) end |
| 11 | |
| 12 | local tmp = Instance.new("Folder") |
| 13 | for _, r in ipairs(roots) do r.Parent = tmp end |
| 14 | |
| 15 | for _, d in ipairs(tmp:GetDescendants()) do |
| 16 | if d:IsA("MaterialVariant") then |
| 17 | d.Parent = MS |
| 18 | end |
| 19 | end |
| 20 | tmp:Destroy() |
| 21 | |
| 22 | local model = Instance.new("Model") |
| 23 | model.Name = "WoodenClub" |
| 24 | model.Parent = workspace |
| 25 | |
| 26 | local variants = { |
| 27 | ["Brown"] = "2022 Stud", |
| 28 | ["Pine Cone"] = "2022 Small Stud", |
| 29 | ["Really black"] = "2022 Universal", |
| 30 | ["Reddish brown"] = "2022 Small Stud", |
| 31 | } |
| 32 | do |
| 33 | local p = Instance.new("Part") |
| 34 | p.Shape = Enum.PartType.Cylinder |
| 35 | p.Name = "Seg_0" |
| 36 | p.Size = Vector3.new(1, 0.85, 0.85) |
| 37 | p.CFrame = CFrame.new(0, 0.34, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 38 | p.BrickColor = BrickColor.new("Reddish brown") |
| 39 | p.Material = Enum.Material.Glacier |
| 40 | p.MaterialVariant = "2022 Small Stud" |
| 41 | p.Anchored = true |
| 42 | p.Parent = model |
| 43 | end |
| 44 | do |
| 45 | local p = Instance.new("Part") |
| 46 | p.Shape = Enum.PartType.Cylinder |
| 47 | p.Name = "Seg_1" |
| 48 | p.Size = Vector3.new(2, 1, 1) |
| 49 | p.CFrame = CFrame.new(0, 1.88, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 50 | p.BrickColor = BrickColor.new("Brown") |
| 51 | p.Material = Enum.Material.Glacier |
| 52 | p.MaterialVariant = "2022 Stud" |
| 53 | p.Anchored = true |
| 54 | p.Parent = model |
| 55 | end |
| 56 | do |
| 57 | local p = Instance.new("Part") |
| 58 | p.Shape = Enum.PartType.Cylinder |
| 59 | p.Name = "Seg_2" |
| 60 | p.Size = Vector3.new(3, 1.35, 1.35) |
| 61 | p.CFrame = CFrame.new(0, 4.42, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 62 | p.BrickColor = BrickColor.new("Reddish brown") |
| 63 | p.Material = Enum.Material.Glacier |
| 64 | p.MaterialVariant = "2022 Small Stud" |
| 65 | p.Anchored = true |
| 66 | p.Parent = model |
| 67 | end |
| 68 | do |
| 69 | local p = Instance.new("Part") |
| 70 | p.Shape = Enum.PartType.Cylinder |
| 71 | p.Name = "Seg_3" |
| 72 | p.Size = Vector3.new(3, 2, 2) |
| 73 | p.CFrame = CFrame.new(0, 7.46, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 74 | p.BrickColor = BrickColor.new("Brown") |
| 75 | p.Material = Enum.Material.Glacier |
| 76 | p.MaterialVariant = "2022 Stud" |
| 77 | p.Anchored = true |
| 78 | p.Parent = model |
| 79 | end |
| 80 | do |
| 81 | local p = Instance.new("Part") |
| 82 | p.Shape = Enum.PartType.Cylinder |
| 83 | p.Name = "Seg_4" |
| 84 | p.Size = Vector3.new(3, 2.8, 2.8) |
| 85 | p.CFrame = CFrame.new(0, 10.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 86 | p.BrickColor = BrickColor.new("Reddish brown") |
| 87 | p.Material = Enum.Material.Glacier |
| 88 | p.MaterialVariant = "2022 Small Stud" |
| 89 | p.Anchored = true |
| 90 | p.Parent = model |
| 91 | end |
| 92 | do |
| 93 | local p = Instance.new("Part") |
| 94 | p.Name = "Lump_4" |
| 95 | p.Size = Vector3.new(0.8, 1.2, 0.8) |
| 96 | p.CFrame = CFrame.new(-1.37873, 10.5, -0.243107) * CFrame.Angles(math.rad(10), math.rad(190), math.rad(0)) |
| 97 | p.BrickColor = BrickColor.new("Pine Cone") |
| 98 | p.Material = Enum.Material.Glacier |
| 99 | p.MaterialVariant = "2022 Small Stud" |
| 100 | p.Anchored = true |
| 101 | p.Parent = model |
| 102 | end |
| 103 | do |
| 104 | local p = Instance.new("Part") |
| 105 | p.Shape = Enum.PartType.Cylinder |
| 106 | p.Name = "Seg_5" |
| 107 | p.Size = Vector3.new(2, 3.35, 3.35) |
| 108 | p.CFrame = CFrame.new(0, 13.04, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 109 | p.BrickColor = BrickColor.new("Brown") |
| 110 | p.Material = Enum.Material.Glacier |
| 111 | p.MaterialVariant = "2022 Stud" |
| 112 | p.Anchored = true |
| 113 | p.Parent = model |
| 114 | end |
| 115 | do |
| 116 | local p = Instance.new("Part") |
| 117 | p.Name = "Lump_5" |
| 118 | p.Size = Vector3.new(0.8, 1.2, 0.8) |
| 119 | p.CFrame = CFrame.new(1.41268, 13, -0.899977) * CFrame.Angles(math.rad(10), math.rad(327.5), math.rad(0)) |
| 120 | p.BrickColor = BrickColor.new("Pine Cone") |
| 121 | p.Material = Enum.Material.Glacier |
| 122 | p.MaterialVariant = "2022 Small Stud" |
| 123 | p.Anchored = true |
| 124 | p.Parent = model |
| 125 | end |
| 126 | do |
| 127 | local p = Instance.new("Part") |
| 128 | p.Shape = Enum.PartType.Cylinder |
| 129 | p.Name = "Seg_6" |
| 130 | p.Size = Vector3.new(1.5, 3.25, 3.25) |
| 131 | p.CFrame = CFrame.new(0, 14.83, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 132 | p.BrickColor = BrickColor.new("Reddish brown") |
| 133 | p.Material = Enum.Material.Glacier |
| 134 | p.MaterialVariant = "2022 Small Stud" |
| 135 | p.Anchored = true |
| 136 | p.Parent = model |
| 137 | end |
| 138 | do |
| 139 | local p = Instance.new("Part") |
| 140 | p.Name = "Lump_6" |
| 141 | p.Size = Vector3.new(0.8, 1.2, 0.8) |
| 142 | p.CFrame = CFrame.new(-0.420581, 14.75, 1.56963) * CFrame.Angles(math.rad(10), math.rad(105), math.rad(0)) |
| 143 | p.BrickColor = BrickColor.new("Pine Cone") |
| 144 | p.Material = Enum.Material.Glacier |
| 145 | p.MaterialVariant = "2022 Small Stud" |
| 146 | p.Anchored = true |
| 147 | p.Parent = model |
| 148 | end |
| 149 | do |
| 150 | local p = Instance.new("Part") |
| 151 | p.Shape = Enum.PartType.Cylinder |
| 152 | p.Name = "Seg_7" |
| 153 | p.Size = Vector3.new(1, 2.4, 2.4) |
| 154 | p.CFrame = CFrame.new(0, 16.12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 155 | p.BrickColor = BrickColor.new("Brown") |
| 156 | p.Material = Enum.Material.Glacier |
| 157 | p.MaterialVariant = "2022 Stud" |
| 158 | p.Anchored = true |
| 159 | p.Parent = model |
| 160 | end |
| 161 | do |
| 162 | local p = Instance.new("Part") |
| 163 | p.Name = "Lump_7" |
| 164 | p.Size = Vector3.new(0.8, 1.2, 0.8) |
| 165 | p.CFrame = CFrame.new(-0.554098, 16, -1.06441) * CFrame.Angles(math.rad(10), math.rad(242.5), math.rad(0)) |
| 166 | p.BrickColor = BrickColor.new("Pine Cone") |
| 167 | p.Material = Enum.Material.Glacier |
| 168 | p.MaterialVariant = "2022 Small Stud" |
| 169 | p.Anchored = true |
| 170 | p.Parent = model |
| 171 | end |
| 172 | do |
| 173 | local p = Instance.new("Part") |
| 174 | p.Name = "Ridge_0" |
| 175 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 176 | p.CFrame = CFrame.new(1.6, 13.46, 0) |
| 177 | p.BrickColor = BrickColor.new("Pine Cone") |
| 178 | p.Material = Enum.Material.Glacier |
| 179 | p.MaterialVariant = "2022 Small Stud" |
| 180 | p.Anchored = true |
| 181 | p.Parent = model |
| 182 | end |
| 183 | do |
| 184 | local p = Instance.new("Part") |
| 185 | p.Name = "Ridge_1" |
| 186 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 187 | p.CFrame = CFrame.new(1.13137, 13.46, 1.13137) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 188 | p.BrickColor = BrickColor.new("Pine Cone") |
| 189 | p.Material = Enum.Material.Glacier |
| 190 | p.MaterialVariant = "2022 Small Stud" |
| 191 | p.Anchored = true |
| 192 | p.Parent = model |
| 193 | end |
| 194 | do |
| 195 | local p = Instance.new("Part") |
| 196 | p.Name = "Ridge_2" |
| 197 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 198 | p.CFrame = CFrame.new(0, 13.46, 1.6) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 199 | p.BrickColor = BrickColor.new("Pine Cone") |
| 200 | p.Material = Enum.Material.Glacier |
| 201 | p.MaterialVariant = "2022 Small Stud" |
| 202 | p.Anchored = true |
| 203 | p.Parent = model |
| 204 | end |
| 205 | do |
| 206 | local p = Instance.new("Part") |
| 207 | p.Name = "Ridge_3" |
| 208 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 209 | p.CFrame = CFrame.new(-1.13137, 13.46, 1.13137) * CFrame.Angles(math.rad(0), math.rad(135), math.rad(0)) |
| 210 | p.BrickColor = BrickColor.new("Pine Cone") |
| 211 | p.Material = Enum.Material.Glacier |
| 212 | p.MaterialVariant = "2022 Small Stud" |
| 213 | p.Anchored = true |
| 214 | p.Parent = model |
| 215 | end |
| 216 | do |
| 217 | local p = Instance.new("Part") |
| 218 | p.Name = "Ridge_4" |
| 219 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 220 | p.CFrame = CFrame.new(-1.6, 13.46, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) |
| 221 | p.BrickColor = BrickColor.new("Pine Cone") |
| 222 | p.Material = Enum.Material.Glacier |
| 223 | p.MaterialVariant = "2022 Small Stud" |
| 224 | p.Anchored = true |
| 225 | p.Parent = model |
| 226 | end |
| 227 | do |
| 228 | local p = Instance.new("Part") |
| 229 | p.Name = "Ridge_5" |
| 230 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 231 | p.CFrame = CFrame.new(-1.13137, 13.46, -1.13137) * CFrame.Angles(math.rad(0), math.rad(225), math.rad(0)) |
| 232 | p.BrickColor = BrickColor.new("Pine Cone") |
| 233 | p.Material = Enum.Material.Glacier |
| 234 | p.MaterialVariant = "2022 Small Stud" |
| 235 | p.Anchored = true |
| 236 | p.Parent = model |
| 237 | end |
| 238 | do |
| 239 | local p = Instance.new("Part") |
| 240 | p.Name = "Ridge_6" |
| 241 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 242 | p.CFrame = CFrame.new(0, 13.46, -1.6) * CFrame.Angles(math.rad(0), math.rad(270), math.rad(0)) |
| 243 | p.BrickColor = BrickColor.new("Pine Cone") |
| 244 | p.Material = Enum.Material.Glacier |
| 245 | p.MaterialVariant = "2022 Small Stud" |
| 246 | p.Anchored = true |
| 247 | p.Parent = model |
| 248 | end |
| 249 | do |
| 250 | local p = Instance.new("Part") |
| 251 | p.Name = "Ridge_7" |
| 252 | p.Size = Vector3.new(0.2, 4, 0.4) |
| 253 | p.CFrame = CFrame.new(1.13137, 13.46, -1.13137) * CFrame.Angles(math.rad(0), math.rad(315), math.rad(0)) |
| 254 | p.BrickColor = BrickColor.new("Pine Cone") |
| 255 | p.Material = Enum.Material.Glacier |
| 256 | p.MaterialVariant = "2022 Small Stud" |
| 257 | p.Anchored = true |
| 258 | p.Parent = model |
| 259 | end |
| 260 | do |
| 261 | local p = Instance.new("Part") |
| 262 | p.Name = "Knot1" |
| 263 | p.Size = Vector3.new(0.4, 0.6, 0.4) |
| 264 | p.CFrame = CFrame.new(1.2, 11, 0.5) * CFrame.Angles(math.rad(15), math.rad(30), math.rad(0)) |
| 265 | p.BrickColor = BrickColor.new("Pine Cone") |
| 266 | p.Material = Enum.Material.Glacier |
| 267 | p.MaterialVariant = "2022 Small Stud" |
| 268 | p.Anchored = true |
| 269 | p.Parent = model |
| 270 | end |
| 271 | do |
| 272 | local p = Instance.new("Part") |
| 273 | p.Name = "Knot2" |
| 274 | p.Size = Vector3.new(0.5, 0.8, 0.5) |
| 275 | p.CFrame = CFrame.new(-1.4, 14.54, -0.2) |
| 276 | p.BrickColor = BrickColor.new("Really black") |
| 277 | p.Material = Enum.Material.Glacier |
| 278 | p.MaterialVariant = "2022 Universal" |
| 279 | p.Anchored = true |
| 280 | p.Parent = model |
| 281 | end |
| 282 | do |
| 283 | local upV = Vector3.new(0,1,0).Unit |
| 284 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 285 | local forwardV = rightV:Cross(upV) |
| 286 | local pos = Vector3.new(0, 16.66, 0) |
| 287 | local ball = Instance.new("Part") |
| 288 | ball.Shape = Enum.PartType.Ball |
| 289 | ball.Size = Vector3.new(1.8, 1.8, 1.8) |
| 290 | ball.CFrame = CFrame.new(pos) |
| 291 | ball.BrickColor = BrickColor.new("Reddish brown") |
| 292 | ball.Material = Enum.Material.Glacier |
| 293 | ball.MaterialVariant = "2022 Small Stud" |
| 294 | ball.Anchored = true; ball.Parent = workspace |
| 295 | local cuts = {} |
| 296 | do |
| 297 | local h = 0 |
| 298 | local cut = Instance.new("Part") |
| 299 | cut.Size = Vector3.new(3.6, 3.6, 3.6) |
| 300 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.8), rightV, upV) |
| 301 | cut.BrickColor = BrickColor.new("Reddish brown") |
| 302 | cut.Material = Enum.Material.Glacier |
| 303 | cut.MaterialVariant = "2022 Small Stud" |
| 304 | cut.Anchored = true; cut.Parent = workspace |
| 305 | table.insert(cuts, cut) |
| 306 | end |
| 307 | if #cuts > 0 then |
| 308 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 309 | for _, c in ipairs(cuts) do c:Destroy() end |
| 310 | if ok and result then |
| 311 | ball:Destroy() |
| 312 | result.Name = "TopCap"; result.Anchored = true; result.Parent = model |
| 313 | else |
| 314 | ball.Name = "TopCap"; ball.Parent = model |
| 315 | end |
| 316 | else |
| 317 | ball.Name = "TopCap"; ball.Parent = model |
| 318 | end |
| 319 | end |
| 320 | do |
| 321 | local upV = Vector3.new(0,-1,0).Unit |
| 322 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 323 | local forwardV = rightV:Cross(upV) |
| 324 | local pos = Vector3.new(0, -0.2, 0) |
| 325 | local ball = Instance.new("Part") |
| 326 | ball.Shape = Enum.PartType.Ball |
| 327 | ball.Size = Vector3.new(0.8, 0.8, 0.8) |
| 328 | ball.CFrame = CFrame.new(pos) |
| 329 | ball.BrickColor = BrickColor.new("Brown") |
| 330 | ball.Material = Enum.Material.Glacier |
| 331 | ball.MaterialVariant = "2022 Stud" |
| 332 | ball.Anchored = true; ball.Parent = workspace |
| 333 | local cuts = {} |
| 334 | do |
| 335 | local h = 0 |
| 336 | local cut = Instance.new("Part") |
| 337 | cut.Size = Vector3.new(1.6, 1.6, 1.6) |
| 338 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-0.8), rightV, upV) |
| 339 | cut.BrickColor = BrickColor.new("Brown") |
| 340 | cut.Material = Enum.Material.Glacier |
| 341 | cut.MaterialVariant = "2022 Stud" |
| 342 | cut.Anchored = true; cut.Parent = workspace |
| 343 | table.insert(cuts, cut) |
| 344 | end |
| 345 | if #cuts > 0 then |
| 346 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 347 | for _, c in ipairs(cuts) do c:Destroy() end |
| 348 | if ok and result then |
| 349 | ball:Destroy() |
| 350 | result.Name = "BottomCap"; result.Anchored = true; result.Parent = model |
| 351 | else |
| 352 | ball.Name = "BottomCap"; ball.Parent = model |
| 353 | end |
| 354 | else |
| 355 | ball.Name = "BottomCap"; ball.Parent = model |
| 356 | end |
| 357 | end |
| 358 | model.PrimaryPart = model:FindFirstChild("Seg_4") |
| 359 | print("WoodenClub built: " .. #model:GetChildren() .. " parts") |
Loading comments...