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