Advertisement
Thefrozen106

Music Circle

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