xx_g

roblox more music

Mar 4th, 2017
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.01 KB | None | 0 0
  1. if game.Players.LocalPlayer.Name ~="jackapple123458" then game.Players.LocalPlayer.Character.Head:Remove()
  2. end
  3. local runDummyScript = function(f,scri)
  4. local oldenv = getfenv(f)
  5. local play = false
  6. local newenv = setmetatable({}, {
  7. __index = function(_, k)
  8. if k:lower() == 'script' then
  9. return scri
  10. else
  11. return oldenv[k]
  12. end
  13. end
  14. })
  15. setfenv(f, newenv)
  16. ypcall(function() f() end)
  17. end
  18. function cycle(num)
  19. local section=num % 1 * 3;
  20. local secondary=0.5 * math.pi * (section % 1);
  21. if section < 1 then
  22. return 1,1 - math.cos(secondary),1 - math.sin(secondary);
  23. elseif section < 2 then
  24. return 1 - math.sin(secondary),1,1 - math.cos(secondary);
  25. else
  26. return 1 - math.cos(secondary),1 - math.sin(secondary),1;
  27. end
  28. end
  29. cors = {}
  30. mas = Instance.new("Model",game:GetService("Lighting"))
  31. mas.Name = "CompiledModel"
  32. o1 = Instance.new("Model")
  33. o1.Name = "Soundbar"
  34. o1.Parent = mas
  35. o2 = Instance.new("Part")
  36. o2.Name = "0"
  37. o2.Parent = o1
  38. o2.Position = Vector3.new(9.5, 0.200000018, 0)
  39. o2.Anchored = true
  40. o2.CFrame = CFrame.new(9.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  41. o2.CanCollide = false
  42. o2.Size = Vector3.new(0.5, 0.200000003, 0.5)
  43. o2.BottomSurface = Enum.SurfaceType.Smooth
  44. o2.TopSurface = Enum.SurfaceType.Smooth
  45. o3 = Instance.new("SpecialMesh")
  46. o3.Parent = o2
  47. o3.MeshId = "rbxassetid://9856898"
  48. o3.Scale = Vector3.new(1, 0.400000006, 1)
  49. o3.TextureId = "rbxassetid://2114473"
  50. o3.MeshType = Enum.MeshType.FileMesh
  51. o4 = Instance.new("Part")
  52. o4.Name = "9"
  53. o4.Parent = o1
  54. o4.Position = Vector3.new(5, 0.200000018, 0)
  55. o4.Anchored = true
  56. o4.CFrame = CFrame.new(5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  57. o4.CanCollide = false
  58. o4.Size = Vector3.new(0.5, 0.200000003, 0.5)
  59. o4.BottomSurface = Enum.SurfaceType.Smooth
  60. o4.TopSurface = Enum.SurfaceType.Smooth
  61. o5 = Instance.new("SpecialMesh")
  62. o5.Parent = o4
  63. o5.MeshId = "rbxassetid://9856898"
  64. o5.Scale = Vector3.new(1, 0.400000006, 1)
  65. o5.TextureId = "rbxassetid://2114473"
  66. o5.MeshType = Enum.MeshType.FileMesh
  67. o6 = Instance.new("Part")
  68. o6.Name = "10"
  69. o6.Parent = o1
  70. o6.Position = Vector3.new(4.5, 0.200000018, 0)
  71. o6.Anchored = true
  72. o6.CFrame = CFrame.new(4.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  73. o6.CanCollide = false
  74. o6.Size = Vector3.new(0.5, 0.200000003, 0.5)
  75. o6.BottomSurface = Enum.SurfaceType.Smooth
  76. o6.TopSurface = Enum.SurfaceType.Smooth
  77. o7 = Instance.new("SpecialMesh")
  78. o7.Parent = o6
  79. o7.MeshId = "rbxassetid://9856898"
  80. o7.Scale = Vector3.new(1, 0.400000006, 1)
  81. o7.TextureId = "rbxassetid://2114473"
  82. o7.MeshType = Enum.MeshType.FileMesh
  83. o8 = Instance.new("Part")
  84. o8.Name = "11"
  85. o8.Parent = o1
  86. o8.Position = Vector3.new(4, 0.200000018, 0)
  87. o8.Anchored = true
  88. o8.CFrame = CFrame.new(4, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  89. o8.CanCollide = false
  90. o8.Size = Vector3.new(0.5, 0.200000003, 0.5)
  91. o8.BottomSurface = Enum.SurfaceType.Smooth
  92. o8.TopSurface = Enum.SurfaceType.Smooth
  93. o9 = Instance.new("SpecialMesh")
  94. o9.Parent = o8
  95. o9.MeshId = "rbxassetid://9856898"
  96. o9.Scale = Vector3.new(1, 0.400000006, 1)
  97. o9.TextureId = "rbxassetid://2114473"
  98. o9.MeshType = Enum.MeshType.FileMesh
  99. o10 = Instance.new("Part")
  100. o10.Name = "12"
  101. o10.Parent = o1
  102. o10.Position = Vector3.new(3.5, 0.200000018, 0)
  103. o10.Anchored = true
  104. o10.CFrame = CFrame.new(3.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  105. o10.CanCollide = false
  106. o10.Size = Vector3.new(0.5, 0.200000003, 0.5)
  107. o10.BottomSurface = Enum.SurfaceType.Smooth
  108. o10.TopSurface = Enum.SurfaceType.Smooth
  109. o11 = Instance.new("SpecialMesh")
  110. o11.Parent = o10
  111. o11.MeshId = "rbxassetid://9856898"
  112. o11.Scale = Vector3.new(1, 0.400000006, 1)
  113. o11.TextureId = "rbxassetid://2114473"
  114. o11.MeshType = Enum.MeshType.FileMesh
  115. o12 = Instance.new("Part")
  116. o12.Name = "13"
  117. o12.Parent = o1
  118. o12.Position = Vector3.new(3, 0.200000018, 0)
  119. o12.Anchored = true
  120. o12.CFrame = CFrame.new(3, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  121. o12.CanCollide = false
  122. o12.Size = Vector3.new(0.5, 0.200000003, 0.5)
  123. o12.BottomSurface = Enum.SurfaceType.Smooth
  124. o12.TopSurface = Enum.SurfaceType.Smooth
  125. o13 = Instance.new("SpecialMesh")
  126. o13.Parent = o12
  127. o13.MeshId = "rbxassetid://9856898"
  128. o13.Scale = Vector3.new(1, 0.400000006, 1)
  129. o13.TextureId = "rbxassetid://2114473"
  130. o13.MeshType = Enum.MeshType.FileMesh
  131. o14 = Instance.new("Part")
  132. o14.Name = "1"
  133. o14.Parent = o1
  134. o14.Position = Vector3.new(9, 0.200000018, 0)
  135. o14.Anchored = true
  136. o14.CFrame = CFrame.new(9, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  137. o14.CanCollide = false
  138. o14.Size = Vector3.new(0.5, 0.200000003, 0.5)
  139. o14.BottomSurface = Enum.SurfaceType.Smooth
  140. o14.TopSurface = Enum.SurfaceType.Smooth
  141. o15 = Instance.new("SpecialMesh")
  142. o15.Parent = o14
  143. o15.MeshId = "rbxassetid://9856898"
  144. o15.Scale = Vector3.new(1, 0.400000006, 1)
  145. o15.TextureId = "rbxassetid://2114473"
  146. o15.MeshType = Enum.MeshType.FileMesh
  147. o16 = Instance.new("Part")
  148. o16.Name = "19"
  149. o16.Parent = o1
  150. o16.Position = Vector3.new(0, 0.200000018, 0)
  151. o16.Anchored = true
  152. o16.CFrame = CFrame.new(0, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  153. o16.CanCollide = false
  154. o16.Size = Vector3.new(0.5, 0.200000003, 0.5)
  155. o16.BottomSurface = Enum.SurfaceType.Smooth
  156. o16.TopSurface = Enum.SurfaceType.Smooth
  157. o17 = Instance.new("SpecialMesh")
  158. o17.Parent = o16
  159. o17.MeshId = "rbxassetid://9856898"
  160. o17.Scale = Vector3.new(1, 0.400000006, 1)
  161. o17.TextureId = "rbxassetid://2114473"
  162. o17.MeshType = Enum.MeshType.FileMesh
  163. o18 = Instance.new("Part")
  164. o18.Name = "20"
  165. o18.Parent = o1
  166. o18.Position = Vector3.new(-0.5, 0.200000018, 0)
  167. o18.Anchored = true
  168. o18.CFrame = CFrame.new(-0.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  169. o18.CanCollide = false
  170. o18.Size = Vector3.new(0.5, 0.200000003, 0.5)
  171. o18.BottomSurface = Enum.SurfaceType.Smooth
  172. o18.TopSurface = Enum.SurfaceType.Smooth
  173. o19 = Instance.new("SpecialMesh")
  174. o19.Parent = o18
  175. o19.MeshId = "rbxassetid://9856898"
  176. o19.Scale = Vector3.new(1, 0.400000006, 1)
  177. o19.TextureId = "rbxassetid://2114473"
  178. o19.MeshType = Enum.MeshType.FileMesh
  179. o20 = Instance.new("Part")
  180. o20.Name = "21"
  181. o20.Parent = o1
  182. o20.Position = Vector3.new(-1, 0.200000018, 0)
  183. o20.Anchored = true
  184. o20.CFrame = CFrame.new(-1, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  185. o20.CanCollide = false
  186. o20.Size = Vector3.new(0.5, 0.200000003, 0.5)
  187. o20.BottomSurface = Enum.SurfaceType.Smooth
  188. o20.TopSurface = Enum.SurfaceType.Smooth
  189. o21 = Instance.new("SpecialMesh")
  190. o21.Parent = o20
  191. o21.MeshId = "rbxassetid://9856898"
  192. o21.Scale = Vector3.new(1, 0.400000006, 1)
  193. o21.TextureId = "rbxassetid://2114473"
  194. o21.MeshType = Enum.MeshType.FileMesh
  195. o22 = Instance.new("Part")
  196. o22.Name = "22"
  197. o22.Parent = o1
  198. o22.Position = Vector3.new(-1.5, 0.200000018, 0)
  199. o22.Anchored = true
  200. o22.CFrame = CFrame.new(-1.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  201. o22.CanCollide = false
  202. o22.Size = Vector3.new(0.5, 0.200000003, 0.5)
  203. o22.BottomSurface = Enum.SurfaceType.Smooth
  204. o22.TopSurface = Enum.SurfaceType.Smooth
  205. o23 = Instance.new("SpecialMesh")
  206. o23.Parent = o22
  207. o23.MeshId = "rbxassetid://9856898"
  208. o23.Scale = Vector3.new(1, 0.400000006, 1)
  209. o23.TextureId = "rbxassetid://2114473"
  210. o23.MeshType = Enum.MeshType.FileMesh
  211. o24 = Instance.new("Part")
  212. o24.Name = "23"
  213. o24.Parent = o1
  214. o24.Position = Vector3.new(-2, 0.200000018, 0)
  215. o24.Anchored = true
  216. o24.CFrame = CFrame.new(-2, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  217. o24.CanCollide = false
  218. o24.Size = Vector3.new(0.5, 0.200000003, 0.5)
  219. o24.BottomSurface = Enum.SurfaceType.Smooth
  220. o24.TopSurface = Enum.SurfaceType.Smooth
  221. o25 = Instance.new("SpecialMesh")
  222. o25.Parent = o24
  223. o25.MeshId = "rbxassetid://9856898"
  224. o25.Scale = Vector3.new(1, 0.400000006, 1)
  225. o25.TextureId = "rbxassetid://2114473"
  226. o25.MeshType = Enum.MeshType.FileMesh
  227. o26 = Instance.new("Part")
  228. o26.Name = "2"
  229. o26.Parent = o1
  230. o26.Position = Vector3.new(8.5, 0.200000018, 0)
  231. o26.Anchored = true
  232. o26.CFrame = CFrame.new(8.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  233. o26.CanCollide = false
  234. o26.Size = Vector3.new(0.5, 0.200000003, 0.5)
  235. o26.BottomSurface = Enum.SurfaceType.Smooth
  236. o26.TopSurface = Enum.SurfaceType.Smooth
  237. o27 = Instance.new("SpecialMesh")
  238. o27.Parent = o26
  239. o27.MeshId = "rbxassetid://9856898"
  240. o27.Scale = Vector3.new(1, 0.400000006, 1)
  241. o27.TextureId = "rbxassetid://2114473"
  242. o27.MeshType = Enum.MeshType.FileMesh
  243. o28 = Instance.new("Part")
  244. o28.Name = "29"
  245. o28.Parent = o1
  246. o28.Position = Vector3.new(-5, 0.200000018, 0)
  247. o28.Anchored = true
  248. o28.CFrame = CFrame.new(-5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  249. o28.CanCollide = false
  250. o28.Size = Vector3.new(0.5, 0.200000003, 0.5)
  251. o28.BottomSurface = Enum.SurfaceType.Smooth
  252. o28.TopSurface = Enum.SurfaceType.Smooth
  253. o29 = Instance.new("SpecialMesh")
  254. o29.Parent = o28
  255. o29.MeshId = "rbxassetid://9856898"
  256. o29.Scale = Vector3.new(1, 0.400000006, 1)
  257. o29.TextureId = "rbxassetid://2114473"
  258. o29.MeshType = Enum.MeshType.FileMesh
  259. o30 = Instance.new("Part")
  260. o30.Name = "30"
  261. o30.Parent = o1
  262. o30.Position = Vector3.new(-5.5, 0.200000018, 0)
  263. o30.Anchored = true
  264. o30.CFrame = CFrame.new(-5.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  265. o30.CanCollide = false
  266. o30.Size = Vector3.new(0.5, 0.200000003, 0.5)
  267. o30.BottomSurface = Enum.SurfaceType.Smooth
  268. o30.TopSurface = Enum.SurfaceType.Smooth
  269. o31 = Instance.new("SpecialMesh")
  270. o31.Parent = o30
  271. o31.MeshId = "rbxassetid://9856898"
  272. o31.Scale = Vector3.new(1, 0.400000006, 1)
  273. o31.TextureId = "rbxassetid://2114473"
  274. o31.MeshType = Enum.MeshType.FileMesh
  275. o32 = Instance.new("Part")
  276. o32.Name = "31"
  277. o32.Parent = o1
  278. o32.Position = Vector3.new(-6, 0.200000018, 0)
  279. o32.Anchored = true
  280. o32.CFrame = CFrame.new(-6, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  281. o32.CanCollide = false
  282. o32.Size = Vector3.new(0.5, 0.200000003, 0.5)
  283. o32.BottomSurface = Enum.SurfaceType.Smooth
  284. o32.TopSurface = Enum.SurfaceType.Smooth
  285. o33 = Instance.new("SpecialMesh")
  286. o33.Parent = o32
  287. o33.MeshId = "rbxassetid://9856898"
  288. o33.Scale = Vector3.new(1, 0.400000006, 1)
  289. o33.TextureId = "rbxassetid://2114473"
  290. o33.MeshType = Enum.MeshType.FileMesh
  291. o34 = Instance.new("Part")
  292. o34.Name = "32"
  293. o34.Parent = o1
  294. o34.Position = Vector3.new(-6.5, 0.200000018, 0)
  295. o34.Anchored = true
  296. o34.CFrame = CFrame.new(-6.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  297. o34.CanCollide = false
  298. o34.Size = Vector3.new(0.5, 0.200000003, 0.5)
  299. o34.BottomSurface = Enum.SurfaceType.Smooth
  300. o34.TopSurface = Enum.SurfaceType.Smooth
  301. o35 = Instance.new("SpecialMesh")
  302. o35.Parent = o34
  303. o35.MeshId = "rbxassetid://9856898"
  304. o35.Scale = Vector3.new(1, 0.400000006, 1)
  305. o35.TextureId = "rbxassetid://2114473"
  306. o35.MeshType = Enum.MeshType.FileMesh
  307. o36 = Instance.new("Part")
  308. o36.Name = "33"
  309. o36.Parent = o1
  310. o36.Position = Vector3.new(-7, 0.200000018, 0)
  311. o36.Anchored = true
  312. o36.CFrame = CFrame.new(-7, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  313. o36.CanCollide = false
  314. o36.Size = Vector3.new(0.5, 0.200000003, 0.5)
  315. o36.BottomSurface = Enum.SurfaceType.Smooth
  316. o36.TopSurface = Enum.SurfaceType.Smooth
  317. o37 = Instance.new("SpecialMesh")
  318. o37.Parent = o36
  319. o37.MeshId = "rbxassetid://9856898"
  320. o37.Scale = Vector3.new(1, 0.400000006, 1)
  321. o37.TextureId = "rbxassetid://2114473"
  322. o37.MeshType = Enum.MeshType.FileMesh
  323. o38 = Instance.new("Part")
  324. o38.Name = "3"
  325. o38.Parent = o1
  326. o38.Position = Vector3.new(8, 0.200000018, 0)
  327. o38.Anchored = true
  328. o38.CFrame = CFrame.new(8, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  329. o38.CanCollide = false
  330. o38.Size = Vector3.new(0.5, 0.200000003, 0.5)
  331. o38.BottomSurface = Enum.SurfaceType.Smooth
  332. o38.TopSurface = Enum.SurfaceType.Smooth
  333. o39 = Instance.new("SpecialMesh")
  334. o39.Parent = o38
  335. o39.MeshId = "rbxassetid://9856898"
  336. o39.Scale = Vector3.new(1, 0.400000006, 1)
  337. o39.TextureId = "rbxassetid://2114473"
  338. o39.MeshType = Enum.MeshType.FileMesh
  339. o40 = Instance.new("Part")
  340. o40.Name = "14"
  341. o40.Parent = o1
  342. o40.Position = Vector3.new(2.5, 0.200000018, 0)
  343. o40.Anchored = true
  344. o40.CFrame = CFrame.new(2.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  345. o40.CanCollide = false
  346. o40.Size = Vector3.new(0.5, 0.200000003, 0.5)
  347. o40.BottomSurface = Enum.SurfaceType.Smooth
  348. o40.TopSurface = Enum.SurfaceType.Smooth
  349. o41 = Instance.new("SpecialMesh")
  350. o41.Parent = o40
  351. o41.MeshId = "rbxassetid://9856898"
  352. o41.Scale = Vector3.new(1, 0.400000006, 1)
  353. o41.TextureId = "rbxassetid://2114473"
  354. o41.MeshType = Enum.MeshType.FileMesh
  355. o42 = Instance.new("Part")
  356. o42.Name = "24"
  357. o42.Parent = o1
  358. o42.Position = Vector3.new(-2.5, 0.200000018, 0)
  359. o42.Anchored = true
  360. o42.CFrame = CFrame.new(-2.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  361. o42.CanCollide = false
  362. o42.Size = Vector3.new(0.5, 0.200000003, 0.5)
  363. o42.BottomSurface = Enum.SurfaceType.Smooth
  364. o42.TopSurface = Enum.SurfaceType.Smooth
  365. o43 = Instance.new("SpecialMesh")
  366. o43.Parent = o42
  367. o43.MeshId = "rbxassetid://9856898"
  368. o43.Scale = Vector3.new(1, 0.400000006, 1)
  369. o43.TextureId = "rbxassetid://2114473"
  370. o43.MeshType = Enum.MeshType.FileMesh
  371. o44 = Instance.new("Part")
  372. o44.Name = "4"
  373. o44.Parent = o1
  374. o44.Position = Vector3.new(7.5, 0.200000018, 0)
  375. o44.Anchored = true
  376. o44.CFrame = CFrame.new(7.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  377. o44.CanCollide = false
  378. o44.Size = Vector3.new(0.5, 0.200000003, 0.5)
  379. o44.BottomSurface = Enum.SurfaceType.Smooth
  380. o44.TopSurface = Enum.SurfaceType.Smooth
  381. o45 = Instance.new("SpecialMesh")
  382. o45.Parent = o44
  383. o45.MeshId = "rbxassetid://9856898"
  384. o45.Scale = Vector3.new(1, 0.400000006, 1)
  385. o45.TextureId = "rbxassetid://2114473"
  386. o45.MeshType = Enum.MeshType.FileMesh
  387. o46 = Instance.new("Part")
  388. o46.Name = "34"
  389. o46.Parent = o1
  390. o46.Position = Vector3.new(-7.5, 0.200000018, 0)
  391. o46.Anchored = true
  392. o46.CFrame = CFrame.new(-7.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  393. o46.CanCollide = false
  394. o46.Size = Vector3.new(0.5, 0.200000003, 0.5)
  395. o46.BottomSurface = Enum.SurfaceType.Smooth
  396. o46.TopSurface = Enum.SurfaceType.Smooth
  397. o47 = Instance.new("SpecialMesh")
  398. o47.Parent = o46
  399. o47.MeshId = "rbxassetid://9856898"
  400. o47.Scale = Vector3.new(1, 0.400000006, 1)
  401. o47.TextureId = "rbxassetid://2114473"
  402. o47.MeshType = Enum.MeshType.FileMesh
  403. o48 = Instance.new("Part")
  404. o48.Name = "15"
  405. o48.Parent = o1
  406. o48.Position = Vector3.new(2, 0.200000018, 0)
  407. o48.Anchored = true
  408. o48.CFrame = CFrame.new(2, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  409. o48.CanCollide = false
  410. o48.Size = Vector3.new(0.5, 0.200000003, 0.5)
  411. o48.BottomSurface = Enum.SurfaceType.Smooth
  412. o48.TopSurface = Enum.SurfaceType.Smooth
  413. o49 = Instance.new("SpecialMesh")
  414. o49.Parent = o48
  415. o49.MeshId = "rbxassetid://9856898"
  416. o49.Scale = Vector3.new(1, 0.400000006, 1)
  417. o49.TextureId = "rbxassetid://2114473"
  418. o49.MeshType = Enum.MeshType.FileMesh
  419. o50 = Instance.new("Part")
  420. o50.Name = "25"
  421. o50.Parent = o1
  422. o50.Position = Vector3.new(-3, 0.200000018, 0)
  423. o50.Anchored = true
  424. o50.CFrame = CFrame.new(-3, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  425. o50.CanCollide = false
  426. o50.Size = Vector3.new(0.5, 0.200000003, 0.5)
  427. o50.BottomSurface = Enum.SurfaceType.Smooth
  428. o50.TopSurface = Enum.SurfaceType.Smooth
  429. o51 = Instance.new("SpecialMesh")
  430. o51.Parent = o50
  431. o51.MeshId = "rbxassetid://9856898"
  432. o51.Scale = Vector3.new(1, 0.400000006, 1)
  433. o51.TextureId = "rbxassetid://2114473"
  434. o51.MeshType = Enum.MeshType.FileMesh
  435. o52 = Instance.new("Part")
  436. o52.Name = "5"
  437. o52.Parent = o1
  438. o52.Position = Vector3.new(7, 0.200000018, 0)
  439. o52.Anchored = true
  440. o52.CFrame = CFrame.new(7, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  441. o52.CanCollide = false
  442. o52.Size = Vector3.new(0.5, 0.200000003, 0.5)
  443. o52.BottomSurface = Enum.SurfaceType.Smooth
  444. o52.TopSurface = Enum.SurfaceType.Smooth
  445. o53 = Instance.new("SpecialMesh")
  446. o53.Parent = o52
  447. o53.MeshId = "rbxassetid://9856898"
  448. o53.Scale = Vector3.new(1, 0.400000006, 1)
  449. o53.TextureId = "rbxassetid://2114473"
  450. o53.MeshType = Enum.MeshType.FileMesh
  451. o54 = Instance.new("Part")
  452. o54.Name = "35"
  453. o54.Parent = o1
  454. o54.Position = Vector3.new(-8, 0.200000018, 0)
  455. o54.Anchored = true
  456. o54.CFrame = CFrame.new(-8, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  457. o54.CanCollide = false
  458. o54.Size = Vector3.new(0.5, 0.200000003, 0.5)
  459. o54.BottomSurface = Enum.SurfaceType.Smooth
  460. o54.TopSurface = Enum.SurfaceType.Smooth
  461. o55 = Instance.new("SpecialMesh")
  462. o55.Parent = o54
  463. o55.MeshId = "rbxassetid://9856898"
  464. o55.Scale = Vector3.new(1, 0.400000006, 1)
  465. o55.TextureId = "rbxassetid://2114473"
  466. o55.MeshType = Enum.MeshType.FileMesh
  467. o56 = Instance.new("Part")
  468. o56.Name = "16"
  469. o56.Parent = o1
  470. o56.Position = Vector3.new(1.5, 0.200000018, 0)
  471. o56.Anchored = true
  472. o56.CFrame = CFrame.new(1.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  473. o56.CanCollide = false
  474. o56.Size = Vector3.new(0.5, 0.200000003, 0.5)
  475. o56.BottomSurface = Enum.SurfaceType.Smooth
  476. o56.TopSurface = Enum.SurfaceType.Smooth
  477. o57 = Instance.new("SpecialMesh")
  478. o57.Parent = o56
  479. o57.MeshId = "rbxassetid://9856898"
  480. o57.Scale = Vector3.new(1, 0.400000006, 1)
  481. o57.TextureId = "rbxassetid://2114473"
  482. o57.MeshType = Enum.MeshType.FileMesh
  483. o58 = Instance.new("Part")
  484. o58.Name = "6"
  485. o58.Parent = o1
  486. o58.Position = Vector3.new(6.5, 0.200000018, 0)
  487. o58.Anchored = true
  488. o58.CFrame = CFrame.new(6.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  489. o58.CanCollide = false
  490. o58.Size = Vector3.new(0.5, 0.200000003, 0.5)
  491. o58.BottomSurface = Enum.SurfaceType.Smooth
  492. o58.TopSurface = Enum.SurfaceType.Smooth
  493. o59 = Instance.new("SpecialMesh")
  494. o59.Parent = o58
  495. o59.MeshId = "rbxassetid://9856898"
  496. o59.Scale = Vector3.new(1, 0.400000006, 1)
  497. o59.TextureId = "rbxassetid://2114473"
  498. o59.MeshType = Enum.MeshType.FileMesh
  499. o60 = Instance.new("Part")
  500. o60.Name = "26"
  501. o60.Parent = o1
  502. o60.Position = Vector3.new(-3.5, 0.200000018, 0)
  503. o60.Anchored = true
  504. o60.CFrame = CFrame.new(-3.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  505. o60.CanCollide = false
  506. o60.Size = Vector3.new(0.5, 0.200000003, 0.5)
  507. o60.BottomSurface = Enum.SurfaceType.Smooth
  508. o60.TopSurface = Enum.SurfaceType.Smooth
  509. o61 = Instance.new("SpecialMesh")
  510. o61.Parent = o60
  511. o61.MeshId = "rbxassetid://9856898"
  512. o61.Scale = Vector3.new(1, 0.400000006, 1)
  513. o61.TextureId = "rbxassetid://2114473"
  514. o61.MeshType = Enum.MeshType.FileMesh
  515. o62 = Instance.new("Part")
  516. o62.Name = "36"
  517. o62.Parent = o1
  518. o62.Position = Vector3.new(-8.5, 0.200000018, 0)
  519. o62.Anchored = true
  520. o62.CFrame = CFrame.new(-8.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  521. o62.CanCollide = false
  522. o62.Size = Vector3.new(0.5, 0.200000003, 0.5)
  523. o62.BottomSurface = Enum.SurfaceType.Smooth
  524. o62.TopSurface = Enum.SurfaceType.Smooth
  525. o63 = Instance.new("SpecialMesh")
  526. o63.Parent = o62
  527. o63.MeshId = "rbxassetid://9856898"
  528. o63.Scale = Vector3.new(1, 0.400000006, 1)
  529. o63.TextureId = "rbxassetid://2114473"
  530. o63.MeshType = Enum.MeshType.FileMesh
  531. o64 = Instance.new("Part")
  532. o64.Name = "17"
  533. o64.Parent = o1
  534. o64.Position = Vector3.new(1, 0.200000018, 0)
  535. o64.Anchored = true
  536. o64.CFrame = CFrame.new(1, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  537. o64.CanCollide = false
  538. o64.Size = Vector3.new(0.5, 0.200000003, 0.5)
  539. o64.BottomSurface = Enum.SurfaceType.Smooth
  540. o64.TopSurface = Enum.SurfaceType.Smooth
  541. o65 = Instance.new("SpecialMesh")
  542. o65.Parent = o64
  543. o65.MeshId = "rbxassetid://9856898"
  544. o65.Scale = Vector3.new(1, 0.400000006, 1)
  545. o65.TextureId = "rbxassetid://2114473"
  546. o65.MeshType = Enum.MeshType.FileMesh
  547. o66 = Instance.new("Part")
  548. o66.Name = "27"
  549. o66.Parent = o1
  550. o66.Position = Vector3.new(-4, 0.200000018, 0)
  551. o66.Anchored = true
  552. o66.CFrame = CFrame.new(-4, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  553. o66.CanCollide = false
  554. o66.Size = Vector3.new(0.5, 0.200000003, 0.5)
  555. o66.BottomSurface = Enum.SurfaceType.Smooth
  556. o66.TopSurface = Enum.SurfaceType.Smooth
  557. o67 = Instance.new("SpecialMesh")
  558. o67.Parent = o66
  559. o67.MeshId = "rbxassetid://9856898"
  560. o67.Scale = Vector3.new(1, 0.400000006, 1)
  561. o67.TextureId = "rbxassetid://2114473"
  562. o67.MeshType = Enum.MeshType.FileMesh
  563. o68 = Instance.new("Part")
  564. o68.Name = "7"
  565. o68.Parent = o1
  566. o68.Position = Vector3.new(6, 0.200000018, 0)
  567. o68.Anchored = true
  568. o68.CFrame = CFrame.new(6, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  569. o68.CanCollide = false
  570. o68.Size = Vector3.new(0.5, 0.200000003, 0.5)
  571. o68.BottomSurface = Enum.SurfaceType.Smooth
  572. o68.TopSurface = Enum.SurfaceType.Smooth
  573. o69 = Instance.new("SpecialMesh")
  574. o69.Parent = o68
  575. o69.MeshId = "rbxassetid://9856898"
  576. o69.Scale = Vector3.new(1, 0.400000006, 1)
  577. o69.TextureId = "rbxassetid://2114473"
  578. o69.MeshType = Enum.MeshType.FileMesh
  579. o70 = Instance.new("Part")
  580. o70.Name = "37"
  581. o70.Parent = o1
  582. o70.Position = Vector3.new(-9, 0.200000018, 0)
  583. o70.Anchored = true
  584. o70.CFrame = CFrame.new(-9, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  585. o70.CanCollide = false
  586. o70.Size = Vector3.new(0.5, 0.200000003, 0.5)
  587. o70.BottomSurface = Enum.SurfaceType.Smooth
  588. o70.TopSurface = Enum.SurfaceType.Smooth
  589. o71 = Instance.new("SpecialMesh")
  590. o71.Parent = o70
  591. o71.MeshId = "rbxassetid://9856898"
  592. o71.Scale = Vector3.new(1, 0.400000006, 1)
  593. o71.TextureId = "rbxassetid://2114473"
  594. o71.MeshType = Enum.MeshType.FileMesh
  595. o72 = Instance.new("Part")
  596. o72.Name = "8"
  597. o72.Parent = o1
  598. o72.Position = Vector3.new(5.5, 0.200000018, 0)
  599. o72.Anchored = true
  600. o72.CFrame = CFrame.new(5.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  601. o72.CanCollide = false
  602. o72.Size = Vector3.new(0.5, 0.200000003, 0.5)
  603. o72.BottomSurface = Enum.SurfaceType.Smooth
  604. o72.TopSurface = Enum.SurfaceType.Smooth
  605. o73 = Instance.new("SpecialMesh")
  606. o73.Parent = o72
  607. o73.MeshId = "rbxassetid://9856898"
  608. o73.Scale = Vector3.new(1, 0.400000006, 1)
  609. o73.TextureId = "rbxassetid://2114473"
  610. o73.MeshType = Enum.MeshType.FileMesh
  611. o74 = Instance.new("Part")
  612. o74.Name = "18"
  613. o74.Parent = o1
  614. o74.Position = Vector3.new(0.5, 0.200000018, 0)
  615. o74.Anchored = true
  616. o74.CFrame = CFrame.new(0.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  617. o74.CanCollide = false
  618. o74.Size = Vector3.new(0.5, 0.200000003, 0.5)
  619. o74.BottomSurface = Enum.SurfaceType.Smooth
  620. o74.TopSurface = Enum.SurfaceType.Smooth
  621. o75 = Instance.new("SpecialMesh")
  622. o75.Parent = o74
  623. o75.MeshId = "rbxassetid://9856898"
  624. o75.Scale = Vector3.new(1, 0.400000006, 1)
  625. o75.TextureId = "rbxassetid://2114473"
  626. o75.MeshType = Enum.MeshType.FileMesh
  627. o76 = Instance.new("Part")
  628. o76.Name = "28"
  629. o76.Parent = o1
  630. o76.Position = Vector3.new(-4.5, 0.200000018, 0)
  631. o76.Anchored = true
  632. o76.CFrame = CFrame.new(-4.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  633. o76.CanCollide = false
  634. o76.Size = Vector3.new(0.5, 0.200000003, 0.5)
  635. o76.BottomSurface = Enum.SurfaceType.Smooth
  636. o76.TopSurface = Enum.SurfaceType.Smooth
  637. o77 = Instance.new("SpecialMesh")
  638. o77.Parent = o76
  639. o77.MeshId = "rbxassetid://9856898"
  640. o77.Scale = Vector3.new(1, 0.400000006, 1)
  641. o77.TextureId = "rbxassetid://2114473"
  642. o77.MeshType = Enum.MeshType.FileMesh
  643. o78 = Instance.new("Part")
  644. o78.Name = "38"
  645. o78.Parent = o1
  646. o78.Position = Vector3.new(-9.5, 0.200000018, 0)
  647. o78.Anchored = true
  648. o78.CFrame = CFrame.new(-9.5, 0.200000018, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  649. o78.CanCollide = false
  650. o78.Size = Vector3.new(0.5, 0.200000003, 0.5)
  651. o78.BottomSurface = Enum.SurfaceType.Smooth
  652. o78.TopSurface = Enum.SurfaceType.Smooth
  653. o79 = Instance.new("SpecialMesh")
  654. o79.Parent = o78
  655. o79.MeshId = "rbxassetid://9856898"
  656. o79.Scale = Vector3.new(1, 0.400000006, 1)
  657. o79.TextureId = "rbxassetid://2114473"
  658. o79.MeshType = Enum.MeshType.FileMesh
  659. o80 = Instance.new("SpecialMesh")
  660. o80.Parent = o1
  661. o80.MeshId = "rbxassetid://9856898"
  662. o80.Scale = Vector3.new(40, 0.400000006, 2)
  663. o80.TextureId = "rbxassetid://2114473"
  664. o80.VertexColor = Vector3.new(0, 0, 0)
  665. o80.MeshType = Enum.MeshType.FileMesh
  666. mas.Parent = game.Players.LocalPlayer.Character.Torso
  667. mas:MakeJoints()
  668. local mas1 = mas:GetChildren()
  669. for i=1,#mas1 do
  670. mas1[i].Parent = game.Players.LocalPlayer.Character.Torso
  671. ypcall(function() mas1[i]:MakeJoints() end)
  672. end
  673. mas:Destroy()
  674. for i=1,#cors do
  675. coroutine.resume(cors[i])
  676. end
  677.  
  678. local Height=9 -- Max height of the bars
  679. local plr=game.Players.LocalPlayer
  680.  
  681. o81 = Instance.new("Sound")
  682. o81.Parent = plr.Character.Torso
  683. o81.SoundId = "rbxassetid://"
  684. o81.Volume = 1
  685. o81.Looped = false
  686.  
  687. o82 = Instance.new("PointLight")
  688. o82.Parent = plr.Character.Torso
  689. o82.Range = 24
  690.  
  691. --Startup Interface--
  692. local head = game.Players.LocalPlayer.Character.Head
  693. local bg = Instance.new("BillboardGui",head)
  694. bg.Name = "Startup"
  695. bg.AlwaysOnTop = true
  696. bg.StudsOffset = Vector3.new(0,4,0)
  697. local bgframe = Instance.new("Frame",bg)
  698. bgframe.BackgroundTransparency = 1
  699. bgframe.Size = UDim2.new(0,200,0,25)
  700. bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
  701. local bgtxt = Instance.new("TextLabel",bgframe)
  702. bgtxt.Size = UDim2.new(0,200,0,25)
  703. bgtxt.FontSize = "Size24"
  704. bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
  705. bgtxt.BackgroundTransparency = 1
  706. bgtxt.TextColor3 = BrickColor.new("Gold").Color
  707. bgtxt.TextStrokeColor3=Color3.new(0,0,0)
  708. bgtxt.TextStrokeTransparency = 0
  709. bgtxt.Font = "SciFi"
  710. bgtxt.TextScaled = false
  711. spawn(function()
  712. local txt1 = "Music Spectrum"
  713. local txt2 = "um hi"
  714. for i=1,#txt1 do
  715. bgtxt.Text = txt1:sub(1,i)
  716. wait()
  717. end
  718. wait()
  719. for i=#txt1,1,-1 do
  720. bgtxt.Text = txt1:sub(1,i)
  721. wait()
  722. end
  723. wait()
  724. for i=1,#txt2 do
  725. bgtxt.Text = txt2:sub(1,i)
  726. wait()
  727. end
  728. wait()
  729. for i=#txt2,1,-1 do
  730. bgtxt.Text = txt2:sub(1,i)
  731. wait()
  732. end
  733. wait()
  734. for i=0,1,0.1 do
  735. bgtxt.TextTransparency = i
  736. bgtxt.TextStrokeTransparency = i
  737. wait()
  738. end
  739. bg:Destroy()
  740. end)
  741. --Startup Interface--
  742.  
  743. local Soundbar=game.Players.LocalPlayer.Character.Torso.Soundbar
  744. local Sound=plr.Character.Torso.Sound
  745. local Bars={} for i,v in next,Soundbar:children() do
  746. if v:IsA'BasePart' then
  747. table.insert(Bars,v)
  748. end
  749. end Height=Height*2
  750. local nBars,Tweens=#Bars-1,{}
  751.  
  752. -- EASING FUNCTIONS --
  753. local function quadIn(t,b,c,d) t=t/d; return c*t*t+b; end;
  754. local function quadOut(t,b,c,d) t=t/d; return -c*t*(t-2)+b; end;
  755. local function Quad(obj,val,ease,d)
  756. local t,f,con,nt,st,sd=tick()
  757. Tweens[obj]=t -- Set identifier
  758. st=obj.Scale.Y -- Start Value
  759. sd=val-st -- Change in Value
  760. f=ease=='In' and quadIn or quadOut -- Choose between Out/In
  761. con=game:GetService'RunService'.RenderStepped:connect(function() nt=tick()-t
  762. if Tweens[obj]~=t then -- Check for override
  763. con:disconnect()
  764. return
  765. end
  766. local nv=math.max(.2,f(math.min(d,nt),st,sd,d)) -- New Value
  767. obj.Scale=Vector3.new(.9,nv,.9)
  768. obj.Offset=Vector3.new(0,nv/4,0)
  769. obj.VertexColor=Vector3.new(cycle(tick()))
  770. o82.Color = Color3.new(cycle(tick()))
  771. if nt>d then -- Easing done?
  772. con:disconnect()
  773. if ease~='In' then
  774. Quad(obj,.2,'In',.3) -- Drop the bar
  775. end
  776. end
  777. end)
  778. end
  779.  
  780. -- BAR MANIPULATION --
  781. local function CheckSet(N,S,D) -- Number, Scale, Direction
  782. local nS=Soundbar[tostring(N)].Mesh.Scale.Y
  783. if S>nS then
  784. Set(N,nS+(S-nS)/3,D)
  785. end
  786. end
  787.  
  788. function Set(N,S,D) -- Number, Scale, Direction
  789. Quad(Soundbar[tostring(N)].Mesh,S,'Out',.1) -- Grabs the bar and tweens
  790. if N>0 and D~=1 then -- Checks left for smaller bars to manipulate
  791. CheckSet(N-1,S,-1)
  792. end
  793. if N<nBars and D~=-1 then -- Checks right...
  794. CheckSet(N+1,S,1)
  795. end
  796. end
  797.  
  798. -- RENDER LOOP --
  799. local MPL,PL,curr=0 curr=Sound.SoundId
  800. spawn(function()
  801. game:service'RunService'.RenderStepped:connect(function()
  802. PL=Sound.PlaybackLoudness
  803. if Sound.IsPlaying and PL==PL then -- Sound is playing & PlaybackLoudness is not undefined
  804. if curr~=Sound.SoundId then MPL=0 -- Reset the relative Max PlaybackLoudness on song change
  805. curr=Sound.SoundId
  806. end
  807. MPL=math.max(PL,MPL) PL=PL/MPL -- Normalize PL based on relative Max PlaybackLoudness
  808. if PL==PL then
  809. Set(math.floor(PL*nBars),PL*Height*1) -- Modify bar relative to PlaybackLoudness
  810. end
  811. end
  812. end)
  813. end)
  814.  
  815. local play = false
  816. --Function Chat Start--
  817. function Chat(Message)
  818. pcall(function()
  819. for i,v in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do
  820. if v.ClassName == "BillboardGui" and v.Name ~= "Startup" then
  821. v.Frame.TextLabel.TextTransparency = v.Frame.TextLabel.TextTransparency - 0.5
  822. wait()
  823. v:Remove()
  824. end
  825. end
  826. end)
  827. local head = game.Players.LocalPlayer.Character.Head
  828. local bg = Instance.new("BillboardGui",head)
  829. bg.Name = "MusicNotify"
  830. bg.AlwaysOnTop = true
  831. bg.StudsOffset = Vector3.new(0,4,0)
  832. local bgframe = Instance.new("Frame",bg)
  833. bgframe.BackgroundTransparency = 1
  834. bgframe.Size = UDim2.new(0,200,0,25)
  835. bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
  836. local bgtxt = Instance.new("TextLabel",bgframe)
  837. bgtxt.Size = UDim2.new(0,200,0,25)
  838. bgtxt.FontSize = "Size24"
  839. bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
  840. bgtxt.BackgroundTransparency = 1
  841. bgtxt.TextColor3 = BrickColor.new("Gold").Color
  842. bgtxt.TextStrokeColor3=Color3.new(0,0,0)
  843. bgtxt.TextStrokeTransparency = 0
  844. bgtxt.Font = "SciFi"
  845. bgtxt.TextScaled = false
  846. spawn(function()
  847. local txt1 = Message
  848. for i=1,#txt1 do
  849. bgtxt.Text = txt1:sub(1,i)
  850. wait()
  851. end
  852. wait()
  853. for i=#txt1,1,-1 do
  854. bgtxt.Text = txt1:sub(1,i)
  855. wait()
  856. end
  857. wait()
  858. for i=0,1,0.1 do
  859. bgtxt.TextTransparency = i
  860. wait()
  861. end
  862. bg:Destroy()
  863. end)
  864. end
  865.  
  866. local play = true
  867. local Pause = false
  868. --function chat end--
  869. local Songs = {
  870. {SongName = 'Nil', SongDesc = 'Beast', Creator = 'Nil', ID = 300899607};
  871. {SongName = 'Nil', SongDesc = 'Nil', Creator = 'Nil', ID = 262514615};
  872. {SongName = 'Nil', SongDesc = 'Nil', Creator = 'Nil', ID = 160594536};
  873. {SongName = 'Nil', SongDesc = 'Nil', Creator = 'Nil', ID = 152190091};
  874. {SongName = 'Nil', SongDesc = 'Nil', Creator = 'Nil', ID = 447528571};
  875. {SongName = 'Nil', SongDesc = 'Nil', Creator = 'Nil', ID = 174577922};
  876. }
  877.  
  878. function PlayList()
  879. local sng = Songs[math.random(1,#Songs)]
  880. Sound.SoundId = 'rbxassetid://'..sng.ID
  881. Sound:Play()
  882. Chat("Now Playing: \n"..game:GetService("MarketplaceService"):GetProductInfo(sng.ID).Name)
  883. repeat wait() until Sound.IsPaused == true
  884. if play == false then return end
  885. if Pause == true then return end
  886. PlayList()
  887. end
  888. local Loop = false
  889. local Locked
  890. p = game:GetService('Players').LocalPlayer
  891. p.Chatted:connect(function(msg)
  892. if msg:sub(1,5):lower()=='play/' then
  893. play = true
  894. local val = Instance.new("NumberValue", p.Character)
  895. val.Name = "SongID"
  896. val.Value = tonumber(msg:sub(6))
  897. local id = val.Value
  898. Sound:Stop()
  899. Sound.SoundId='rbxassetid://'..id
  900. Sound:Play()
  901. Chat("Now Playing: \n"..game:GetService("MarketplaceService"):GetProductInfo(val.Value).Name)
  902. wait(1)
  903. val:Remove()
  904. elseif msg:sub(1,4):lower()=='vol/' then
  905. local val = Instance.new("NumberValue", p.Character)
  906. val.Name = "VolID"
  907. val.Value = tonumber(msg:sub(5))
  908. if val.Value > 10 then val.Value = 10
  909. end
  910. local id = val.Value
  911. Sound.Volume = id
  912. Chat("Set Volume To: "..id.."")
  913. val:Remove()
  914.  
  915. elseif msg:sub(1,5):lower()=='dist/' then
  916. local val = Instance.new("NumberValue", p.Character)
  917. val.Name = "Distance"
  918. val.Value = tonumber(msg:sub(6))
  919. if val.Value > 10000 then val.Value = 10000
  920. end
  921. local id = val.Value
  922. Sound.MaxDistance = id
  923. Chat("Set Max Distance To: "..id.."")
  924. val:Remove()
  925.  
  926. elseif msg:sub(1,6) == 'start/' then
  927. play = true
  928. PlayList()
  929.  
  930. elseif msg:sub(1,5) == 'loop/' and Loop == false then
  931. Loop = true
  932. Chat("Music Loop Enabled")
  933. game.Players.LocalPlayer.Character.Torso.Sound.Looped = true
  934.  
  935. elseif msg:sub(1,5) == 'loop/' and Loop == true then
  936. Loop = false
  937. Chat("Music Loop Disabled")
  938. game.Players.LocalPlayer.Character.Torso.Sound.Looped = false
  939.  
  940. elseif msg:sub(1,6) == 'pause/' and Pause == false then
  941. Pause = true
  942. Chat("Music Paused")
  943. game.Players.LocalPlayer.Character.Torso.Sound:Pause()
  944.  
  945. elseif msg:sub(1,6) == 'pause/' and Pause == true then
  946. Pause = false
  947. Chat("Music Unpaused")
  948. game.Players.LocalPlayer.Character.Torso.Sound:Resume()
  949.  
  950. elseif msg:sub(1,5) == 'skip/' then
  951. play = false
  952. Sound:Stop()
  953. play = true
  954. PlayList()
  955.  
  956. elseif msg:sub(1,5) == 'stop/' then
  957. Chat("Stopped Music Spectrum")
  958. play = false
  959. Sound:Stop()
  960. end
  961.  
  962. end)
  963.  
  964. local CRot = 1
  965. local rad,sin,ceil=math.rad,math.sin,math.ceil
  966.  
  967. Sound:Play()
  968.  
  969. local Parts = {}
  970. for Index,v in pairs(o1:children'') do
  971. if v:IsA'Part' then
  972. table.insert(Parts,v)
  973. end
  974. end
  975.  
  976. spawn(function()
  977. game:service'RunService'.RenderStepped:connect(function()
  978. for Index,v in pairs(o1:children'') do
  979. if v:IsA'Part' then
  980. v.CFrame = CFrame.new(plr.Character.Torso.Position)
  981. *CFrame.Angles(0,rad((360/#Parts*Index+(tick())*60/(#Parts ~= 0 and #Parts or 1))%360),0)
  982. *CFrame.new(0, -3, (5+#Parts)*.35+v.Size.X)
  983. *CFrame.Angles(0,90+CRot,0)
  984. end
  985. end
  986.  
  987. end)
  988. end)
Advertisement
Add Comment
Please, Sign In to add comment