BINO2002

Untitled

Feb 18th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. local center = workspace.BINO2002.Head.Position + Vector3.new(0,2.5,0)
  2. local R = 30
  3. local r = 10
  4.  
  5. for t = 0,7.2,0.25 do
  6. for u = 1,36 do
  7. local x = math.cos(t)*(R+r*math.cos(u))
  8. local z = math.sin(t)*(R+r*math.cos(u))
  9. local y = r*math.sin(u^2)
  10. local pos = Vector3.new(x,y,z) + center
  11. local lookAt = center + Vector3.new(math.cos(t)*R,0,math.sin(t)*R)
  12. local p = Instance.new("Part",workspace)
  13. p.FormFactor = "Symmetric"
  14. p.Size = Vector3.new(7,10,1)
  15. p.TopSurface = "Smooth"
  16. p.BrickColor = BrickColor.new("Cyan")
  17. p.BottomSurface = "Smooth"
  18. p.Anchored = true
  19. p.CFrame = CFrame.new(pos,lookAt)*CFrame.Angles(0,0,math.rad(90))
  20. end
  21. wait(0.1)
  22. end
Add Comment
Please, Sign In to add comment