Advertisement
refrop

?

Feb 23rd, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. for i=1,8 do
  2. local p = Instance.new("Part",char)
  3. p.Anchored = false
  4. p.BrickColor = BrickColor.new("Lime green")
  5. p.CanCollide = false
  6. p.FormFactor="Custom"
  7. p.Material = "SmoothPlastic"
  8. p.TopSurface = "SmoothNoOutlines"
  9. p.BottomSurface = "SmoothNoOutlines"
  10. p.RightSurface = "SmoothNoOutlines"
  11. p.LeftSurface = "SmoothNoOutlines"
  12. p.FrontSurface = "SmoothNoOutlines"
  13. p.BackSurface = "SmoothNoOutlines"
  14.  
  15. p.Size=Vector3.new(2,.2,0.2)
  16. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  17. mesh = Instance.new("BlockMesh",p)
  18. mesh.Scale = Vector3.new(1,1,4)
  19. local w = Instance.new("Motor6D",p)
  20. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  21. w.Part1 = p
  22. w.Name = "Weld"
  23. --table.insert(aa1,p)
  24. aa1[i] = {p,p.CFrame}
  25.  
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement