View difference between Paste ID: CCHXhWGe and e7axyAZb
SHOW: | | - or go back to the newest paste.
1
  if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
141
142
player = game:GetService("Players").LocalPlayer
143
char = player.Character
144
root = char:WaitForChild("HumanoidRootPart")
145
rs = game:GetService("RunService").RenderStepped
146
mouse = player:GetMouse()
147
148
parent = player.PlayerGui
149
ScreenGui0 = Instance.new("ScreenGui")
150
TextButton1 = Instance.new("TextButton")
151
Frame2 = Instance.new("Frame")
152
TextBox3 = Instance.new("TextBox")
153
TextButton4 = Instance.new("TextButton")
154
Frame5 = Instance.new("Frame")
155
Frame6 = Instance.new("Frame")
156
Frame7 = Instance.new("Frame")
157
TextLabel8 = Instance.new("TextLabel")
158
TextButton9 = Instance.new("TextButton")
159
Frame10 = Instance.new("Frame")
160
Frame11 = Instance.new("Frame")
161
TextLabel12 = Instance.new("TextLabel")
162
TextButton13 = Instance.new("TextButton")
163
TextButton14 = Instance.new("TextButton")
164
Frame15 = Instance.new("Frame")
165
Frame16 = Instance.new("Frame")
166
Frame17 = Instance.new("Frame")
167
TextButton18 = Instance.new("TextButton")
168
TextLabel19 = Instance.new("TextLabel")
169
Frame20 = Instance.new("Frame")
170
Frame21 = Instance.new("Frame")
171
TextButton22 = Instance.new("TextButton")
172
TextLabel23 = Instance.new("TextLabel")
173
Frame24 = Instance.new("Frame")
174
Frame25 = Instance.new("Frame")
175
TextButton26 = Instance.new("TextButton")
176
TextLabel27 = Instance.new("TextLabel")
177
Frame28 = Instance.new("Frame")
178
Frame29 = Instance.new("Frame")
179
TextButton30 = Instance.new("TextButton")
180
TextLabel31 = Instance.new("TextLabel")
181
Frame32 = Instance.new("Frame")
182
TextButton33 = Instance.new("TextButton")
183
TextButton34 = Instance.new("TextButton")
184
ScreenGui0.Name = "MusicPlayerKyu"
185
ScreenGui0.Parent = parent
186
TextButton1.Name = "Open/Close"
187
TextButton1.Parent = ScreenGui0
188
TextButton1.Size = UDim2.new(0, 20, 0, 300)
189
TextButton1.Text = ">>"
190
TextButton1.Position = UDim2.new(0, 0, 0, 250)
191
TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
192
TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
193
TextButton1.Font = Enum.Font.Code
194
Frame2.Name = "Core"
195
Frame2.Parent = ScreenGui0
196
Frame2.Size = UDim2.new(0, 500, 0, 300)
197
Frame2.Position = UDim2.new(0, 20, 0, 250)
198
Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
199
Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
200
TextBox3.Name = "ID"
201
TextBox3.Parent = Frame2
202
TextBox3.Size = UDim2.new(0, 100, 0, 100)
203
TextBox3.Text = "ID"
204
TextBox3.Position = UDim2.new(0, 50, 0, 20)
205
TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
206
TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
207
TextBox3.Font = Enum.Font.SciFi
208
TextBox3.FontSize = Enum.FontSize.Size14
209
TextButton4.Name = "Play"
210
TextButton4.Parent = TextBox3
211
TextButton4.Size = UDim2.new(1, 0, 0, 20)
212
TextButton4.Text = "PLAY"
213
TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
214
TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
215
TextButton4.Font = Enum.Font.SciFi
216
TextButton4.FontSize = Enum.FontSize.Size14
217
TextButton4.AnchorPoint = Vector2.new(0.5, 0)
218
Frame5.Name = "SettingsPanel"
219
Frame5.Parent = Frame2
220
Frame5.Size = UDim2.new(0, 300, 0, 150)
221
Frame5.Position = UDim2.new(1, -20, 0, 20)
222
Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
223
Frame5.AnchorPoint = Vector2.new(1, 0)
224
Frame6.Name = "Volume"
225
Frame6.Parent = Frame5
226
Frame6.Transparency = 0
227
Frame6.Size = UDim2.new(0, 100, 0, 100)
228
Frame6.Position = UDim2.new(0, 100, 0.5, 0)
229
Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
230
Frame6.BackgroundTransparency = 1
231
Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
232
Frame7.Name = "Line"
233
Frame7.Parent = Frame6
234
Frame7.Size = UDim2.new(0, 1, 1, 0)
235
Frame7.Position = UDim2.new(0.5, 0, 0, 0)
236
Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
237
Frame7.BorderSizePixel = 0
238
Frame7.AnchorPoint = Vector2.new(0.5, 0)
239
TextLabel8.Name = "Text"
240
TextLabel8.Parent = Frame6
241
TextLabel8.Transparency = 0
242
TextLabel8.Text = "Volume"
243
TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
244
TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
245
TextLabel8.BackgroundTransparency = 1
246
TextLabel8.Font = Enum.Font.SourceSans
247
TextLabel8.FontSize = Enum.FontSize.Size10
248
TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
249
TextButton9.Name = "DragVol"
250
TextButton9.Parent = Frame6
251
TextButton9.Size = UDim2.new(0, 20, 0, 10)
252
TextButton9.Text = ""
253
TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
254
TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
255
TextButton9.Font = Enum.Font.SourceSans
256
TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
257
Frame10.Name = "Pitch"
258
Frame10.Parent = Frame5
259
Frame10.Transparency = 0
260
Frame10.Size = UDim2.new(0, 100, 0, 100)
261
Frame10.Position = UDim2.new(0, 50, 0.5, 0)
262
Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
263
Frame10.BackgroundTransparency = 1
264
Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
265
Frame11.Name = "Line"
266
Frame11.Parent = Frame10
267
Frame11.Size = UDim2.new(0, 1, 1, 0)
268
Frame11.Position = UDim2.new(0.5, 0, 0, 0)
269
Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
270
Frame11.BorderSizePixel = 0
271
Frame11.AnchorPoint = Vector2.new(0.5, 0)
272
TextLabel12.Name = "Text"
273
TextLabel12.Parent = Frame10
274
TextLabel12.Transparency = 0
275
TextLabel12.Text = "Pitch"
276
TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
277
TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
278
TextLabel12.BackgroundTransparency = 1
279
TextLabel12.Font = Enum.Font.SourceSans
280
TextLabel12.FontSize = Enum.FontSize.Size10
281
TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
282
TextButton13.Name = "DragPitch"
283
TextButton13.Parent = Frame10
284
TextButton13.Size = UDim2.new(0, 20, 0, 10)
285
TextButton13.Text = ""
286
TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
287
TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
288
TextButton13.Font = Enum.Font.SourceSans
289
TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
290
TextButton14.Name = "Reset"
291
TextButton14.Parent = Frame10
292
TextButton14.Size = UDim2.new(0, 20, 0, 20)
293
TextButton14.Text = ""
294
TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
295
TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
296
TextButton14.Font = Enum.Font.SourceSans
297
TextButton14.FontSize = Enum.FontSize.Size14
298
TextButton14.AnchorPoint = Vector2.new(1, 0.5)
299
Frame15.Name = "Others"
300
Frame15.Parent = Frame5
301
Frame15.Transparency = 0
302
Frame15.Size = UDim2.new(0, 100, 0, 100)
303
Frame15.Position = UDim2.new(0, 210, 0.5, 0)
304
Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
305
Frame15.BackgroundTransparency = 1
306
Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
307
Frame16.Name = "Low"
308
Frame16.Parent = Frame15
309
Frame16.Transparency = 0
310
Frame16.Size = UDim2.new(0, 0, 1, 0)
311
Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
312
Frame16.BackgroundTransparency = 1
313
Frame17.Name = "Line"
314
Frame17.Parent = Frame16
315
Frame17.Size = UDim2.new(0, 1, 1, 0)
316
Frame17.Position = UDim2.new(0.5, 0, 0, 0)
317
Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
318
Frame17.BorderSizePixel = 0
319
Frame17.AnchorPoint = Vector2.new(0.5, 0)
320
TextButton18.Name = "DragLow"
321
TextButton18.Parent = Frame16
322
TextButton18.Size = UDim2.new(0, 20, 0, 10)
323
TextButton18.Text = ""
324
TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
325
TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
326
TextButton18.Font = Enum.Font.SourceSans
327
TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
328
TextLabel19.Name = "Text"
329
TextLabel19.Parent = Frame16
330
TextLabel19.Transparency = 0
331
TextLabel19.Text = "Low"
332
TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
333
TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
334
TextLabel19.BackgroundTransparency = 1
335
TextLabel19.Font = Enum.Font.SourceSans
336
TextLabel19.FontSize = Enum.FontSize.Size10
337
TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
338
Frame20.Name = "Medium"
339
Frame20.Parent = Frame15
340
Frame20.Transparency = 0
341
Frame20.Size = UDim2.new(0, 0, 1, 0)
342
Frame20.Position = UDim2.new(0, 40, 0, 0)
343
Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
344
Frame20.BackgroundTransparency = 1
345
Frame21.Name = "Line"
346
Frame21.Parent = Frame20
347
Frame21.Size = UDim2.new(0, 1, 1, 0)
348
Frame21.Position = UDim2.new(0.5, 0, 0, 0)
349
Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
350
Frame21.BorderSizePixel = 0
351
Frame21.AnchorPoint = Vector2.new(0.5, 0)
352
TextButton22.Name = "DragMed"
353
TextButton22.Parent = Frame20
354
TextButton22.Size = UDim2.new(0, 20, 0, 10)
355
TextButton22.Text = ""
356
TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
357
TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
358
TextButton22.Font = Enum.Font.SourceSans
359
TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
360
TextLabel23.Name = "Text"
361
TextLabel23.Parent = Frame20
362
TextLabel23.Transparency = 0
363
TextLabel23.Text = "Medium"
364
TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
365
TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
366
TextLabel23.BackgroundTransparency = 1
367
TextLabel23.Font = Enum.Font.SourceSans
368
TextLabel23.FontSize = Enum.FontSize.Size10
369
TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
370
Frame24.Name = "High"
371
Frame24.Parent = Frame15
372
Frame24.Transparency = 0
373
Frame24.Size = UDim2.new(0, 0, 1, 0)
374
Frame24.Position = UDim2.new(0, 80, 0, 0)
375
Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
376
Frame24.BackgroundTransparency = 1
377
Frame25.Name = "Line"
378
Frame25.Parent = Frame24
379
Frame25.Size = UDim2.new(0, 1, 1, 0)
380
Frame25.Position = UDim2.new(0.5, 0, 0, 0)
381
Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
382
Frame25.BorderSizePixel = 0
383
Frame25.AnchorPoint = Vector2.new(0.5, 0)
384
TextButton26.Name = "DragHigh"
385
TextButton26.Parent = Frame24
386
TextButton26.Size = UDim2.new(0, 20, 0, 10)
387
TextButton26.Text = ""
388
TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
389
TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
390
TextButton26.Font = Enum.Font.SourceSans
391
TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
392
TextLabel27.Name = "Text"
393
TextLabel27.Parent = Frame24
394
TextLabel27.Transparency = 0
395
TextLabel27.Text = "High"
396
TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
397
TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
398
TextLabel27.BackgroundTransparency = 1
399
TextLabel27.Font = Enum.Font.SourceSans
400
TextLabel27.FontSize = Enum.FontSize.Size10
401
TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
402
Frame28.Name = "Distortion"
403
Frame28.Parent = Frame15
404
Frame28.Transparency = 0
405
Frame28.Size = UDim2.new(0, 0, 1, 0)
406
Frame28.Position = UDim2.new(0, 120, 0, 0)
407
Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
408
Frame28.BackgroundTransparency = 1
409
Frame29.Name = "Line"
410
Frame29.Parent = Frame28
411
Frame29.Size = UDim2.new(0, 1, 1, 0)
412
Frame29.Position = UDim2.new(0.5, 0, 0, 0)
413
Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
414
Frame29.BorderSizePixel = 0
415
Frame29.AnchorPoint = Vector2.new(0.5, 0)
416
TextButton30.Name = "DragDist"
417
TextButton30.Parent = Frame28
418
TextButton30.Size = UDim2.new(0, 20, 0, 10)
419
TextButton30.Text = ""
420
TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
421
TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
422
TextButton30.Font = Enum.Font.SourceSans
423
TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
424
TextLabel31.Name = "Text"
425
TextLabel31.Parent = Frame28
426
TextLabel31.Transparency = 0
427
TextLabel31.Text = "Dist"
428
TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
429
TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
430
TextLabel31.BackgroundTransparency = 1
431
TextLabel31.Font = Enum.Font.SourceSans
432
TextLabel31.FontSize = Enum.FontSize.Size10
433
TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
434
Frame32.Name = "Line"
435
Frame32.Parent = Frame5
436
Frame32.Size = UDim2.new(0, 1, 1, -20)
437
Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
438
Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
439
Frame32.BorderSizePixel = 0
440
Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
441
TextButton33.Name = "Global/Local"
442
TextButton33.Parent = Frame2
443
TextButton33.Size = UDim2.new(0, 100, 0, 100)
444
TextButton33.Text = "LOCAL"
445
TextButton33.Position = UDim2.new(0, 50, 0, 180)
446
TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
447
TextButton33.Font = Enum.Font.SciFi
448
TextButton33.FontSize = Enum.FontSize.Size14
449
TextButton34.Name = "Style"
450
TextButton34.Parent = Frame2
451
TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
452
TextButton34.Text = "Comming Soon"
453
TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
454
TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
455
TextButton34.Font = Enum.Font.SciFi
456
TextButton34.FontSize = Enum.FontSize.Size14
457
TextButton34.TextColor3 = Color3.new(1, 1, 0)
458
TextButton34.AnchorPoint = Vector2.new(0.5, 0)
459
Frame2.Visible = false
460
461
draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
462
mode = "local"
463
held = false
464
trigger = nil
465
base = UDim2.new(0,0,0,0)
466
467
function CreateSound()
468
if mode == "local" then
469
soundparent=char:WaitForChild("Torso")
470
else
471
soundparent=char
472
end	
473
sound = Instance.new("Sound",soundparent)
474
sound.Name = "KyuSound"
475
sound.Looped = true
476
effect = Instance.new("EqualizerSoundEffect",sound)
477
distort = Instance.new("DistortionSoundEffect",sound)
478
end
479
480
TextButton1.MouseButton1Click:connect(function()
481
if Frame2.Visible == true then
482
Frame2.Visible = false
483
TextButton1.Text = ">>"
484
else
485
Frame2.Visible = true
486
TextButton1.Text = "<<"
487
end
488
end)
489
490
TextButton4.MouseButton1Click:connect(function()
491
if mode == "local" then
492
if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
493
else
494
if not char:FindFirstChild("KyuSound") then CreateSound() end
495
end
496
sound:Stop()
497
sound.SoundId = "rbxassetid://"..TextBox3.Text
498
sound:Play()
499
end)
500
501
TextButton14.MouseButton1Click:connect(function()
502
TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
503
end)
504
505
TextButton33.MouseButton1Click:connect(function()
506
if mode == "local" then
507
mode = "global"
508
TextButton33.Text = "GLOBAL"
509
if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
510
sound:Pause()
511
sound.Parent = char
512
sound:Resume()
513
end
514
else
515
mode = "local"
516
TextButton33.Text = "LOCAL"
517
if char:FindFirstChild("KyuSound") then
518
sound:Pause()
519
sound.Parent = char:WaitForChild("Torso")
520
sound:Resume()
521
end
522
end
523
end)
524
525
for i,v in pairs(draggable) do
526
v.MouseButton1Down:connect(function()
527
	trigger = v
528
	base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
529
	held = true
530
end)
531
v.MouseButton1Up:connect(function()
532
	base = UDim2.new(0.5,0,0.5,0)
533
	trigger = nil
534
	held = false
535
end)
536
end
537
538
mouse.Button1Up:connect(function()
539
	base = UDim2.new(0.5,0,0.5,0)
540
	trigger = nil
541
	held = false
542
end)
543
544
mouse.Move:connect(function()
545
	if held then
546
		trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base
547
        if trigger.Position.Y.Offset > 50 then
548
        trigger.Position = UDim2.new(0.5, 0,0.5, 50)
549
        end
550
        if trigger.Position.Y.Offset < -50 then
551
        trigger.Position = UDim2.new(0.5, 0,0.5, -50)
552
        end
553
        if trigger.Position.X.Offset ~= 0 then
554
        trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset)
555
        end
556
	end
557
end)
558
max = 0
559
Visualiser = Instance.new("Model",char)
560
Visualiser2 = Instance.new("Model",Visualiser)
561
Main = Instance.new("Part",Visualiser)
562
Main.CanCollide = false
563
Main.Size = Vector3.new(1,1,1)
564
Main.Transparency = 1
565
Visualiserpos = Instance.new("Attachment",Main)
566
Visualiserpos.Position = Vector3.new(5,0,0)
567
bp = Instance.new("BodyPosition",Main)
568
ba = Instance.new("BodyAngularVelocity",Main)
569
coroutine.resume(coroutine.create(function()
570
while wait(0.03) do
571
block = Instance.new("Part",Visualiser2)
572
blockm = Instance.new("BlockMesh",block)
573
if char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
574
change = sound.PlaybackLoudness/80
575
blockm.Scale = Vector3.new(1+change,1+change,1+change)
576
end
577
block.Anchored = true
578
block.CanCollide = false
579
block.Material = Enum.Material.Neon
580
block.Size = Vector3.new(1,1,1)
581
block.Orientation = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
582
block.Position = Visualiserpos.WorldPosition
583
end
584
end))
585
while rs:wait() do
586
char = player.Character
587
root = char:WaitForChild("HumanoidRootPart")
588
if char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
589
if max < sound.PlaybackLoudness then
590
if sound.PlaybackLoudness <= 300 then
591
max = 300
592
else
593
max = sound.PlaybackLoudness
594
end
595
else
596
if sound.PlaybackLoudness < 0 then
597
max = max -1
598
end
599
end
600
sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
601
sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*10)/10
602
distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
603
effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
604
effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
605
effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
606
Visualiserpos.Position = Vector3.new(5+(max/20),0,0)
607
ba.AngularVelocity = Vector3.new(0,0.2+(max/180),0)
608
for i,v in pairs(Visualiser2:GetChildren()) do
609
local change = 0.1+(max/5000)
610
v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
611
v.Transparency = v.Transparency + 0.05
612
if v.Transparency >= 1 then
613
v:Destroy()
614
end
615
end
616
else
617
Visualiserpos.Position = Vector3.new(5,0,0)
618
ba.AngularVelocity = Vector3.new(0,0.2,0)
619
for i,v in pairs(Visualiser2:GetChildren()) do
620
local change = 0.1
621
v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
622
v.Transparency = v.Transparency + 0.05
623
if v.Transparency >= 1 then
624
v:Destroy()
625
end
626
end
627
end
628
Main:BreakJoints()
629
bp.Position = char.Head.Position+Vector3.new(0,2,0)
630
TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*10)/10
631
end