Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --written by kent911t + help from wiki cuz i'm a noob :(
- char=game.Players.LocalPlayer.Character
- player=game.Players.LocalPlayer
- worked = game.Workspace
- aaaa=Instance.new("Model")
- aaaa.Parent=worked
- aaaa.Name="Explosions"
- attacking=false
- local gui=Instance.new("ScreenGui")
- gui.Parent=player.PlayerGui
- gui.Name="Loaded"
- local frame=Instance.new("Frame")
- frame.Parent=gui
- frame.BackgroundColor3=Color3.fromRGB(190, 27, 188)
- frame.BackgroundTransparency=1 -- put this to 0.2 :)
- frame.BorderSizePixel=0
- frame.Position=UDim2.new(0,0,0.4,0)
- frame.Name="PurpleOverlay"
- frame.Selectable=false
- frame.Size=UDim2.new(0,1200,0,100)
- frame.Style="Custom"
- frame.Visible=true
- frame.ZIndex=1
- frame.Draggable=false
- frame.Archivable=true
- local text=Instance.new("TextLabel")
- text.Parent=frame
- text.BackgroundTransparency=1
- text.Name="NukeInit"
- text.ZIndex=2
- text.Position=UDim2.new(0,450,0.25,0)
- text.Size=UDim2.new(0,200,0,50)
- text.Visible=true
- text.Draggable=false
- text.Font="SourceSansLight"
- text.FontSize="Size96"
- text.Text="AHHHH FOR WAKANDA!!!!!!!"
- text.TextTransparency=1 --set this to 0 :) oh btw it's a fade
- text.Selectable=false
- text.Archivable=true
- for i = 1, 50 do
- text.TextTransparency=text.TextTransparency-0.02
- frame.BackgroundTransparency=frame.BackgroundTransparency-0.016
- wait()
- end
- wait(1)
- for i = 1, 50 do
- text.TextTransparency=text.TextTransparency+0.02
- frame.BackgroundTransparency=frame.BackgroundTransparency+0.016
- wait()
- end
- script.Parent=player.Backpack
- function blasted()
- a=Instance.new("Part")
- a.Parent=worked
- a.Name="Blast"
- a.BrickColor = BrickColor.new("Bright violet")
- a.Material="Neon"
- a.Transparency=0.25
- a.CFrame = char.Torso.CFrame
- a.Anchored=true
- a.CanCollide=false
- a.Locked=true
- a.Size=Vector3.new(1,1,1)
- h=Instance.new("Part")
- h.Parent=worked
- h.Name="Blast2"
- h.BrickColor = BrickColor.new("Bright violet")
- h.Material="Neon"
- h.Transparency=0.25
- h.CFrame = char.Torso.CFrame
- h.Anchored=true
- h.CanCollide=false
- h.Locked=true
- h.Size=Vector3.new(1,1,1)
- i=Instance.new("SpecialMesh")
- i.Parent=h
- i.Name="Mesh"
- i.MeshType="Sphere"
- i.Scale=Vector3.new(1,1,1)
- i.VertexColor=Vector3.new(1,1,1)
- b=Instance.new("SpecialMesh")
- b.Parent=a
- b.Name="Mesh"
- b.MeshType="Sphere"
- b.Scale=Vector3.new(1,1,1)
- b.VertexColor=Vector3.new(1,1,1)
- --RING GENERATOR
- --[[d=Instance.new("Part")
- d.Parent=worked
- d.Name="Ring"
- d.BrickColor = BrickColor.new("Really black")
- d.Material="Neon"
- d.Transparency=0.25
- d.Position=char.Torso.Position
- d.Anchored=true
- d.CanCollide=false
- d.Locked=true
- d.Size=Vector3.new(1,1,1)
- c=Instance.new("SpecialMesh")
- c.Parent=d
- c.MeshType="FileMesh"
- c.MeshId="http://www.roblox.com/asset/?id=3270017"
- c.Scale=Vector3.new(1,1,1)
- c.Name="Ring"
- e=Instance.new("Part")
- e.Parent=worked
- e.Name="Ring2"
- e.BrickColor = BrickColor.new("Really black")
- e.Material="Neon"
- e.Transparency=0.25
- e.Position=char.Torso.Position
- e.Anchored=true
- e.CanCollide=false
- e.Locked=true
- e.Size=Vector3.new(1,1,1)
- f=Instance.new("SpecialMesh")
- f.Parent=e
- f.MeshType="FileMesh"
- f.MeshId="http://www.roblox.com/asset/?id=3270017"
- f.Scale=Vector3.new(1,1,1)
- f.Name="Ring2"--]]
- blast = worked.Blast
- blast2 = worked.Blast2
- mesh = worked.Blast.Mesh
- --THIS WILL ADD A SPIN TO THE RINGS
- --[[local newPos = Instance.new("BodyPosition") -- making a BodyPosition to put in each ring so that the rings will stay in the right place
- newPos.Parent = d
- newPos.position = blast.Position
- newPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- local newSpin = Instance.new("BodyAngularVelocity") -- this is to make the rings spin
- newSpin.Parent = d
- local spinPower = 10000
- newSpin.maxTorque = Vector3.new(spinPower,spinPower,spinPower)
- newSpin.angularvelocity = Vector3.new(math.random(0,200)/100,math.random(0,200)/100,math.random(0,200)/100) -- making thier spin random
- d.CFrame = d.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) -- starting the ring at a random rotation
- d.Anchored = false -- unanchoring the ring after it is set up so that it can now spin
- local newPos = Instance.new("BodyPosition") -- making a BodyPosition to put in each ring so that the rings will stay in the right place
- newPos.Parent = e
- newPos.position = blast.Position
- newPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- local newSpin = Instance.new("BodyAngularVelocity") -- this is to make the rings spin
- newSpin.Parent = e
- local spinPower = 10000
- newSpin.maxTorque = Vector3.new(spinPower,spinPower,spinPower)
- newSpin.angularvelocity = Vector3.new(math.random(0,200)/100,math.random(0,200)/100,math.random(0,200)/100) -- making thier spin random
- e.CFrame = e.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) -- starting the ring at a random rotation
- e.Anchored = false -- unanchoring the ring after it is set up so that it can now spin
- --]]
- local newPos = Instance.new("BodyPosition") -- making a BodyPosition to put in each ring so that the rings will stay in the right place
- newPos.Parent = h
- newPos.position = blast2.Position
- newPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- local newSpin = Instance.new("BodyAngularVelocity") -- this is to make the rings spin
- newSpin.Parent = h
- local spinPower = 10000
- newSpin.maxTorque = Vector3.new(spinPower,spinPower,spinPower)
- newSpin.angularvelocity = Vector3.new(math.random(0,200)/100,math.random(0,200)/100,math.random(0,200)/100) -- making thier spin random
- h.CFrame = h.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) -- starting the ring at a random rotation
- h.Anchored = false -- unanchoring the ring after it is set up so that it can now spin
- end
- function huge()
- chargin2=Instance.new("Sound")
- chargin2.Parent=char.Torso
- chargin2.Pitch=0.4
- chargin2.Name="chargin2"
- chargin2.SoundId="rbxassetid://244578827"
- chargin2.Volume=1
- chargin2.PlayOnRemove=true
- chargin2:Play()
- for i = 1, 250 do
- blast.Size=blast.Size+Vector3.new(0.3,0.3,0.3)
- blast2.Size=blast2.Size+Vector3.new(0.25,0.25,0.25)
- --c.Scale=c.Scale+Vector3.new(0.3,0.3,0.03) RING SCALER
- --f.Scale=f.Scale+Vector3.new(0.3,0.3,0.03)
- wait()
- end
- for i = 1, 150 do
- blast.Size=blast.Size-Vector3.new(0.7,0.7,0.7)
- blast2.Size=blast2.Size-Vector3.new(0.5,0.5,0.5)
- wait()
- end
- blast:Destroy()
- blast2:Destroy()
- end
- function nuke()
- local cyl1=Instance.new("Part")
- cyl1.Parent=worked
- cyl1.Anchored=true
- cyl1.CanCollide=false
- cyl1.Name="Cyl1"
- cyl1.CFrame = char.Torso.CFrame
- cyl1.Rotation=Vector3.new(0,0,-90)
- cyl1.Transparency=0.25
- cyl1.BrickColor=BrickColor.new("Bright violet")
- cyl1.Material="Neon"
- cyl1.Size=Vector3.new(1,1,1)
- local cyl2=Instance.new("Part")
- cyl2.Parent=worked
- cyl2.Anchored=true
- cyl2.CanCollide=false
- cyl2.Name="Cyl2"
- cyl2.CFrame = char.Torso.CFrame
- cyl2.Rotation=Vector3.new(0,0,-90)
- cyl2.Transparency=0.25
- cyl2.BrickColor=BrickColor.new("Bright violet")
- cyl2.Material="Neon"
- cyl2.Size=Vector3.new(1,1,1)
- local cyl1mesh=Instance.new("SpecialMesh")
- cyl1mesh.Parent=cyl1
- cyl1mesh.Name="Mesh"
- cyl1mesh.MeshType="Cylinder"
- cyl1mesh.Scale=Vector3.new(1,1,1)
- cyl1mesh.VertexColor=Vector3.new(1,1,1)
- local cyl2mesh=Instance.new("SpecialMesh")
- cyl2mesh.Parent=cyl2
- cyl2mesh.Name="Mesh"
- cyl2mesh.MeshType="Cylinder"
- cyl2mesh.Scale=Vector3.new(1,1,1)
- cyl2mesh.VertexColor=Vector3.new(1,1,1)
- local ring1=Instance.new("Part")
- ring1.Parent=worked
- ring1.Anchored=true
- ring1.CanCollide=false
- ring1.Name="ring1"
- ring1.CFrame = char.Torso.CFrame+Vector3.new(0, 100, 0)
- ring1.Rotation=Vector3.new(90,0,0)
- ring1.Transparency=0
- ring1.BrickColor=BrickColor.new("Bright violet")
- ring1.Material="Neon"
- ring1.Size=Vector3.new(1,1,1)
- local ring1mesh=Instance.new("SpecialMesh")
- ring1mesh.Parent=ring1
- ring1mesh.MeshType="FileMesh"
- ring1mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
- ring1mesh.Scale=Vector3.new(1,1,1)
- ring1mesh.Name="Ring"
- local ring2=Instance.new("Part")
- ring2.Parent=worked
- ring2.Anchored=true
- ring2.CanCollide=false
- ring2.Name="ring2"
- ring2.CFrame = char.Torso.CFrame+Vector3.new(0, 250, 0)
- ring2.Rotation=Vector3.new(90,0,0)
- ring2.Transparency=0
- ring2.BrickColor=BrickColor.new("Bright violet")
- ring2.Material="Neon"
- ring2.Size=Vector3.new(1,1,1)
- local ring2mesh=Instance.new("SpecialMesh")
- ring2mesh.Parent=ring2
- ring2mesh.MeshType="FileMesh"
- ring2mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
- ring2mesh.Scale=Vector3.new(1,1,1)
- ring2mesh.Name="Ring"
- local ring3=Instance.new("Part")
- ring3.Parent=worked
- ring3.Anchored=true
- ring3.CanCollide=false
- ring3.Name="ring3"
- ring3.CFrame = char.Torso.CFrame+Vector3.new(0, 500, 0)
- ring3.Rotation=Vector3.new(90,0,0)
- ring3.Transparency=0
- ring3.BrickColor=BrickColor.new("Bright violet")
- ring3.Material="Neon"
- ring3.Size=Vector3.new(1,1,1)
- local ring3mesh=Instance.new("SpecialMesh")
- ring3mesh.Parent=ring3
- ring3mesh.MeshType="FileMesh"
- ring3mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
- ring3mesh.Scale=Vector3.new(1,1,1)
- ring3mesh.Name="Ring"
- local ring4=Instance.new("Part")
- ring4.Parent=worked
- ring4.Anchored=true
- ring4.CanCollide=false
- ring4.Name="ring4"
- ring4.CFrame = char.Torso.CFrame+Vector3.new(0, 1000, 0)
- ring4.Rotation=Vector3.new(90,0,0)
- ring4.Transparency=0
- ring4.BrickColor=BrickColor.new("Bright violet")
- ring4.Material="Neon"
- ring4.Size=Vector3.new(1,1,1)
- local ring4mesh=Instance.new("SpecialMesh")
- ring4mesh.Parent=ring4
- ring4mesh.MeshType="FileMesh"
- ring4mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
- ring4mesh.Scale=Vector3.new(1,1,1)
- ring4mesh.Name="Ring"
- local ring5=Instance.new("Part")
- ring5.Parent=worked
- ring5.Anchored=true
- ring5.CanCollide=false
- ring5.Name="ring5"
- ring5.CFrame = char.Torso.CFrame+Vector3.new(0, 1000, 0)
- ring5.Rotation=Vector3.new(90,0,0)
- ring5.Transparency=0
- ring5.BrickColor=BrickColor.new("Bright violet")
- ring5.Material="Neon"
- ring5.Size=Vector3.new(1,1,1)
- local ring5mesh=Instance.new("SpecialMesh")
- ring5mesh.Parent=ring5
- ring5mesh.MeshType="FileMesh"
- ring5mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
- ring5mesh.Scale=Vector3.new(1,1,1)
- ring5mesh.Name="Ring"
- for i = 1, 150 do
- abc=Instance.new("Part")
- abc.Parent=aaaa
- abc.Name="Explosion"
- abc.Material="Neon"
- abc.Anchored=true
- abc.Size = Vector3.new(12,12,12)
- abc.Transparency=0
- abc.CanCollide=false
- a=math.random(1,2)
- if a == 1 then
- abc.BrickColor = BrickColor.new("Bright violet")
- elseif a == 2 then
- abc.BrickColor = BrickColor.new("Bright violet")
- end
- abc.CFrame=char.Torso.CFrame+Vector3.new(math.random(-50,50),math.random(0,20),math.random(-50,50))
- ab=Instance.new("SpecialMesh")
- ab.Parent=abc
- ab.MeshType="Sphere"
- ab.Name="SpecialMesh"
- ab.Scale=Vector3.new(1,1,1)
- end
- chargin=Instance.new("Sound")
- chargin.Parent=char.Torso
- chargin.Pitch=1
- chargin.Name="chargin"
- chargin.SoundId="rbxassetid://159490394"
- chargin.Volume=1
- chargin.PlayOnRemove=true
- chargin:Play()
- for i = 1, 300 do
- cyl1.Size=cyl1.Size+Vector3.new(50,0.1,0.1)
- cyl2.Size=cyl2.Size+Vector3.new(50,0.09,0.06)
- ring1mesh.Scale=ring1mesh.Scale+Vector3.new(0.2,0.2,0.2)
- ring2mesh.Scale=ring2mesh.Scale+Vector3.new(0.3,0.3,0.3)
- ring3mesh.Scale=ring3mesh.Scale+Vector3.new(0.8,0.8,0.8)
- ring4mesh.Scale=ring4mesh.Scale+Vector3.new(4,4,4)
- ring5mesh.Scale=ring5mesh.Scale+Vector3.new(2.5,2.5,2.5)
- for _, player in pairs(game.Workspace.Explosions:GetChildren()) do
- player.Size=player.Size+Vector3.new(0.2,0.2,0.2)
- player.Transparency=player.Transparency+0.005
- end
- wait()
- end
- for _, player in pairs(game.Workspace.Explosions:GetChildren()) do
- player:Destroy()
- end
- wait(0.2)
- for i = 1, 250 do
- cyl1.Transparency=cyl1.Transparency+0.02
- cyl2.Transparency=cyl2.Transparency+0.02
- ring1.Transparency=ring1.Transparency+0.02
- ring2.Transparency=ring2.Transparency+0.02
- ring3.Transparency=ring3.Transparency+0.02
- ring4.Transparency=ring4.Transparency+0.02
- ring5.Transparency=ring5.Transparency+0.02
- wait()
- end
- cyl1:Destroy()
- cyl2:Destroy()
- ring1:Destroy()
- ring2:Destroy()
- ring3:Destroy()
- ring4:Destroy()
- ring5:Destroy()
- attacking=false
- end
- function shake()
- local camera = game.Workspace.CurrentCamera
- for i = 1,1000 do
- wait()
- camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(0,2,0)
- wait()
- camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(0,-2,0)
- end
- end
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Q and attacking == false then
- attacking=true
- blasted()
- huge()
- wait(0.5)
- nuke()
- shake()
- elseif inputObject.KeyCode == Enum.KeyCode.Q and attacking == true then
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- --[[soundex=sounds.explosion = "http://www.roblox.com/asset/?id=87784452"
- soundbewm=sounds.bewm = "rbxassetid://258057783"
- sounds.slice = "http://www.roblox.com/asset/?id=161006195"
- sounds.charge = "http://roblox.com/asset/?id=2101137"
- sounds.sharpblast = "http://roblox.com/asset/?id=2248511"
- sounds.woosh = "http://roblox.com/asset/?id=147722227"
- sounds.metalhit = "http://roblox.com/asset/?id=153092348"
- sounds.mechblast = "http://roblox.com/asset/?id=169380505"
- sounds.chargepulse = "http://roblox.com/asset/?id=10209296"
- sounds.heal = "http://roblox.com/asset/?id=2101144"
- sounds.zap = "http://roblox.com/asset/?id=10756104"
- sounds.powernote = "http://roblox.com/asset/?id=192603389"
- sounds.swing = "http://roblox.com/asset/?id=10209640"
- sounds.hit = "http://roblox.com/asset/?id=10209590"--]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement