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