Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This is just a edit of the wave visualizer
- --Here's the output only button version https://hastebin.com/raw/adejetiput
- cam=workspace.CurrentCamera
- print(" V - CMDS - V ")
- print("> pitch num")
- print("> noglobe")
- print("> globe")
- print("> play musicid")
- print("> volume num")
- print("> zsize num")
- print("> xsize num")
- print("> follow npc or player name")
- print("> emitsize num")
- print("> maxdist num")
- print("> stop npc or player name")
- print("> pfollow like follow")
- print("> trans num")
- print("> ysize num")
- --Settings #1
- CH1 = 1
- SECON = 0.5
- SECTION = 3
- TIMES = 1
- -- Colors and disco_ality
- function rainb(hue)
- local section = hue % TIMES * SECTION
- local secondary = SECON * math.pi * (section % TIMES)
- if section < 1 then
- return Color3.new(CH1 , CH1 - math.cos(secondary), CH1 - math.sin(secondary))
- elseif section < 2 then
- return Color3.new(CH1 - math.sin(secondary), CH1 , CH1 - math.cos(secondary))
- else
- return Color3.new(CH1 - math.cos(secondary),CH1 - math.sin(secondary), CH1 )
- end
- end
- --Settings #2
- print("// Some parts fixed by Omega_Phoenix #Yeet, and Animescapetower//--")
- local player = game:GetService("Players").LocalPlayer
- local tofollow = player
- local char = tofollow.Character
- local ispeed = 345
- local ispeed2 = 123
- local i2 = 0
- local primary = char.PrimaryPart
- -- Visualizer Stuff
- local sine = 50
- local sine2 = 34
- local size = 7.54
- local maxTabs = 12
- local ai = 360/maxTabs
- hrp=char["HumanoidRootPart"]
- rd=math.rad
- local fold = Instance.new("Folder")
- fold.Name = "Vis"
- fold.Parent = char
- --------------------------------------
- local siner = coroutine.wrap(function()
- while true do wait()
- sine = sine+1
- end
- end)
- siner()
- --------------------------------------
- function TweenMe(joint,prop,cfrmz,alp,es,ed)
- local ts = game:GetService("TweenService")
- local ti = TweenInfo.new(alp,Enum.EasingStyle[es],Enum.EasingDirection[ed],0,false,0)
- local pp = {[prop] = cfrmz}
- local tween = ts:Create(joint,ti,pp)
- tween:Play()
- end
- function createPart()
- local p = Instance.new("Part")
- p.Name = "Dead"
- p.Anchored = true
- p.Transparency = 1
- p.CanCollide = false
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Material = "Neon"
- p.Size = Vector3.new(0.5,0.12,0.5)
- p.CFrame = CFrame.new(hrp.CFrame.p)
- return p
- end
- function createPart2()
- local p3 = Instance.new("Part")
- p3.Name = "Dead2"
- p3.Anchored = true
- p3.Transparency = 0
- p3.CanCollide = false
- p3.TopSurface = "Smooth"
- p3.BottomSurface = "Smooth"
- p3.Material = "Neon"
- p3.Size = Vector3.new(1.36, size, 1.53)
- p3.CFrame = CFrame.new(hrp.CFrame.p)
- return p3
- end
- function createparticle()
- ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Name = "Parti"
- ParticleEmitter0.Rotation = NumberRange.new(3, 3)
- ParticleEmitter0.Size = NumberSequence.new(1,1)
- ParticleEmitter0.Texture = "rbxassetid://340545335"
- ParticleEmitter0.Lifetime = NumberRange.new(0.5)
- ParticleEmitter0.Rate = 788
- ParticleEmitter0.RotSpeed = NumberRange.new( 0,0)
- ParticleEmitter0.Speed = NumberRange.new(0,0)
- ParticleEmitter0.Transparency = NumberSequence.new(0.5)
- ParticleEmitter0.LightEmission = 1
- ParticleEmitter0.LightInfluence = 1
- ParticleEmitter0.SpreadAngle = Vector2.new(0,0)
- ParticleEmitter0.VelocitySpread = 0
- return ParticleEmitter0
- end
- local idk = 4
- local eh = 360/idk
- for i = 1,360/ai do
- local p = createPart()
- p.Parent = fold
- p.CFrame = CFrame.new(hrp.CFrame.p)*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,1*math.cos(sine/ispeed),10)
- end
- for i = 1,360/ai do
- local p2 = createPart()
- p2.Parent = fold
- p2.CFrame = CFrame.new(hrp.CFrame.p)*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,1*math.cos(sine/ispeed),10)
- end
- local p23 = createPart2()
- --Music
- local musics = Instance.new("Sound",hrp)
- -------------------------------------- game:GetService("RunService").RenderStepped:Wait()
- --Visualizer CFRAME and tweening
- local music = coroutine.wrap(function()
- while true do wait()
- local gc = fold:GetChildren()
- for i = 1,#gc do
- sine2=sine2+.05
- local l = tick()+sine2
- local p = gc[i]
- local size2 = size*45
- p23.CFrame = p23.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(size),math.rad(size2),math.rad(size))
- p23.Size = Vector3.new(0.5,size,0.5)
- TweenMe(p,'CFrame',hrp.CFrame*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,size*math.sin(l)*.05,musics.PlaybackLoudness/50),0.5,'Sine','Out')
- end
- end
- end)
- music()
- -----------local xsize = 1
- local xsize = 1
- local zsize = 1
- local ysize = 100
- local trans = 0.7
- size = 4
- --PointLight and running visualizer
- PointLight0 = Instance.new("PointLight")
- PointLight0.Color = Color3.new(1, 1, 0.498039)
- PointLight0.Brightness = 435
- PointLight0.Parent = hrp
- PointLight0.Range = 60
- PointLight0.Color = Color3.new(1, 1, 0.498039)
- ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Name = "Parti"
- ParticleEmitter0.Rotation = NumberRange.new(3, 3)
- ParticleEmitter0.Size = NumberSequence.new(1,1)
- ParticleEmitter0.Texture = "rbxassetid://340545335"
- ParticleEmitter0.Lifetime = NumberRange.new(0.5)
- ParticleEmitter0.Rate = 788
- ParticleEmitter0.Parent = hrp
- ParticleEmitter0.RotSpeed = NumberRange.new( 0,0)
- ParticleEmitter0.Speed = NumberRange.new(0,0)
- ParticleEmitter0.Transparency = NumberSequence.new(0.5)
- ParticleEmitter0.LightEmission = 1
- ParticleEmitter0.LightInfluence = 1
- ParticleEmitter0.SpreadAngle = Vector2.new(0,0)
- ParticleEmitter0.VelocitySpread = 0
- game:GetService("RunService").Heartbeat:connect(function()
- local Clr = rainb(tick()/3)
- local gc = fold:GetChildren()
- for i = 2,#gc,1 do
- i2 = i2 - 2
- gc[i].Color = gc[i].Color:lerp(Color3.new(Clr.r,Clr.g,Clr.b),.5)
- gc[i].Size = gc[i].Size:lerp(Vector3.new(xsize,musics.PlaybackLoudness/ysize, zsize),0.6)
- gc[i].Transparency = trans
- hrp.Parti.Rate = musics.PlaybackLoudness/ysize * 21
- hrp.Parti.SpreadAngle = Vector2.new(musics.PlaybackLoudness/ysize,musics.PlaybackLoudness/ysize)
- hrp.Parti.Size = NumberSequence.new(musics.PlaybackLoudness/ysize,musics.PlaybackLoudness/ysize)
- hrp.Parti.Color=ColorSequence.new(Color3.new(Clr.r,Clr.g,Clr.b),.5,Color3.new(Clr.r,Clr.g,Clr.b),.5,Color3.new(Clr.r,Clr.g,Clr.b),.5)
- hrp.Parti.Transparency = NumberSequence.new(trans)
- PointLight0.Color = gc[i].Color
- PointLight0.Range = 12+musics.PlaybackLoudness/ysize * 2* 4 - 0.1
- end
- end)
- local pbl = 30
- --Comands and stuff
- volume = 10
- command = '/'
- print("> secon ")
- print("> section")
- print("> times")
- print("> error")
- print("> print>")
- print("> parent")
- print("> prefix")
- print("The prefix is ".. command)
- -- more music
- musics.Looped = true
- musics.Name = "music"
- musics.Volume = 10
- musics.SoundId = "rbxassetid://148515294"
- --Chat System for vis
- local playing = false
- player.Chatted:connect(function(chat)
- local msg = chat
- if chat:sub(1,3) == "/vis " then
- local num = chat:sub(4)
- size = num
- elseif chat:sub(1,6) == command.."play " then
- musics.Volume = volume
- musics.MaxDistance = 50
- musics.EmitterSize = 50
- musics:Play()
- wait(1)
- local id = chat:sub(7)
- musics.SoundId='rbxassetid://'..id
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(chat:match'%d+')
- print("Now playing: "..Asset.Name.." ID: "..chat:match'%d+'.."")
- while wait() do
- if musics.Playing then
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-10, 10)/10, math.random(-10, 10)/10, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-12, 12)/3500, math.random(-12, 12)/3500, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- end
- end
- local visualize = coroutine.wrap(function()
- repeat wait()
- wait(0.005)
- local p24 = createPart2()
- for i = 1,360/ai do
- end
- until playing == false
- end)
- visualize()
- elseif chat == '/pitch<1 ' then
- hrp.music:Play()
- hrp.music.PlaybackSpeed = hrp.music.PlaybackSpeed + 1.54
- elseif chat:sub(1,7):lower():match(command..'pitch ') then
- char.HumanoidRootPart.music.PlaybackSpeed = chat:sub(8)
- elseif chat:sub(1,8):lower():match(command..'volume ') then
- volume = chat:sub(9)
- char.HumanoidRootPart.music.Volume = volume
- elseif chat == command..'noglobe' then
- hrp.music:Play()
- hrp.music.MaxDistance = 100
- hrp.music.EmitterSize = 100
- elseif chat == command..'globe' then
- hrp.music:Play()
- hrp.music.MaxDistance = 500
- hrp.music.EmitterSize = 500
- elseif chat:sub(1,7):lower():match(command..'emitsize ') then
- char.HumanoidRootPart.music.EmitterSize = chat:sub(8)
- elseif chat:sub(1,7):lower():match(command..'maxdist ') then
- char.HumanoidRootPart.music.MaxDistance = chat:sub(8)
- elseif chat:sub(1,8):lower():match(command..'follow ') then
- for i,v in pairs(workspace:children'') do
- if v.Name:lower():match(msg:sub(9):lower()) then
- hrp = v["Torso"]
- end
- end
- elseif chat:sub(1,8):lower():match(command..'stop ') then
- for i,v in pairs(workspace:children'') do
- if v.Name:lower():match(msg:sub(9):lower()) then
- musics:Stop()
- else
- musics.Volume = 0
- end
- --
- end
- elseif chat:sub(1,5):lower():match(command..'pbl ') then
- pbl = msg:sub(6)
- elseif chat:sub(1,7):lower():match(command..'xsize ') then
- xsize = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'zsize ') then
- zsize = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'trans ') then
- trans= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'ysize') then
- ysize= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'secon') then
- SECON= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'time') then
- TIMES= msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'section ') then
- SECTION = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'error ') then
- error(player.Name.." : ".. msg:sub(8))
- elseif chat:sub(1,7):lower():match(command..'print>') then
- print(player.Name.." : ".. msg:sub(8))
- elseif chat:sub(1,7):lower():match(command..'parent') then
- music.Parent = msg:sub(8)
- elseif chat:sub(1,7):lower():match(command..'prefix') then
- command = msg:sub(8)
- print('Prefix is now '.. command)
- elseif chat == "/stop324924332880249832324" then-- DO NOT RUN THIS COMMAND THIS WILL RISK YOUR VISUALIZER, AND BREAK IT<note by anime
- if hrp:FindFirstChild("music") ~= nil then
- local p244 = createPart2()
- size = 7.54
- p244.Size = Vector3.new(size,size,size)
- wait(1)
- size = 7.54
- playing = false
- hrp["music"]:Remove()
- end
- local X --\
- local Y ---> Don't edit these.
- local Z --/
- --------------------------------------------------------------
- -- Rotations per frame:
- X= -- Degree of rotation per frame on X Axis:
- 1.0
- --------------------------------------------------------------
- Y= -- Degree of rotation per frame on Y Axis:
- 1.0
- --------------------------------------------------------------
- Z= -- Degree of rotation per frame on Z Axis:
- 1.0
- -- NOTE: A frame is usually around 0.03 seconds.
- --------------------------------------------------------------
- local p65 = createPart()
- while true do
- p65.CFrame = p65.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z))
- wait() -- When no number is provided, it will wait for one frame. | | |
- end -- | | [Z=Roll]
- -- | [Y=Rotation]
- -- [X=Pitch]
- end
- end)
- player.Character.Humanoid.MaxHealth = "Inf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement