View difference between Paste ID: mZTm9R31 and BTRb78Gx
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
2
print("FE Compatibility: by WaverlyCole & Mokiros")
3
InternalData = {}
4
do
5
    script.Parent = owner.Character
6
    local Event = Instance.new("RemoteEvent")
7
    Event.Name = "UserInput"
8
    local function NewFakeEvent()
9
        local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
10
        return Fake
11
    end
12
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
13
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
14
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
15
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
16
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
17
    local function TriggerEvent(self,Event,...)
18
        local Trigger = Mouse[Event]
19
        if Trigger and Trigger.fakeEvent and Trigger.Function then
20
            Trigger.Function(...)
21
        end
22
    end
23
    Mouse.TrigEvent = TriggerEvent
24
    UserInputService.TrigEvent = TriggerEvent
25
    Event.OnServerEvent:Connect(function(FiredBy,Input)
26
        if FiredBy.Name ~= owner.Name then end
27
        if Input.MouseEvent then
28
            Mouse.Target = Input.Target
29
            Mouse.Hit = Input.Hit
30
        else
31
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
32
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then
33
                return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
34
            end
35
            for _,Action in pairs(ContextActionService.Actions) do
36
                for _,Key in pairs(Action.Keys) do
37
                    if Key==Input.KeyCode then
38
                        Action.Function(Action.Name,Input.UserInputState,Input)
39
                    end
40
                end
41
            end
42
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
43
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
44
        end
45
    end)
46
    InternalData["Mouse"] = Mouse
47
    InternalData["ContextActionService"] = ContextActionService
48
    InternalData["UserInputService"] = UserInputService
49
    Event.Parent = NLS([[
50
        local Player = owner
51
        local Event = script:WaitForChild("UserInput")
52
        local UserInputService = game:GetService("UserInputService")
53
        local Mouse = Player:GetMouse()
54
        local Input = function(Input,gameProcessedEvent)
55
            if gameProcessedEvent then return end
56
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
57
        end
58
        UserInputService.InputBegan:Connect(Input)
59
        UserInputService.InputEnded:Connect(Input)
60
        local Hit,Target
61
        while wait(1/30) do
62
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
63
                Hit,Target = Mouse.Hit,Mouse.Target
64
                Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
65
            end
66
        end
67
    ]],owner.Character)
68
end
69
RealGame = game;game = setmetatable({},{
70
    __index = function (self,Index)
71
        local Sandbox = function (Thing)
72
            if Thing:IsA("Player") then
73
                local RealPlayer = Thing
74
                return setmetatable({},{
75
                    __index = function (self,Index)
76
                        local Type = type(RealPlayer[Index])
77
                        if Type == "function" then
78
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
79
                                return function (self)
80
                                    return InternalData["Mouse"]
81
                                end
82
                            end
83
                            return function (self,...)
84
                                return RealPlayer[Index](RealPlayer,...)
85
                            end
86
                        else
87
                            return RealPlayer[Index]
88
                        end
89
                    end;
90
                    __tostring = function(self)
91
                        return RealPlayer.Name
92
                    end
93
                })
94
            end
95
        end
96
        if RealGame[Index] then
97
            local Type = type(RealGame[Index])
98
            if Type == "function" then
99
                if Index:lower() == "getservice" or Index:lower() == "service" then
100
                    return function (self,Service)
101
                        if Service:lower() == "players" then
102
                            return setmetatable({},{
103
                                __index = function (self2,Index2)
104
                                    local RealService = RealGame:GetService(Service)
105
                                    local Type2 = type(Index2)
106
                                    if Type2 == "function" then
107
                                        return function (self,...)
108
                                            return RealService[Index2](RealService,...)
109
                                        end
110
                                    else
111
                                        if Index2:lower() == "localplayer" then
112
                                            return Sandbox(owner)
113
                                        end
114
                                        return RealService[Index2]
115
                                    end
116
                                end;
117
                                __tostring = function(self)
118
                                    return RealGame:GetService(Service).Name
119
                                end
120
                            })
121
                        elseif Service:lower() == "contextactionservice" then
122
                            return InternalData["ContextActionService"]
123
                        elseif Service:lower() == "contextactionservice" then
124
                            return InternalData["UserInputService"]
125
                        elseif Service:lower() == "runservice" then
126
                            return setmetatable({},{
127
                                __index = function(self2,Index2)
128
                                    local RealService = RealGame:GetService(Service)
129
                                    local Type2 = type(Index2)
130
                                    if Type2 == "function" then
131
                                        return function (self,...)
132
                                            return RealService[Index2](RealService,...)
133
                                        end
134
                                    else
135
                                        if Index2:lower() == "bindtorenderstep" then
136
                                            return function (self,Name,Priority,Function)
137
                                                return RealGame:GetService("RunService").Stepped:Connect(Function)
138
                                            end
139
                                        end
140
                                        if Index2:lower() == "renderstepped" then
141
                                            return RealService["Stepped"]
142
                                        end
143
                                        return RealService[Index2]
144
                                    end
145
                                end
146
                            })
147
                        else
148
                            return RealGame:GetService(Service)
149
                        end
150
                    end
151
                end
152
                return function (self,...)
153
                    return RealGame[Index](RealGame,...)
154
                end
155
            else
156
                if game:GetService(Index) then
157
                    return game:GetService(Index)
158
                end
159
                return RealGame[Index]
160
            end
161
        else
162
            return nil
163
        end
164
    end
165
});Game = game;owner = game:GetService("Players").LocalPlayer
166
print("Complete! Running... Showcased by VengefulProgram  ")
167
print(" Created by Kyutatsuki13")
168
print(" Pretty cool Effects :D ")
169
print(" not created by me lol ")
170
171
172
print([[
173
___________________________________
174
175
Kyutatsuki13's music player script
176
Build 0161
177
It's a music player of quality!
178
179
___________________________________
180
]])
181
182
player = game:GetService("Players").LocalPlayer
183
char = player.Character
184
hed = char:WaitForChild("Head")
185
root = char:WaitForChild("HumanoidRootPart")
186
rs = game:GetService("RunService").RenderStepped
187
mouse = player:GetMouse()
188
vismode = "rainbow"
189
firstrun = true
190
asdid = ""
191
asdtext = ""
192
asdtimeposition = 0
193
asdvolume = 0
194
asdpitch = 0
195
asdmax = 0
196
mode = "local"
197
asdhi=0
198
asdmi=0
199
asdlo=0
200
asddist=0
201
asdopen=false
202
asdcolor = false
203
synctarget = nil
204
foundsound = false
205
206
mathrandom={x=0;y=0;z=0;}
207
208
local rdmx = math.random(0,1)
209
local rdmy = math.random(0,1)
210
local rdmz = math.random(0,1)
211
if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
212
if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
213
if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
214
215
local origcolor = BrickColor.new("Really red")
216
bc = BrickColor.new
217
br = BrickColor.random
218
it = Instance.new
219
cf = CFrame.new
220
euler = CFrame.fromEulerAnglesXYZ
221
angles = CFrame.Angles
222
matr = math.random
223
it = Instance.new
224
vt = Vector3.new
225
cf = CFrame.new
226
bc = BrickColor.new
227
228
229
local leftkey = false
230
local rightkey = false
231
local typerot = 1
232
local rotspeed = 1
233
local negrotspeed = -1
234
function swait(num)
235
if num==0 or num==nil then
236
game:service'RunService'.Stepped:wait(0)
237
else
238
for i=0,num do
239
game:service'RunService'.Stepped:wait(0)
240
end
241
end
242
end
243
244
local Create = LoadLibrary("RbxUtility").Create
245
246
CFuncs = {	
247
	["Part"] = {
248
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
249
			local Part = Create("Part"){
250
				Parent = Parent,
251
				Reflectance = Reflectance,
252
				Transparency = Transparency,
253
				CanCollide = false,
254
				Locked = true,
255
				BrickColor = BrickColor.new(tostring(BColor)),
256
				Name = Name,
257
				Size = Size,
258
				Material = Material,
259
			}
260
			RemoveOutlines(Part)
261
			return Part
262
		end;
263
	};
264
	
265
	["Mesh"] = {
266
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
267
			local Msh = Create(Mesh){
268
				Parent = Part,
269
				Offset = OffSet,
270
				Scale = Scale,
271
			}
272
			if Mesh == "SpecialMesh" then
273
				Msh.MeshType = MeshType
274
				Msh.MeshId = MeshId
275
			end
276
			return Msh
277
		end;
278
	};
279
	
280
	["Mesh"] = {
281
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
282
			local Msh = Create(Mesh){
283
				Parent = Part,
284
				Offset = OffSet,
285
				Scale = Scale,
286
			}
287
			if Mesh == "SpecialMesh" then
288
				Msh.MeshType = MeshType
289
				Msh.MeshId = MeshId
290
			end
291
			return Msh
292
		end;
293
	};
294
	
295
	["Weld"] = {
296
		Create = function(Parent, Part0, Part1, C0, C1)
297
			local Weld = Create("Weld"){
298
				Parent = Parent,
299
				Part0 = Part0,
300
				Part1 = Part1,
301
				C0 = C0,
302
				C1 = C1,
303
			}
304
			return Weld
305
		end;
306
	};
307
308
	["Sound"] = {
309
		Create = function(id, par, vol, pit) 
310
			coroutine.resume(coroutine.create(function()
311
				local S = Create("Sound"){
312
					Volume = vol,
313
					Pitch = pit or 1,
314
					SoundId = id,
315
					Parent = par or workspace,
316
				}
317
				wait() 
318
				S:play() 
319
				game:GetService("Debris"):AddItem(S, 10)
320
			end))
321
		end;
322
	};
323
	
324
	["ParticleEmitter"] = {
325
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
326
			local fp = Create("ParticleEmitter"){
327
				Parent = Parent,
328
				Color = ColorSequence.new(Color1, Color2),
329
				LightEmission = LightEmission,
330
				Size = Size,
331
				Texture = Texture,
332
				Transparency = Transparency,
333
				ZOffset = ZOffset,
334
				Acceleration = Accel,
335
				Drag = Drag,
336
				LockedToPart = LockedToPart,
337
				VelocityInheritance = VelocityInheritance,
338
				EmissionDirection = EmissionDirection,
339
				Enabled = Enabled,
340
				Lifetime = LifeTime,
341
				Rate = Rate,
342
				Rotation = Rotation,
343
				RotSpeed = RotSpeed,
344
				Speed = Speed,
345
				VelocitySpread = VelocitySpread,
346
			}
347
			return fp
348
		end;
349
	};
350
351
	CreateTemplate = {
352
	
353
	};
354
}
355
356
357
358
New = function(Object, Parent, Name, Data)
359
	local Object = Instance.new(Object)
360
	for Index, Value in pairs(Data or {}) do
361
		Object[Index] = Value
362
	end
363
	Object.Parent = Parent
364
	Object.Name = Name
365
	return Object
366
end
367
368
function CreateSound(asd)
369
if synctarget == nil then
370
if mode == "local" then
371
soundparent=char:WaitForChild("Torso")
372
else
373
soundparent=char
374
end	
375
sound = Instance.new("Sound",soundparent)
376
sound.Name = "KyuSound"
377
sound.Looped = true
378
effect = Instance.new("EqualizerSoundEffect",sound)
379
coroutine.resume(coroutine.create(function()
380
distort = Instance.new("DistortionSoundEffect",sound)
381
end))
382
if asd ~= nil then 
383
sound.SoundId = asdid
384
sound.TimePosition = asdtimeposition
385
end
386
sound:Play()
387
end
388
end
389
390
function fetchName(id)
391
cast = false
392
coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) cast = true end))
393
if cast == true then
394
repeat rs:wait()
395
coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) end))
396
asdfname = product.Name
397
until asdfname ~= nil
398
else
399
asdfname = ""
400
end
401
return asdfname
402
end
403
404
function scan(instance)
405
if instance.ClassName == "Sound" then
406
if instance.TimeLength > 20 and instance.IsPlaying and foundsound == false then
407
asdid = instance.SoundId
408
sound = instance
409
foundsound = true
410
print("Sync to sound :)")
411
end
412
end
413
for _,children in pairs(instance:GetChildren()) do scan(children) end
414
end
415
416
function drawgui()
417
418
Prefix = "/"
419
function findPlayer(name)
420
for _, players in pairs(game:getService("Players"):GetPlayers()) do
421
if players.Name:lower():find(name:lower()) then
422
return players
423
end
424
end
425
end
426
427
if firstrun == true then
428
player.Chatted:connect(function(msg)
429
if msg:lower():sub(1,#Prefix+#'sync ')==Prefix..'sync ' then
430
local v = msg:sub(#Prefix+#'sync '+1)
431
foundsound = false
432
synctarget = findPlayer(v)
433
end
434
end)
435
end
436
437
naeeym2 = Instance.new("BillboardGui",root)
438
naeeym2.Size = UDim2.new(10, 0, 4, 0)
439
naeeym2.StudsOffset = Vector3.new(0, 7, 0)
440
naeeym2.Adornee = root
441
naeeym2.Name = "TalkingBillBoard"
442
tecks2 = Instance.new("TextLabel",naeeym2)
443
tecks2.BackgroundTransparency = 1
444
tecks2.BorderSizePixel = 0
445
if firstrun == true then
446
tecks2.Text = ""
447
else
448
tecks2.Text = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
449
end
450
tecks2.Font = "Fantasy"
451
tecks2.TextSize = 25
452
tecks2.Size = UDim2.new(1,0,1,0)
453
tecks2.TextStrokeTransparency = 0
454
tecks2.TextTransparency = 0
455
456
parent = player.PlayerGui
457
ScreenGui0 = Instance.new("ScreenGui")
458
TextButton1 = Instance.new("TextButton")
459
Frame2 = Instance.new("Frame")
460
TextBox3 = Instance.new("TextBox")
461
TextButton4 = Instance.new("TextButton")
462
Frame5 = Instance.new("Frame")
463
Frame6 = Instance.new("Frame")
464
Frame7 = Instance.new("Frame")
465
TextLabel8 = Instance.new("TextLabel")
466
TextButton9 = Instance.new("TextButton")
467
Frame10 = Instance.new("Frame")
468
Frame11 = Instance.new("Frame")
469
TextLabel12 = Instance.new("TextLabel")
470
TextButton13 = Instance.new("TextButton")
471
TextButton14 = Instance.new("TextButton")
472
Frame15 = Instance.new("Frame")
473
Frame16 = Instance.new("Frame")
474
Frame17 = Instance.new("Frame")
475
TextButton18 = Instance.new("TextButton")
476
TextLabel19 = Instance.new("TextLabel")
477
Frame20 = Instance.new("Frame")
478
Frame21 = Instance.new("Frame")
479
TextButton22 = Instance.new("TextButton")
480
TextLabel23 = Instance.new("TextLabel")
481
Frame24 = Instance.new("Frame")
482
Frame25 = Instance.new("Frame")
483
TextButton26 = Instance.new("TextButton")
484
TextLabel27 = Instance.new("TextLabel")
485
Frame28 = Instance.new("Frame")
486
Frame29 = Instance.new("Frame")
487
TextButton30 = Instance.new("TextButton")
488
TextLabel31 = Instance.new("TextLabel")
489
Frame32 = Instance.new("Frame")
490
TextButton33 = Instance.new("TextButton")
491
TextButton34 = Instance.new("TextButton")
492
ScreenGui0.Name = "MusicPlayerKyu"
493
ScreenGui0.Parent = parent
494
TextButton1.AnchorPoint = Vector2.new(0, 0.5)
495
TextButton1.Name = "Open/Close"
496
TextButton1.Parent = ScreenGui0
497
TextButton1.Size = UDim2.new(0, 20, 0, 300)
498
TextButton1.Text = ">>"
499
TextButton1.Position = UDim2.new(0, 0, 0.5, 0)
500
TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
501
TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
502
TextButton1.Font = Enum.Font.Code
503
Frame2.AnchorPoint = Vector2.new(0, 0.5)
504
Frame2.Name = "Core"
505
Frame2.Parent = ScreenGui0
506
Frame2.Size = UDim2.new(0, 500, 0, 300)
507
Frame2.Position = UDim2.new(0, 20, 0.5, 0)
508
Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
509
Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
510
TextBox3.Name = "ID"
511
TextBox3.Parent = Frame2
512
TextBox3.Size = UDim2.new(0, 100, 0, 100)
513
if firstrun == true then
514
TextBox3.Text = "ID"
515
else
516
TextBox3.Text = asdtext
517
end
518
TextBox3.Position = UDim2.new(0, 50, 0, 20)
519
TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
520
TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
521
TextBox3.Font = Enum.Font.SciFi
522
TextBox3.FontSize = Enum.FontSize.Size14
523
TextButton4.Name = "Play"
524
TextButton4.Parent = TextBox3
525
TextButton4.Size = UDim2.new(1, 0, 0, 20)
526
TextButton4.Text = "PLAY"
527
TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
528
TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
529
TextButton4.Font = Enum.Font.SciFi
530
TextButton4.FontSize = Enum.FontSize.Size14
531
TextButton4.AnchorPoint = Vector2.new(0.5, 0)
532
Frame5.Name = "SettingsPanel"
533
Frame5.Parent = Frame2
534
Frame5.Size = UDim2.new(0, 300, 0, 150)
535
Frame5.Position = UDim2.new(1, -20, 0, 20)
536
Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
537
Frame5.AnchorPoint = Vector2.new(1, 0)
538
Frame6.Name = "Volume"
539
Frame6.Parent = Frame5
540
Frame6.Transparency = 0
541
Frame6.Size = UDim2.new(0, 100, 0, 100)
542
Frame6.Position = UDim2.new(0, 100, 0.5, 0)
543
Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
544
Frame6.BackgroundTransparency = 1
545
Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
546
Frame7.Name = "Line"
547
Frame7.Parent = Frame6
548
Frame7.Size = UDim2.new(0, 1, 1, 0)
549
Frame7.Position = UDim2.new(0.5, 0, 0, 0)
550
Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
551
Frame7.BorderSizePixel = 0
552
Frame7.AnchorPoint = Vector2.new(0.5, 0)
553
TextLabel8.Name = "Text"
554
TextLabel8.Parent = Frame6
555
TextLabel8.Transparency = 0
556
TextLabel8.Text = "Volume"
557
TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
558
TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
559
TextLabel8.BackgroundTransparency = 1
560
TextLabel8.Font = Enum.Font.SourceSans
561
TextLabel8.FontSize = Enum.FontSize.Size10
562
TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
563
TextButton9.Name = "DragVol"
564
TextButton9.Parent = Frame6
565
TextButton9.Size = UDim2.new(0, 20, 0, 10)
566
TextButton9.Text = ""
567
if firstrun == true then
568
TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
569
else
570
TextButton9.Position = asdvolume
571
end
572
TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
573
TextButton9.Font = Enum.Font.SourceSans
574
TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
575
Frame10.Name = "Pitch"
576
Frame10.Parent = Frame5
577
Frame10.Transparency = 0
578
Frame10.Size = UDim2.new(0, 100, 0, 100)
579
Frame10.Position = UDim2.new(0, 50, 0.5, 0)
580
Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
581
Frame10.BackgroundTransparency = 1
582
Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
583
Frame11.Name = "Line"
584
Frame11.Parent = Frame10
585
Frame11.Size = UDim2.new(0, 1, 1, 0)
586
Frame11.Position = UDim2.new(0.5, 0, 0, 0)
587
Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
588
Frame11.BorderSizePixel = 0
589
Frame11.AnchorPoint = Vector2.new(0.5, 0)
590
TextLabel12.Name = "Text"
591
TextLabel12.Parent = Frame10
592
TextLabel12.Transparency = 0
593
TextLabel12.Text = "Pitch"
594
TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
595
TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
596
TextLabel12.BackgroundTransparency = 1
597
TextLabel12.Font = Enum.Font.SourceSans
598
TextLabel12.FontSize = Enum.FontSize.Size10
599
TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
600
TextButton13.Name = "DragPitch"
601
TextButton13.Parent = Frame10
602
TextButton13.Size = UDim2.new(0, 20, 0, 10)
603
TextButton13.Text = ""
604
if firstrun == true then
605
TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
606
else
607
TextButton13.Position = asdpitch
608
end
609
TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
610
TextButton13.Font = Enum.Font.SourceSans
611
TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
612
TextButton14.Name = "Reset"
613
TextButton14.Parent = Frame10
614
TextButton14.Size = UDim2.new(0, 20, 0, 20)
615
TextButton14.Text = ""
616
TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
617
TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
618
TextButton14.Font = Enum.Font.SourceSans
619
TextButton14.FontSize = Enum.FontSize.Size14
620
TextButton14.AnchorPoint = Vector2.new(1, 0.5)
621
Frame15.Name = "Others"
622
Frame15.Parent = Frame5
623
Frame15.Transparency = 0
624
Frame15.Size = UDim2.new(0, 100, 0, 100)
625
Frame15.Position = UDim2.new(0, 210, 0.5, 0)
626
Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
627
Frame15.BackgroundTransparency = 1
628
Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
629
Frame16.Name = "Low"
630
Frame16.Parent = Frame15
631
Frame16.Transparency = 0
632
Frame16.Size = UDim2.new(0, 0, 1, 0)
633
Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
634
Frame16.BackgroundTransparency = 1
635
Frame17.Name = "Line"
636
Frame17.Parent = Frame16
637
Frame17.Size = UDim2.new(0, 1, 1, 0)
638
Frame17.Position = UDim2.new(0.5, 0, 0, 0)
639
Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
640
Frame17.BorderSizePixel = 0
641
Frame17.AnchorPoint = Vector2.new(0.5, 0)
642
TextButton18.Name = "DragLow"
643
TextButton18.Parent = Frame16
644
TextButton18.Size = UDim2.new(0, 20, 0, 10)
645
TextButton18.Text = ""
646
if firstrun == true then
647
TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
648
else
649
TextButton18.Position = asdlo
650
end
651
TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
652
TextButton18.Font = Enum.Font.SourceSans
653
TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
654
TextLabel19.Name = "Text"
655
TextLabel19.Parent = Frame16
656
TextLabel19.Transparency = 0
657
TextLabel19.Text = "Low"
658
TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
659
TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
660
TextLabel19.BackgroundTransparency = 1
661
TextLabel19.Font = Enum.Font.SourceSans
662
TextLabel19.FontSize = Enum.FontSize.Size10
663
TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
664
Frame20.Name = "Medium"
665
Frame20.Parent = Frame15
666
Frame20.Transparency = 0
667
Frame20.Size = UDim2.new(0, 0, 1, 0)
668
Frame20.Position = UDim2.new(0, 40, 0, 0)
669
Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
670
Frame20.BackgroundTransparency = 1
671
Frame21.Name = "Line"
672
Frame21.Parent = Frame20
673
Frame21.Size = UDim2.new(0, 1, 1, 0)
674
Frame21.Position = UDim2.new(0.5, 0, 0, 0)
675
Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
676
Frame21.BorderSizePixel = 0
677
Frame21.AnchorPoint = Vector2.new(0.5, 0)
678
TextButton22.Name = "DragMed"
679
TextButton22.Parent = Frame20
680
TextButton22.Size = UDim2.new(0, 20, 0, 10)
681
TextButton22.Text = ""
682
if firstrun == true then
683
TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
684
else
685
TextButton22.Position = asdmi
686
end
687
TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
688
TextButton22.Font = Enum.Font.SourceSans
689
TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
690
TextLabel23.Name = "Text"
691
TextLabel23.Parent = Frame20
692
TextLabel23.Transparency = 0
693
TextLabel23.Text = "Medium"
694
TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
695
TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
696
TextLabel23.BackgroundTransparency = 1
697
TextLabel23.Font = Enum.Font.SourceSans
698
TextLabel23.FontSize = Enum.FontSize.Size10
699
TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
700
Frame24.Name = "High"
701
Frame24.Parent = Frame15
702
Frame24.Transparency = 0
703
Frame24.Size = UDim2.new(0, 0, 1, 0)
704
Frame24.Position = UDim2.new(0, 80, 0, 0)
705
Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
706
Frame24.BackgroundTransparency = 1
707
Frame25.Name = "Line"
708
Frame25.Parent = Frame24
709
Frame25.Size = UDim2.new(0, 1, 1, 0)
710
Frame25.Position = UDim2.new(0.5, 0, 0, 0)
711
Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
712
Frame25.BorderSizePixel = 0
713
Frame25.AnchorPoint = Vector2.new(0.5, 0)
714
TextButton26.Name = "DragHigh"
715
TextButton26.Parent = Frame24
716
TextButton26.Size = UDim2.new(0, 20, 0, 10)
717
TextButton26.Text = ""
718
if firstrun == true then
719
TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
720
else
721
TextButton26.Position = asdhi
722
end
723
TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
724
TextButton26.Font = Enum.Font.SourceSans
725
TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
726
TextLabel27.Name = "Text"
727
TextLabel27.Parent = Frame24
728
TextLabel27.Transparency = 0
729
TextLabel27.Text = "High"
730
TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
731
TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
732
TextLabel27.BackgroundTransparency = 1
733
TextLabel27.Font = Enum.Font.SourceSans
734
TextLabel27.FontSize = Enum.FontSize.Size10
735
TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
736
Frame28.Name = "Distortion"
737
Frame28.Parent = Frame15
738
Frame28.Transparency = 0
739
Frame28.Size = UDim2.new(0, 0, 1, 0)
740
Frame28.Position = UDim2.new(0, 120, 0, 0)
741
Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
742
Frame28.BackgroundTransparency = 1
743
Frame29.Name = "Line"
744
Frame29.Parent = Frame28
745
Frame29.Size = UDim2.new(0, 1, 1, 0)
746
Frame29.Position = UDim2.new(0.5, 0, 0, 0)
747
Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
748
Frame29.BorderSizePixel = 0
749
Frame29.AnchorPoint = Vector2.new(0.5, 0)
750
TextButton30.Name = "DragDist"
751
TextButton30.Parent = Frame28
752
TextButton30.Size = UDim2.new(0, 20, 0, 10)
753
TextButton30.Text = ""
754
if firstrun == true then
755
TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
756
else
757
TextButton30.Position = asddist
758
end
759
TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
760
TextButton30.Font = Enum.Font.SourceSans
761
TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
762
TextLabel31.Name = "Text"
763
TextLabel31.Parent = Frame28
764
TextLabel31.Transparency = 0
765
TextLabel31.Text = "Dist"
766
TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
767
TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
768
TextLabel31.BackgroundTransparency = 1
769
TextLabel31.Font = Enum.Font.SourceSans
770
TextLabel31.FontSize = Enum.FontSize.Size10
771
TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
772
Frame32.Name = "Line"
773
Frame32.Parent = Frame5
774
Frame32.Size = UDim2.new(0, 1, 1, -20)
775
Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
776
Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
777
Frame32.BorderSizePixel = 0
778
Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
779
TextButton33.Name = "Global/Local"
780
TextButton33.Parent = Frame2
781
TextButton33.Size = UDim2.new(0, 100, 0, 100)
782
if mode == "local" then
783
TextButton33.Text = "LOCAL"
784
else
785
TextButton33.Text = "GLOBAL"
786
end
787
TextButton33.Position = UDim2.new(0, 50, 0, 180)
788
TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
789
TextButton33.Font = Enum.Font.SciFi
790
TextButton33.FontSize = Enum.FontSize.Size14
791
TextButton34.Name = "Style"
792
TextButton34.Parent = Frame2
793
TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
794
TextButton34.Text = "Style: "..vismode
795
TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
796
TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
797
TextButton34.Font = Enum.Font.SciFi
798
TextButton34.FontSize = Enum.FontSize.Size14
799
TextButton34.TextColor3 = Color3.new(1, 1, 0)
800
TextButton34.AnchorPoint = Vector2.new(0.5, 0)
801
Frame2.Visible = asdopen
802
803
draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
804
held = false
805
trigger = nil
806
base = UDim2.new(0,0,0,0)
807
808
TextButton1.MouseButton1Click:connect(function()
809
if Frame2.Visible == true then
810
Frame2.Visible = false
811
asdopen = false
812
TextButton1.Text = ">>"
813
else
814
Frame2.Visible = true
815
asdopen = true
816
TextButton1.Text = "<<"
817
end
818
end)
819
820
TextButton4.MouseButton1Click:connect(function()
821
if mode == "local" then
822
if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
823
else
824
if not char:FindFirstChild("KyuSound") then CreateSound() end
825
end
826
synctarget = nil
827
sound:Stop()
828
soundname = fetchName(TextBox3.Text)
829
tecks2.Text = soundname
830
asdid = "rbxassetid://"..TextBox3.Text
831
sound:Play()
832
end)
833
834
TextButton14.MouseButton1Click:connect(function()
835
TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
836
end)
837
838
TextButton33.MouseButton1Click:connect(function()
839
if synctarget == nil then
840
if mode == "local" then
841
mode = "global"
842
TextButton33.Text = "GLOBAL"
843
if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
844
sound:Pause()
845
sound.Parent = char
846
sound:Resume()
847
end
848
else
849
mode = "local"
850
TextButton33.Text = "LOCAL"
851
if char:FindFirstChild("KyuSound") then
852
sound:Pause()
853
sound.Parent = char:WaitForChild("Torso")
854
sound:Resume()
855
end
856
end
857
end
858
end)
859
860
function changemode()
861
if vismode == "nothing" then
862
vismode = "rainbow"
863
local rdmx = math.random(0,1)
864
local rdmy = math.random(0,1)
865
local rdmz = math.random(0,1)
866
if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
867
if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
868
if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
869
elseif vismode == "rainbow" then
870
vismode = "classic"
871
bp.Position = char.Head.Position+Vector3.new(0,2,0)
872
Main.Position = char.Head.Position+Vector3.new(0,2,0)
873
part:Destroy()
874
elseif vismode == "classic" then
875
vismode = "trail"
876
local rdmx = math.random(0,1)
877
local rdmy = math.random(0,1)
878
local rdmz = math.random(0,1)
879
if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
880
if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
881
if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
882
elseif vismode == "trail" then
883
part:Destroy()
884
vismode = "nooby"
885
elseif vismode == "nooby" then
886
vismode = "trail kyu"
887
centralpart:Destroy()
888
local rdmx = math.random(0,1)
889
local rdmy = math.random(0,1)
890
local rdmz = math.random(0,1)
891
if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
892
if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
893
if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
894
elseif vismode == "trail kyu" then
895
part:Destroy()
896
vismode = "nothing"
897
end
898
end
899
900
TextButton34.MouseButton1Click:connect(function()
901
changemode()
902
end)
903
904
for i,v in pairs(draggable) do
905
v.MouseButton1Down:connect(function()
906
	trigger = v
907
	base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
908
	held = true
909
end)
910
v.MouseButton1Up:connect(function()
911
	base = UDim2.new(0.5,0,0.5,0)
912
	trigger = nil
913
	held = false
914
end)
915
end
916
917
mouse.Button1Up:connect(function()
918
	base = UDim2.new(0.5,0,0.5,0)
919
	trigger = nil
920
	held = false
921
end)
922
923
mouse.Move:connect(function()
924
	if held then
925
		trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base
926
        if trigger.Position.Y.Offset > 50 then
927
        trigger.Position = UDim2.new(0.5, 0,0.5, 50)
928
        end
929
        if trigger.Position.Y.Offset < -50 then
930
        trigger.Position = UDim2.new(0.5, 0,0.5, -50)
931
        end
932
        if trigger.Position.X.Offset ~= 0 then
933
        trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset)
934
        end
935
	end
936
end)
937
max = asdmax
938
Visualiser = Instance.new("Model",char)
939
Visualiser2 = Instance.new("Model",Visualiser)
940
Visualiser2.Name = "VisualiserK"
941
Main = Instance.new("Part",Visualiser)
942
Main.Name = "VisualiserClassic"
943
Main.Position = char.Head.Position+Vector3.new(0,2,0)
944
Main.CanCollide = false
945
Main.Size = Vector3.new(1,1,1)
946
Main.Transparency = 1
947
Visualiserpos = Instance.new("Attachment",Main)
948
Visualiserpos.Position = Vector3.new(5,0,0)
949
Visualiserpos2 = Instance.new("Attachment",Main)
950
Visualiserpos2.Position = Vector3.new(-5,0,0)
951
bp = Instance.new("BodyPosition",Main)
952
bp.P = 3500
953
ba = Instance.new("BodyAngularVelocity",Main)
954
firstrun = false
955
end
956
957
local i = 0
958
959
while rs:wait() do
960
961
script.Parent = nil
962
char = player.Character
963
root = char:WaitForChild("HumanoidRootPart")
964
965
if not player.PlayerGui:FindFirstChild("MusicPlayerKyu") then
966
drawgui()
967
CreateSound("BACKUP")
968
end
969
970
if not (foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound")) then
971
CreateSound("BACKUP")
972
end
973
974
if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
975
asdvolume = sound.Volume
976
asdtimeposition = sound.TimePosition
977
end
978
979
if sound.SoundId ~= asdid and synctarget == nil then
980
sound:Stop()
981
sound.SoundId = asdid
982
soundname = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
983
sound.TimePosition = asdtimeposition
984
sound:Play()
985
end
986
987
if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
988
if max < sound.PlaybackLoudness then
989
max = sound.PlaybackLoudness
990
end
991
if max > 0 then
992
max = max -1
993
end
994
if not sound:FindFirstChild("EqualizerSoundEffect") then
995
effect = Instance.new("EqualizerSoundEffect",sound)
996
end
997
if not sound:FindFirstChild("DistortionSoundEffect") then
998
coroutine.resume(coroutine.create(function()
999
distort = Instance.new("DistortionSoundEffect",sound)
1000
end))
1001
end
1002
sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
1003
sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
1004
coroutine.resume(coroutine.create(function()
1005
distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
1006
end))
1007
effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
1008
effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
1009
effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
1010
for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
1011
local change = 0.1+(max/5000)
1012
v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
1013
v.Transparency = v.Transparency + 0.05
1014
local light = v:FindFirstChildOfClass("PointLight")
1015
light.Brightness = 2+sound.PlaybackLoudness/25
1016
light.Range = 5+sound.PlaybackLoudness/10
1017
if v.Transparency >= 1 then
1018
v:Destroy()
1019
end
1020
end
1021
else
1022
for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
1023
local change = 0.1
1024
v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
1025
v.Transparency = v.Transparency + 0.05
1026
if v.Transparency >= 1 then
1027
v:Destroy()
1028
end
1029
end
1030
end
1031
if vismode == "classic" then
1032
block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
1033
blockm = Instance.new("BlockMesh",block)
1034
if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
1035
change = sound.PlaybackLoudness/80
1036
blockm.Scale = Vector3.new(1+change,1+change,1+change)
1037
end
1038
block.Anchored = true
1039
block.CanCollide = false
1040
block.Material = Enum.Material.Neon
1041
block.Size = Vector3.new(1,1,1)
1042
light = Instance.new("PointLight",block)
1043
light.Color = Color3.fromHSV(0,0,1)
1044
light.Brightness = 2+sound.PlaybackLoudness/25
1045
light.Range = 5+sound.PlaybackLoudness/10
1046
block.CFrame = CFrame.new(Visualiserpos.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
1047
--------------
1048
block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
1049
blockm = Instance.new("BlockMesh",block)
1050
if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
1051
change = sound.PlaybackLoudness/80
1052
blockm.Scale = Vector3.new(1+change,1+change,1+change)
1053
end
1054
block.Anchored = true
1055
block.CanCollide = false
1056
block.Material = Enum.Material.Neon
1057
block.Size = Vector3.new(1,1,1)
1058
light = Instance.new("PointLight",block)
1059
light.Color = Color3.fromHSV(0,0,1)
1060
light.Brightness = 2+sound.PlaybackLoudness/25
1061
light.Range = 5+sound.PlaybackLoudness/10
1062
block.CFrame = CFrame.new(Visualiserpos2.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
1063
1064
ba.AngularVelocity = Vector3.new(0,0.2+(max/100),0)
1065
bp.Position = char.Head.Position+Vector3.new(0,2,0)
1066
tecks2.TextColor3 = Color3.fromHSV(0,0,0)
1067
tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,1)
1068
elseif vismode == "rainbow" then
1069
if not char:FindFirstChild("VisualiserRGB") then
1070
part=Instance.new("Part",char)
1071
part.Name="VisualiserRGB"
1072
part.Position=root.Position + Vector3.new(0,10,0)
1073
part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
1074
blockmesh=Instance.new("BlockMesh",part)
1075
end
1076
if not part:FindFirstChildOfClass("BodyPosition") then
1077
bp2=Instance.new("BodyPosition",part)
1078
end
1079
if not part:FindFirstChildOfClass("BodyAngularVelocity") then
1080
ba2=Instance.new("BodyAngularVelocity",part)
1081
end
1082
if not part:FindFirstChildOfClass("PointLight") then
1083
light=Instance.new("PointLight",part)
1084
end
1085
part.Color = Color3.fromHSV(i,1,1)
1086
light.Color = Color3.fromHSV(i,1,1)
1087
light.Brightness = 2+sound.PlaybackLoudness/25
1088
light.Range = 5+sound.PlaybackLoudness/10
1089
part:BreakJoints()
1090
part.CanCollide = false
1091
part.Material = Enum.Material.Neon
1092
blockmesh.Scale= Vector3.new(1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150))
1093
part.Size = Vector3.new(1,1,1)
1094
bp2.Position = root.Position + Vector3.new(0,10,0)
1095
ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
1096
tecks2.TextColor3 = Color3.fromHSV(0,0,1)
1097
tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
1098
1099
if i >= 1 then
1100
i = 0
1101
else
1102
i = i + 0.005
1103
end
1104
1105
elseif vismode == "trail" then
1106
1107
if not char:FindFirstChild("VisualiserRGB") then
1108
local function createtrail(part0,part1,parent)
1109
local trail = Instance.new("Trail",parent)
1110
trail.Attachment0 = part0
1111
trail.Attachment1 = part1
1112
trail.MinLength = 0
1113
trail.Lifetime = 0.05
1114
trail.LightEmission = 1
1115
trail.LightInfluence = 0
1116
trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
1117
--trail.Transparency = NumberSequence.new(0,1)
1118
end
1119
part=Instance.new("Part",char)
1120
part.Name="VisualiserRGB"
1121
part.Position=root.Position + Vector3.new(0,10,0)
1122
part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
1123
blockmesh=Instance.new("BlockMesh",part)
1124
A = Instance.new("Attachment",part)
1125
B = Instance.new("Attachment",part)
1126
C = Instance.new("Attachment",part)
1127
D = Instance.new("Attachment",part)
1128
E = Instance.new("Attachment",part)
1129
F = Instance.new("Attachment",part)
1130
G = Instance.new("Attachment",part)
1131
H = Instance.new("Attachment",part)
1132
A.Position = Vector3.new(1,1,1)
1133
B.Position = Vector3.new(1,-1,1)
1134
C.Position = Vector3.new(-1,1,1)
1135
D.Position = Vector3.new(-1,-1,1)
1136
1137
E.Position = Vector3.new(1,1,-1)
1138
F.Position = Vector3.new(1,-1,-1)
1139
G.Position = Vector3.new(-1,1,-1)
1140
H.Position = Vector3.new(-1,-1,-1)
1141
createtrail(A,E,part)
1142
createtrail(B,F,part)
1143
createtrail(C,G,part)
1144
createtrail(D,H,part)
1145
createtrail(A,B,part)
1146
createtrail(C,D,part)
1147
createtrail(E,F,part)
1148
createtrail(G,H,part)
1149
createtrail(A,C,part)
1150
createtrail(B,D,part)
1151
createtrail(E,G,part)
1152
createtrail(F,H,part)
1153
end
1154
if not part:FindFirstChildOfClass("BodyPosition") then
1155
bp2=Instance.new("BodyPosition",part)
1156
end
1157
if not part:FindFirstChildOfClass("BodyAngularVelocity") then
1158
ba2=Instance.new("BodyAngularVelocity",part)
1159
end
1160
if not part:FindFirstChildOfClass("PointLight") then
1161
light=Instance.new("PointLight",part)
1162
end
1163
part.Color = Color3.fromHSV(i,1,1)
1164
light.Color = Color3.fromHSV(i,1,1)
1165
light.Brightness = 2+sound.PlaybackLoudness/25
1166
light.Range = 5+sound.PlaybackLoudness/10
1167
part:BreakJoints()
1168
part.CanCollide = false
1169
part.Material = Enum.Material.Neon
1170
local asd = 1+(sound.PlaybackLoudness/150)
1171
blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
1172
part.Size = Vector3.new(1,1,1)
1173
bp2.Position = root.Position + Vector3.new(0,10,0)
1174
ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
1175
tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
1176
tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
1177
A.Position = Vector3.new(asd/2,asd/2,asd/2)
1178
B.Position = Vector3.new(asd/2,-asd/2,asd/2)
1179
C.Position = Vector3.new(-asd/2,asd/2,asd/2)
1180
D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
1181
1182
E.Position = Vector3.new(asd/2,asd/2,-asd/2)
1183
F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
1184
G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
1185
H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
1186
1187
if i >= 0.8 then
1188
asdcolor = true
1189
elseif i <= 0.5 then
1190
asdcolor = false
1191
end
1192
1193
if asdcolor == true then
1194
i = i - 0.001
1195
else
1196
i = i + 0.001
1197
end
1198
elseif vismode == "trail kyu" then
1199
1200
if not char:FindFirstChild("VisualiserRGB") then
1201
local function createtrail(part0,part1,parent)
1202
local trail = Instance.new("Trail",parent)
1203
trail.Attachment0 = part0
1204
trail.Attachment1 = part1
1205
trail.MinLength = 0
1206
trail.Lifetime = 0.05
1207
trail.LightEmission = 1
1208
trail.LightInfluence = 0
1209
trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
1210
--trail.Transparency = NumberSequence.new(0,1)
1211
end
1212
part=Instance.new("Part",char)
1213
part.Name="VisualiserRGB"
1214
part.Position=root.Position + Vector3.new(0,10,0)
1215
part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
1216
blockmesh=Instance.new("BlockMesh",part)
1217
part2=part:Clone()
1218
part2.Parent = part
1219
part2.Transparency = 1
1220
part2.CFrame = CFrame.new(part2.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
1221
1222
A = Instance.new("Attachment",part)
1223
B = Instance.new("Attachment",part)
1224
C = Instance.new("Attachment",part)
1225
D = Instance.new("Attachment",part)
1226
E = Instance.new("Attachment",part)
1227
F = Instance.new("Attachment",part)
1228
G = Instance.new("Attachment",part)
1229
H = Instance.new("Attachment",part)
1230
A2 = Instance.new("Attachment",part2)
1231
B2 = Instance.new("Attachment",part2)
1232
C2 = Instance.new("Attachment",part2)
1233
D2 = Instance.new("Attachment",part2)
1234
E2 = Instance.new("Attachment",part2)
1235
F2 = Instance.new("Attachment",part2)
1236
G2 = Instance.new("Attachment",part2)
1237
H2 = Instance.new("Attachment",part2)
1238
1239
A.Position = Vector3.new(1,1,1)
1240
B.Position = Vector3.new(1,-1,1)
1241
C.Position = Vector3.new(-1,1,1)
1242
D.Position = Vector3.new(-1,-1,1)
1243
1244
E.Position = Vector3.new(1,1,-1)
1245
F.Position = Vector3.new(1,-1,-1)
1246
G.Position = Vector3.new(-1,1,-1)
1247
H.Position = Vector3.new(-1,-1,-1)
1248
1249
createtrail(A,E,part)
1250
createtrail(B,F,part)
1251
createtrail(C,G,part)
1252
createtrail(D,H,part)
1253
createtrail(A,B,part)
1254
createtrail(C,D,part)
1255
createtrail(E,F,part)
1256
createtrail(G,H,part)
1257
createtrail(A,C,part)
1258
createtrail(B,D,part)
1259
createtrail(E,G,part)
1260
createtrail(F,H,part)
1261
1262
A2.Position = Vector3.new(1,1,1)
1263
B2.Position = Vector3.new(1,-1,1)
1264
C2.Position = Vector3.new(-1,1,1)
1265
D2.Position = Vector3.new(-1,-1,1)
1266
1267
E2.Position = Vector3.new(1,1,-1)
1268
F2.Position = Vector3.new(1,-1,-1)
1269
G2.Position = Vector3.new(-1,1,-1)
1270
H2.Position = Vector3.new(-1,-1,-1)
1271
createtrail(A2,E2,part)
1272
createtrail(B2,F2,part)
1273
createtrail(C2,G2,part)
1274
createtrail(D2,H2,part)
1275
createtrail(A2,B2,part)
1276
createtrail(C2,D2,part)
1277
createtrail(E2,F2,part)
1278
createtrail(G2,H2,part)
1279
createtrail(A2,C2,part)
1280
createtrail(B2,D2,part)
1281
createtrail(E2,G2,part)
1282
createtrail(F2,H2,part)
1283
1284
end
1285
if not part:FindFirstChildOfClass("BodyPosition") then
1286
bp2=Instance.new("BodyPosition",part)
1287
end
1288
if not part:FindFirstChildOfClass("BodyAngularVelocity") then
1289
ba2=Instance.new("BodyAngularVelocity",part)
1290
end
1291
if not part:FindFirstChildOfClass("PointLight") then
1292
light=Instance.new("PointLight",part)
1293
end
1294
if not part2:FindFirstChildOfClass("BodyPosition") then
1295
bp3=Instance.new("BodyPosition",part2)
1296
end
1297
if not part2:FindFirstChildOfClass("BodyAngularVelocity") then
1298
ba3=Instance.new("BodyAngularVelocity",part2)
1299
end
1300
part.Color = Color3.fromHSV(i,1,1)
1301
light.Color = Color3.fromHSV(i,1,1)
1302
light.Brightness = 2+sound.PlaybackLoudness/25
1303
light.Range = 5+sound.PlaybackLoudness/10
1304
part:BreakJoints()
1305
part.Material = Enum.Material.Neon
1306
local asd = 1+(sound.PlaybackLoudness/150)
1307
blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
1308
part.Size = Vector3.new(1,1,1)
1309
part2.Size = Vector3.new(1,1,1)
1310
part.CanCollide = false
1311
part2.CanCollide = false
1312
bp2.Position = root.Position + Vector3.new(0,10,0)
1313
ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
1314
bp3.Position = root.Position + Vector3.new(0,10,0)
1315
ba3.AngularVelocity = Vector3.new(-(mathrandom.x/100)-(sound.PlaybackLoudness/mathrandom.x),-(mathrandom.y/100)-(sound.PlaybackLoudness/mathrandom.y),-(mathrandom.z/100)-(sound.PlaybackLoudness/mathrandom.z))
1316
tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
1317
tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
1318
A.Position = Vector3.new(asd/2,asd/2,asd/2)
1319
B.Position = Vector3.new(asd/2,-asd/2,asd/2)
1320
C.Position = Vector3.new(-asd/2,asd/2,asd/2)
1321
D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
1322
1323
E.Position = Vector3.new(asd/2,asd/2,-asd/2)
1324
F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
1325
G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
1326
H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
1327
1328
A2.Position = Vector3.new(asd,asd,asd)
1329
B2.Position = Vector3.new(asd,-asd,asd)
1330
C2.Position = Vector3.new(-asd,asd,asd)
1331
D2.Position = Vector3.new(-asd,-asd,asd)
1332
1333
E2.Position = Vector3.new(asd,asd,-asd)
1334
F2.Position = Vector3.new(asd,-asd,-asd)
1335
G2.Position = Vector3.new(-asd,asd,-asd)
1336
H2.Position = Vector3.new(-asd,-asd,-asd)
1337
1338
if i >= 0.8 then
1339
asdcolor = true
1340
elseif i <= 0.5 then
1341
asdcolor = false
1342
end
1343
1344
if asdcolor == true then
1345
i = i - 0.001
1346
else
1347
i = i + 0.001
1348
end
1349
1350
elseif vismode == "nothing" then
1351
1352
tecks2.Text = ""
1353
1354
elseif vismode == "nooby" then
1355
if not char:FindFirstChild("noobyvis") then
1356
centralpart = it("Part",char)
1357
centralpart.Name = "noobyvis"
1358
centralpart.CFrame = hed.CFrame + Vector3.new(0,-2.5,0)
1359
centralpart.Anchored = true
1360
centralpart.Size = vt(1,1,1)
1361
centralpart.Transparency = 1
1362
centralpart.CanCollide = false
1363
centralpart2a = it("Part",centralpart)
1364
centralpart2a.CFrame = centralpart.CFrame
1365
centralpart2a.Anchored = true
1366
centralpart2a.Transparency = 0
1367
centralpart2a.BrickColor = origcolor
1368
centralpart2a.Material = "Neon"
1369
centralpart2a.Size = vt(1,1,1)
1370
centralpart2a.CanCollide = false
1371
1372
meshy = Instance.new("SpecialMesh", centralpart2a)
1373
meshy.Scale = vt(1.05,1.05,1.05)
1374
meshy.MeshType = "Sphere"
1375
1376
centralpart2 = it("Part",centralpart)
1377
centralpart2.CFrame = centralpart.CFrame
1378
centralpart2.Anchored = true
1379
centralpart2.Transparency = 0.65
1380
centralpart2.BrickColor = BrickColor.new("Really black")
1381
centralpart2.Material = "Neon"
1382
centralpart2.Size = vt(1,1,1)
1383
centralpart2.CanCollide = false
1384
1385
meshy2 = Instance.new("SpecialMesh", centralpart2)
1386
meshy2.Scale = vt(1.075,1.075,1.075)
1387
meshy2.MeshType = "Sphere"
1388
1389
1390
centralpart3 = it("Part",centralpart)
1391
centralpart3.CFrame = centralpart.CFrame
1392
centralpart3.Anchored = true
1393
centralpart3.Transparency = 0.5
1394
centralpart3.BrickColor = origcolor
1395
centralpart3.Material = "Neon"
1396
centralpart3.Size = vt(0.5,1,0.5)
1397
centralpart3.CanCollide = false
1398
1399
meshy3 = Instance.new("SpecialMesh", centralpart3)
1400
meshy3.Scale = vt(1,0.035,1.075)
1401
meshy3.MeshType = "Brick"
1402
1403
centralpart4 = it("Part",centralpart)
1404
centralpart4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(15),0)
1405
centralpart4.Anchored = true
1406
centralpart4.Transparency = 0.5
1407
centralpart4.BrickColor = origcolor
1408
centralpart4.Material = "Neon"
1409
centralpart4.Size = vt(0.5,1,0.5)
1410
centralpart4.CanCollide = false
1411
1412
meshy4 = Instance.new("SpecialMesh", centralpart4)
1413
meshy4.Scale = vt(1,0.035,1.075)
1414
meshy4.MeshType = "Brick"
1415
1416
centralpart5 = it("Part",centralpart)
1417
centralpart5.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(30),0)
1418
centralpart5.Anchored = true
1419
centralpart5.Transparency = 0.5
1420
centralpart5.BrickColor = origcolor
1421
centralpart5.Material = "Neon"
1422
centralpart5.Size = vt(0.5,1,0.5)
1423
centralpart5.CanCollide = false
1424
1425
meshy5 = Instance.new("SpecialMesh", centralpart5)
1426
meshy5.Scale = vt(1,0.035,1.075)
1427
meshy5.MeshType = "Brick"
1428
1429
centralpart6 = it("Part",centralpart)
1430
centralpart6.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
1431
centralpart6.Anchored = true
1432
centralpart6.Transparency = 0.5
1433
centralpart6.BrickColor = origcolor
1434
centralpart6.Material = "Neon"
1435
centralpart6.Size = vt(0.5,1,0.5)
1436
centralpart6.CanCollide = false
1437
1438
meshy6 = Instance.new("SpecialMesh", centralpart6)
1439
meshy6.Scale = vt(1,0.035,1.075)
1440
meshy6.MeshType = "Brick"
1441
1442
centralpart7 = it("Part",centralpart)
1443
centralpart7.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(60),0)
1444
centralpart7.Anchored = true
1445
centralpart7.Transparency = 0.5
1446
centralpart7.BrickColor = origcolor
1447
centralpart7.Material = "Neon"
1448
centralpart7.Size = vt(0.5,1,0.5)
1449
centralpart7.CanCollide = false
1450
1451
meshy7 = Instance.new("SpecialMesh", centralpart7)
1452
meshy7.Scale = vt(1,0.035,1.075)
1453
meshy7.MeshType = "Brick"
1454
1455
centralpart8 = it("Part",centralpart)
1456
centralpart8.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(75),0)
1457
centralpart8.Anchored = true
1458
centralpart8.Transparency = 0.5
1459
centralpart8.BrickColor = origcolor
1460
centralpart8.Material = "Neon"
1461
centralpart8.Size = vt(0.5,1,0.5)
1462
centralpart8.CanCollide = false
1463
1464
meshy8 = Instance.new("SpecialMesh", centralpart8)
1465
meshy8.Scale = vt(1,0.035,1.075)
1466
meshy8.MeshType = "Brick"
1467
1468
centralpart9 = it("Part",centralpart)
1469
centralpart9.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
1470
centralpart9.Anchored = true
1471
centralpart9.Transparency = 0.5
1472
centralpart9.BrickColor = origcolor
1473
centralpart9.Material = "Neon"
1474
centralpart9.Size = vt(0.5,1,0.5)
1475
centralpart9.CanCollide = false
1476
1477
meshy9 = Instance.new("SpecialMesh", centralpart9)
1478
meshy9.Scale = vt(1,0.035,1.075)
1479
meshy9.MeshType = "Brick"
1480
1481
centralpart10 = it("Part",centralpart)
1482
centralpart10.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(105),0)
1483
centralpart10.Anchored = true
1484
centralpart10.Transparency = 0.5
1485
centralpart10.BrickColor = origcolor
1486
centralpart10.Material = "Neon"
1487
centralpart10.Size = vt(0.5,1,0.5)
1488
centralpart10.CanCollide = false
1489
1490
meshy10 = Instance.new("SpecialMesh", centralpart10)
1491
meshy10.Scale = vt(1,0.035,1.075)
1492
meshy10.MeshType = "Brick"
1493
1494
centralpart11 = it("Part",centralpart)
1495
centralpart11.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(120),0)
1496
centralpart11.Anchored = true
1497
centralpart11.Transparency = 0.5
1498
centralpart11.BrickColor = origcolor
1499
centralpart11.Material = "Neon"
1500
centralpart11.Size = vt(0.5,1,0.5)
1501
centralpart11.CanCollide = false
1502
1503
meshy11 = Instance.new("SpecialMesh", centralpart11)
1504
meshy11.Scale = vt(1,0.035,1.075)
1505
meshy11.MeshType = "Brick"
1506
1507
centralpart12 = it("Part",centralpart)
1508
centralpart12.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
1509
centralpart12.Anchored = true
1510
centralpart12.Transparency = 0.5
1511
centralpart12.BrickColor = origcolor
1512
centralpart12.Material = "Neon"
1513
centralpart12.Size = vt(0.5,1,0.5)
1514
centralpart12.CanCollide = false
1515
1516
meshy12 = Instance.new("SpecialMesh", centralpart12)
1517
meshy12.Scale = vt(1,0.035,1.075)
1518
meshy12.MeshType = "Brick"
1519
1520
centralpart13 = it("Part",centralpart)
1521
centralpart13.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(150),0)
1522
centralpart13.Anchored = true
1523
centralpart13.Transparency = 0.5
1524
centralpart13.BrickColor = origcolor
1525
centralpart13.Material = "Neon"
1526
centralpart13.Size = vt(0.5,1,0.5)
1527
centralpart13.CanCollide = false
1528
1529
meshy13 = Instance.new("SpecialMesh", centralpart13)
1530
meshy13.Scale = vt(1,0.035,1.075)
1531
meshy13.MeshType = "Brick"
1532
1533
centralpart14 = it("Part",centralpart)
1534
centralpart14.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(165),0)
1535
centralpart14.Anchored = true
1536
centralpart14.Transparency = 0.5
1537
centralpart14.BrickColor = origcolor
1538
centralpart14.Material = "Neon"
1539
centralpart14.Size = vt(0.5,1,0.5)
1540
centralpart14.CanCollide = false
1541
1542
meshy14 = Instance.new("SpecialMesh", centralpart14)
1543
meshy14.Scale = vt(1,0.035,1.075)
1544
meshy14.MeshType = "Brick"
1545
1546
centralpart15 = it("Part",centralpart)
1547
centralpart15.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(180),0)
1548
centralpart15.Anchored = true
1549
centralpart15.Transparency = 0.5
1550
centralpart15.BrickColor = origcolor
1551
centralpart15.Material = "Neon"
1552
centralpart15.Size = vt(0.5,1,0.5)
1553
centralpart15.CanCollide = false
1554
1555
meshy15 = Instance.new("SpecialMesh", centralpart15)
1556
meshy15.Scale = vt(1,0.035,1.075)
1557
meshy15.MeshType = "Brick"
1558
1559
centralparto = it("Part",centralpart)
1560
centralparto.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(0),0)
1561
centralparto.Anchored = true
1562
centralparto.Transparency = 0.5
1563
centralparto.BrickColor = BrickColor.new("Really black")
1564
centralparto.Material = "Neon"
1565
centralparto.Size = vt(0.5,1,0.5)
1566
centralparto.CanCollide = false
1567
1568
meshyo = Instance.new("SpecialMesh", centralparto)
1569
meshyo.Scale = vt(1.05,0.05,0.25)
1570
meshyo.MeshType = "Sphere"
1571
1572
centralparto2 = it("Part",centralpart)
1573
centralparto2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
1574
centralparto2.Anchored = true
1575
centralparto2.Transparency = 0.5
1576
centralparto2.BrickColor = BrickColor.new("Really black")
1577
centralparto2.Material = "Neon"
1578
centralparto2.Size = vt(0.5,1,0.5)
1579
centralparto2.CanCollide = false
1580
1581
meshyo2 = Instance.new("SpecialMesh", centralparto2)
1582
meshyo2.Scale = vt(1.05,0.05,0.25)
1583
meshyo2.MeshType = "Sphere"
1584
1585
centralparto3 = it("Part",centralpart)
1586
centralparto3.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
1587
centralparto3.Anchored = true
1588
centralparto3.Transparency = 0.5
1589
centralparto3.BrickColor = BrickColor.new("Maroon")
1590
centralparto3.Material = "Neon"
1591
centralparto3.Size = vt(0.5,1,0.5)
1592
centralparto3.CanCollide = false
1593
1594
meshyo3 = Instance.new("SpecialMesh", centralparto3)
1595
meshyo3.Scale = vt(1.05,0.075,0.25)
1596
meshyo3.MeshType = "Sphere"
1597
1598
centralparto4 = it("Part",centralpart)
1599
centralparto4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
1600
centralparto4.Anchored = true
1601
centralparto4.Transparency = 0.5
1602
centralparto4.BrickColor = BrickColor.new("Maroon")
1603
centralparto4.Material = "Neon"
1604
centralparto4.Size = vt(0.5,1,0.5)
1605
centralparto4.CanCollide = false
1606
1607
meshyo4 = Instance.new("SpecialMesh", centralparto4)
1608
meshyo4.Scale = vt(1.05,0.075,0.25)
1609
meshyo4.MeshType = "Sphere"
1610
1611
eff = Instance.new("ParticleEmitter",centralpart)
1612
eff.Texture = "http://www.roblox.com/asset/?id=243664672"
1613
eff.LightEmission = 0.75
1614
eff.Color = ColorSequence.new(Color3.new(255,0,0))
1615
eff.Lifetime = NumberRange.new(2.5)
1616
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
1617
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.45,0),NumberSequenceKeypoint.new(1,1,0)})
1618
eff.Acceleration = Vector3.new(0,-75,0)
1619
eff.Rotation = NumberRange.new(-500,500)
1620
eff.VelocitySpread = 90
1621
eff.RotSpeed = NumberRange.new(-500,500)
1622
1623
1624
ogsize = meshy.Scale
1625
ogsize2 = meshy2.Scale
1626
ogsize3 = meshy3.Scale
1627
ogsize4 = meshy4.Scale
1628
ogsize5 = meshy5.Scale
1629
ogsize6 = meshy6.Scale
1630
ogsize7 = meshy7.Scale
1631
ogsize8 = meshy8.Scale
1632
ogsize9 = meshy9.Scale
1633
ogsize10 = meshy10.Scale
1634
ogsize11 = meshy11.Scale
1635
ogsize12 = meshy12.Scale
1636
ogsize13 = meshy13.Scale
1637
ogsize14 = meshy14.Scale
1638
ogsize15 = meshy15.Scale
1639
1640
ogsizeo = meshyo.Scale
1641
ogsizeo2 = meshyo2.Scale
1642
ogsizeo3 = meshyo3.Scale
1643
ogsizeo4 = meshyo4.Scale
1644
end
1645
meshy.Scale = meshy.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/600*3.5,ogsize.Y+sound.PlaybackLoudness/600*3.5,ogsize.Z+sound.PlaybackLoudness/525*3.5),0.8)
1646
meshy2.Scale = meshy2.Scale:lerp(Vector3.new(ogsize2.X+sound.PlaybackLoudness/500*3.5,ogsize2.Y+sound.PlaybackLoudness/500*3.5,ogsize2.Z+sound.PlaybackLoudness/500*3.5),0.8)
1647
meshy3.Scale = meshy3.Scale:lerp(Vector3.new(1,0.035,ogsize3.Z+sound.PlaybackLoudness/100*7),0.8)
1648
meshy4.Scale = meshy4.Scale:lerp(Vector3.new(1,0.035,ogsize4.Z+sound.PlaybackLoudness/100*7.25),0.8)
1649
meshy5.Scale = meshy5.Scale:lerp(Vector3.new(1,0.035,ogsize5.Z+sound.PlaybackLoudness/100*7.5),0.8)
1650
meshy6.Scale = meshy6.Scale:lerp(Vector3.new(1,0.035,ogsize6.Z+sound.PlaybackLoudness/100*7.75),0.8)
1651
meshy7.Scale = meshy7.Scale:lerp(Vector3.new(1,0.035,ogsize7.Z+sound.PlaybackLoudness/100*8),0.8)
1652
meshy8.Scale = meshy8.Scale:lerp(Vector3.new(1,0.035,ogsize8.Z+sound.PlaybackLoudness/100*8.25),0.8)
1653
meshy9.Scale = meshy9.Scale:lerp(Vector3.new(1,0.035,ogsize9.Z+sound.PlaybackLoudness/100*8.5),0.8)
1654
meshy10.Scale = meshy10.Scale:lerp(Vector3.new(1,0.035,ogsize10.Z+sound.PlaybackLoudness/100*8.75),0.8)
1655
meshy11.Scale = meshy11.Scale:lerp(Vector3.new(1,0.035,ogsize11.Z+sound.PlaybackLoudness/100*9),0.8)
1656
meshy12.Scale = meshy12.Scale:lerp(Vector3.new(1,0.035,ogsize12.Z+sound.PlaybackLoudness/100*9.25),0.8)
1657
meshy13.Scale = meshy13.Scale:lerp(Vector3.new(1,0.035,ogsize13.Z+sound.PlaybackLoudness/100*9.5),0.8)
1658
meshy14.Scale = meshy14.Scale:lerp(Vector3.new(1,0.035,ogsize14.Z+sound.PlaybackLoudness/100*9.75),0.8)
1659
meshy15.Scale = meshy15.Scale:lerp(Vector3.new(1,0.035,ogsize15.Z+sound.PlaybackLoudness/100*10),0.8)
1660
1661
meshyo.Scale = meshyo.Scale:lerp(Vector3.new(ogsizeo.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo.Z+sound.PlaybackLoudness/1000*250),0.8)
1662
meshyo2.Scale = meshyo2.Scale:lerp(Vector3.new(ogsizeo2.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo2.Z+sound.PlaybackLoudness/1000*250),0.8)
1663
meshyo3.Scale = meshyo3.Scale:lerp(Vector3.new(ogsizeo3.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo3.Z+sound.PlaybackLoudness/500*100),0.8)
1664
meshyo4.Scale = meshyo4.Scale:lerp(Vector3.new(ogsizeo4.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo4.Z+sound.PlaybackLoudness/500*100),0.8)
1665
centralpart.Position = root.Position + Vector3.new(0,5,0)
1666
centralpart3.Position = centralpart.Position
1667
centralpart3.CFrame = centralpart3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1668
centralpart4.Position = centralpart.Position
1669
centralpart4.CFrame = centralpart4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1670
centralpart5.Position = centralpart.Position
1671
centralpart5.CFrame = centralpart5.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1672
centralpart6.Position = centralpart.Position
1673
centralpart6.CFrame = centralpart6.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1674
centralpart7.Position = centralpart.Position
1675
centralpart7.CFrame = centralpart7.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1676
centralpart8.Position = centralpart.Position
1677
centralpart8.CFrame = centralpart8.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1678
centralpart9.Position = centralpart.Position
1679
centralpart9.CFrame = centralpart9.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1680
centralpart10.Position = centralpart.Position
1681
centralpart10.CFrame = centralpart10.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1682
centralpart11.Position = centralpart.Position
1683
centralpart11.CFrame = centralpart11.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1684
centralpart12.Position = centralpart.Position
1685
centralpart12.CFrame = centralpart12.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1686
centralpart13.Position = centralpart.Position
1687
centralpart13.CFrame = centralpart13.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1688
centralpart14.Position = centralpart.Position
1689
centralpart14.CFrame = centralpart14.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1690
centralpart15.Position = centralpart.Position
1691
centralpart15.CFrame = centralpart15.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
1692
1693
centralparto.Position = centralpart.Position
1694
centralparto.CFrame = centralparto.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
1695
centralparto2.Position = centralpart.Position
1696
centralparto2.CFrame = centralparto2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
1697
centralparto3.Position = centralpart.Position
1698
centralparto3.CFrame = centralparto3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
1699
centralparto4.Position = centralpart.Position
1700
centralparto4.CFrame = centralparto4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
1701
centralpart.CFrame = centralpart.CFrame
1702
centralpart2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
1703
centralpart2a.CFrame = centralpart2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
1704
eff.Rate = sound.PlaybackLoudness/3
1705
eff.Speed = NumberRange.new(sound.PlaybackLoudness/5)
1706
eff.Color = ColorSequence.new(Color3.new(sound.PlaybackLoudness/255,0,0))
1707
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,sound.PlaybackLoudness/75,0),NumberSequenceKeypoint.new(1,0,0)})
1708
centralpart2a.Color = Color3.new(sound.PlaybackLoudness/400,0,0)
1709
centralparto3.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
1710
centralparto4.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
1711
1712
tecks2.TextColor3 = Color3.fromRGB(255,0,0)
1713
tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,0)
1714
end
1715
Visualiserpos.Position = Vector3.new(5+(max/10),0,0)
1716
Visualiserpos2.Position = Vector3.new(-5-(max/10),0,0)
1717
Main:BreakJoints()
1718
Main.Anchored = false
1719
TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
1720
TextButton34.Text = "Style: "..vismode
1721
asdmax = max
1722
asdvolume = TextButton9.Position
1723
asdpitch = TextButton13.Position
1724
asddist = TextButton30.Position
1725
asdhi = TextButton26.Position
1726
asdmi = TextButton22.Position
1727
asdlo = TextButton18.Position
1728
asdtext = TextBox3.Text
1729
if synctarget == nil then
1730
foundsound = false
1731
else
1732
if foundsound == false then
1733
print("Trying to Sync...")
1734
scan(synctarget.Character)
1735
else
1736
asdid = sound.SoundId
1737
end
1738
end
1739
end