Advertisement
dylan12312

Untitled

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