creeperwill9

Untitled

Mar 9th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.45 KB | None | 0 0
  1. wait()
  2. for i,v in pairs(game.Workspace:GetChildren()) do
  3. if v.Name == "Soundbar" then
  4. v:Destroy()
  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 = game.Players.LocalPlayer.Character
  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.  
  691. --// Core Gui //--
  692.  
  693. -- Objects
  694.  
  695. local MusicGui = Instance.new("ScreenGui")
  696. local Core = Instance.new("Frame")
  697. local Title = Instance.new("TextLabel")
  698. local Credit = Instance.new("TextLabel")
  699. local SongIDTitle = Instance.new("TextLabel")
  700. local SongIDBox = Instance.new("TextBox")
  701. local PlaySong = Instance.new("TextButton")
  702. local SongControls = Instance.new("Frame")
  703. local Pause = Instance.new("ImageButton")
  704. local Play = Instance.new("ImageButton")
  705. local Download = Instance.new("ImageButton")
  706. local SongControlsTitle = Instance.new("TextLabel")
  707. local EffectsTitle = Instance.new("TextLabel")
  708. local OpenEffects = Instance.new("TextButton")
  709.  
  710. -- Properties
  711.  
  712. MusicGui.Name = "Music Gui"
  713. MusicGui.Parent = game.Players.LocalPlayer.PlayerGui
  714. Core.Name = "Core"
  715. Core.Parent = MusicGui
  716. Core.Active = true
  717. Core.BackgroundColor3 = Color3.new(0.227451, 0.835294, 1)
  718. Core.Draggable = true
  719. Core.Position = UDim2.new(0, 200, 0, 150)
  720. Core.Size = UDim2.new(0, 400, 0, 300)
  721.  
  722. Title.Name = "Title"
  723. Title.Parent = Core
  724. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  725. Title.BackgroundTransparency = 1
  726. Title.BorderColor3 = Color3.new(1, 1, 1)
  727. Title.Position = UDim2.new(0, 100, 0, 5)
  728. Title.Size = UDim2.new(0, 200, 0, 20)
  729. Title.Font = Enum.Font.SourceSansBold
  730. Title.FontSize = Enum.FontSize.Size28
  731. Title.Text = "Music Visualiser Revamped"
  732. Title.TextSize = 28
  733. Title.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  734. Title.TextStrokeTransparency = 0.60000002384186
  735.  
  736. Credit.Name = "Credit"
  737. Credit.Parent = Core
  738. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  739. Credit.BackgroundTransparency = 1
  740. Credit.BorderColor3 = Color3.new(1, 1, 1)
  741. Credit.Position = UDim2.new(0, 225, 0, 280)
  742. Credit.Size = UDim2.new(0, 200, 0, 20)
  743. Credit.Font = Enum.Font.SourceSansBold
  744. Credit.FontSize = Enum.FontSize.Size14
  745. Credit.Text = "Revamped by Blacklotus"
  746. Credit.TextSize = 14
  747. Credit.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  748. Credit.TextStrokeTransparency = 0.60000002384186
  749. SongIDTitle.Name = "SongIDTitle"
  750. SongIDTitle.Parent = Core
  751. SongIDTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  752. SongIDTitle.BackgroundTransparency = 1
  753. SongIDTitle.BorderColor3 = Color3.new(1, 1, 1)
  754. SongIDTitle.Position = UDim2.new(0, 50, 0, 50)
  755. SongIDTitle.Size = UDim2.new(0, 100, 0, 20)
  756. SongIDTitle.Font = Enum.Font.SourceSansBold
  757. SongIDTitle.FontSize = Enum.FontSize.Size28
  758. SongIDTitle.Text = "Song ID:"
  759. SongIDTitle.TextSize = 28
  760. SongIDTitle.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  761. SongIDTitle.TextStrokeTransparency = 0.60000002384186
  762.  
  763. SongIDBox.Name = "SongIDBox"
  764. SongIDBox.Parent = Core
  765. SongIDBox.BackgroundColor3 = Color3.new(1, 1, 1)
  766. SongIDBox.Position = UDim2.new(0, 150, 0, 50)
  767. SongIDBox.Size = UDim2.new(0, 150, 0, 30)
  768. SongIDBox.ZIndex = 2
  769. SongIDBox.Font = Enum.Font.SourceSansBold
  770. SongIDBox.FontSize = Enum.FontSize.Size18
  771. SongIDBox.Text = "Enter Song ID here"
  772. SongIDBox.TextColor3 = Color3.new(0, 0, 0)
  773. SongIDBox.TextSize = 18
  774. SongIDBox.TextWrapped = true
  775.  
  776. PlaySong.Name = "PlaySong"
  777. PlaySong.Parent = Core
  778. PlaySong.BackgroundColor3 = Color3.new(0.12549, 1, 0.592157)
  779. PlaySong.Position = UDim2.new(0, 305, 0, 50)
  780. PlaySong.Size = UDim2.new(0, 50, 0, 30)
  781. PlaySong.Font = Enum.Font.SourceSansBold
  782. PlaySong.FontSize = Enum.FontSize.Size14
  783. PlaySong.Text = "Play"
  784. PlaySong.TextColor3 = Color3.new(0, 0, 0)
  785. PlaySong.TextSize = 14
  786. PlaySong.TextStrokeColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  787. PlaySong.TextStrokeTransparency = 0.64999997615814
  788. PlaySong.TextWrapped = true
  789.  
  790. SongControls.Name = "SongControls"
  791. SongControls.Parent = Core
  792. SongControls.BackgroundColor3 = Color3.new(0.168627, 0.631373, 0.745098)
  793. SongControls.BorderSizePixel = 0
  794. SongControls.Position = UDim2.new(0, 40, 0, 255)
  795. SongControls.Size = UDim2.new(0, 125, 0, 40)
  796.  
  797. Pause.Name = "Pause"
  798. Pause.Parent = SongControls
  799. Pause.BackgroundColor3 = Color3.new(1, 1, 1)
  800. Pause.BackgroundTransparency = 1
  801. Pause.Position = UDim2.new(0, 5, 0, 5)
  802. Pause.Size = UDim2.new(0, 30, 0, 30)
  803. Pause.Image = "rbxassetid://12255391"
  804.  
  805. Play.Name = "Play"
  806. Play.Parent = SongControls
  807. Play.BackgroundColor3 = Color3.new(1, 1, 1)
  808. Play.BackgroundTransparency = 1
  809. Play.Position = UDim2.new(0, 45, 0, 5)
  810. Play.Size = UDim2.new(0, 30, 0, 30)
  811. Play.Image = "rbxassetid://12255379"
  812.  
  813. Download.Name = "Download"
  814. Download.Parent = SongControls
  815. Download.BackgroundColor3 = Color3.new(1, 1, 1)
  816. Download.BackgroundTransparency = 1
  817. Download.Position = UDim2.new(0, 85, 0, 5)
  818. Download.Size = UDim2.new(0, 30, 0, 30)
  819. Download.Image = "rbxassetid://12295359"
  820.  
  821. SongControlsTitle.Name = "SongControlsTitle"
  822. SongControlsTitle.Parent = Core
  823. SongControlsTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  824. SongControlsTitle.BackgroundTransparency = 1
  825. SongControlsTitle.BorderColor3 = Color3.new(1, 1, 1)
  826. SongControlsTitle.Position = UDim2.new(0, 5, 0, 230)
  827. SongControlsTitle.Size = UDim2.new(0, 200, 0, 20)
  828. SongControlsTitle.Font = Enum.Font.SourceSansBold
  829. SongControlsTitle.FontSize = Enum.FontSize.Size18
  830. SongControlsTitle.Text = "Song Controls"
  831. SongControlsTitle.TextSize = 18
  832. SongControlsTitle.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  833. SongControlsTitle.TextStrokeTransparency = 0.60000002384186
  834.  
  835. EffectsTitle.Name = "EffectsTitle"
  836. EffectsTitle.Parent = Core
  837. EffectsTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  838. EffectsTitle.BackgroundTransparency = 1
  839. EffectsTitle.BorderColor3 = Color3.new(1, 1, 1)
  840. EffectsTitle.Position = UDim2.new(0, 50, 0, 150)
  841. EffectsTitle.Size = UDim2.new(0, 100, 0, 20)
  842. EffectsTitle.Font = Enum.Font.SourceSansBold
  843. EffectsTitle.FontSize = Enum.FontSize.Size28
  844. EffectsTitle.Text = "Effects:"
  845. EffectsTitle.TextSize = 28
  846. EffectsTitle.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  847. EffectsTitle.TextStrokeTransparency = 0.60000002384186
  848.  
  849. OpenEffects.Name = "OpenEffects"
  850. OpenEffects.Parent = Core
  851. OpenEffects.BackgroundColor3 = Color3.new(1, 1, 1)
  852. OpenEffects.Position = UDim2.new(0, 150, 0, 150)
  853. OpenEffects.Size = UDim2.new(0, 150, 0, 30)
  854. OpenEffects.Font = Enum.Font.SourceSansBold
  855. OpenEffects.FontSize = Enum.FontSize.Size14
  856. OpenEffects.Text = "Click to open effects"
  857. OpenEffects.TextColor3 = Color3.new(0, 0, 0)
  858. OpenEffects.TextSize = 14
  859. OpenEffects.TextStrokeColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  860. OpenEffects.TextStrokeTransparency = 0.64999997615814
  861. OpenEffects.TextWrapped = true
  862. ---------------------------------------------------------------------------------------- CORE GUI end
  863. --//EffectsGui Start // --
  864. -- Objects
  865.  
  866. local EffectsGui = Instance.new("Frame")
  867. local Title2 = Instance.new("TextLabel")
  868. local Credit2 = Instance.new("TextLabel")
  869. local SongEffects = Instance.new("ScrollingFrame")
  870. local ChorusSoundEffect = Instance.new("TextButton")
  871. local CompressorSoundEffect = Instance.new("TextButton")
  872. local DistortionSoundEffect = Instance.new("TextButton")
  873. local EchoSoundEffect = Instance.new("TextButton")
  874. local EqualizerSoundEffect = Instance.new("TextButton")
  875. local FlangeSoundEffect = Instance.new("TextButton")
  876. local PitchShiftSoundEffect = Instance.new("TextButton")
  877. local TremoloSoundEffect = Instance.new("TextButton")
  878. local ClearEffects = Instance.new("TextButton")
  879. local SongEffectTitle = Instance.new("TextLabel")
  880. local PitchValueTitle = Instance.new("TextLabel")
  881. local VolumeTitle = Instance.new("TextLabel")
  882. local ApplySettings = Instance.new("TextButton")
  883. local PitchValue = Instance.new("TextBox")
  884. local VolumeValue = Instance.new("TextBox")
  885. local ExitEffects = Instance.new("TextButton")
  886.  
  887. -- Properties
  888.  
  889. EffectsGui.Name = "EffectsGui"
  890. EffectsGui.Parent = MusicGui
  891. EffectsGui.Visible = false
  892. EffectsGui.Active = true
  893. EffectsGui.BackgroundColor3 = Color3.new(0.227451, 0.835294, 1)
  894. EffectsGui.Draggable = true
  895. EffectsGui.Position = UDim2.new(0, 392, 0, 260)
  896. EffectsGui.Size = UDim2.new(0, 400, 0, 300)
  897.  
  898. Title2.Name = "Title2"
  899. Title2.Parent = EffectsGui
  900. Title2.BackgroundColor3 = Color3.new(1, 1, 1)
  901. Title2.BackgroundTransparency = 1
  902. Title2.BorderColor3 = Color3.new(1, 1, 1)
  903. Title2.Position = UDim2.new(0, 100, 0, 5)
  904. Title2.Size = UDim2.new(0, 200, 0, 20)
  905. Title2.Font = Enum.Font.SourceSansBold
  906. Title2.FontSize = Enum.FontSize.Size32
  907. Title2.Text = "Effects GUI"
  908. Title2.TextSize = 32
  909. Title2.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  910. Title2.TextStrokeTransparency = 0.60000002384186
  911.  
  912. Credit2.Name = "Credit2"
  913. Credit2.Parent = EffectsGui
  914. Credit2.BackgroundColor3 = Color3.new(1, 1, 1)
  915. Credit2.BackgroundTransparency = 1
  916. Credit2.BorderColor3 = Color3.new(1, 1, 1)
  917. Credit2.Position = UDim2.new(0, 225, 0, 280)
  918. Credit2.Size = UDim2.new(0, 200, 0, 20)
  919. Credit2.Font = Enum.Font.SourceSansBold
  920. Credit2.FontSize = Enum.FontSize.Size14
  921. Credit2.Text = "Revamped by Blacklotus"
  922. Credit2.TextSize = 14
  923. Credit2.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  924. Credit2.TextStrokeTransparency = 0.60000002384186
  925.  
  926. SongEffects.Name = "SongEffects"
  927. SongEffects.Parent = EffectsGui
  928. SongEffects.BackgroundColor3 = Color3.new(0.286275, 0.92549, 0.639216)
  929. SongEffects.Position = UDim2.new(0, 30, 0, 75)
  930. SongEffects.Selectable = false
  931. SongEffects.Size = UDim2.new(0, 140, 0, 175)
  932.  
  933. ChorusSoundEffect.Name = "ChorusSoundEffect"
  934. ChorusSoundEffect.Parent = SongEffects
  935. ChorusSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  936. ChorusSoundEffect.BorderSizePixel = 0
  937. ChorusSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  938. ChorusSoundEffect.Font = Enum.Font.SourceSansBold
  939. ChorusSoundEffect.FontSize = Enum.FontSize.Size18
  940. ChorusSoundEffect.Text = "Chorus"
  941. ChorusSoundEffect.TextSize = 18
  942.  
  943. CompressorSoundEffect.Name = "CompressorSoundEffect"
  944. CompressorSoundEffect.Parent = SongEffects
  945. CompressorSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  946. CompressorSoundEffect.BorderSizePixel = 0
  947. CompressorSoundEffect.Position = UDim2.new(0, 0, 0, 28)
  948. CompressorSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  949. CompressorSoundEffect.Font = Enum.Font.SourceSansBold
  950. CompressorSoundEffect.FontSize = Enum.FontSize.Size18
  951. CompressorSoundEffect.Text = "Compressor"
  952. CompressorSoundEffect.TextSize = 18
  953.  
  954. DistortionSoundEffect.Name = "DistortionSoundEffect"
  955. DistortionSoundEffect.Parent = SongEffects
  956. DistortionSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  957. DistortionSoundEffect.BorderSizePixel = 0
  958. DistortionSoundEffect.Position = UDim2.new(0, 0, 0, 56)
  959. DistortionSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  960. DistortionSoundEffect.Font = Enum.Font.SourceSansBold
  961. DistortionSoundEffect.FontSize = Enum.FontSize.Size18
  962. DistortionSoundEffect.Text = "Distortion "
  963. DistortionSoundEffect.TextSize = 18
  964.  
  965. EchoSoundEffect.Name = "EchoSoundEffect"
  966. EchoSoundEffect.Parent = SongEffects
  967. EchoSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  968. EchoSoundEffect.BorderSizePixel = 0
  969. EchoSoundEffect.Position = UDim2.new(0, 0, 0, 84)
  970. EchoSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  971. EchoSoundEffect.Font = Enum.Font.SourceSansBold
  972. EchoSoundEffect.FontSize = Enum.FontSize.Size18
  973. EchoSoundEffect.Text = "Echo"
  974. EchoSoundEffect.TextSize = 18
  975.  
  976. EqualizerSoundEffect.Name = "EqualizerSoundEffect"
  977. EqualizerSoundEffect.Parent = SongEffects
  978. EqualizerSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  979. EqualizerSoundEffect.BorderSizePixel = 0
  980. EqualizerSoundEffect.Position = UDim2.new(0, 0, 0, 112)
  981. EqualizerSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  982. EqualizerSoundEffect.Font = Enum.Font.SourceSansBold
  983. EqualizerSoundEffect.FontSize = Enum.FontSize.Size18
  984. EqualizerSoundEffect.Text = "Equalizer"
  985. EqualizerSoundEffect.TextSize = 18
  986.  
  987. FlangeSoundEffect.Name = "FlangeSoundEffect"
  988. FlangeSoundEffect.Parent = SongEffects
  989. FlangeSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  990. FlangeSoundEffect.BorderSizePixel = 0
  991. FlangeSoundEffect.Position = UDim2.new(0, 0, 0, 140)
  992. FlangeSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  993. FlangeSoundEffect.Font = Enum.Font.SourceSansBold
  994. FlangeSoundEffect.FontSize = Enum.FontSize.Size18
  995. FlangeSoundEffect.Text = "Flange"
  996. FlangeSoundEffect.TextSize = 18
  997.  
  998. PitchShiftSoundEffect.Name = "PitchShiftSoundEffect"
  999. PitchShiftSoundEffect.Parent = SongEffects
  1000. PitchShiftSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  1001. PitchShiftSoundEffect.BorderSizePixel = 0
  1002. PitchShiftSoundEffect.Position = UDim2.new(0, 0, 0, 168)
  1003. PitchShiftSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  1004. PitchShiftSoundEffect.Font = Enum.Font.SourceSansBold
  1005. PitchShiftSoundEffect.FontSize = Enum.FontSize.Size18
  1006. PitchShiftSoundEffect.Text = "PitchShift"
  1007. PitchShiftSoundEffect.TextSize = 18
  1008.  
  1009. TremoloSoundEffect.Name = "TremoloSoundEffect"
  1010. TremoloSoundEffect.Parent = SongEffects
  1011. TremoloSoundEffect.BackgroundColor3 = Color3.new(0.690196, 1, 0.831373)
  1012. TremoloSoundEffect.BorderSizePixel = 0
  1013. TremoloSoundEffect.Position = UDim2.new(0, 0, 0, 196)
  1014. TremoloSoundEffect.Size = UDim2.new(0, 127, 0, 26)
  1015. TremoloSoundEffect.Font = Enum.Font.SourceSansBold
  1016. TremoloSoundEffect.FontSize = Enum.FontSize.Size18
  1017. TremoloSoundEffect.Text = "Tremolo"
  1018. TremoloSoundEffect.TextSize = 18
  1019.  
  1020. ClearEffects.Name = "ClearEffects"
  1021. ClearEffects.Parent = SongEffects
  1022. ClearEffects.BackgroundColor3 = Color3.new(1, 0.337255, 0.00392157)
  1023. ClearEffects.BorderSizePixel = 0
  1024. ClearEffects.Position = UDim2.new(0, 0, 0, 196)
  1025. ClearEffects.Size = UDim2.new(0, 127, 0, 26)
  1026. ClearEffects.Font = Enum.Font.SourceSansBold
  1027. ClearEffects.FontSize = Enum.FontSize.Size18
  1028. ClearEffects.Text = "ClearEffects"
  1029. ClearEffects.TextSize = 18
  1030.  
  1031. SongEffectTitle.Name = "SongEffectTitle"
  1032. SongEffectTitle.Parent = EffectsGui
  1033. SongEffectTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  1034. SongEffectTitle.BackgroundTransparency = 1
  1035. SongEffectTitle.BorderColor3 = Color3.new(1, 1, 1)
  1036. SongEffectTitle.Position = UDim2.new(0, 40, 0, 45)
  1037. SongEffectTitle.Size = UDim2.new(0, 125, 0, 20)
  1038. SongEffectTitle.Font = Enum.Font.SourceSansBold
  1039. SongEffectTitle.FontSize = Enum.FontSize.Size24
  1040. SongEffectTitle.Text = "Song Effects:"
  1041. SongEffectTitle.TextSize = 24
  1042. SongEffectTitle.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  1043. SongEffectTitle.TextStrokeTransparency = 0.60000002384186
  1044.  
  1045. PitchValueTitle.Name = "PitchValueTitle"
  1046. PitchValueTitle.Parent = EffectsGui
  1047. PitchValueTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  1048. PitchValueTitle.BackgroundTransparency = 1
  1049. PitchValueTitle.BorderColor3 = Color3.new(1, 1, 1)
  1050. PitchValueTitle.Position = UDim2.new(0, 185, 0, 75)
  1051. PitchValueTitle.Size = UDim2.new(0, 125, 0, 20)
  1052. PitchValueTitle.Font = Enum.Font.SourceSansBold
  1053. PitchValueTitle.FontSize = Enum.FontSize.Size18
  1054. PitchValueTitle.Text = "Song Pitch:"
  1055. PitchValueTitle.TextSize = 18
  1056. PitchValueTitle.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  1057. PitchValueTitle.TextStrokeTransparency = 0.60000002384186
  1058.  
  1059. VolumeTitle.Name = "VolumeTitle"
  1060. VolumeTitle.Parent = EffectsGui
  1061. VolumeTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  1062. VolumeTitle.BackgroundTransparency = 1
  1063. VolumeTitle.BorderColor3 = Color3.new(1, 1, 1)
  1064. VolumeTitle.Position = UDim2.new(0, 185, 0, 125)
  1065. VolumeTitle.Size = UDim2.new(0, 125, 0, 20)
  1066. VolumeTitle.Font = Enum.Font.SourceSansBold
  1067. VolumeTitle.FontSize = Enum.FontSize.Size18
  1068. VolumeTitle.Text = "Song Volume:"
  1069. VolumeTitle.TextSize = 18
  1070. VolumeTitle.TextStrokeColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  1071. VolumeTitle.TextStrokeTransparency = 0.60000002384186
  1072.  
  1073. ApplySettings.Name = "ApplySettings"
  1074. ApplySettings.Parent = EffectsGui
  1075. ApplySettings.BackgroundColor3 = Color3.new(0.0823529, 1, 0.462745)
  1076. ApplySettings.BorderColor3 = Color3.new(0, 0.533333, 0.0784314)
  1077. ApplySettings.Position = UDim2.new(0, 215, 0, 225)
  1078. ApplySettings.Size = UDim2.new(0, 125, 0, 30)
  1079. ApplySettings.Font = Enum.Font.SourceSansBold
  1080. ApplySettings.FontSize = Enum.FontSize.Size18
  1081. ApplySettings.Text = "Apply Settings"
  1082. ApplySettings.TextSize = 18
  1083.  
  1084. PitchValue.Name = "PitchValue"
  1085. PitchValue.Parent = EffectsGui
  1086. PitchValue.BackgroundColor3 = Color3.new(1, 1, 1)
  1087. PitchValue.Position = UDim2.new(0, 310, 0, 75)
  1088. PitchValue.Size = UDim2.new(0, 75, 0, 25)
  1089. PitchValue.Font = Enum.Font.SourceSansBold
  1090. PitchValue.FontSize = Enum.FontSize.Size18
  1091. PitchValue.Text = "1"
  1092. PitchValue.TextSize = 18
  1093.  
  1094. VolumeValue.Name = "VolumeValue"
  1095. VolumeValue.Parent = EffectsGui
  1096. VolumeValue.BackgroundColor3 = Color3.new(1, 1, 1)
  1097. VolumeValue.Position = UDim2.new(0, 310, 0, 125)
  1098. VolumeValue.Size = UDim2.new(0, 75, 0, 25)
  1099. VolumeValue.Font = Enum.Font.SourceSansBold
  1100. VolumeValue.FontSize = Enum.FontSize.Size18
  1101. VolumeValue.Text = "1"
  1102. VolumeValue.TextSize = 18
  1103.  
  1104. ExitEffects.Name = "ExitEffects"
  1105. ExitEffects.Parent = EffectsGui
  1106. ExitEffects.BackgroundColor3 = Color3.new(1, 0.219608, 0.0627451)
  1107. ExitEffects.BorderColor3 = Color3.new(0, 0.533333, 0.0784314)
  1108. ExitEffects.BorderSizePixel = 0
  1109. ExitEffects.Position = UDim2.new(0, 373, 0, 2)
  1110. ExitEffects.Size = UDim2.new(0, 25, 0, 25)
  1111. ExitEffects.Font = Enum.Font.SourceSansBold
  1112. ExitEffects.FontSize = Enum.FontSize.Size18
  1113. ExitEffects.Text = "X"
  1114. ExitEffects.TextColor3 = Color3.new(1, 1, 1)
  1115. ExitEffects.TextSize = 18
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121. local Soundbar=game.Players.LocalPlayer.Character.Soundbar
  1122. local Sound=plr.Character.Torso.Sound
  1123. local CurrentSong = nil
  1124. local Bars={} for i,v in next,Soundbar:children() do
  1125. if v:IsA'BasePart' then
  1126. table.insert(Bars,v)
  1127. end
  1128. end Height=Height*2
  1129. local nBars,Tweens=#Bars-1,{}
  1130.  
  1131. -- connecting ID to bar--
  1132.  
  1133. idinput = function()
  1134. local midcurrent = SongIDBox.Text
  1135. Sound:Stop()
  1136. Sound.SoundId='rbxassetid://'..midcurrent..''
  1137. CurrentSong = midcurrent
  1138. Sound:Play()
  1139. end
  1140.  
  1141. downloadsong = function()
  1142. local SongID = Sound.SoundId
  1143. game:GetService("MarketplaceService"):PromptPurchase(game.Players.LocalPlayer,CurrentSong)
  1144.  
  1145.  
  1146.  
  1147. end
  1148.  
  1149. PauseSong = function()
  1150. Sound:Pause()
  1151. end
  1152.  
  1153. OpenEffect = function()
  1154. EffectsGui.Visible = true
  1155.  
  1156.  
  1157. end
  1158. Resume = function()
  1159. Sound:Resume()
  1160.  
  1161.  
  1162. end
  1163.  
  1164.  
  1165. closeEff = function()
  1166. EffectsGui.Visible = false
  1167.  
  1168.  
  1169. end
  1170.  
  1171. for i_,EffectButton in pairs (SongEffects:GetChildren()) do
  1172. EffectButton.MouseButton1Down:connect(function()
  1173. if EffectButton.Name == "Exit" then
  1174.  
  1175. else
  1176.  
  1177. Sound:ClearAllChildren()
  1178. Effect32 = Instance.new(EffectButton.Name)
  1179. Effect32.Parent = Sound
  1180. Effect32.Name = EffectButton.Name
  1181. end
  1182.  
  1183.  
  1184. end)
  1185. end
  1186.  
  1187. -- EASING FUNCTIONS --
  1188. local function quadIn(t,b,c,d) t=t/d; return c*t*t+b; end;
  1189. local function quadOut(t,b,c,d) t=t/d; return -c*t*(t-2)+b; end;
  1190. local function Quad(obj,val,ease,d)
  1191. local t,f,con,nt,st,sd=tick()
  1192. Tweens[obj]=t -- Set identifier
  1193. st=obj.Scale.Y -- Start Value
  1194. sd=val-st -- Change in Value
  1195. f=ease=='In' and quadIn or quadOut -- Choose between Out/In
  1196. con=game:GetService'RunService'.RenderStepped:connect(function() nt=tick()-t
  1197. if Tweens[obj]~=t then -- Check for override
  1198. con:disconnect()
  1199. return
  1200. end
  1201. local nv=math.max(.2,f(math.min(d,nt),st,sd,d)) -- New Value
  1202. obj.Scale=Vector3.new(.9,nv,.9)
  1203. obj.Offset=Vector3.new(0,nv/4,0)
  1204. obj.VertexColor = Vector3.new(cycle(tick())):lerp(Vector3.new(1,1,1),nv/Height)
  1205. if nt>d then -- Easing done?
  1206. con:disconnect()
  1207. if ease~='In' then
  1208. Quad(obj,.2,'In',.3) -- Drop the bar
  1209. end
  1210. end
  1211. end)
  1212. end
  1213.  
  1214. -- BAR MANIPULATION --
  1215. local function CheckSet(N,S,D) -- Number, Scale, Direction
  1216. local nS=Soundbar[tostring(N)].Mesh.Scale.Y
  1217. if S>nS then
  1218. Set(N,nS+(S-nS)/3,D)
  1219. end
  1220. end
  1221.  
  1222. function Set(N,S,D) -- Number, Scale, Direction
  1223. Quad(Soundbar[tostring(N)].Mesh,S,'Out',.1) -- Grabs the bar and tweens
  1224. if N>0 and D~=1 then -- Checks left for smaller bars to manipulate
  1225. CheckSet(N-1,S,-1)
  1226. end
  1227. if N<nBars and D~=-1 then -- Checks right...
  1228. CheckSet(N+1,S,1)
  1229. end
  1230. end
  1231.  
  1232. -- RENDER LOOP --
  1233. local MPL,PL,curr=0 curr=Sound.SoundId
  1234. spawn(function()
  1235. game:service'RunService'.RenderStepped:connect(function()
  1236. PL=Sound.PlaybackLoudness
  1237. if Sound.IsPlaying and PL==PL then -- Sound is playing & PlaybackLoudness is not undefined
  1238. if curr~=Sound.SoundId then MPL=0 -- Reset the relative Max PlaybackLoudness on song change
  1239. curr=Sound.SoundId
  1240. end
  1241. MPL=math.max(PL,MPL) PL=PL/MPL -- Normalize PL based on relative Max PlaybackLoudness
  1242. if PL==PL then
  1243. Set(math.floor(PL*nBars),PL*Height*1) -- Modify bar relative to PlaybackLoudness
  1244. end
  1245. end
  1246. end)
  1247. end)
  1248.  
  1249. local Locked
  1250.  
  1251.  
  1252. local CRot = 1
  1253. local rad,sin,ceil=math.rad,math.sin,math.ceil
  1254.  
  1255. local p = game.Players.LocalPlayer
  1256.  
  1257. local Parts = {}
  1258. for Index,v in pairs(o1:children'') do
  1259. if v:IsA'Part' then
  1260. table.insert(Parts,v)
  1261. end
  1262. end
  1263.  
  1264. spawn(function()
  1265. game:service'RunService'.RenderStepped:connect(function()
  1266. for Index,v in pairs(o1:children'') do
  1267. if v:IsA'Part' then
  1268. v.CFrame = CFrame.new(plr.Character.Torso.Position)
  1269. *CFrame.Angles(0,rad((360/#Parts*Index+(tick())*60/(#Parts ~= 0 and #Parts or 1))%360),0)
  1270. *CFrame.new(0, -3, (5+#Parts)*.35+v.Size.X)
  1271. *CFrame.Angles(0,90+CRot,0)
  1272. end
  1273. end
  1274. end)
  1275. end)
  1276.  
  1277. Apply = function()
  1278. if PitchValue.Text == "" or PitchValue.Text == nil then
  1279.  
  1280.  
  1281. else
  1282. if VolumeValue.Text == "" or VolumeValue.Text == nil then
  1283.  
  1284.  
  1285. else
  1286. Sound.Volume = VolumeValue.Text
  1287. Sound.Pitch = PitchValue.Text
  1288. end
  1289. end
  1290.  
  1291.  
  1292. end
  1293. PlaySong.MouseButton1Down:connect(idinput)
  1294. Download.MouseButton1Down:connect(downloadsong)
  1295. Pause.MouseButton1Down:connect(PauseSong)
  1296. OpenEffects.MouseButton1Down:connect(OpenEffect)
  1297. ExitEffects.MouseButton1Down:connect(closeEff)
  1298. Play.MouseButton1Down:connect(Resume)
  1299. ApplySettings.MouseButton1Down:connect(Apply)
Add Comment
Please, Sign In to add comment