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