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