lolita5432

Untitled

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