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