Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --270274342
- --305047121
- --586066792
- --692875664
- --277784505
- --670991496
- script.Parent=nil
- local PL=game:FindFirstChildOfClass("Players").LocalPlayer
- local RunService=game:GetService("RunService")local idk=true
- local Sound=Instance.new("Sound")
- function so(Id,Volume,spd)
- if PL:FindFirstChild("Sound")then if PL.Sound:FindFirstChildOfClass("Sound")==nil then Instance.new("Sound",PL.Sound)end local smo=PL.Sound:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd smo.Parent=workspace return e end
- else local m=Instance.new("Model",PL)m.Name="Sound"Instance.new("Sound",m)local smo=m:Clone()local e=smo:FindFirstChildOfClass("Sound")e.SoundId=Id e.Volume=Volume if spd~=nil then e.PlaybackSpeed=spd return e end
- end
- end
- local function swait(num)
- if num~=nil then
- for i=1,num do
- game:GetService("RunService").RenderStepped:wait()
- end
- else
- game:GetService("RunService").RenderStepped:wait()
- end
- return true
- end
- Sound.Parent=PL local width=.1
- Sound.SoundId = "rbxassetid://586066792"--"rbxassetid://609158214"
- Sound.Looped = true local Block=32 local Range=8 local SizeX=.05 local SizeZ=.05 local mode=-1 local spd=.05 local add=5 local rot=0 local rotadd=0 local GSize=1
- local SizeY=1
- local loud=false local Textured=false
- local lvl=.5--100000001
- local lpr=55 local pos=Vector3.new()
- local Vol=100 local Pbs=1 local SoundId="609158214"local Show="Bar" local Period=6 local BLightE=0
- local mod=Instance.new("Model",workspace)mod.Name="It's raining TACOS!"local col=Color3.new(1,1,1)local somethingidk=0
- local Blocks={}
- function Create()
- mod:ClearAllChildren()
- if Show=="Bar"then
- for i=1,Block do Blocks[i]=Instance.new("Part")
- Blocks[i].CFrame=CFrame.new(pos)*CFrame.Angles(0,math.rad(360/Block)*i+math.rad(rot),0)*CFrame.new(Range,0,0)Blocks[i].Color=col
- Blocks[i].Material="Neon"
- --Blocks[i].Size=Vector3.new(SizeX, Sound.PlaybackLoudness/200*math.sin(360/Block*i+somethingidk)*Sound.Volume*SizeY ,SizeZ)
- Blocks[i].Size=Vector3.new(SizeX,math.abs(Sound.PlaybackLoudness/200*(math.sin((i/Block)*(math.pi*Period)+somethingidk))*Sound.Volume*SizeY),SizeZ)
- Blocks[i].CanCollide=false Blocks[i].Anchored=true
- Blocks[i].Parent=mod
- end
- elseif Show=="Box"then
- local Box=Instance.new("Part")
- Box.Size=Vector3.new(Sound.PlaybackLoudness/200*GSize,Sound.PlaybackLoudness/200*GSize,Sound.PlaybackLoudness/200*GSize)
- Box.Position=pos+Vector3.new(0,Range,0)Box.CanCollide=false Box.Anchored=false
- Box.Color=col Box.Material="Neon"Box.Orientation=Vector3.new(math.sin(rot)*30,math.cos(rot),rot)
- Box.Parent=mod
- elseif Show=="Beam"then
- local first=nil
- for i=1,Block do
- Blocks[i]=Instance.new("Part")
- Blocks[i].CFrame=CFrame.new(pos)*CFrame.Angles(0,math.rad(360/Block)*i+math.rad(rot),0)*CFrame.new(Range,0,0)Blocks[i].Color=col
- Blocks[i].Material="Neon"Blocks[i].Transparency=1
- Blocks[i].Size=Vector3.new()local a=Instance.new("Attachment",Blocks[i])if i==1 then first=a end
- Blocks[i].CanCollide=false Blocks[i].Anchored=true
- if Blocks[i-1]and i~=1 then if Blocks[i-1]:FindFirstChild("Attachment")then local b=Instance.new("Beam",Blocks[i])b.Attachment0=Blocks[i-1].Attachment b.Attachment1=a b.Enabled=true b.Segments=1 b.Width0=width b.Width1=width b.Transparency=NumberSequence.new(0)b.FaceCamera=true b.Color=ColorSequence.new(col)b.LightEmission=BLightE if Textured then b.Texture="rbxassetid://1251856844"end end end
- if i==Block then local b=Instance.new("Beam",first.Parent)b.Attachment0=first b.Attachment1=a b.Enabled=true b.Segments=1 b.Width0=width b.Width1=width b.Transparency=NumberSequence.new(0)b.FaceCamera=true b.Color=ColorSequence.new(col)b.LightEmission=BLightE if Textured then b.Texture="rbxassetid://1251856844"end end
- Blocks[i].Parent=mod
- end
- mod.Parent=workspace
- end
- end local WBAc=500 local revb=false
- local rdcy=1.5
- local rden=1
- local rdiff=1
- local rdry=06
- local rpr=0
- local rwet=0
- local function ToMesh(Part)
- local Mesh=Instance.new("SpecialMesh",Part)
- if Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end
- Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
- return Mesh
- end
- local function dood(msg)
- if msg:sub(1,4) == "Play" then
- Sound:Stop()SoundId = msg:sub(6)Sound:Play()end
- if msg:sub(1,3)=="Vol"then Vol=tonumber(msg:sub(5))end
- if msg:sub(1,3)=="pbs"then Pbs=tonumber(msg:sub(5))/100 end
- if msg=="ChangeParent"then if idk then idk=false else idk=true end end
- if msg:sub(1,6)=="Blocks"then if tonumber(msg:sub(8))~=nil then Block=tonumber(msg:sub(8))Create()end end
- if msg:sub(1,5)=="Range"then if tonumber(msg:sub(7))~=nil then Range=tonumber(msg:sub(7))end end
- if msg:sub(1,5)=="SizeX"then if tonumber(msg:sub(7))~=nil then SizeX=tonumber(msg:sub(7))end end
- if msg:sub(1,5)=="SizeY"then if tonumber(msg:sub(7))~=nil then SizeY=tonumber(msg:sub(7))end end
- if msg:sub(1,5)=="SizeZ"then if tonumber(msg:sub(7))~=nil then SizeZ=tonumber(msg:sub(7))end end
- if msg:sub(1,4)=="Size"then if tonumber(msg:sub(6))~=nil then GSize=tonumber(msg:sub(6))end end
- if msg:sub(1,5)=="Speed"then if tonumber(msg:sub(7))~=nil then spd=tonumber(msg:sub(7)/100)end end
- if msg:sub(1,3)=="Add"then if tonumber(msg:sub(5))~=nil then add=tonumber(msg:sub(5))end end
- if msg:sub(1,3)=="Rot"then if tonumber(msg:sub(5))~=nil then rotadd=tonumber(msg:sub(5))/10 end end
- if msg:sub(1,6)=="Period"then if tonumber(msg:sub(8))~=nil then Period=tonumber(msg:sub(8))end end
- if msg=="a:WB"then mode=0 end if msg=="a:Rainbow"then mode=1 end
- if msg=="a:def"then mode=-1 end
- if msg=="s:Bar"then Show="Bar"Create()end
- if msg=="s:Box"then Show="Box"Create()end
- if msg=="s:Beam"then Show="Beam"Create()end
- if msg:sub(1,4)=="b:le"then if tonumber(msg:sub(6))~=nil then BLightE=tonumber(msg:sub(6))Create()end end
- if msg:sub(1,4)=="b:wd"then if tonumber(msg:sub(6))~=nil then width=tonumber(msg:sub(6))Create()end end
- if msg=="o:l:is"then if loud then loud=false else loud=true end end
- if msg:sub(1,6)=="o:l:pr"then if tonumber(msg:sub(8))~=nil then lpr=tonumber(msg:sub(8))end end
- if msg:sub(1,6)=="o:l:lv"then if tonumber(msg:sub(8))~=nil then lvl=tonumber(msg:sub(8))/100 end end
- if msg=="o:r:is"then if revb then revb=false else revb=true end end
- if msg:sub(1,6)=="o:r:pr"then if tonumber(msg:sub(8))~=nil then rpr=tonumber(msg:sub(8))end end
- if msg:sub(1,6)=="o:r:de"then if tonumber(msg:sub(8))~=nil then rden=tonumber(msg:sub(8))end end
- if msg:sub(1,6)=="o:r:pr"then if tonumber(msg:sub(8))~=nil then rpr=tonumber(msg:sub(8))end end
- if msg:sub(1,6)=="o:r:di"then if tonumber(msg:sub(8))~=nil then rdiff=tonumber(msg:sub(8))end end
- if msg:sub(1,6)=="o:r:dr"then if tonumber(msg:sub(8))~=nil then rdry=tonumber(msg:sub(8))end end
- if msg:sub(1,6)=="o:r:wt"then if tonumber(msg:sub(8))~=nil then rwet=tonumber(msg:sub(8))end end
- if msg=="!txt"then if Textured then Textured=false else Textured=true end Create()end
- if msg:sub(1,4)=="?:Ac"then if tonumber(msg:sub(6))~=nil then WBAc=tonumber(msg:sub(6))end end
- end
- PL.Chatted:connect(dood)
- local pos=Vector3.new()
- local cR=255
- local cG=0
- local cB=0
- local flg5=1
- Create()local oldsuck=nil local shk=false
- RunService.Heartbeat:connect(function()if oldsuck~=nil then oldsuck:Destroy()oldsuck=nil end
- rot=rot+rotadd
- if mode==1 then if cR>=255 then flg5=1 end
- if cG>=255 then flg5=2 end
- if cB>=255 then flg5=3 end
- if flg5==1 then cR=cR-add cG=cG+add end
- if flg5==2 then cG=cG-add cB=cB+add end
- if flg5==3 then cB=cB-add cR=cR+add end
- col=Color3.fromRGB(cR,cG,cB)elseif mode==0 then col=Color3.new(Sound.PlaybackLoudness/WBAc,Sound.PlaybackLoudness/WBAc,Sound.PlaybackLoudness/WBAc)elseif mode==-1 then col=Color3.new(1,1,1)end
- if Sound.Parent==nil then Sound=so("rbxassetid://"..SoundId,Vol,Pbs)Sound.Looped=true Sound:Play()end
- Sound.Volume=Vol
- if Sound.SoundId~="rbxassetid://"..SoundId then Sound.SoundId="rbxassetid://"..SoundId end
- somethingidk=somethingidk+spd
- if loud then
- if Sound:FindFirstChild("ripear")then
- local earbleep = Sound.ripear
- earbleep.Enabled = true
- earbleep.Level = lvl
- earbleep.Priority = lpr
- else
- local earbleep = Instance.new("DistortionSoundEffect",Sound)earbleep.Name="ripear"
- earbleep.Enabled = true
- earbleep.Level = lvl
- earbleep.Priority = lpr
- end
- else
- if Sound:FindFirstChild("ripear")then
- Sound.ripear:Destroy()
- end
- end
- if revb then
- if Sound:FindFirstChild("reverb")then
- local earbleep = Sound.reverb
- earbleep.Enabled = true
- earbleep.Density = rden
- earbleep.Diffusion = rdiff
- earbleep.DryLevel=rdry
- earbleep.WetLevel=rwet
- earbleep.Priority = rpr
- else
- local earbleep = Instance.new("ReverbSoundEffect",Sound)earbleep.Name="reverb"
- earbleep.Enabled = true
- earbleep.Density = rden
- earbleep.Diffusion = rdiff
- earbleep.DryLevel=rdry
- earbleep.WetLevel=rwet
- earbleep.Priority = rpr
- end
- else
- if Sound:FindFirstChild("reverb")then
- Sound.reverb:Destroy()
- end
- end
- if mod==nil or mod.Parent==nil then mod=Instance.new("Model",workspace)mod.Name="It's raining TACOS!"end
- if PL.Character then
- if PL.Character:FindFirstChild("HumanoidRootPart")then
- pos=pos:lerp(PL.Character.HumanoidRootPart.Position,.2)
- end
- end
- if idk then
- if PL.Character then
- if PL.Character:FindFirstChild("HumanoidRootPart")then
- Sound.Parent=PL.Character.HumanoidRootPart
- end
- end
- else
- Sound.Parent=PL
- end
- if Show=="Bar"then
- for i=1,Block do
- Blocks[i].CFrame=CFrame.new(pos)*CFrame.Angles(0,math.rad(360/Block)*i+math.rad(rot),0)*CFrame.new(Range,0,0)Blocks[i].Color=col
- Blocks[i].Material="Neon"
- Blocks[i].Size=Vector3.new(SizeX,math.abs(Sound.PlaybackLoudness/200*(math.sin((i/Block)*(math.pi*Period)+somethingidk))*Sound.Volume*SizeY),SizeZ)
- Blocks[i].CanCollide=false Blocks[i].Anchored=true
- Blocks[i].Parent=mod
- end
- elseif Show=="Box"then local Box=Instance.new("Part")
- Box.Size=Vector3.new(Sound.PlaybackLoudness/200*GSize,Sound.PlaybackLoudness/200*GSize,Sound.PlaybackLoudness/200*GSize)
- Box.Position=pos+Vector3.new(0,Range,0)Box.CanCollide=false Box.Anchored=true
- Box.Color=col Box.Material="Neon"Box.Orientation=Vector3.new(math.sin(rot)*30,math.cos(rot),rot)
- Box.Parent=mod oldsuck=Box
- if not shk and Sound.PlaybackLoudness/200>1.1 then shk=true local c=Box:Clone()c.Parent=mod
- local mesh=ToMesh(c)
- spawn(function()for i=.5,1,.05 do mesh.Scale=mesh.Scale+Vector3.new(.5,.5,.5) c.Transparency=i swait()end c:Destroy()end)end
- if shk and Sound.PlaybackLoudness/200>.4 then shk=false end
- elseif Show=="Beam"then
- local first=nil
- for i=1,Block do
- Blocks[i].CFrame=CFrame.new(pos)*CFrame.Angles(0,math.rad(360/Block)*i+math.rad(rot),0)*CFrame.new(Range,0,0)Blocks[i].Color=col
- Blocks[i].Material="Neon"Blocks[i].Transparency=1
- Blocks[i].Size=Vector3.new()Blocks[i].CFrame=CFrame.new(pos)*CFrame.Angles(0,math.rad(360/Block)*i+math.rad(rot),0)*CFrame.new(Range,Sound.PlaybackLoudness/200*(math.sin((i/Block)*(math.pi*Period*2)+somethingidk))*Sound.Volume*SizeY/3,0)
- Blocks[i].CanCollide=false Blocks[i].Anchored=true
- if Blocks[i]:FindFirstChildOfClass("Beam")then Blocks[i]:FindFirstChildOfClass("Beam").Color=ColorSequence.new(col)end
- Blocks[i].Parent=mod
- end
- mod.Parent=workspace
- end
- end)
- local name="GUIthatidk"
- spawn(function()while wait()do if PL:FindFirstChildOfClass("PlayerGui"):FindFirstChild(name)==nil then local idk=Instance.new("ScreenGui",PL:FindFirstChildOfClass("PlayerGui"))idk.ResetOnSpawn=false local t=Instance.new("TextBox",idk)t.Size=UDim2.new(.225,0,0,22)
- t.Position=UDim2.new(.5-.064,0,0,0)t.BackgroundTransparency=.5 t.Text="Audio Commands here"t.BorderSizePixel=0 t.TextXAlignment="Left"
- spawn(function()while wait()do t.BackgroundColor3=col if t.Parent then if t.Parent.Parent then else break end else break end end end)
- t.TextStrokeTransparency=0 t.TextColor3=Color3.new(1,1,1)t.TextScaled=true t.TextSize=15 idk.Name=name
- t.FocusLost:connect(function(ep)if ep then dood(t.Text)t.Text="Audio Commands hare"end end)t.Draggable=true
- local function commandinputstart(actionName,userInputState,inputObject)
- if userInputState==Enum.UserInputState.Begin then
- wait()t:CaptureFocus()
- end
- end
- game.ContextActionService:BindAction("CommandInputStart",commandinputstart,false,Enum.KeyCode.LeftBracket)
- end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement