Upscalefanatic3

Music Circle (RARE)

Mar 20th, 2017
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.59 KB | None | 0 0
  1. wait()
  2. for i,v in pairs(game.Workspace:GetChildren()) do
  3. if v.Name == "Soundbar" then
  4. v:Destroy()
  5. end
  6. end
  7. local runDummyScript = function(f,scri)
  8. local oldenv = getfenv(f)
  9. local newenv = setmetatable({}, {
  10. __index = function(_, k)
  11. if k:lower() == 'script' then
  12. return scri
  13. else
  14. return oldenv[k]
  15. end
  16. end
  17. })
  18. setfenv(f, newenv)
  19. ypcall(function() f() end)
  20. end
  21. function cycle(num)
  22. local section=num % 1 * 3;
  23. local secondary=0.5 * math.pi * (section % 1);
  24. if section < 1 then
  25. return 1,1 - math.cos(secondary),1 - math.sin(secondary);
  26. elseif section < 2 then
  27. return 1 - math.sin(secondary),1,1 - math.cos(secondary);
  28. else
  29. return 1 - math.cos(secondary),1 - math.sin(secondary),1;
  30. end
  31. end
  32. cors = {}
  33. mas = Instance.new("Model",game:GetService("Lighting"))
  34. mas.Name = "CompiledModel"
  35. o1 = Instance.new("Model")
  36. o1.Name = "Soundbar"
  37. o1.Parent = mas
  38. o2 = Instance.new("Part")
  39. o2.Name = "0"
  40. o2.Parent = o1
  41. o2.Position = Vector3.new(9.5, 0.200000018, 0)
  42. o2.Anchored = true
  43. o2.CFrame = CFrame.new(9.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  44. o2.CanCollide = false
  45. o2.Size = Vector3.new(0.5, 0.200000003, 0.5)
  46. o2.BottomSurface = Enum.SurfaceType.Smooth
  47. o2.TopSurface = Enum.SurfaceType.Smooth
  48. o3 = Instance.new("SpecialMesh")
  49. o3.Parent = o2
  50. o3.MeshId = "rbxassetid://9856898"
  51. o3.Scale = Vector3.new(1, 0.400000006, 1)
  52. o3.TextureId = "rbxassetid://2114473"
  53. o3.MeshType = Enum.MeshType.FileMesh
  54. o4 = Instance.new("Part")
  55. o4.Name = "9"
  56. o4.Parent = o1
  57. o4.Position = Vector3.new(5, 0.200000018, 0)
  58. o4.Anchored = true
  59. o4.CFrame = CFrame.new(5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  60. o4.CanCollide = false
  61. o4.Size = Vector3.new(0.5, 0.200000003, 0.5)
  62. o4.BottomSurface = Enum.SurfaceType.Smooth
  63. o4.TopSurface = Enum.SurfaceType.Smooth
  64. o5 = Instance.new("SpecialMesh")
  65. o5.Parent = o4
  66. o5.MeshId = "rbxassetid://9856898"
  67. o5.Scale = Vector3.new(1, 0.400000006, 1)
  68. o5.TextureId = "rbxassetid://2114473"
  69. o5.MeshType = Enum.MeshType.FileMesh
  70. o6 = Instance.new("Part")
  71. o6.Name = "10"
  72. o6.Parent = o1
  73. o6.Position = Vector3.new(4.5, 0.200000018, 0)
  74. o6.Anchored = true
  75. o6.CFrame = CFrame.new(4.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  76. o6.CanCollide = false
  77. o6.Size = Vector3.new(0.5, 0.200000003, 0.5)
  78. o6.BottomSurface = Enum.SurfaceType.Smooth
  79. o6.TopSurface = Enum.SurfaceType.Smooth
  80. o7 = Instance.new("SpecialMesh")
  81. o7.Parent = o6
  82. o7.MeshId = "rbxassetid://9856898"
  83. o7.Scale = Vector3.new(1, 0.400000006, 1)
  84. o7.TextureId = "rbxassetid://2114473"
  85. o7.MeshType = Enum.MeshType.FileMesh
  86. o8 = Instance.new("Part")
  87. o8.Name = "11"
  88. o8.Parent = o1
  89. o8.Position = Vector3.new(4, 0.200000018, 0)
  90. o8.Anchored = true
  91. o8.CFrame = CFrame.new(4, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  92. o8.CanCollide = false
  93. o8.Size = Vector3.new(0.5, 0.200000003, 0.5)
  94. o8.BottomSurface = Enum.SurfaceType.Smooth
  95. o8.TopSurface = Enum.SurfaceType.Smooth
  96. o9 = Instance.new("SpecialMesh")
  97. o9.Parent = o8
  98. o9.MeshId = "rbxassetid://9856898"
  99. o9.Scale = Vector3.new(1, 0.400000006, 1)
  100. o9.TextureId = "rbxassetid://2114473"
  101. o9.MeshType = Enum.MeshType.FileMesh
  102. o10 = Instance.new("Part")
  103. o10.Name = "12"
  104. o10.Parent = o1
  105. o10.Position = Vector3.new(3.5, 0.200000018, 0)
  106. o10.Anchored = true
  107. o10.CFrame = CFrame.new(3.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  108. o10.CanCollide = false
  109. o10.Size = Vector3.new(0.5, 0.200000003, 0.5)
  110. o10.BottomSurface = Enum.SurfaceType.Smooth
  111. o10.TopSurface = Enum.SurfaceType.Smooth
  112. o11 = Instance.new("SpecialMesh")
  113. o11.Parent = o10
  114. o11.MeshId = "rbxassetid://9856898"
  115. o11.Scale = Vector3.new(1, 0.400000006, 1)
  116. o11.TextureId = "rbxassetid://2114473"
  117. o11.MeshType = Enum.MeshType.FileMesh
  118. o12 = Instance.new("Part")
  119. o12.Name = "13"
  120. o12.Parent = o1
  121. o12.Position = Vector3.new(3, 0.200000018, 0)
  122. o12.Anchored = true
  123. o12.CFrame = CFrame.new(3, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  124. o12.CanCollide = false
  125. o12.Size = Vector3.new(0.5, 0.200000003, 0.5)
  126. o12.BottomSurface = Enum.SurfaceType.Smooth
  127. o12.TopSurface = Enum.SurfaceType.Smooth
  128. o13 = Instance.new("SpecialMesh")
  129. o13.Parent = o12
  130. o13.MeshId = "rbxassetid://9856898"
  131. o13.Scale = Vector3.new(1, 0.400000006, 1)
  132. o13.TextureId = "rbxassetid://2114473"
  133. o13.MeshType = Enum.MeshType.FileMesh
  134. o14 = Instance.new("Part")
  135. o14.Name = "1"
  136. o14.Parent = o1
  137. o14.Position = Vector3.new(9, 0.200000018, 0)
  138. o14.Anchored = true
  139. o14.CFrame = CFrame.new(9, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  140. o14.CanCollide = false
  141. o14.Size = Vector3.new(0.5, 0.200000003, 0.5)
  142. o14.BottomSurface = Enum.SurfaceType.Smooth
  143. o14.TopSurface = Enum.SurfaceType.Smooth
  144. o15 = Instance.new("SpecialMesh")
  145. o15.Parent = o14
  146. o15.MeshId = "rbxassetid://9856898"
  147. o15.Scale = Vector3.new(1, 0.400000006, 1)
  148. o15.TextureId = "rbxassetid://2114473"
  149. o15.MeshType = Enum.MeshType.FileMesh
  150. o16 = Instance.new("Part")
  151. o16.Name = "19"
  152. o16.Parent = o1
  153. o16.Position = Vector3.new(0, 0.200000018, 0)
  154. o16.Anchored = true
  155. o16.CFrame = CFrame.new(0, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  156. o16.CanCollide = false
  157. o16.Size = Vector3.new(0.5, 0.200000003, 0.5)
  158. o16.BottomSurface = Enum.SurfaceType.Smooth
  159. o16.TopSurface = Enum.SurfaceType.Smooth
  160. o17 = Instance.new("SpecialMesh")
  161. o17.Parent = o16
  162. o17.MeshId = "rbxassetid://9856898"
  163. o17.Scale = Vector3.new(1, 0.400000006, 1)
  164. o17.TextureId = "rbxassetid://2114473"
  165. o17.MeshType = Enum.MeshType.FileMesh
  166. o18 = Instance.new("Part")
  167. o18.Name = "20"
  168. o18.Parent = o1
  169. o18.Position = Vector3.new(-0.5, 0.200000018, 0)
  170. o18.Anchored = true
  171. o18.CFrame = CFrame.new(-0.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  172. o18.CanCollide = false
  173. o18.Size = Vector3.new(0.5, 0.200000003, 0.5)
  174. o18.BottomSurface = Enum.SurfaceType.Smooth
  175. o18.TopSurface = Enum.SurfaceType.Smooth
  176. o19 = Instance.new("SpecialMesh")
  177. o19.Parent = o18
  178. o19.MeshId = "rbxassetid://9856898"
  179. o19.Scale = Vector3.new(1, 0.400000006, 1)
  180. o19.TextureId = "rbxassetid://2114473"
  181. o19.MeshType = Enum.MeshType.FileMesh
  182. o20 = Instance.new("Part")
  183. o20.Name = "21"
  184. o20.Parent = o1
  185. o20.Position = Vector3.new(-1, 0.200000018, 0)
  186. o20.Anchored = true
  187. o20.CFrame = CFrame.new(-1, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  188. o20.CanCollide = false
  189. o20.Size = Vector3.new(0.5, 0.200000003, 0.5)
  190. o20.BottomSurface = Enum.SurfaceType.Smooth
  191. o20.TopSurface = Enum.SurfaceType.Smooth
  192. o21 = Instance.new("SpecialMesh")
  193. o21.Parent = o20
  194. o21.MeshId = "rbxassetid://9856898"
  195. o21.Scale = Vector3.new(1, 0.400000006, 1)
  196. o21.TextureId = "rbxassetid://2114473"
  197. o21.MeshType = Enum.MeshType.FileMesh
  198. o22 = Instance.new("Part")
  199. o22.Name = "22"
  200. o22.Parent = o1
  201. o22.Position = Vector3.new(-1.5, 0.200000018, 0)
  202. o22.Anchored = true
  203. o22.CFrame = CFrame.new(-1.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  204. o22.CanCollide = false
  205. o22.Size = Vector3.new(0.5, 0.200000003, 0.5)
  206. o22.BottomSurface = Enum.SurfaceType.Smooth
  207. o22.TopSurface = Enum.SurfaceType.Smooth
  208. o23 = Instance.new("SpecialMesh")
  209. o23.Parent = o22
  210. o23.MeshId = "rbxassetid://9856898"
  211. o23.Scale = Vector3.new(1, 0.400000006, 1)
  212. o23.TextureId = "rbxassetid://2114473"
  213. o23.MeshType = Enum.MeshType.FileMesh
  214. o24 = Instance.new("Part")
  215. o24.Name = "23"
  216. o24.Parent = o1
  217. o24.Position = Vector3.new(-2, 0.200000018, 0)
  218. o24.Anchored = true
  219. o24.CFrame = CFrame.new(-2, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  220. o24.CanCollide = false
  221. o24.Size = Vector3.new(0.5, 0.200000003, 0.5)
  222. o24.BottomSurface = Enum.SurfaceType.Smooth
  223. o24.TopSurface = Enum.SurfaceType.Smooth
  224. o25 = Instance.new("SpecialMesh")
  225. o25.Parent = o24
  226. o25.MeshId = "rbxassetid://9856898"
  227. o25.Scale = Vector3.new(1, 0.400000006, 1)
  228. o25.TextureId = "rbxassetid://2114473"
  229. o25.MeshType = Enum.MeshType.FileMesh
  230. o26 = Instance.new("Part")
  231. o26.Name = "2"
  232. o26.Parent = o1
  233. o26.Position = Vector3.new(8.5, 0.200000018, 0)
  234. o26.Anchored = true
  235. o26.CFrame = CFrame.new(8.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  236. o26.CanCollide = false
  237. o26.Size = Vector3.new(0.5, 0.200000003, 0.5)
  238. o26.BottomSurface = Enum.SurfaceType.Smooth
  239. o26.TopSurface = Enum.SurfaceType.Smooth
  240. o27 = Instance.new("SpecialMesh")
  241. o27.Parent = o26
  242. o27.MeshId = "rbxassetid://9856898"
  243. o27.Scale = Vector3.new(1, 0.400000006, 1)
  244. o27.TextureId = "rbxassetid://2114473"
  245. o27.MeshType = Enum.MeshType.FileMesh
  246. o28 = Instance.new("Part")
  247. o28.Name = "29"
  248. o28.Parent = o1
  249. o28.Position = Vector3.new(-5, 0.200000018, 0)
  250. o28.Anchored = true
  251. o28.CFrame = CFrame.new(-5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  252. o28.CanCollide = false
  253. o28.Size = Vector3.new(0.5, 0.200000003, 0.5)
  254. o28.BottomSurface = Enum.SurfaceType.Smooth
  255. o28.TopSurface = Enum.SurfaceType.Smooth
  256. o29 = Instance.new("SpecialMesh")
  257. o29.Parent = o28
  258. o29.MeshId = "rbxassetid://9856898"
  259. o29.Scale = Vector3.new(1, 0.400000006, 1)
  260. o29.TextureId = "rbxassetid://2114473"
  261. o29.MeshType = Enum.MeshType.FileMesh
  262. o30 = Instance.new("Part")
  263. o30.Name = "30"
  264. o30.Parent = o1
  265. o30.Position = Vector3.new(-5.5, 0.200000018, 0)
  266. o30.Anchored = true
  267. o30.CFrame = CFrame.new(-5.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  268. o30.CanCollide = false
  269. o30.Size = Vector3.new(0.5, 0.200000003, 0.5)
  270. o30.BottomSurface = Enum.SurfaceType.Smooth
  271. o30.TopSurface = Enum.SurfaceType.Smooth
  272. o31 = Instance.new("SpecialMesh")
  273. o31.Parent = o30
  274. o31.MeshId = "rbxassetid://9856898"
  275. o31.Scale = Vector3.new(1, 0.400000006, 1)
  276. o31.TextureId = "rbxassetid://2114473"
  277. o31.MeshType = Enum.MeshType.FileMesh
  278. o32 = Instance.new("Part")
  279. o32.Name = "31"
  280. o32.Parent = o1
  281. o32.Position = Vector3.new(-6, 0.200000018, 0)
  282. o32.Anchored = true
  283. o32.CFrame = CFrame.new(-6, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  284. o32.CanCollide = false
  285. o32.Size = Vector3.new(0.5, 0.200000003, 0.5)
  286. o32.BottomSurface = Enum.SurfaceType.Smooth
  287. o32.TopSurface = Enum.SurfaceType.Smooth
  288. o33 = Instance.new("SpecialMesh")
  289. o33.Parent = o32
  290. o33.MeshId = "rbxassetid://9856898"
  291. o33.Scale = Vector3.new(1, 0.400000006, 1)
  292. o33.TextureId = "rbxassetid://2114473"
  293. o33.MeshType = Enum.MeshType.FileMesh
  294. o34 = Instance.new("Part")
  295. o34.Name = "32"
  296. o34.Parent = o1
  297. o34.Position = Vector3.new(-6.5, 0.200000018, 0)
  298. o34.Anchored = true
  299. o34.CFrame = CFrame.new(-6.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  300. o34.CanCollide = false
  301. o34.Size = Vector3.new(0.5, 0.200000003, 0.5)
  302. o34.BottomSurface = Enum.SurfaceType.Smooth
  303. o34.TopSurface = Enum.SurfaceType.Smooth
  304. o35 = Instance.new("SpecialMesh")
  305. o35.Parent = o34
  306. o35.MeshId = "rbxassetid://9856898"
  307. o35.Scale = Vector3.new(1, 0.400000006, 1)
  308. o35.TextureId = "rbxassetid://2114473"
  309. o35.MeshType = Enum.MeshType.FileMesh
  310. o36 = Instance.new("Part")
  311. o36.Name = "33"
  312. o36.Parent = o1
  313. o36.Position = Vector3.new(-7, 0.200000018, 0)
  314. o36.Anchored = true
  315. o36.CFrame = CFrame.new(-7, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  316. o36.CanCollide = false
  317. o36.Size = Vector3.new(0.5, 0.200000003, 0.5)
  318. o36.BottomSurface = Enum.SurfaceType.Smooth
  319. o36.TopSurface = Enum.SurfaceType.Smooth
  320. o37 = Instance.new("SpecialMesh")
  321. o37.Parent = o36
  322. o37.MeshId = "rbxassetid://9856898"
  323. o37.Scale = Vector3.new(1, 0.400000006, 1)
  324. o37.TextureId = "rbxassetid://2114473"
  325. o37.MeshType = Enum.MeshType.FileMesh
  326. o38 = Instance.new("Part")
  327. o38.Name = "3"
  328. o38.Parent = o1
  329. o38.Position = Vector3.new(8, 0.200000018, 0)
  330. o38.Anchored = true
  331. o38.CFrame = CFrame.new(8, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  332. o38.CanCollide = false
  333. o38.Size = Vector3.new(0.5, 0.200000003, 0.5)
  334. o38.BottomSurface = Enum.SurfaceType.Smooth
  335. o38.TopSurface = Enum.SurfaceType.Smooth
  336. o39 = Instance.new("SpecialMesh")
  337. o39.Parent = o38
  338. o39.MeshId = "rbxassetid://9856898"
  339. o39.Scale = Vector3.new(1, 0.400000006, 1)
  340. o39.TextureId = "rbxassetid://2114473"
  341. o39.MeshType = Enum.MeshType.FileMesh
  342. o40 = Instance.new("Part")
  343. o40.Name = "14"
  344. o40.Parent = o1
  345. o40.Position = Vector3.new(2.5, 0.200000018, 0)
  346. o40.Anchored = true
  347. o40.CFrame = CFrame.new(2.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  348. o40.CanCollide = false
  349. o40.Size = Vector3.new(0.5, 0.200000003, 0.5)
  350. o40.BottomSurface = Enum.SurfaceType.Smooth
  351. o40.TopSurface = Enum.SurfaceType.Smooth
  352. o41 = Instance.new("SpecialMesh")
  353. o41.Parent = o40
  354. o41.MeshId = "rbxassetid://9856898"
  355. o41.Scale = Vector3.new(1, 0.400000006, 1)
  356. o41.TextureId = "rbxassetid://2114473"
  357. o41.MeshType = Enum.MeshType.FileMesh
  358. o42 = Instance.new("Part")
  359. o42.Name = "24"
  360. o42.Parent = o1
  361. o42.Position = Vector3.new(-2.5, 0.200000018, 0)
  362. o42.Anchored = true
  363. o42.CFrame = CFrame.new(-2.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  364. o42.CanCollide = false
  365. o42.Size = Vector3.new(0.5, 0.200000003, 0.5)
  366. o42.BottomSurface = Enum.SurfaceType.Smooth
  367. o42.TopSurface = Enum.SurfaceType.Smooth
  368. o43 = Instance.new("SpecialMesh")
  369. o43.Parent = o42
  370. o43.MeshId = "rbxassetid://9856898"
  371. o43.Scale = Vector3.new(1, 0.400000006, 1)
  372. o43.TextureId = "rbxassetid://2114473"
  373. o43.MeshType = Enum.MeshType.FileMesh
  374. o44 = Instance.new("Part")
  375. o44.Name = "4"
  376. o44.Parent = o1
  377. o44.Position = Vector3.new(7.5, 0.200000018, 0)
  378. o44.Anchored = true
  379. o44.CFrame = CFrame.new(7.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  380. o44.CanCollide = false
  381. o44.Size = Vector3.new(0.5, 0.200000003, 0.5)
  382. o44.BottomSurface = Enum.SurfaceType.Smooth
  383. o44.TopSurface = Enum.SurfaceType.Smooth
  384. o45 = Instance.new("SpecialMesh")
  385. o45.Parent = o44
  386. o45.MeshId = "rbxassetid://9856898"
  387. o45.Scale = Vector3.new(1, 0.400000006, 1)
  388. o45.TextureId = "rbxassetid://2114473"
  389. o45.MeshType = Enum.MeshType.FileMesh
  390. o46 = Instance.new("Part")
  391. o46.Name = "34"
  392. o46.Parent = o1
  393. o46.Position = Vector3.new(-7.5, 0.200000018, 0)
  394. o46.Anchored = true
  395. o46.CFrame = CFrame.new(-7.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  396. o46.CanCollide = false
  397. o46.Size = Vector3.new(0.5, 0.200000003, 0.5)
  398. o46.BottomSurface = Enum.SurfaceType.Smooth
  399. o46.TopSurface = Enum.SurfaceType.Smooth
  400. o47 = Instance.new("SpecialMesh")
  401. o47.Parent = o46
  402. o47.MeshId = "rbxassetid://9856898"
  403. o47.Scale = Vector3.new(1, 0.400000006, 1)
  404. o47.TextureId = "rbxassetid://2114473"
  405. o47.MeshType = Enum.MeshType.FileMesh
  406. o48 = Instance.new("Part")
  407. o48.Name = "15"
  408. o48.Parent = o1
  409. o48.Position = Vector3.new(2, 0.200000018, 0)
  410. o48.Anchored = true
  411. o48.CFrame = CFrame.new(2, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  412. o48.CanCollide = false
  413. o48.Size = Vector3.new(0.5, 0.200000003, 0.5)
  414. o48.BottomSurface = Enum.SurfaceType.Smooth
  415. o48.TopSurface = Enum.SurfaceType.Smooth
  416. o49 = Instance.new("SpecialMesh")
  417. o49.Parent = o48
  418. o49.MeshId = "rbxassetid://9856898"
  419. o49.Scale = Vector3.new(1, 0.400000006, 1)
  420. o49.TextureId = "rbxassetid://2114473"
  421. o49.MeshType = Enum.MeshType.FileMesh
  422. o50 = Instance.new("Part")
  423. o50.Name = "25"
  424. o50.Parent = o1
  425. o50.Position = Vector3.new(-3, 0.200000018, 0)
  426. o50.Anchored = true
  427. o50.CFrame = CFrame.new(-3, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  428. o50.CanCollide = false
  429. o50.Size = Vector3.new(0.5, 0.200000003, 0.5)
  430. o50.BottomSurface = Enum.SurfaceType.Smooth
  431. o50.TopSurface = Enum.SurfaceType.Smooth
  432. o51 = Instance.new("SpecialMesh")
  433. o51.Parent = o50
  434. o51.MeshId = "rbxassetid://9856898"
  435. o51.Scale = Vector3.new(1, 0.400000006, 1)
  436. o51.TextureId = "rbxassetid://2114473"
  437. o51.MeshType = Enum.MeshType.FileMesh
  438. o52 = Instance.new("Part")
  439. o52.Name = "5"
  440. o52.Parent = o1
  441. o52.Position = Vector3.new(7, 0.200000018, 0)
  442. o52.Anchored = true
  443. o52.CFrame = CFrame.new(7, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  444. o52.CanCollide = false
  445. o52.Size = Vector3.new(0.5, 0.200000003, 0.5)
  446. o52.BottomSurface = Enum.SurfaceType.Smooth
  447. o52.TopSurface = Enum.SurfaceType.Smooth
  448. o53 = Instance.new("SpecialMesh")
  449. o53.Parent = o52
  450. o53.MeshId = "rbxassetid://9856898"
  451. o53.Scale = Vector3.new(1, 0.400000006, 1)
  452. o53.TextureId = "rbxassetid://2114473"
  453. o53.MeshType = Enum.MeshType.FileMesh
  454. o54 = Instance.new("Part")
  455. o54.Name = "35"
  456. o54.Parent = o1
  457. o54.Position = Vector3.new(-8, 0.200000018, 0)
  458. o54.Anchored = true
  459. o54.CFrame = CFrame.new(-8, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  460. o54.CanCollide = false
  461. o54.Size = Vector3.new(0.5, 0.200000003, 0.5)
  462. o54.BottomSurface = Enum.SurfaceType.Smooth
  463. o54.TopSurface = Enum.SurfaceType.Smooth
  464. o55 = Instance.new("SpecialMesh")
  465. o55.Parent = o54
  466. o55.MeshId = "rbxassetid://9856898"
  467. o55.Scale = Vector3.new(1, 0.400000006, 1)
  468. o55.TextureId = "rbxassetid://2114473"
  469. o55.MeshType = Enum.MeshType.FileMesh
  470. o56 = Instance.new("Part")
  471. o56.Name = "16"
  472. o56.Parent = o1
  473. o56.Position = Vector3.new(1.5, 0.200000018, 0)
  474. o56.Anchored = true
  475. o56.CFrame = CFrame.new(1.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  476. o56.CanCollide = false
  477. o56.Size = Vector3.new(0.5, 0.200000003, 0.5)
  478. o56.BottomSurface = Enum.SurfaceType.Smooth
  479. o56.TopSurface = Enum.SurfaceType.Smooth
  480. o57 = Instance.new("SpecialMesh")
  481. o57.Parent = o56
  482. o57.MeshId = "rbxassetid://9856898"
  483. o57.Scale = Vector3.new(1, 0.400000006, 1)
  484. o57.TextureId = "rbxassetid://2114473"
  485. o57.MeshType = Enum.MeshType.FileMesh
  486. o58 = Instance.new("Part")
  487. o58.Name = "6"
  488. o58.Parent = o1
  489. o58.Position = Vector3.new(6.5, 0.200000018, 0)
  490. o58.Anchored = true
  491. o58.CFrame = CFrame.new(6.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  492. o58.CanCollide = false
  493. o58.Size = Vector3.new(0.5, 0.200000003, 0.5)
  494. o58.BottomSurface = Enum.SurfaceType.Smooth
  495. o58.TopSurface = Enum.SurfaceType.Smooth
  496. o59 = Instance.new("SpecialMesh")
  497. o59.Parent = o58
  498. o59.MeshId = "rbxassetid://9856898"
  499. o59.Scale = Vector3.new(1, 0.400000006, 1)
  500. o59.TextureId = "rbxassetid://2114473"
  501. o59.MeshType = Enum.MeshType.FileMesh
  502. o60 = Instance.new("Part")
  503. o60.Name = "26"
  504. o60.Parent = o1
  505. o60.Position = Vector3.new(-3.5, 0.200000018, 0)
  506. o60.Anchored = true
  507. o60.CFrame = CFrame.new(-3.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  508. o60.CanCollide = false
  509. o60.Size = Vector3.new(0.5, 0.200000003, 0.5)
  510. o60.BottomSurface = Enum.SurfaceType.Smooth
  511. o60.TopSurface = Enum.SurfaceType.Smooth
  512. o61 = Instance.new("SpecialMesh")
  513. o61.Parent = o60
  514. o61.MeshId = "rbxassetid://9856898"
  515. o61.Scale = Vector3.new(1, 0.400000006, 1)
  516. o61.TextureId = "rbxassetid://2114473"
  517. o61.MeshType = Enum.MeshType.FileMesh
  518. o62 = Instance.new("Part")
  519. o62.Name = "36"
  520. o62.Parent = o1
  521. o62.Position = Vector3.new(-8.5, 0.200000018, 0)
  522. o62.Anchored = true
  523. o62.CFrame = CFrame.new(-8.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  524. o62.CanCollide = false
  525. o62.Size = Vector3.new(0.5, 0.200000003, 0.5)
  526. o62.BottomSurface = Enum.SurfaceType.Smooth
  527. o62.TopSurface = Enum.SurfaceType.Smooth
  528. o63 = Instance.new("SpecialMesh")
  529. o63.Parent = o62
  530. o63.MeshId = "rbxassetid://9856898"
  531. o63.Scale = Vector3.new(1, 0.400000006, 1)
  532. o63.TextureId = "rbxassetid://2114473"
  533. o63.MeshType = Enum.MeshType.FileMesh
  534. o64 = Instance.new("Part")
  535. o64.Name = "17"
  536. o64.Parent = o1
  537. o64.Position = Vector3.new(1, 0.200000018, 0)
  538. o64.Anchored = true
  539. o64.CFrame = CFrame.new(1, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  540. o64.CanCollide = false
  541. o64.Size = Vector3.new(0.5, 0.200000003, 0.5)
  542. o64.BottomSurface = Enum.SurfaceType.Smooth
  543. o64.TopSurface = Enum.SurfaceType.Smooth
  544. o65 = Instance.new("SpecialMesh")
  545. o65.Parent = o64
  546. o65.MeshId = "rbxassetid://9856898"
  547. o65.Scale = Vector3.new(1, 0.400000006, 1)
  548. o65.TextureId = "rbxassetid://2114473"
  549. o65.MeshType = Enum.MeshType.FileMesh
  550. o66 = Instance.new("Part")
  551. o66.Name = "27"
  552. o66.Parent = o1
  553. o66.Position = Vector3.new(-4, 0.200000018, 0)
  554. o66.Anchored = true
  555. o66.CFrame = CFrame.new(-4, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  556. o66.CanCollide = false
  557. o66.Size = Vector3.new(0.5, 0.200000003, 0.5)
  558. o66.BottomSurface = Enum.SurfaceType.Smooth
  559. o66.TopSurface = Enum.SurfaceType.Smooth
  560. o67 = Instance.new("SpecialMesh")
  561. o67.Parent = o66
  562. o67.MeshId = "rbxassetid://9856898"
  563. o67.Scale = Vector3.new(1, 0.400000006, 1)
  564. o67.TextureId = "rbxassetid://2114473"
  565. o67.MeshType = Enum.MeshType.FileMesh
  566. o68 = Instance.new("Part")
  567. o68.Name = "7"
  568. o68.Parent = o1
  569. o68.Position = Vector3.new(6, 0.200000018, 0)
  570. o68.Anchored = true
  571. o68.CFrame = CFrame.new(6, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  572. o68.CanCollide = false
  573. o68.Size = Vector3.new(0.5, 0.200000003, 0.5)
  574. o68.BottomSurface = Enum.SurfaceType.Smooth
  575. o68.TopSurface = Enum.SurfaceType.Smooth
  576. o69 = Instance.new("SpecialMesh")
  577. o69.Parent = o68
  578. o69.MeshId = "rbxassetid://9856898"
  579. o69.Scale = Vector3.new(1, 0.400000006, 1)
  580. o69.TextureId = "rbxassetid://2114473"
  581. o69.MeshType = Enum.MeshType.FileMesh
  582. o70 = Instance.new("Part")
  583. o70.Name = "37"
  584. o70.Parent = o1
  585. o70.Position = Vector3.new(-9, 0.200000018, 0)
  586. o70.Anchored = true
  587. o70.CFrame = CFrame.new(-9, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  588. o70.CanCollide = false
  589. o70.Size = Vector3.new(0.5, 0.200000003, 0.5)
  590. o70.BottomSurface = Enum.SurfaceType.Smooth
  591. o70.TopSurface = Enum.SurfaceType.Smooth
  592. o71 = Instance.new("SpecialMesh")
  593. o71.Parent = o70
  594. o71.MeshId = "rbxassetid://9856898"
  595. o71.Scale = Vector3.new(1, 0.400000006, 1)
  596. o71.TextureId = "rbxassetid://2114473"
  597. o71.MeshType = Enum.MeshType.FileMesh
  598. o72 = Instance.new("Part")
  599. o72.Name = "8"
  600. o72.Parent = o1
  601. o72.Position = Vector3.new(5.5, 0.200000018, 0)
  602. o72.Anchored = true
  603. o72.CFrame = CFrame.new(5.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  604. o72.CanCollide = false
  605. o72.Size = Vector3.new(0.5, 0.200000003, 0.5)
  606. o72.BottomSurface = Enum.SurfaceType.Smooth
  607. o72.TopSurface = Enum.SurfaceType.Smooth
  608. o73 = Instance.new("SpecialMesh")
  609. o73.Parent = o72
  610. o73.MeshId = "rbxassetid://9856898"
  611. o73.Scale = Vector3.new(1, 0.400000006, 1)
  612. o73.TextureId = "rbxassetid://2114473"
  613. o73.MeshType = Enum.MeshType.FileMesh
  614. o74 = Instance.new("Part")
  615. o74.Name = "18"
  616. o74.Parent = o1
  617. o74.Position = Vector3.new(0.5, 0.200000018, 0)
  618. o74.Anchored = true
  619. o74.CFrame = CFrame.new(0.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  620. o74.CanCollide = false
  621. o74.Size = Vector3.new(0.5, 0.200000003, 0.5)
  622. o74.BottomSurface = Enum.SurfaceType.Smooth
  623. o74.TopSurface = Enum.SurfaceType.Smooth
  624. o75 = Instance.new("SpecialMesh")
  625. o75.Parent = o74
  626. o75.MeshId = "rbxassetid://9856898"
  627. o75.Scale = Vector3.new(1, 0.400000006, 1)
  628. o75.TextureId = "rbxassetid://2114473"
  629. o75.MeshType = Enum.MeshType.FileMesh
  630. o76 = Instance.new("Part")
  631. o76.Name = "28"
  632. o76.Parent = o1
  633. o76.Position = Vector3.new(-4.5, 0.200000018, 0)
  634. o76.Anchored = true
  635. o76.CFrame = CFrame.new(-4.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  636. o76.CanCollide = false
  637. o76.Size = Vector3.new(0.5, 0.200000003, 0.5)
  638. o76.BottomSurface = Enum.SurfaceType.Smooth
  639. o76.TopSurface = Enum.SurfaceType.Smooth
  640. o77 = Instance.new("SpecialMesh")
  641. o77.Parent = o76
  642. o77.MeshId = "rbxassetid://9856898"
  643. o77.Scale = Vector3.new(1, 0.400000006, 1)
  644. o77.TextureId = "rbxassetid://2114473"
  645. o77.MeshType = Enum.MeshType.FileMesh
  646. o78 = Instance.new("Part")
  647. o78.Name = "38"
  648. o78.Parent = o1
  649. o78.Position = Vector3.new(-9.5, 0.200000018, 0)
  650. o78.Anchored = true
  651. o78.CFrame = CFrame.new(-9.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  652. o78.CanCollide = false
  653. o78.Size = Vector3.new(0.5, 0.200000003, 0.5)
  654. o78.BottomSurface = Enum.SurfaceType.Smooth
  655. o78.TopSurface = Enum.SurfaceType.Smooth
  656. o79 = Instance.new("SpecialMesh")
  657. o79.Parent = o78
  658. o79.MeshId = "rbxassetid://9856898"
  659. o79.Scale = Vector3.new(1, 0.400000006, 1)
  660. o79.TextureId = "rbxassetid://2114473"
  661. o79.MeshType = Enum.MeshType.FileMesh
  662. o80 = Instance.new("SpecialMesh")
  663. o80.Parent = o1
  664. o80.MeshId = "rbxassetid://9856898"
  665. o80.Scale = Vector3.new(40, 0.400000006, 2)
  666. o80.TextureId = "rbxassetid://2114473"
  667. o80.VertexColor = Vector3.new(0, 0, 0)
  668. o80.MeshType = Enum.MeshType.FileMesh
  669. mas.Parent = workspace
  670. mas:MakeJoints()
  671. local mas1 = mas:GetChildren()
  672. for i=1,#mas1 do
  673. mas1[i].Parent = game.Players.LocalPlayer.Character
  674. ypcall(function() mas1[i]:MakeJoints() end)
  675. end
  676. mas:Destroy()
  677. for i=1,#cors do
  678. coroutine.resume(cors[i])
  679. end
  680.  
  681. local Height=20 -- Max height of the bars
  682. local plr=game.Players.LocalPlayer
  683.  
  684. o81 = Instance.new("Sound")
  685. o81.Parent = plr.Character.Torso
  686. o81.SoundId = "rbxassetid://508162596"
  687. o81.Volume = 3
  688. o81.Looped = true
  689.  
  690. -- Objects
  691. -- Objects
  692.  
  693. local MusicGui = Instance.new("ScreenGui")
  694. local MainFrame = Instance.new("Frame")
  695. local SongName = Instance.new("TextLabel")
  696. local SavedSongs = Instance.new("TextLabel")
  697. local OpenSaved = Instance.new("TextButton")
  698. local Play = Instance.new("TextButton")
  699. local Searchcat = Instance.new("TextBox")
  700. local ID = Instance.new("TextBox")
  701. local Search = Instance.new("TextButton")
  702. local Pause = Instance.new("TextButton")
  703. local Resume = Instance.new("TextButton")
  704. local Close = Instance.new("TextButton")
  705. local CurrentVolume = Instance.new("TextLabel")
  706. local VolUp = Instance.new("TextButton")
  707. local VolDown = Instance.new("TextButton")
  708. local Playlist = Instance.new("TextLabel")
  709. local check = Instance.new("TextButton")
  710. local skip = Instance.new("TextButton")
  711. local forward = Instance.new("TextButton")
  712. local rewind = Instance.new("TextButton")
  713. local previous = Instance.new("TextButton")
  714. local stime = Instance.new("TextLabel")
  715. local Settings = Instance.new("TextButton")
  716. local SavedList = Instance.new("Frame")
  717. local fav = Instance.new("TextButton")
  718. local close = Instance.new("TextButton")
  719. local song = Instance.new("TextButton")
  720. local Favs = Instance.new("Frame")
  721. local Title = Instance.new("TextLabel")
  722. local close_2 = Instance.new("TextButton")
  723. local Open = Instance.new("TextButton")
  724.  
  725. -- Properties
  726. MusicGui.Name = "Music Gui"
  727. MusicGui.Parent = game.Players.LocalPlayer.PlayerGui
  728.  
  729. MainFrame.Name = "MainFrame"
  730. MainFrame.Parent = MusicGui
  731. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  732. MainFrame.BackgroundTransparency = 0.34999999403954
  733. MainFrame.BorderColor3 = Color3.new(0.403922, 0.403922, 0.403922)
  734. MainFrame.BorderSizePixel = 5
  735. MainFrame.Position = UDim2.new(0, 0, 0.349999994, 0)
  736. MainFrame.Size = UDim2.new(0.250000003, 0, 0.349999994, 0)
  737.  
  738. SongName.Name = "SongName"
  739. SongName.Parent = MainFrame
  740. SongName.BackgroundColor3 = Color3.new(0, 0, 0)
  741. SongName.Position = UDim2.new(0.100000001, 0, 0.100000001, 0)
  742. SongName.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  743. SongName.Font = Enum.Font.SourceSans
  744. SongName.FontSize = Enum.FontSize.Size14
  745. SongName.Text = "Song"
  746. SongName.TextColor3 = Color3.new(1, 1, 1)
  747. SongName.TextScaled = true
  748. SongName.TextWrapped = true
  749. SongName.TextXAlignment = Enum.TextXAlignment.Left
  750.  
  751. SavedSongs.Name = "SavedSongs"
  752. SavedSongs.Parent = MainFrame
  753. SavedSongs.BackgroundColor3 = Color3.new(0, 0, 0)
  754. SavedSongs.Position = UDim2.new(0.100000001, 0, 0.400000006, 0)
  755. SavedSongs.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  756. SavedSongs.Font = Enum.Font.SourceSans
  757. SavedSongs.FontSize = Enum.FontSize.Size14
  758. SavedSongs.Text = "Saved"
  759. SavedSongs.TextColor3 = Color3.new(1, 1, 1)
  760. SavedSongs.TextScaled = true
  761. SavedSongs.TextWrapped = true
  762. SavedSongs.TextXAlignment = Enum.TextXAlignment.Left
  763.  
  764. OpenSaved.Name = "OpenSaved"
  765. OpenSaved.Parent = MainFrame
  766. OpenSaved.BackgroundColor3 = Color3.new(0, 0, 0)
  767. OpenSaved.Position = UDim2.new(0.800000012, 0, 0.400000006, 0)
  768. OpenSaved.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  769. OpenSaved.Font = Enum.Font.SourceSans
  770. OpenSaved.FontSize = Enum.FontSize.Size14
  771. OpenSaved.Text = ">"
  772. OpenSaved.TextColor3 = Color3.new(1, 1, 1)
  773. OpenSaved.TextScaled = true
  774. OpenSaved.TextWrapped = true
  775.  
  776. Play.Name = "Play"
  777. Play.Parent = MainFrame
  778. Play.BackgroundColor3 = Color3.new(0, 0, 0)
  779. Play.Position = UDim2.new(0.819999993, 0, 0.25, 0)
  780. Play.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  781. Play.Font = Enum.Font.SourceSans
  782. Play.FontSize = Enum.FontSize.Size14
  783. Play.Text = "Play"
  784. Play.TextColor3 = Color3.new(1, 1, 1)
  785. Play.TextScaled = true
  786. Play.TextWrapped = true
  787.  
  788. Searchcat.Name = "Searchcat"
  789. Searchcat.Parent = MainFrame
  790. Searchcat.BackgroundColor3 = Color3.new(0, 0, 0)
  791. Searchcat.Position = UDim2.new(0.100000001, 0, 0.550000012, 0)
  792. Searchcat.Selectable = false
  793. Searchcat.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  794. Searchcat.Font = Enum.Font.SourceSans
  795. Searchcat.FontSize = Enum.FontSize.Size14
  796. Searchcat.Text = "Search"
  797. Searchcat.TextColor3 = Color3.new(1, 1, 1)
  798. Searchcat.TextScaled = true
  799. Searchcat.TextWrapped = true
  800. Searchcat.TextXAlignment = Enum.TextXAlignment.Left
  801.  
  802. ID.Name = "ID"
  803. ID.Parent = MainFrame
  804. ID.BackgroundColor3 = Color3.new(0, 0, 0)
  805. ID.Position = UDim2.new(0.100000001, 0, 0.25, 0)
  806. ID.Selectable = false
  807. ID.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  808. ID.Font = Enum.Font.SourceSans
  809. ID.FontSize = Enum.FontSize.Size14
  810. ID.Text = "ID"
  811. ID.TextColor3 = Color3.new(1, 1, 1)
  812. ID.TextScaled = true
  813. ID.TextWrapped = true
  814. ID.TextXAlignment = Enum.TextXAlignment.Left
  815.  
  816. Search.Name = "Search"
  817. Search.Parent = MainFrame
  818. Search.BackgroundColor3 = Color3.new(0, 0, 0)
  819. Search.Position = UDim2.new(0.819999993, 0, 0.550000012, 0)
  820. Search.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  821. Search.Font = Enum.Font.SourceSans
  822. Search.FontSize = Enum.FontSize.Size14
  823. Search.Text = "Search"
  824. Search.TextColor3 = Color3.new(1, 1, 1)
  825. Search.TextScaled = true
  826. Search.TextWrapped = true
  827.  
  828. Pause.Name = "Pause"
  829. Pause.Parent = MainFrame
  830. Pause.BackgroundColor3 = Color3.new(0, 0, 0)
  831. Pause.Position = UDim2.new(0.425000012, 0, 0.699999988, 0)
  832. Pause.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  833. Pause.Font = Enum.Font.SourceSans
  834. Pause.FontSize = Enum.FontSize.Size14
  835. Pause.Text = "Pause"
  836. Pause.TextColor3 = Color3.new(1, 1, 1)
  837. Pause.TextScaled = true
  838. Pause.TextWrapped = true
  839.  
  840. Resume.Name = "Resume"
  841. Resume.Parent = MainFrame
  842. Resume.BackgroundColor3 = Color3.new(0, 0, 0)
  843. Resume.Position = UDim2.new(0.550000012, 0, 0.699999988, 0)
  844. Resume.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  845. Resume.Font = Enum.Font.SourceSans
  846. Resume.FontSize = Enum.FontSize.Size14
  847. Resume.Text = "Play"
  848. Resume.TextColor3 = Color3.new(1, 1, 1)
  849. Resume.TextScaled = true
  850. Resume.TextWrapped = true
  851.  
  852. Close.Name = "Close"
  853. Close.Parent = MainFrame
  854. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  855. Close.Position = UDim2.new(0.949999988, 0, 0, 0)
  856. Close.Size = UDim2.new(0.0500000007, 0, 1, 0)
  857. Close.Font = Enum.Font.SourceSans
  858. Close.FontSize = Enum.FontSize.Size14
  859. Close.Text = "<"
  860. Close.TextColor3 = Color3.new(1, 1, 1)
  861. Close.TextWrapped = true
  862.  
  863. CurrentVolume.Name = "CurrentVolume"
  864. CurrentVolume.Parent = MainFrame
  865. CurrentVolume.BackgroundColor3 = Color3.new(0, 0, 0)
  866. CurrentVolume.Position = UDim2.new(0.699999988, 0, 0.699999988, 0)
  867. CurrentVolume.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  868. CurrentVolume.Font = Enum.Font.SourceSans
  869. CurrentVolume.FontSize = Enum.FontSize.Size14
  870. CurrentVolume.Text = "0"
  871. CurrentVolume.TextColor3 = Color3.new(1, 1, 1)
  872.  
  873. VolUp.Name = "VolUp"
  874. VolUp.Parent = MainFrame
  875. VolUp.BackgroundColor3 = Color3.new(0, 0, 0)
  876. VolUp.Position = UDim2.new(0.800000012, 0, 0.699999988, 0)
  877. VolUp.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  878. VolUp.Font = Enum.Font.SourceSans
  879. VolUp.FontSize = Enum.FontSize.Size14
  880. VolUp.Text = "+"
  881. VolUp.TextColor3 = Color3.new(1, 1, 1)
  882. VolUp.TextScaled = true
  883. VolUp.TextWrapped = true
  884.  
  885. VolDown.Name = "VolDown"
  886. VolDown.Parent = MainFrame
  887. VolDown.BackgroundColor3 = Color3.new(0, 0, 0)
  888. VolDown.Position = UDim2.new(0.675000012, 0, 0.699999988, 0)
  889. VolDown.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  890. VolDown.Font = Enum.Font.SourceSans
  891. VolDown.FontSize = Enum.FontSize.Size14
  892. VolDown.Text = "-"
  893. VolDown.TextColor3 = Color3.new(1, 1, 1)
  894. VolDown.TextScaled = true
  895. VolDown.TextWrapped = true
  896.  
  897. Playlist.Name = "Playlist"
  898. Playlist.Parent = MainFrame
  899. Playlist.BackgroundColor3 = Color3.new(1, 1, 1)
  900. Playlist.BackgroundTransparency = 1
  901. Playlist.Position = UDim2.new(0.350000006, 0, 0.850000024, 0)
  902. Playlist.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  903. Playlist.Font = Enum.Font.SourceSans
  904. Playlist.FontSize = Enum.FontSize.Size14
  905. Playlist.Text = "Playlist"
  906. Playlist.TextColor3 = Color3.new(1, 1, 1)
  907. Playlist.TextScaled = true
  908. Playlist.TextWrapped = true
  909.  
  910. check.Name = "check"
  911. check.Parent = MainFrame
  912. check.BackgroundColor3 = Color3.new(0, 0, 0)
  913. check.Position = UDim2.new(0.649999976, 0, 0.870000005, 0)
  914. check.Size = UDim2.new(0.0500000007, 0, 0.0700000003, 0)
  915. check.Font = Enum.Font.SourceSans
  916. check.FontSize = Enum.FontSize.Size14
  917. check.Text = ""
  918. check.TextColor3 = Color3.new(1, 1, 1)
  919.  
  920. skip.Name = "skip"
  921. skip.Parent = MainFrame
  922. skip.BackgroundColor3 = Color3.new(0, 0, 0)
  923. skip.BorderColor3 = Color3.new(0, 0, 0)
  924. skip.Position = UDim2.new(0.310000002, 0, 0.699999988, 0)
  925. skip.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  926. skip.Font = Enum.Font.SourceSans
  927. skip.FontSize = Enum.FontSize.Size14
  928. skip.Text = ">>"
  929. skip.TextColor3 = Color3.new(1, 1, 1)
  930. skip.TextScaled = true
  931. skip.TextWrapped = true
  932.  
  933. forward.Name = "forward"
  934. forward.Parent = MainFrame
  935. forward.BackgroundColor3 = Color3.new(0, 0, 0)
  936. forward.Position = UDim2.new(0.239999995, 0, 0.699999988, 0)
  937. forward.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  938. forward.Font = Enum.Font.SourceSans
  939. forward.FontSize = Enum.FontSize.Size14
  940. forward.Text = ">"
  941. forward.TextColor3 = Color3.new(1, 1, 1)
  942. forward.TextScaled = true
  943. forward.TextWrapped = true
  944.  
  945. rewind.Name = "rewind"
  946. rewind.Parent = MainFrame
  947. rewind.BackgroundColor3 = Color3.new(0, 0, 0)
  948. rewind.Position = UDim2.new(0.170000002, 0, 0.699999988, 0)
  949. rewind.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  950. rewind.Font = Enum.Font.SourceSans
  951. rewind.FontSize = Enum.FontSize.Size14
  952. rewind.Text = "<"
  953. rewind.TextColor3 = Color3.new(1, 1, 1)
  954. rewind.TextScaled = true
  955. rewind.TextWrapped = true
  956.  
  957. previous.Name = "previous"
  958. previous.Parent = MainFrame
  959. previous.BackgroundColor3 = Color3.new(0, 0, 0)
  960. previous.Position = UDim2.new(0.100000001, 0, 0.699999988, 0)
  961. previous.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  962. previous.Font = Enum.Font.SourceSans
  963. previous.FontSize = Enum.FontSize.Size14
  964. previous.Text = "<<"
  965. previous.TextColor3 = Color3.new(1, 1, 1)
  966. previous.TextScaled = true
  967. previous.TextWrapped = true
  968.  
  969. stime.Name = "time"
  970. stime.Parent = MainFrame
  971. stime.BackgroundColor3 = Color3.new(1, 1, 1)
  972. stime.BackgroundTransparency = 1
  973. stime.Position = UDim2.new(0.100000001, 0, 0.850000024, 0)
  974. stime.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  975. stime.Font = Enum.Font.SourceSans
  976. stime.FontSize = Enum.FontSize.Size14
  977. stime.Text = "--:--:--/--:--:--"
  978. stime.TextColor3 = Color3.new(1, 1, 1)
  979.  
  980. Settings.Name = "Settings"
  981. Settings.Parent = MainFrame
  982. Settings.BackgroundColor3 = Color3.new(0, 0, 0)
  983. Settings.Position = UDim2.new(0.720000029, 0, 0.850000024, 0)
  984. Settings.Size = UDim2.new(0.200000003, 0, 0.100000001, 0)
  985. Settings.Font = Enum.Font.SourceSans
  986. Settings.FontSize = Enum.FontSize.Size14
  987. Settings.Text = "Settings"
  988. Settings.TextColor3 = Color3.new(1, 1, 1)
  989. Settings.TextScaled = true
  990. Settings.TextWrapped = true
  991.  
  992. SavedList.Name = "SavedList"
  993. SavedList.Parent = MusicGui
  994. SavedList.BackgroundColor3 = Color3.new(0, 0, 0)
  995. SavedList.BackgroundTransparency = 0.25
  996. SavedList.Position = UDim2.new(0.2,0,-1.1,0)
  997. SavedList.Size = UDim2.new(0.200000003, 0, 1, 0)
  998.  
  999. fav.Name = "fav"
  1000. fav.Parent = SavedList
  1001. fav.BackgroundColor3 = Color3.new(0, 0, 0)
  1002. fav.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  1003. fav.Size = UDim2.new(1, 0, 0.0250000004, 0)
  1004. fav.Font = Enum.Font.SourceSans
  1005. fav.FontSize = Enum.FontSize.Size14
  1006. fav.Text = "Favorites"
  1007. fav.TextColor3 = Color3.new(1, 1, 1)
  1008. fav.TextScaled = true
  1009. fav.TextWrapped = true
  1010.  
  1011. close.Name = "close"
  1012. close.Parent = SavedList
  1013. close.BackgroundColor3 = Color3.new(0, 0, 0)
  1014. close.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  1015. close.Position = UDim2.new(0, 0, 0.975000024, 0)
  1016. close.Size = UDim2.new(1, 0, 0.0250000004, 0)
  1017. close.Font = Enum.Font.SourceSans
  1018. close.FontSize = Enum.FontSize.Size14
  1019. close.Text = "^"
  1020. close.TextColor3 = Color3.new(1, 1, 1)
  1021. close.TextScaled = true
  1022. close.TextWrapped = true
  1023.  
  1024. Favs.Name = "Favs"
  1025. Favs.Parent = MusicGui
  1026. Favs.BackgroundColor3 = Color3.new(0, 0, 0)
  1027. Favs.BackgroundTransparency = 0.25
  1028. Favs.Position = UDim2.new(0.4,0,-0.5,0)
  1029. Favs.Size = UDim2.new(0.150000006, 0, 0.400000006, 0)
  1030.  
  1031. Title.Name = "Title"
  1032. Title.Parent = Favs
  1033. Title.BackgroundColor3 = Color3.new(0, 0, 0)
  1034. Title.BorderColor3 = Color3.new(0.407843, 0.407843, 0.407843)
  1035. Title.Size = UDim2.new(1, 0, 0.0599999987, 0)
  1036. Title.Font = Enum.Font.SourceSans
  1037. Title.FontSize = Enum.FontSize.Size14
  1038. Title.Text = "Favorites"
  1039. Title.TextColor3 = Color3.new(1, 1, 1)
  1040. Title.TextScaled = true
  1041. Title.TextWrapped = true
  1042.  
  1043. close_2.Name = "close"
  1044. close_2.Parent = Favs
  1045. close_2.BackgroundColor3 = Color3.new(0, 0, 0)
  1046. close_2.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  1047. close_2.Position = UDim2.new(0, 0, 0.939999998, 0)
  1048. close_2.Size = UDim2.new(1, 0, 0.0599999987, 0)
  1049. close_2.Font = Enum.Font.SourceSans
  1050. close_2.FontSize = Enum.FontSize.Size14
  1051. close_2.Text = "^"
  1052. close_2.TextColor3 = Color3.new(1, 1, 1)
  1053. close_2.TextScaled = true
  1054. close_2.TextWrapped = true
  1055.  
  1056. Open.Name = "Open"
  1057. Open.Parent = MusicGui
  1058. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  1059. Open.Position = UDim2.new(-0.5, 0, 0.349999994, 0)
  1060. Open.Size = UDim2.new(0.00999999978, 0, 0.300000012, 0)
  1061. Open.Font = Enum.Font.SourceSans
  1062. Open.FontSize = Enum.FontSize.Size14
  1063. Open.Text = ">"
  1064. Open.TextColor3 = Color3.new(1, 1, 1)
  1065. Open.TextWrapped = true
  1066. wait()
  1067.  
  1068. gui = game.Players.LocalPlayer.PlayerGui['Music Gui']
  1069. favs = gui.Favs
  1070. saved = gui.SavedList
  1071. favopen = saved.fav
  1072. main = gui.MainFrame
  1073. mid = main.ID
  1074. search = main.Search
  1075. ops = main.OpenSaved
  1076. play = main.Play
  1077. resume = main.Resume
  1078. pause = main.Pause
  1079. name = main.SongName
  1080. closegui = main.Close
  1081. closesave = saved.close
  1082. closefav = favs.close
  1083. open = gui.Open
  1084. vol = main.CurrentVolume
  1085. vold = main.VolDown
  1086. volu = main.VolUp
  1087. check = main.check
  1088. list = {}
  1089.  
  1090.  
  1091.  
  1092. close = function()
  1093. main:TweenPosition(UDim2.new(-0.4,0,0.35,0),"Out","Back",2,true)
  1094. open:TweenPosition(UDim2.new(0,0,0.35,0),"Out","Back",1,true)
  1095. if saved.Position ~= UDim2.new(0.2,0,-1.1,0) then do
  1096. saved:TweenPosition(UDim2.new(0.2,0,-1.1,0),"Out","Back",2,true)
  1097. end
  1098. if favs.Position ~= UDim2.new(0.4,0,-0.5,0) then do
  1099. favs:TweenPosition(UDim2.new(0.4,0,-0.5,0), "Out","Back",2,true)
  1100. end
  1101. end
  1102. end
  1103. end
  1104.  
  1105. openmain = function()
  1106. main:TweenPosition(UDim2.new(0,0,0.35,0),"Out","Back",1,true)
  1107. open:TweenPosition(UDim2.new(-0.2,0,0.35,0),'Out',"Back",1,true)
  1108. end
  1109.  
  1110. closesaved = function()
  1111. saved:TweenPosition(UDim2.new(0.2,0,-1.1,0),"Out","Back",2,true)
  1112. if favs.Position ~= UDim2.new(0.4,0,-0.5,0) then do
  1113. favs:TweenPosition(UDim2.new(0.4,0,-0.5,0),"Out","Back",2,true)
  1114. end
  1115. end
  1116. end
  1117.  
  1118. closefavs = function()
  1119. favs:TweenPosition(UDim2.new(0.4,0,-0.5,0),"Out","Back",2,true)
  1120. end
  1121.  
  1122. opensaved = function()
  1123. saved:TweenPosition(UDim2.new(0.2,0,0,0),"Out","Back",2,true)
  1124. end
  1125.  
  1126. favoriteopen = function()
  1127. favs:TweenPosition(UDim2.new(0.4,0,0,0),"Out","Back",2,true)
  1128. end
  1129.  
  1130. open.MouseButton1Down:Connect(openmain)
  1131. favopen.MouseButton1Down:connect(favoriteopen)
  1132. ops.MouseButton1Down:Connect(opensaved)
  1133. closefav.MouseButton1Down:Connect(closefavs)
  1134. closegui.MouseButton1Down:connect(close)
  1135. closesave.MouseButton1Down:connect(closesaved)
  1136.  
  1137. local Soundbar=game.Players.LocalPlayer.Character.Soundbar
  1138. local Sound=plr.Character.Torso.Sound
  1139. local Bars={} for i,v in next,Soundbar:children() do
  1140. if v:IsA'BasePart' then
  1141. table.insert(Bars,v)
  1142. end
  1143. end Height=Height*2
  1144. local nBars,Tweens=#Bars-1,{}
  1145.  
  1146. -- EASING FUNCTIONS --
  1147. local function quadIn(t,b,c,d) t=t/d; return c*t*t+b; end;
  1148. local function quadOut(t,b,c,d) t=t/d; return -c*t*(t-2)+b; end;
  1149. local function Quad(obj,val,ease,d)
  1150. local t,f,con,nt,st,sd=tick()
  1151. Tweens[obj]=t -- Set identifier
  1152. st=obj.Scale.Y -- Start Value
  1153. sd=val-st -- Change in Value
  1154. f=ease=='In' and quadIn or quadOut -- Choose between Out/In
  1155. con=game:GetService'RunService'.RenderStepped:connect(function() nt=tick()-t
  1156. if Tweens[obj]~=t then -- Check for override
  1157. con:disconnect()
  1158. return
  1159. end
  1160. local nv=math.max(.2,f(math.min(d,nt),st,sd,d)) -- New Value
  1161. obj.Scale=Vector3.new(.9,nv,.9)
  1162. obj.Offset=Vector3.new(0,nv/4,0)
  1163. obj.VertexColor=Vector3.new(cycle(tick()))
  1164. if nt>d then -- Easing done?
  1165. con:disconnect()
  1166. if ease~='In' then
  1167. Quad(obj,.2,'In',.3) -- Drop the bar
  1168. end
  1169. end
  1170. end)
  1171. end
  1172.  
  1173. -- BAR MANIPULATION --
  1174. local function CheckSet(N,S,D) -- Number, Scale, Direction
  1175. local nS=Soundbar[tostring(N)].Mesh.Scale.Y
  1176. if S>nS then
  1177. Set(N,nS+(S-nS)/3,D)
  1178. end
  1179. end
  1180.  
  1181. function Set(N,S,D) -- Number, Scale, Direction
  1182. Quad(Soundbar[tostring(N)].Mesh,S,'Out',.1) -- Grabs the bar and tweens
  1183. if N>0 and D~=1 then -- Checks left for smaller bars to manipulate
  1184. CheckSet(N-1,S,-1)
  1185. end
  1186. if N<nBars and D~=-1 then -- Checks right...
  1187. CheckSet(N+1,S,1)
  1188. end
  1189. end
  1190.  
  1191. -- RENDER LOOP --
  1192. local MPL,PL,curr=0 curr=Sound.SoundId
  1193. spawn(function()
  1194. game:service'RunService'.RenderStepped:connect(function()
  1195. PL=Sound.PlaybackLoudness
  1196. if Sound.IsPlaying and PL==PL then -- Sound is playing & PlaybackLoudness is not undefined
  1197. if curr~=Sound.SoundId then MPL=0 -- Reset the relative Max PlaybackLoudness on song change
  1198. curr=Sound.SoundId
  1199. end
  1200. MPL=math.max(PL,MPL) PL=PL/MPL -- Normalize PL based on relative Max PlaybackLoudness
  1201. if PL==PL then
  1202. Set(math.floor(PL*nBars),PL*Height*1) -- Modify bar relative to PlaybackLoudness
  1203. end
  1204. end
  1205. end)
  1206. end)
  1207.  
  1208. local Locked
  1209.  
  1210.  
  1211. idinput = function()
  1212. local midcurrent = mid.Text
  1213. Sound:Stop()
  1214. Sound.SoundId='rbxassetid://'..midcurrent..''
  1215. Sound:Play()
  1216. end
  1217.  
  1218. volup = function()
  1219. Sound.Volume = Sound.Volume + 1
  1220. end
  1221.  
  1222. voldown = function()
  1223. Sound.Volume = Sound.Volume - 1
  1224. end
  1225.  
  1226. updateinfo = function()
  1227. vol.Text = ""..Sound.Volume..""
  1228. stime.Text = ""..(math.floor(Sound.TimePosition)).."/"..(math.floor(Sound.TimeLength))..""
  1229. end
  1230.  
  1231. local function Chat(plr,msg)
  1232. if msg:sub(1,6):lower()=='sound/' and (not Locked or plr.Name=='FangxWulf') then
  1233. local id=tonumber(msg:match'%d+')
  1234. if not id then return end
  1235. Sound:Stop()
  1236. Sound.SoundId='rbxassetid://'..msg:match'%d+'
  1237. Sound:Play()
  1238. elseif msg:lower()=='lock/' and plr.Name=='FangxWulf' then
  1239. Locked=not Locked
  1240. end
  1241. end
  1242. songs = 0
  1243.  
  1244. newsong = function(name,id)
  1245. songs = songs+1
  1246. song = Instance.new('TextButton',saved)
  1247. song.Name = ""..name..""
  1248. song.BackgroundColor3 = Color3.new(0, 0, 0)
  1249. song.Position = UDim2.new(0, 0, ((0.035 * songs)-0.035)+0.03, 0)
  1250. song.Size = UDim2.new(1, 0, 0.0350, 0)
  1251. song.Font = Enum.Font.SourceSans
  1252. song.FontSize = Enum.FontSize.Size14
  1253. song.Text = ""..name..""
  1254. song.TextColor3 = Color3.new(1, 1, 1)
  1255. ID = Instance.new("IntValue",song)
  1256. ID.Name = "ID"
  1257. ID.Value = ""..id..""
  1258. list[""..songs..""] = ""..id..""
  1259. end
  1260.  
  1261. pauses = function()
  1262. Sound:Pause()
  1263. end
  1264.  
  1265. plays = function()
  1266. Sound:Resume()
  1267. end
  1268.  
  1269.  
  1270. local CRot = 1
  1271. local rad,sin,ceil=math.rad,math.sin,math.ceil
  1272.  
  1273. local p = game.Players.LocalPlayer
  1274. p.Chatted:connect(function(m)
  1275. Chat(p,m)
  1276. end)
  1277.  
  1278. Sound:Play()
  1279.  
  1280. local Parts = {}
  1281. for Index,v in pairs(o1:children'') do
  1282. if v:IsA'Part' then
  1283. table.insert(Parts,v)
  1284. end
  1285. end
  1286.  
  1287. spawn(function()
  1288. game:service'RunService'.RenderStepped:connect(function()
  1289. for Index,v in pairs(o1:children'') do
  1290. if v:IsA'Part' then
  1291. v.CFrame = CFrame.new(plr.Character.Torso.Position)
  1292. *CFrame.Angles(0,rad((360/#Parts*Index+(tick())*60/(#Parts ~= 0 and #Parts or 1))%360),0)
  1293. *CFrame.new(0, -3, (5+#Parts)*.35+v.Size.X)
  1294. *CFrame.Angles(0,90+CRot,0)
  1295. end
  1296. end
  1297. end)
  1298. end)
  1299. ----playlist settings----
  1300. pl = false
  1301. pls = 1
  1302. checkedp = function()
  1303. if pl == false then
  1304. pl = true
  1305. check.Text = "X"
  1306. else
  1307. pl = false
  1308. check.Text = ""
  1309. end
  1310. end
  1311.  
  1312. plnext = function()
  1313. print'pass'
  1314. if pl == true then
  1315. print'pass2'
  1316. Sound.SoundId = "rbxassetid://"..list[''..pls..'']..""
  1317. -- if pls < #list then
  1318. pls = pls +1
  1319. -- else
  1320. -- pls = 1
  1321. end
  1322. end
  1323. --end
  1324.  
  1325. skips = function()
  1326. if pl == true then
  1327. Sound:Stop()
  1328. pls = pls + 1
  1329. Sound.SoundId = 'rbxassetid://'..list[''..pls..'']..''
  1330. Sound:Play()
  1331. end
  1332. end
  1333.  
  1334. previouss = function()
  1335. if pl == true then
  1336. Sound:Stop()
  1337. pls = pls - 1
  1338. Sound.SoundId = 'rbxassetid://'..list[''..pls..'']..''
  1339. Sound:Play()
  1340. end
  1341. end
  1342.  
  1343. ff = function()
  1344. Sound.TimePosition = Sound.TimePosition + 10
  1345. stime.Text = ""..(math.floor(Sound.TimePosition)).."/"..(math.floor(Sound.TimeLength))..""
  1346. end
  1347.  
  1348. rw = function()
  1349. Sound.TimePosition = Sound.TimePosition - 10
  1350. stime.Text = ""..(math.floor(Sound.TimePosition)).."/"..(math.floor(Sound.TimeLength))..""
  1351. end
  1352. ---------------------------------------------
  1353.  
  1354. skip.MouseButton1Down:connect(skips)
  1355. rewind.MouseButton1Down:connect(rw)
  1356. forward.MouseButton1Down:connect(ff)
  1357. Sound.DidLoop:connect(plnext)
  1358. Sound.Changed:connect(updateinfo)
  1359. volu.MouseButton1Down:connect(volup)
  1360. vold.MouseButton1Down:connect(voldown)
  1361. play.MouseButton1Down:connect(idinput)
  1362. pause.MouseButton1Down:Connect(pauses)
  1363. resume.MouseButton1Down:Connect(plays)
  1364. check.MouseButton1Down:connect(checkedp)
  1365. ------------------------Songs--------------------------------
  1366. newsong("Life Goes On", 573853447)
  1367. newsong("You'll Be Alright", 574538568)
  1368. newsong("About You", 574539049)
  1369. newsong("Starlights", 573894805)
  1370. newsong("The Deeper Meaning", 574544171)
  1371. newsong("The Pursuit", 573934790)
  1372. newsong("About You", 574539049)
  1373. newsong("Start Again", 574543658)
  1374. newsong("All I Know", 573935454)
  1375. newsong("God Mode", 539616479)
  1376.  
  1377.  
  1378.  
  1379. -------------------------------------------------------------
  1380.  
  1381.  
  1382. for i,v in pairs(saved:GetChildren()) do
  1383. if v.Name ~= "close" and v.Name ~= "fav" then
  1384. v.MouseButton1Down:Connect(function()
  1385. mid.Text = v.ID.Value
  1386. end)
  1387. end
  1388. end
  1389.  
  1390. for i,v in pairs(list)do
  1391. print(v)
  1392. end
Add Comment
Please, Sign In to add comment