Loading model...
by Super · 3/28/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: FishingRod |
| 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 = "FishingRod" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Bright red"] = "2022 Stud", |
| 26 | ["Bright yellow"] = "2022 Big Stud", |
| 27 | ["Medium stone grey"] = "2022 Inlet", |
| 28 | ["Navy blue"] = "2022 Stud", |
| 29 | ["Really black"] = "2022 Universal", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Shape = Enum.PartType.Cylinder |
| 34 | p.Name = "ButtCap" |
| 35 | p.Size = Vector3.new(1, 0.8, 0.8) |
| 36 | p.CFrame = CFrame.new(0, 0, 14.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 37 | p.BrickColor = BrickColor.new("Really black") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Universal" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Shape = Enum.PartType.Cylinder |
| 46 | p.Name = "ButtAccent" |
| 47 | p.Size = Vector3.new(0.2, 0.85, 0.85) |
| 48 | p.CFrame = CFrame.new(0, 0, 14.04) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 49 | p.BrickColor = BrickColor.new("Bright red") |
| 50 | p.Material = Enum.Material.Glacier |
| 51 | p.MaterialVariant = "2022 Stud" |
| 52 | p.Anchored = true |
| 53 | p.Parent = model |
| 54 | end |
| 55 | do |
| 56 | local p = Instance.new("Part") |
| 57 | p.Shape = Enum.PartType.Cylinder |
| 58 | p.Name = "LowerGrip" |
| 59 | p.Size = Vector3.new(5.8, 0.7, 0.7) |
| 60 | p.CFrame = CFrame.new(0, 0, 11) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 61 | p.BrickColor = BrickColor.new("Really black") |
| 62 | p.Material = Enum.Material.Glacier |
| 63 | p.MaterialVariant = "2022 Universal" |
| 64 | p.Anchored = true |
| 65 | p.Parent = model |
| 66 | end |
| 67 | do |
| 68 | local p = Instance.new("Part") |
| 69 | p.Shape = Enum.PartType.Cylinder |
| 70 | p.Name = "ReelSeatBase" |
| 71 | p.Size = Vector3.new(1.2, 0.6, 0.6) |
| 72 | p.CFrame = CFrame.new(0, 0, 7.46) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 73 | p.BrickColor = BrickColor.new("Really black") |
| 74 | p.Material = Enum.Material.Glacier |
| 75 | p.MaterialVariant = "2022 Universal" |
| 76 | p.Anchored = true |
| 77 | p.Parent = model |
| 78 | end |
| 79 | do |
| 80 | local p = Instance.new("Part") |
| 81 | p.Shape = Enum.PartType.Cylinder |
| 82 | p.Name = "ReelSeatRing1" |
| 83 | p.Size = Vector3.new(0.4, 0.65, 0.65) |
| 84 | p.CFrame = CFrame.new(0, 0, 6.84) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 85 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 86 | p.Material = Enum.Material.Glacier |
| 87 | p.MaterialVariant = "2022 Inlet" |
| 88 | p.Anchored = true |
| 89 | p.Parent = model |
| 90 | end |
| 91 | do |
| 92 | local p = Instance.new("Part") |
| 93 | p.Shape = Enum.PartType.Cylinder |
| 94 | p.Name = "ReelSeatMid" |
| 95 | p.Size = Vector3.new(1.2, 0.55, 0.55) |
| 96 | p.CFrame = CFrame.new(0, 0, 6) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 97 | p.BrickColor = BrickColor.new("Really black") |
| 98 | p.Material = Enum.Material.Glacier |
| 99 | p.MaterialVariant = "2022 Universal" |
| 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 = "ReelSeatRing2" |
| 107 | p.Size = Vector3.new(0.4, 0.65, 0.65) |
| 108 | p.CFrame = CFrame.new(0, 0, 5.16) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 109 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 110 | p.Material = Enum.Material.Glacier |
| 111 | p.MaterialVariant = "2022 Inlet" |
| 112 | p.Anchored = true |
| 113 | p.Parent = model |
| 114 | end |
| 115 | do |
| 116 | local p = Instance.new("Part") |
| 117 | p.Shape = Enum.PartType.Cylinder |
| 118 | p.Name = "UpperGrip" |
| 119 | p.Size = Vector3.new(2, 0.7, 0.7) |
| 120 | p.CFrame = CFrame.new(0, 0, 4) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 121 | p.BrickColor = BrickColor.new("Really black") |
| 122 | p.Material = Enum.Material.Glacier |
| 123 | p.MaterialVariant = "2022 Universal" |
| 124 | p.Anchored = true |
| 125 | p.Parent = model |
| 126 | end |
| 127 | do |
| 128 | local p = Instance.new("Part") |
| 129 | p.Shape = Enum.PartType.Cylinder |
| 130 | p.Name = "UpperAccent" |
| 131 | p.Size = Vector3.new(0.2, 0.75, 0.75) |
| 132 | p.CFrame = CFrame.new(0, 0, 2.86) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 133 | p.BrickColor = BrickColor.new("Bright red") |
| 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.Shape = Enum.PartType.Cylinder |
| 142 | p.Name = "RodSec1" |
| 143 | p.Size = Vector3.new(9.6, 0.4, 0.4) |
| 144 | p.CFrame = CFrame.new(0, 0, -2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 145 | p.BrickColor = BrickColor.new("Navy blue") |
| 146 | p.Material = Enum.Material.Glacier |
| 147 | p.MaterialVariant = "2022 Stud" |
| 148 | p.Anchored = true |
| 149 | p.Parent = model |
| 150 | end |
| 151 | do |
| 152 | local p = Instance.new("Part") |
| 153 | p.Shape = Enum.PartType.Cylinder |
| 154 | p.Name = "RodJoint1" |
| 155 | p.Size = Vector3.new(0.4, 0.45, 0.45) |
| 156 | p.CFrame = CFrame.new(0, 0, -6.86) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 157 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 158 | p.Material = Enum.Material.Glacier |
| 159 | p.MaterialVariant = "2022 Inlet" |
| 160 | p.Anchored = true |
| 161 | p.Parent = model |
| 162 | end |
| 163 | do |
| 164 | local p = Instance.new("Part") |
| 165 | p.Shape = Enum.PartType.Cylinder |
| 166 | p.Name = "RodSec2" |
| 167 | p.Size = Vector3.new(9.8, 0.3, 0.3) |
| 168 | p.CFrame = CFrame.new(0, 0, -12) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 169 | p.BrickColor = BrickColor.new("Navy blue") |
| 170 | p.Material = Enum.Material.Glacier |
| 171 | p.MaterialVariant = "2022 Stud" |
| 172 | p.Anchored = true |
| 173 | p.Parent = model |
| 174 | end |
| 175 | do |
| 176 | local p = Instance.new("Part") |
| 177 | p.Shape = Enum.PartType.Cylinder |
| 178 | p.Name = "RodJoint2" |
| 179 | p.Size = Vector3.new(0.4, 0.35, 0.35) |
| 180 | p.CFrame = CFrame.new(0, 0, -16.96) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 181 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 182 | p.Material = Enum.Material.Glacier |
| 183 | p.MaterialVariant = "2022 Inlet" |
| 184 | p.Anchored = true |
| 185 | p.Parent = model |
| 186 | end |
| 187 | do |
| 188 | local p = Instance.new("Part") |
| 189 | p.Shape = Enum.PartType.Cylinder |
| 190 | p.Name = "RodSec3" |
| 191 | p.Size = Vector3.new(9.6, 0.2, 0.2) |
| 192 | p.CFrame = CFrame.new(0, 0, -22) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 193 | p.BrickColor = BrickColor.new("Navy blue") |
| 194 | p.Material = Enum.Material.Glacier |
| 195 | p.MaterialVariant = "2022 Stud" |
| 196 | p.Anchored = true |
| 197 | p.Parent = model |
| 198 | end |
| 199 | do |
| 200 | local p = Instance.new("Part") |
| 201 | p.Shape = Enum.PartType.Cylinder |
| 202 | p.Name = "RodTip" |
| 203 | p.Size = Vector3.new(3.4, 0.15, 0.15) |
| 204 | p.CFrame = CFrame.new(0, 0, -28.54) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 205 | p.BrickColor = BrickColor.new("Bright yellow") |
| 206 | p.Material = Enum.Material.Glacier |
| 207 | p.MaterialVariant = "2022 Big Stud" |
| 208 | p.Anchored = true |
| 209 | p.Parent = model |
| 210 | end |
| 211 | do |
| 212 | local p = Instance.new("Part") |
| 213 | p.Shape = Enum.PartType.Cylinder |
| 214 | p.Name = "TipGuide" |
| 215 | p.Size = Vector3.new(0.2, 0.4, 0.4) |
| 216 | p.CFrame = CFrame.new(0, 0.2, -30.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 217 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 218 | p.Material = Enum.Material.Glacier |
| 219 | p.MaterialVariant = "2022 Inlet" |
| 220 | p.Anchored = true |
| 221 | p.Parent = model |
| 222 | end |
| 223 | do |
| 224 | local p = Instance.new("Part") |
| 225 | p.Name = "Guide1Stem" |
| 226 | p.Size = Vector3.new(0.1, 0.6, 0.2) |
| 227 | p.CFrame = CFrame.new(0, -0.4, -1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 228 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 229 | p.Material = Enum.Material.Glacier |
| 230 | p.MaterialVariant = "2022 Inlet" |
| 231 | p.Anchored = true |
| 232 | p.Parent = model |
| 233 | end |
| 234 | do |
| 235 | local p = Instance.new("Part") |
| 236 | p.Shape = Enum.PartType.Cylinder |
| 237 | p.Name = "Guide1Ring" |
| 238 | p.Size = Vector3.new(0.1, 0.6, 0.6) |
| 239 | p.CFrame = CFrame.new(0, -0.8, -1.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 240 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 241 | p.Material = Enum.Material.Glacier |
| 242 | p.MaterialVariant = "2022 Inlet" |
| 243 | p.Anchored = true |
| 244 | p.Parent = model |
| 245 | end |
| 246 | do |
| 247 | local p = Instance.new("Part") |
| 248 | p.Name = "Guide2Stem" |
| 249 | p.Size = Vector3.new(0.1, 0.5, 0.15) |
| 250 | p.CFrame = CFrame.new(0, -0.3, -11) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 251 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 252 | p.Material = Enum.Material.Glacier |
| 253 | p.MaterialVariant = "2022 Inlet" |
| 254 | p.Anchored = true |
| 255 | p.Parent = model |
| 256 | end |
| 257 | do |
| 258 | local p = Instance.new("Part") |
| 259 | p.Shape = Enum.PartType.Cylinder |
| 260 | p.Name = "Guide2Ring" |
| 261 | p.Size = Vector3.new(0.1, 0.5, 0.5) |
| 262 | p.CFrame = CFrame.new(0, -0.6, -11.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 263 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 264 | p.Material = Enum.Material.Glacier |
| 265 | p.MaterialVariant = "2022 Inlet" |
| 266 | p.Anchored = true |
| 267 | p.Parent = model |
| 268 | end |
| 269 | do |
| 270 | local p = Instance.new("Part") |
| 271 | p.Name = "Guide3Stem" |
| 272 | p.Size = Vector3.new(0.1, 0.4, 0.1) |
| 273 | p.CFrame = CFrame.new(0, -0.2, -21) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)) |
| 274 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 275 | p.Material = Enum.Material.Glacier |
| 276 | p.MaterialVariant = "2022 Inlet" |
| 277 | p.Anchored = true |
| 278 | p.Parent = model |
| 279 | end |
| 280 | do |
| 281 | local p = Instance.new("Part") |
| 282 | p.Shape = Enum.PartType.Cylinder |
| 283 | p.Name = "Guide3Ring" |
| 284 | p.Size = Vector3.new(0.1, 0.4, 0.4) |
| 285 | p.CFrame = CFrame.new(0, -0.4, -21.2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 286 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 287 | p.Material = Enum.Material.Glacier |
| 288 | p.MaterialVariant = "2022 Inlet" |
| 289 | p.Anchored = true |
| 290 | p.Parent = model |
| 291 | end |
| 292 | do |
| 293 | local p = Instance.new("Part") |
| 294 | p.Name = "ReelStem" |
| 295 | p.Size = Vector3.new(0.3, 1.2, 0.6) |
| 296 | p.CFrame = CFrame.new(0, -0.8, 6) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 297 | p.BrickColor = BrickColor.new("Really black") |
| 298 | p.Material = Enum.Material.Glacier |
| 299 | p.MaterialVariant = "2022 Universal" |
| 300 | p.Anchored = true |
| 301 | p.Parent = model |
| 302 | end |
| 303 | do |
| 304 | local p = Instance.new("Part") |
| 305 | p.Name = "ReelBodyMain" |
| 306 | p.Size = Vector3.new(1.2, 1.4, 1.8) |
| 307 | p.CFrame = CFrame.new(0, -1.5, 6.5) |
| 308 | p.BrickColor = BrickColor.new("Really black") |
| 309 | p.Material = Enum.Material.Glacier |
| 310 | p.MaterialVariant = "2022 Universal" |
| 311 | p.Anchored = true |
| 312 | p.Parent = model |
| 313 | end |
| 314 | do |
| 315 | local p = Instance.new("Part") |
| 316 | p.Name = "ReelBodyBack" |
| 317 | p.Size = Vector3.new(1, 1, 0.8) |
| 318 | p.CFrame = CFrame.new(0, -1.74, 7.5) |
| 319 | p.BrickColor = BrickColor.new("Really black") |
| 320 | p.Material = Enum.Material.Glacier |
| 321 | p.MaterialVariant = "2022 Universal" |
| 322 | p.Anchored = true |
| 323 | p.Parent = model |
| 324 | end |
| 325 | do |
| 326 | local p = Instance.new("Part") |
| 327 | p.Shape = Enum.PartType.Cylinder |
| 328 | p.Name = "ReelRotorBase" |
| 329 | p.Size = Vector3.new(0.6, 1.5, 1.5) |
| 330 | p.CFrame = CFrame.new(0, -1.5, 5.4) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 331 | p.BrickColor = BrickColor.new("Really black") |
| 332 | p.Material = Enum.Material.Glacier |
| 333 | p.MaterialVariant = "2022 Universal" |
| 334 | p.Anchored = true |
| 335 | p.Parent = model |
| 336 | end |
| 337 | do |
| 338 | local p = Instance.new("Part") |
| 339 | p.Name = "ReelRotorArm1" |
| 340 | p.Size = Vector3.new(0.3, 1.6, 1) |
| 341 | p.CFrame = CFrame.new(0.8, -1.5, 4.8) |
| 342 | p.BrickColor = BrickColor.new("Really black") |
| 343 | p.Material = Enum.Material.Glacier |
| 344 | p.MaterialVariant = "2022 Universal" |
| 345 | p.Anchored = true |
| 346 | p.Parent = model |
| 347 | end |
| 348 | do |
| 349 | local p = Instance.new("Part") |
| 350 | p.Name = "ReelRotorArm2" |
| 351 | p.Size = Vector3.new(0.3, 1.6, 1) |
| 352 | p.CFrame = CFrame.new(-0.8, -1.5, 4.8) |
| 353 | p.BrickColor = BrickColor.new("Really black") |
| 354 | p.Material = Enum.Material.Glacier |
| 355 | p.MaterialVariant = "2022 Universal" |
| 356 | p.Anchored = true |
| 357 | p.Parent = model |
| 358 | end |
| 359 | do |
| 360 | local p = Instance.new("Part") |
| 361 | p.Shape = Enum.PartType.Cylinder |
| 362 | p.Name = "ReelSpoolBase" |
| 363 | p.Size = Vector3.new(0.2, 1.5, 1.5) |
| 364 | p.CFrame = CFrame.new(0, -1.5, 4.16) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 365 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 366 | p.Material = Enum.Material.Glacier |
| 367 | p.MaterialVariant = "2022 Inlet" |
| 368 | p.Anchored = true |
| 369 | p.Parent = model |
| 370 | end |
| 371 | do |
| 372 | local p = Instance.new("Part") |
| 373 | p.Shape = Enum.PartType.Cylinder |
| 374 | p.Name = "ReelSpoolLine" |
| 375 | p.Size = Vector3.new(0.8, 1.3, 1.3) |
| 376 | p.CFrame = CFrame.new(0, -1.5, 3.7) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 377 | p.BrickColor = BrickColor.new("Bright blue") |
| 378 | p.Material = Enum.Material.Glacier |
| 379 | p.MaterialVariant = "2022 Universal" |
| 380 | p.Anchored = true |
| 381 | p.Parent = model |
| 382 | end |
| 383 | do |
| 384 | local p = Instance.new("Part") |
| 385 | p.Shape = Enum.PartType.Cylinder |
| 386 | p.Name = "ReelSpoolTop" |
| 387 | p.Size = Vector3.new(0.2, 1.4, 1.4) |
| 388 | p.CFrame = CFrame.new(0, -1.5, 3.16) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 389 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 390 | p.Material = Enum.Material.Glacier |
| 391 | p.MaterialVariant = "2022 Inlet" |
| 392 | p.Anchored = true |
| 393 | p.Parent = model |
| 394 | end |
| 395 | do |
| 396 | local p = Instance.new("Part") |
| 397 | p.Shape = Enum.PartType.Cylinder |
| 398 | p.Name = "ReelDragKnob" |
| 399 | p.Size = Vector3.new(0.3, 0.8, 0.8) |
| 400 | p.CFrame = CFrame.new(0, -1.5, 3) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 401 | p.BrickColor = BrickColor.new("Really black") |
| 402 | p.Material = Enum.Material.Glacier |
| 403 | p.MaterialVariant = "2022 Universal" |
| 404 | p.Anchored = true |
| 405 | p.Parent = model |
| 406 | end |
| 407 | do |
| 408 | local p = Instance.new("Part") |
| 409 | p.Name = "HandleShaft" |
| 410 | p.Size = Vector3.new(1.2, 0.2, 0.2) |
| 411 | p.CFrame = CFrame.new(1, -1.5, 6.5) |
| 412 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 413 | p.Material = Enum.Material.Glacier |
| 414 | p.MaterialVariant = "2022 Inlet" |
| 415 | p.Anchored = true |
| 416 | p.Parent = model |
| 417 | end |
| 418 | do |
| 419 | local p = Instance.new("Part") |
| 420 | p.Name = "HandleArm" |
| 421 | p.Size = Vector3.new(0.2, 1.4, 0.3) |
| 422 | p.CFrame = CFrame.new(1.6, -0.9, 6.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)) |
| 423 | p.BrickColor = BrickColor.new("Really black") |
| 424 | p.Material = Enum.Material.Glacier |
| 425 | p.MaterialVariant = "2022 Universal" |
| 426 | p.Anchored = true |
| 427 | p.Parent = model |
| 428 | end |
| 429 | do |
| 430 | local p = Instance.new("Part") |
| 431 | p.Name = "HandleKnob" |
| 432 | p.Size = Vector3.new(0.8, 0.6, 0.4) |
| 433 | p.CFrame = CFrame.new(1.8, -0.3, 6.5) |
| 434 | p.BrickColor = BrickColor.new("Really black") |
| 435 | p.Material = Enum.Material.Glacier |
| 436 | p.MaterialVariant = "2022 Universal" |
| 437 | p.Anchored = true |
| 438 | p.Parent = model |
| 439 | end |
| 440 | do |
| 441 | local rightV = Vector3.new(1,0,0).Unit |
| 442 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 443 | local normalV = upV:Cross(rightV) |
| 444 | local pos = Vector3.new(0, -1.5, 3.24) |
| 445 | local cyl = Instance.new("Part") |
| 446 | cyl.Shape = Enum.PartType.Cylinder |
| 447 | cyl.Size = Vector3.new(0.1, 2, 2) |
| 448 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 449 | cyl.BrickColor = BrickColor.new("Medium stone grey") |
| 450 | cyl.Material = Enum.Material.Glacier |
| 451 | cyl.MaterialVariant = "2022 Inlet" |
| 452 | cyl.Anchored = true; cyl.Parent = workspace |
| 453 | local cuts = {} |
| 454 | local hole = Instance.new("Part") |
| 455 | hole.Shape = Enum.PartType.Cylinder |
| 456 | hole.Size = Vector3.new(0.3, 1.8, 1.8) |
| 457 | hole.CFrame = cyl.CFrame |
| 458 | hole.BrickColor = BrickColor.new("Medium stone grey") |
| 459 | hole.Material = Enum.Material.Glacier |
| 460 | hole.MaterialVariant = "2022 Inlet" |
| 461 | hole.Anchored = true; hole.Parent = workspace |
| 462 | table.insert(cuts, hole) |
| 463 | local angBoxes = {} |
| 464 | do |
| 465 | local edgeDir = 1*rightV + 0*upV |
| 466 | local edgePerp = 0*rightV + 1*upV |
| 467 | local cut = Instance.new("Part") |
| 468 | cut.Size = Vector3.new(4, 0.3, 4) |
| 469 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 2 * edgePerp, edgeDir, normalV) |
| 470 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 471 | cut.Material = Enum.Material.Glacier |
| 472 | cut.MaterialVariant = "2022 Inlet" |
| 473 | cut.Anchored = true; cut.Parent = workspace |
| 474 | table.insert(angBoxes, cut) |
| 475 | end |
| 476 | do |
| 477 | local edgeDir = -1*rightV + 0*upV |
| 478 | local edgePerp = 0*rightV + -1*upV |
| 479 | local cut = Instance.new("Part") |
| 480 | cut.Size = Vector3.new(4, 0.3, 4) |
| 481 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 2 * edgePerp, edgeDir, normalV) |
| 482 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 483 | cut.Material = Enum.Material.Glacier |
| 484 | cut.MaterialVariant = "2022 Inlet" |
| 485 | cut.Anchored = true; cut.Parent = workspace |
| 486 | table.insert(angBoxes, cut) |
| 487 | end |
| 488 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 489 | if #cuts > 0 then |
| 490 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 491 | for _, c in ipairs(cuts) do c:Destroy() end |
| 492 | if ok and result then |
| 493 | cyl:Destroy() |
| 494 | result.Name = "BailWire"; result.Anchored = true; result.Parent = model |
| 495 | else |
| 496 | cyl.Name = "BailWire"; cyl.Parent = model |
| 497 | end |
| 498 | else |
| 499 | cyl.Name = "BailWire"; cyl.Parent = model |
| 500 | end |
| 501 | end |
| 502 | model.PrimaryPart = model:FindFirstChild("LowerGrip") |
| 503 | print("FishingRod built: " .. #model:GetChildren() .. " parts") |
Loading comments...