Advertisement
urabigfatnoob

circle

Sep 19th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. chr = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:wait()
  2. float = Instance.new("Part",chr)
  3. float.Anchored = true
  4. float.Transparency = 1
  5. float.CanCollide = false
  6. float.Position = chr.Torso.Position + Vector3.new(0,10,0)
  7. model = Instance.new("Model")
  8. model.Parent = chr
  9. circle = Instance.new("Part",model)
  10. circle.Anchored = true
  11. circle.CanCollide = false
  12. circle.BrickColor = BrickColor.new(0,0,0) --BRICKCOLOR ONLY GOES TO 1 R(ED)G(REEN)B(LUE)
  13. circle.FormFactor = "Custom"
  14. circle.Size = Vector3.new(.2,5,.2) --SIZE ONLY CHANGE THE MIDDLE
  15. circle.Transparency = 1 --VISIBILITY OF INSIDE BLOCK
  16. circle.Rotation = Vector3.new(-90,0,0)
  17. outline = Instance.new("SelectionBox",circle)
  18. outline.Adornee = circle
  19. outline.Color3 = Color3.new(1,1,1)
  20. outline.LineThickness = 0.0001 --THICKNESS OF OUTLINE
  21.  
  22. model.PrimaryPart = model.Part
  23.  
  24. for i = 1,45 do
  25. game:GetService('RunService').RenderStepped:wait()
  26. float.Position = chr.Torso.Position + Vector3.new(0,10,0)
  27. model:SetPrimaryPartCFrame(float.CFrame)
  28. clone = circle:Clone()
  29. clone.Parent = model
  30. clone.Material = Enum.Material.Neon
  31. clone.Transparency = .8 --VISIBILITY
  32. clone.Position = float.Position
  33. clone.Rotation = Vector3.new(0,0,i*4)
  34. clone.Name = ("A"..i)
  35. end
  36.  
  37. model.Parent = chr
  38. model.PrimaryPart = model.A1
  39.  
  40. n=0
  41. x = 0
  42.  
  43. while game:GetService('RunService').RenderStepped:wait() do
  44. n = n + 2 --HOW FAST IT ROTATES
  45. x = x + 4 --SAME THING
  46. float.Position = chr.Torso.Position + Vector3.new(0,10,0)
  47. if n == 360 then
  48. n = 0
  49. elseif x == 360 then
  50. x = 0
  51. end
  52. float.Rotation = Vector3.new(n,x,x)
  53. model:SetPrimaryPartCFrame(float.CFrame)
  54. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement