Advertisement
urabigfatnoob

ircle v4

Oct 5th, 2016
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. wait(1)
  2. chr = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:wait()
  3. float = Instance.new("Part",chr)
  4. float.Anchored = true
  5. float.Transparency = 1
  6. float.CanCollide = false
  7. float.Position = chr.Torso.Position + Vector3.new(0,10,0)
  8. model = Instance.new("Model")
  9. model.Parent = chr
  10. circle = Instance.new("Part",model)
  11. model.PrimaryPart = circle
  12. circle.Anchored = true
  13. circle.CanCollide = false
  14. circle.BrickColor = BrickColor.new(Color3.fromRGB(192, 57, 43)) --BRICKCOLOR ONLY GOES TO 1 R(ED)G(REEN)B(LUE)
  15. circle.Size = Vector3.new(.5,.5,.5) --SIZE ONLY CHANGE THE MIDDLE
  16. circle.Transparency = 1 --VISIBILITY OF INSIDE BLOCK
  17. circle.Material = Enum.Material.Neon
  18. rad = 7
  19. circ = 2*math.pi*rad
  20. n = circ/.5
  21. rot = 360/n
  22.  
  23. function gay()
  24. for i = 0,n/2 do
  25. game:GetService('RunService').RenderStepped:wait()
  26. local clone = circle:Clone()
  27. local function tran()
  28. clone.Parent = model
  29. for index = .5,7,.1 do
  30. game:GetService('RunService').RenderStepped:wait()
  31. -- clone.Size = Vector3.new(.5,index,.5)
  32. clone.Transparency = clone.Transparency - .05
  33. clone.CFrame = circle.CFrame*CFrame.Angles(0,0,math.rad(i*(rot*2)))*CFrame.new(rad/2.2,0,0)
  34. end
  35. end
  36. spawn(tran)
  37. end
  38. end
  39. spawn(gay)
  40.  
  41. x = 0
  42. y = 0
  43. z = 0
  44. random = 0
  45. debounce = false
  46.  
  47. colortable={BrickColor.new(Color3.fromRGB(241, 196, 15)),
  48. BrickColor.new(Color3.fromRGB(211, 84, 0)),
  49. BrickColor.new(Color3.fromRGB(41, 128, 185)),
  50. BrickColor.new(Color3.fromRGB(192, 57, 43)),
  51. BrickColor.new(Color3.fromRGB(142, 68, 173)),
  52. BrickColor.new(Color3.fromRGB(26, 188, 156)),
  53. BrickColor.new(Color3.fromRGB(46, 204, 113))}
  54. function changecolor()
  55. if debounce == false then
  56. debounce = true
  57. local children = model:GetChildren()
  58. random = random + 1
  59. if random == 8 then
  60. random = 1
  61. end
  62. for i,v in pairs(children) do
  63. game:GetService('RunService').RenderStepped:wait()
  64. v.BrickColor = colortable[random]
  65. end
  66. debounce = false
  67. end
  68. end
  69. while true do
  70. game:GetService('RunService').RenderStepped:wait()
  71. if x > 360 then
  72. x = 0
  73. spawn(changecolor)
  74. elseif y > 360 then
  75. y = 0
  76. end
  77. x = x + 2
  78. y = y - 4
  79. model:SetPrimaryPartCFrame(chr.HumanoidRootPart.CFrame*CFrame.Angles(math.rad(x),math.rad(y),math.rad(0)))
  80. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement