Advertisement
mathmasterphil

Drill

Mar 7th, 2015
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.19 KB | None | 0 0
  1. local length = 50
  2. --[[type = royal
  3. for i = 0, length, 1 do
  4. local part = Instance.new("Part")
  5. part.Size = Vector3.new(1, 10, 1)
  6. part.CFrame = CFrame.new(65, 5, 140 - math.rad(50*i)) * CFrame.Angles(math.rad(15*i),0,0)
  7. part.Parent = workspace
  8. part.Anchored = true
  9. local bm = Instance.new('BlockMesh', part)
  10. bm.Bevel = 0.1
  11. wait()
  12. end ]]
  13. --[[type = circal
  14. for i = 0, length, 1 do
  15. local part = Instance.new("Part")
  16. part.Size = Vector3.new(1, 10, 1)
  17. part.CFrame = CFrame.new(65, 5, 140 - math.rad(50*i)) * CFrame.Angles(math.rad(5*i),0,0)
  18. part.Parent = workspace
  19. part.Anchored = true
  20. local bm = Instance.new('BlockMesh', part)
  21. bm.Bevel = 0.1
  22. wait()
  23. end ]]
  24. --[[type = royal2
  25. for i = 0, length, 1 do
  26. local part = Instance.new("Part")
  27. part.Size = Vector3.new(1, 10, 1)
  28. part.CFrame = CFrame.new(65, 5, 140 - math.rad(50*i)) * CFrame.Angles(math.rad(20*i),math.rad(2*i),0)
  29. part.Parent = workspace
  30. part.Anchored = true
  31. local bm = Instance.new('BlockMesh', part)
  32. bm.Bevel = 0.1
  33. wait()
  34. end ]]
  35. --[[type = glass
  36. for i = 0, length, 2 do
  37. local part = Instance.new("Part")
  38. part.Size = Vector3.new(1, 10, 1)
  39. part.BrickColor = BrickColor.new("Bright green")
  40. part.Transparency = 0.75
  41. part.CFrame = CFrame.new(65, 5, 140 - math.rad(50*i)) * CFrame.Angles(math.rad(-80*i),math.rad(40*i),0)
  42. part.Parent = workspace
  43. part.Anchored = true
  44. local bm = Instance.new('BlockMesh', part)
  45. bm.Bevel = 0.1
  46. wait()
  47. end]]
  48. --[[type = normal
  49. for i = 0, length, 1 do
  50. local part = Instance.new("Part")
  51. part.BrickColor = BrickColor.new("Reddish brown")
  52. part.Size = Vector3.new(1, 10, 1)
  53. part.CFrame = CFrame.new(65, 5, 140 - math.rad(50*i)) * CFrame.Angles(math.rad(-90*i),0,0)
  54. part.Parent = workspace
  55. part.Anchored = true
  56. local bm = Instance.new('BlockMesh', part)
  57. bm.Bevel = 0.1
  58. wait()
  59. end]]
  60. --type = sumtin
  61. for i = 0, length, 1 do
  62. local part = Instance.new("Part")
  63. part.BrickColor = BrickColor.new("Reddish brown")
  64. part.Size = Vector3.new(1, 10, 1)
  65. part.CFrame = CFrame.new(65, 5, 140 - math.rad(50*i)) * CFrame.Angles(math.rad(-100*i),0,0)
  66. part.Parent = workspace
  67. part.Anchored = true
  68. local bm = Instance.new('BlockMesh', part)
  69. bm.Bevel = 0.1
  70. wait()
  71. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement