Advertisement
urabigfatnoob

circle V2

Sep 19th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. chr = workspace.supercoolguy53 --CHANGE NAME
  2. float = Instance.new("Part",chr)
  3. float.Anchored = true
  4. float.Transparency = 1
  5. float.Position = chr.Torso.Position + Vector3.new(0,10,0)
  6. model = Instance.new("Model")
  7. model.Parent = chr
  8. circle = Instance.new("Part",model)
  9. circle.Anchored = true
  10. circle.CanCollide = false
  11. circle.BrickColor = BrickColor.new(0,0,0) --COLOR
  12. circle.FormFactor = "Custom"
  13. circle.Size = Vector3.new(.2,5,.2) --SIZE CHANGE THE MIDDLE
  14. circle.Transparency = 1
  15. circle.Rotation = Vector3.new(-90,0,0)
  16. outline = Instance.new("SelectionBox",circle)
  17. outline.Adornee = circle
  18. outline.Color3 = Color3.new(1,1,1)
  19. outline.LineThickness = 0.001 --OUTLINE THICKNESS
  20.  
  21. model.PrimaryPart = model.Part
  22.  
  23. for i = 1,180 do
  24. game:GetService("RunService").RenderStepped:wait()
  25. float.Position = chr.Torso.Position + Vector3.new(0,10,0)
  26. model:SetPrimaryPartCFrame(float.CFrame)
  27. clone = circle:Clone()
  28. clone.Parent = model
  29. clone.Transparency = .7 --VISIBILITY
  30. clone.Position = float.Position
  31. clone.Rotation = Vector3.new(0,0,i)
  32. clone.Name = ("A"..i)
  33. end
  34.  
  35. model.Parent = chr
  36. model.PrimaryPart = model.A1
  37.  
  38. n=0
  39. x = 0
  40.  
  41. while game:GetService("RunService").RenderStepped:wait() do
  42. n = n + 1 --ROTATION
  43. x = x + 1.5 --ROTATION
  44. float.Position = chr.Torso.Position + Vector3.new(0,10,0)
  45. if n == 360 then
  46. n = 0
  47. elseif x == 360 then
  48. x = 0
  49. end
  50. float.Rotation = Vector3.new(n,x,x)
  51. model:SetPrimaryPartCFrame(float.CFrame)
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement