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