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