Advertisement
FloweyTheFlower

Roblox Scripts #43 Music Player #1 (Rare)

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