Advertisement
RADDIACTIVE

Music Circle #2 [Roblox Script]

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