PotatoSaiyan

Circle Visualizer

Mar 8th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. while not getmetatable(shared) do
  2. wait()
  3. end
  4. shared(script)
  5. char = game.Players.LocalPlayer.Character
  6. plr = game.Players.LocalPlayer
  7. function Part()
  8. p = Instance.new("Part", char)
  9. p.TopSurface = "SmoothNoOutlines"
  10. p.BottomSurface = "SmoothNoOutlines"
  11. p.BrickColor = BrickColor.new("New Yeller")
  12. p.Material = "Neon"
  13. p.Anchored = true
  14. p.CanCollide = false
  15. p.Shape = "Ball"
  16. end
  17. function Part2()
  18. p2 = Instance.new("Part", char)
  19. p2.TopSurface = "SmoothNoOutlines"
  20. p2.BottomSurface = "SmoothNoOutlines"
  21. p2.BrickColor = BrickColor.new("Really black")
  22. p2.Material = "Neon"
  23. p2.Anchored = true
  24. p2.CanCollide = false
  25. p2.Shape = "Ball"
  26. end
  27. function Part3()
  28. p3 = Instance.new("Part", char)
  29. p3.TopSurface = "SmoothNoOutlines"
  30. p3.BottomSurface = "SmoothNoOutlines"
  31. p3.BrickColor = BrickColor.new("Really black")
  32. p3.Material = "Neon"
  33. p3.Anchored = true
  34. p3.CanCollide = false
  35. p3.Shape = "Ball"
  36. end
  37. local Size = 2
  38. local Songs = {
  39. {
  40. SongName = "Skeleton of a Town",
  41. SongDesc = "Nil",
  42. Creator = "iAmAura",
  43. ID = 526102667
  44. },
  45. {
  46. SongName = "Call of Magic",
  47. SongDesc = "Nil",
  48. Creator = "iAmAura",
  49. ID = 526106096
  50. },
  51. {
  52. SongName = "Nightcore - Everytime We Touch",
  53. SongDesc = "Nil",
  54. Creator = "iAmAura",
  55. ID = 511955255
  56. },
  57. {
  58. SongName = "Kasger & Limitless - Miles Away",
  59. SongDesc = "Nil",
  60. Creator = "iAmAura",
  61. ID = 504744582
  62. },
  63. {
  64. SongName = "Mendum - One Third",
  65. SongDesc = "Nil",
  66. Creator = "iAmAura",
  67. ID = 504742829
  68. },
  69. {
  70. SongName = "When Times Were Calm",
  71. SongDesc = "Nil",
  72. Creator = "iAmAura",
  73. ID = 497495161
  74. },
  75. {
  76. SongName = "Sub.Sound - Utopia",
  77. SongDesc = "Nil",
  78. Creator = "iAmAura",
  79. ID = 489438162
  80. },
  81. {
  82. SongName = "mus_ruins (Undertale)",
  83. SongDesc = "Nil",
  84. Creator = "iAmAura",
  85. ID = 427858689
  86. },
  87. {
  88. SongName = "Dawin - Dessert",
  89. SongDesc = "Nil",
  90. Creator = "iAmAura",
  91. ID = 398985560
  92. },
  93. {
  94. SongName = "Flo Rida - My House",
  95. SongDesc = "Nil",
  96. Creator = "iAmAura",
  97. ID = 360755593
  98. },
  99. {
  100. SongName = "Soulja Boy Tell'em - Crank That",
  101. SongDesc = "Nil",
  102. Creator = "iAmAura",
  103. ID = 342687922
  104. },
  105. {
  106. SongName = "Do It In Hollywood - Faber Drive",
  107. SongDesc = "Nil",
  108. Creator = "iAmAura",
  109. ID = 264055218
  110. },
  111. {
  112. SongName = "Faber Drive - Life Is Waiting",
  113. SongDesc = "Nil",
  114. Creator = "iAmAura",
  115. ID = 257639026
  116. },
  117. {
  118. SongName = "Titanfall - PILOTS",
  119. SongDesc = "Nil",
  120. Creator = "iAmAura",
  121. ID = 223206390
  122. },
  123. {
  124. SongName = "Titanfall - FALL TO RISE",
  125. SongDesc = "Nil",
  126. Creator = "iAmAura",
  127. ID = 223206271
  128. },
  129. {
  130. SongName = "OST Titanfall",
  131. SongDesc = "Nil",
  132. Creator = "iAmAura",
  133. ID = 223206183
  134. }
  135. }
  136. local sound = Instance.new("Sound", char.Torso)
  137. sound.Volume = 10
  138. function PlayList()
  139. local sng = Songs[math.random(1, #Songs)]
  140. sound.SoundId = "rbxassetid://" .. sng.ID
  141. sound:Play()
  142. wait(sound.TimeLength)
  143. PlayList()
  144. end
  145. local rs = game:GetService("RunService").RenderStepped
  146. Part()
  147. Part2()
  148. Part3()
  149. spawn(function()
  150. while rs:wait() do
  151. rs:wait()
  152. Size = sound.PlaybackLoudness / 20
  153. asd = sound.PlaybackLoudness / 65
  154. p.Size = Vector3.new(asd, 0.2, asd)
  155. p2.Size = Vector3.new(asd, 0.2, asd)
  156. p3.Size = Vector3.new(asd, 0.2, asd)
  157. if Size < 2 then
  158. Size = 2
  159. end
  160. if not char:FindFirstChild("Part") then
  161. Part()
  162. wait()
  163. end
  164. if Size > 20 then
  165. p.BrickColor = BrickColor.new("Really red")
  166. elseif Size > 10 then
  167. p.BrickColor = BrickColor.new("Institutional white")
  168. else
  169. p.BrickColor = BrickColor.new("Toothpaste")
  170. end
  171. end
  172. end)
  173. spawn(function()
  174. while rs:wait() do
  175. rs:wait()
  176. for i = 1, 360 do
  177. wait()
  178. p.CFrame = char.Torso.CFrame * CFrame.new(0, 9.9, 0) * CFrame.Angles(math.rad(90) + i, 0, math.rad(50))
  179. end
  180. end
  181. end)
  182. spawn(function()
  183. while rs:wait() do
  184. rs:wait()
  185. for i = 1, 360 do
  186. wait()
  187. p2.CFrame = char.Torso.CFrame * CFrame.new(0, 9.9, 0) * CFrame.Angles(math.rad(90) + i, 0, math.rad(60))
  188. end
  189. end
  190. end)
  191. spawn(function()
  192. while rs:wait() do
  193. rs:wait()
  194. for i = 1, 360 do
  195. wait()
  196. p3.CFrame = char.Torso.CFrame * CFrame.new(0, 9.9, 0) * CFrame.Angles(math.rad(90) + i, 0, math.rad(70))
  197. end
  198. end
  199. end)
  200. local bet = ";"
  201. plr.Chatted:connect(function(m)
  202. if m:sub(1, 10) == "StartLoop" .. bet then
  203. PlayList()
  204. end
  205. if m:sub(1, 5) == "Play" .. bet then
  206. local ID = tostring(m:sub(6))
  207. sound.SoundId = "rbxassetid://" .. ID
  208. sound:Play()
  209. end
  210. if m:sub(1, 5) == "Stop" .. bet then
  211. sound:Stop()
  212. end
  213. end)
Add Comment
Please, Sign In to add comment