mouse.KeyDown:connect(function(key) enabled = true if not enabled then return end enabled = false key = key:lower() if key == "z" then chat:Chat(char.Head,"Phantom Beam!","Red") char.Humanoid.WalkSpeed = 0 local circle = Instance.new("Part",char) local cmesh = Instance.new("BlockMesh",circle) local decal = Instance.new("Decal",circle) local sphere = Instance.new("Part",char) local fq2 = Instance.new("SpecialMesh",sphere) sphere.Size = Vector3.new(3,3,3) fq2.Scale = Vector3.new(1,1,1) circle.Anchored = true circle.Size = Vector3.new(1,1,1) circle.CanCollide = false circle.TopSurface = "Smooth" decal.Face = "Top" circle.Transparency = 1 decal.Texture = "http://www.roblox.com/asset/?id=363269577" circle.CFrame = char.Torso.CFrame:toWorldSpace(CFrame.new(0,-3.4,0)) sphere.BrickColor = BrickColor.new("Really black") sphere.Anchored = true sphere.CanCollide = false sphere.CFrame = char.Torso.CFrame * CFrame.new(0,-1,0) sphere.TopSurface = "Smooth" sphere.BottomSurface = "Smooth" fq2.MeshType = "Sphere" coroutine.resume(coroutine.create(function() for i = 0,10,.02 do fq2.Scale = fq2.Scale + Vector3.new(i,i,i) sphere.Transparency = sphere.Transparency + .03 wait() end sphere:Destroy() end)) coroutine.resume(coroutine.create(function() for i = 1,60,1.5 do cmesh.Scale = Vector3.new(i,1,i) decal.Transparency = decal.Transparency + .04 circle.CFrame = circle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0) wait() end circle:Destroy() end)) wait(.3) for i = 1,5 do local blast1 = Instance.new("Part",char) local fq = Instance.new("SpecialMesh",blast1) fq.MeshId = "http://www.roblox.com/asset/?id=20329976" fq.Scale = Vector3.new(2,1,2) blast1.CanCollide = false blast1.CFrame = char.Torso.CFrame * CFrame.new(0,-1,0) blast1.Anchored = true blast1.BrickColor = BrickColor.new("Really black") coroutine.resume(coroutine.create(function() for i = 0,1,.08 do fq.Scale = fq.Scale + Vector3.new(i,i,i) blast1.Transparency = i/1.15 blast1.CFrame = blast1.CFrame * CFrame.fromEulerAnglesXYZ(0,.1,0) wait() end blast1:Destroy() char.Humanoid.WalkSpeed = 22 end)) wait() end local anim = Instance.new("Animation",char) anim.AnimationId = "rbxassetid://469624349" local e = char.Humanoid:LoadAnimation(anim) e:Play() wait(.5) local beam = Instance.new("Part",char) local CylinderMesh = Instance.new("CylinderMesh",beam) beam.CFrame = char.Torso.CFrame beam.Anchored = true beam.Transparency = 1 beam.CanCollide = false sound = Instance.new("Sound",beam) sound.SoundId = soundid sound:Play() beam.Size = Vector3.new(10,85,10) beam.BrickColor = BrickColor.new("Really black") local umadkynann = char.Torso.CFrame:toWorldSpace(CFrame.new(0,0,-60)) for i = 1,8 do local blast = Instance.new("Part",char) local block = Instance.new("Part",char) local blockmesh = Instance.new("BlockMesh",block) local blastmesh = Instance.new("SpecialMesh",blast) blastmesh.MeshId = "rbxassetid://20329976" block.CanCollide = false blast.CanCollide = false block.Size = Vector3.new(5,5,5) blastmesh.Scale = Vector3.new(10,5,10) blast.Anchored = true block.Anchored = true blast.BrickColor = BrickColor.new("Really black") block.BrickColor = BrickColor.new("Really black") blast.Transparency = .5 block.Transparency = .5 blast.CFrame = beam.CFrame block.CFrame = beam.CFrame coroutine.resume(coroutine.create(function() repeat wait() beam.Transparency = beam.Transparency - 0.03 until beam.Transparency <= 0.4 end)) coroutine.resume(coroutine.create(function() for i = 0,0.8,.02 do beam.CFrame = beam.CFrame:lerp(umadkynann,.02) blast.Transparency = i/.5 block.Transparency = i/.5 blastmesh.Scale = blastmesh.Scale + Vector3.new(i,i,i) blockmesh.Scale = blockmesh.Scale + Vector3.new(i/2,i/2,i/2) block.CFrame = block.CFrame * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.2) blast.CFrame = blast.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0) wait() end blast:Destroy() block:Destroy() end)) beam.Touched:connect(function(p) pp = p.Parent local h = pp:findFirstChild("Humanoid") if p.Name~="Baseplate" and p.Name~="Handle" and pp.Name~=char.Name and pp.Parent~=char.Name then coroutine.resume(coroutine.create(function() for i = p.Transparency,1,.06 do p.Transparency = i wait() end p:Destroy() end)) end end) wait(.1) end coroutine.resume(coroutine.create(function() for i = 0.3,1,.04 do beam.Transparency = i beam.Mesh.Scale = beam.Mesh.Scale + Vector3.new(i/4,0,i/4) wait() end beam:Destroy() end)) end