Advertisement
Cute_Sylveon

dabbe

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