Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- attendez()
- - NON FINI -
- chat = jeu: GetService ("Chat")
- plr = game.Players.LocalPlayer
- char = plr.Character
- mouse = plr: GetMouse ()
- cIsPressed = false
- cpos = char.Head.CFrame: toWorldSpace (CFrame.new (0,2,0))
- soundid = "http://www.roblox.com/asset/?id=255679373"
- soundid2 = "http://www.roblox.com/asset/?id=211062246"
- coroutine.resume (coroutine.create (function ()
- main locale = Instance.new ("Part", espace de travail)
- hand.Transparency = 1
- hand.CanCollide = faux
- hand.Anchored = true
- hand.Size = Vecteur3.new (1,1,1)
- coroutine.resume (coroutine.create (function ()
- répétez wait ()
- hand.CFrame = char ["Bras gauche"] CFrame: toWorldSpace (CFrame.new (0, -1.1,0))
- jusqu'à false
- fin))
- répétez l'attente (.1)
- local trail = Instance.new ("Part", espace de travail)
- local a = math.random (1,7)
- si a == 1 alors
- local tring = Instance.new ("Part", espace de travail)
- tringmesh local = Instance.new ("SpecialMesh", tring)
- tringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- tring.Anchored = true
- tring.Size = Vector3.new (.2, .2, .2)
- tring.CanCollide = false
- tring.BrickColor = BrickColor.new ("Vraiment noir")
- tring.CFrame = hand.CFrame
- tring.Rotation = Vector3.new (math.random (-360 360), math.random (-360 360), math.random (-360 360))
- coroutine.resume (coroutine.create (function ()
- pour i = 0,1, .03 faire
- tringmesh.Scale = tringmesh.Scale + Vector3.new (i / 6, i / 2,0)
- tring.Transparency = tring.Transparency + .03
- attendez()
- fin
- tring: Détruire ()
- fin))
- elseif a == 2 alors
- effet local = Instance.new ("Part", espace de travail)
- local efmesh = Instance.new ("SpecialMesh", effet)
- efmesh.MeshType = "Sphère"
- effect.Anchored = true
- effect.Size = Vector3.new (.2, .2, .2)
- effect.CanCollide = false
- effect.BrickColor = BrickColor.new ("Vraiment noir")
- effect.CFrame = hand.CFrame
- effect.Rotation = Vector3.new (math.random (-360 360), math.random (-360 360), math.random (-360 360))
- coroutine.resume (coroutine.create (function ()
- pour i = 0,1, .02 faire
- efmesh.Scale = efmesh.Scale + Vecteur3.new (i / 3.5, i / .65, i / 3.5)
- effect.Transparency = effect.Transparency + .02
- attendez()
- fin
- Effet: Détruire ()
- fin))
- fin
- bmesh local = Instance.new ("BlockMesh", piste)
- trail.Size = Vector3.new (1.5,1.5,1.5)
- trail.Anchored = true
- trail.CanCollide = false
- trail.BrickColor = BrickColor.new ("Vraiment noir")
- trail.CFrame = hand.CFrame
- coroutine.resume (coroutine.create (function ()
- pour i = 0,1, .03 faire
- trail.Transparency = i
- trail.CFrame = trail.CFrame * CFrame.fromEulerAnglesXYZ (math.random (-1,1) /10,math.random (-1,1) /10,math.random (-1,1) / 10)
- bmesh.Scale = Vecteur3.new (.5 + i, .5 + i, .5 + i)
- attendez()
- fin
- sentier: Détruire ()
- fin))
- jusqu'à false
- fin))
- mouse.KeyDown: connect (fonction (touche)
- enabled = true
- si non activé, retour fin
- enabled = false
- clé = touche: inférieure ()
- si touche == "z" alors
- chat: Chat (char.Head, "Phantom Beam!", "Rouge")
- char.Humanoid.WalkSpeed = 0
- local circle = Instance.new ("Part", char)
- local cmesh = Instance.new ("BlockMesh", cercle)
- Décalque local = Instance.new ("Decal", cercle)
- sphère locale = Instance.new ("Part", char)
- local fq2 = Instance.new ("SpecialMesh", sphère)
- sphere.Size = Vecteur3.new (3,3,3)
- fq2.Scale = Vector3.new (1,1,1)
- circle.Anchored = true
- circle.Size = Vecteur3.new (1,1,1)
- circle.CanCollide = false
- circle.TopSurface = "Lisse"
- 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 ("Vraiment noir")
- sphere.Anchored = true
- sphere.CanCollide = false
- sphere.CFrame = char.Torso.CFrame * CFrame.new (0, -1,0)
- sphere.TopSurface = "Lisse"
- sphere.BottomSurface = "Lisse"
- fq2.MeshType = "Sphère"
- coroutine.resume (coroutine.create (function ()
- pour i = 0,10, .02 faire
- fq2.Scale = fq2.Scale + Vector3.new (i, i, i)
- sphere.Transparency = sphere.Transparency + .03
- attendez()
- fin
- sphère: Détruire ()
- fin))
- coroutine.resume (coroutine.create (function ()
- pour i = 1,60,1,5 faire
- cmesh.Scale = Vector3.new (i, 1, i)
- decal.Transparency = decal.Transparency + .04
- circle.CFrame = circle.CFrame * CFrame.fromEulerAnglesXYZ (0,0,1,0)
- attendez()
- fin
- cercle: Détruire ()
- fin))
- attends (.3)
- pour i = 1,5 faire
- 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 ("Vraiment noir")
- coroutine.resume (coroutine.create (function ()
- pour i = 0,1, 0,08 faire
- fq.Scale = fq.Scale + Vector3.new (i, i, i)
- blast1.Transparency = i / 1.15
- blast1.CFrame = blast1.CFrame * CFrame.fromEulerAnglesXYZ (0, .1,0)
- attendez()
- fin
- blast1: Détruire ()
- char.Humanoid.WalkSpeed = 22
- fin))
- attendez()
- fin
- anim local = Instance.new ("Animation", char)
- anim.AnimationId = "rbxassetid: // 469624349"
- local e = char.Humanoid: LoadAnimation (anim)
- e: Lecture ()
- attendre (.5)
- faisceau local = Instance.new ("Part", char)
- local CylinderMesh = Instance.new ("CylinderMesh", poutre)
- beam.CFrame = char.Torso.CFrame
- beam.Anchored = true
- beam.Transparency = 1
- beam.CanCollide = false
- sound = Instance.new ("Son", faisceau)
- sound.SoundId = soundid
- son: Lecture ()
- beam.Size = Vector3.new (10,85,10)
- beam.BrickColor = BrickColor.new ("Vraiment noir")
- umadkynann local = char.Torso.CFrame: toWorldSpace (CFrame.new (0,0, -60))
- pour i = 1,8 faire
- local blast = Instance.new ("Part", char)
- bloc local = Instance.new ("Part", char)
- blockmesh local = Instance.new ("BlockMesh", bloc)
- blastmesh local = Instance.new ("SpecialMesh", blast)
- blastmesh.MeshId = "rbxassetid: // 20329976"
- block.CanCollide = false
- blast.CanCollide = false
- block.Size = Vecteur3.new (5,5,5)
- blastmesh.Scale = Vector3.new (10,5,10)
- blast.Anchored = true
- block.Anchored = true
- blast.BrickColor = BrickColor.new ("Vraiment noir")
- block.BrickColor = BrickColor.new ("Vraiment noir")
- blast.Transparency = .5
- block.Transparency = .5
- blast.CFrame = beam.CFrame
- block.CFrame = beam.CFrame
- coroutine.resume (coroutine.create (function ()
- répétez wait ()
- beam.Transparency = beam.Transparency - 0.03
- jusqu'à beam.Transparency <= 0.4
- fin))
- coroutine.resume (coroutine.create (function ()
- pour i = 0,0,8, .02 faire
- beam.CFrame = beam.CFrame: lerp (umadkynann, .02)
- blast.Transparency = i / .5
- block.Transparency = i / .5
- blastmesh.Scale = blastmesh.Scale + Vecteur3.new (i, i, i)
- blockmesh.Scale = blockmesh.Scale + Vecteur3.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)
- attendez()
- fin
- explosion: Détruire ()
- block: Détruire ()
- fin))
- beam.Touched: connect (fonction (p)
- pp = p.Parent
- local h = pp: findFirstChild ("Humanoïde")
- si p.Name ~ = "Baseplate" et p.Name ~ = "Handle" et pp.Name ~ = char.Name et pp.Parent ~ = char.Name alors
- coroutine.resume (coroutine.create (function ()
- pour i = p.Transparency, 1, .06 faire
- p.Transparency = i
- attendez()
- fin
- p: Détruire ()
- fin))
- fin
- fin)
- attendre (.1)
- fin
- coroutine.resume (coroutine.create (function ()
- pour i = 0,3,1, 0,04 faire
- beam.Transparency = i
- beam.Mesh.Scale = beam.Mesh.Scale + Vecteur3.new (i / 4,0, i / 4)
- attendez()
- fin
- faisceau: Détruire ()
- fin))
- fin
- si touche == "x" alors
- chat: Chat (char.Head, "Soul Shade!", "Rouge")
- sphère locale = Instance.new ("Part", char)
- local smesh = Instance.new ("SpecialMesh", sphère)
- kynannbemad local = char.Torso.CFrame: toWorldSpace (CFrame.new (0,0, -35))
- local circle = Instance.new ("Part", char)
- local cmesh = Instance.new ("BlockMesh", cercle)
- Décalque local = Instance.new ("Decal", cercle)
- local ring = Instance.new ("Part", espace de travail)
- ringmesh local = Instance.new ("SpecialMesh", anneau)
- ring.Anchored = true
- ring.CanCollide = false
- ringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring.BrickColor = BrickColor.new ("Vraiment noir")
- ringmesh.Scale = Vector3.new (1,1,3)
- circle.Anchored = true
- circle.Size = Vecteur3.new (1,1,1)
- circle.CanCollide = false
- circle.TopSurface = "Lisse"
- decal.Face = "Top"
- sphere.Transparency = 1
- circle.Transparency = 1
- smesh.MeshId = "http://www.roblox.com/asset/?id=51177741"
- decal.Texture = "http://www.roblox.com/asset/?id=363269577"
- circle.CFrame = char.Torso.CFrame: toWorldSpace (CFrame.new (0, -3.4,0))
- ring.CFrame = char.Torso.CFrame: toWorldSpace (CFrame.new (0,0, -3))
- coroutine.resume (coroutine.create (function ()
- pour i = 1,60,1,5 faire
- ringmesh.Scale = ringmesh.Scale + Vector3.new (i / 65, i / 65,0)
- ring.Transparency = ring.Transparency + .03
- cmesh.Scale = Vector3.new (i, 1, i)
- decal.Transparency = decal.Transparency + .04
- circle.CFrame = circle.CFrame * CFrame.fromEulerAnglesXYZ (0,0,1,0)
- attendez()
- fin
- anneau: Détruire ()
- fin))
- attendre (.2)
- sphere.Size = Vecteur3.new (1,1,1)
- smesh.Scale = Vecteur3.new (3,3,3)
- sphere.BrickColor = BrickColor.new ("Vraiment noir")
- sphere.Anchored = true
- sphere.CanCollide = false
- sphere.TopSurface = "Lisse"
- sphere.BottomSurface = "Lisse"
- sphere.CFrame = char.Torso.CFrame: toWorldSpace (CFrame.new (0,0, -3))
- local sound3 = Instance.new ("Son", sphère)
- sound3.SoundId = "http://www.roblox.com/asset/?id=28257433"
- sound3: Lecture ()
- coroutine.resume (coroutine.create (function ()
- répétez wait ()
- sphere.Transparency = sphere.Transparency - .16
- until sphere.Transparency <= 0.3
- startFade = true
- end))
- for i = 1,10 do
- if sphere.Mesh ~= nil then
- local fade = sphere:Clone()
- fade.Mesh.MeshType = "Brick"
- fade.Parent = workspace
- fade.CFrame = sphere.CFrame
- coroutine.resume(coroutine.create(function()
- for i = 0,0.8,.02 do
- fade.Mesh.Scale = fade.Mesh.Scale - Vector3.new(i,i,i)
- fade.CFrame = fade.CFrame * CFrame.fromEulerAnglesXYZ(.25,.25,.25)
- if startFade == true then
- sphere.Transparency = sphere.Transparency + .003
- end
- fade.Transparency = sphere.Transparency + i/.8
- if lockedOn == true and (char.Torso.Position - targetedPlayer.Torso.Position).magnitude <= 25 then
- sphere.CFrame = sphere.CFrame:lerp(targetedPlayer.Torso.CFrame,.015)
- else sphere.CFrame = sphere.CFrame:lerp(kynannbemad,.015)
- end
- wait()
- end
- sphere:Destroy()
- fade:Destroy()
- end))
- coroutine.resume(coroutine.create(function()
- wait(.5)
- repeat wait() until sphere.Transparency >= .7
- for i = 3,6,.08 do
- if sphere:findFirstChild("Mesh")~=nil then
- sphere.Mesh.Scale = Vector3.new(3,3,i)
- end
- sound3.Volume = sound3.Volume - 0.03
- wait()
- end
- end))
- sphere.Touched:connect(function(p,h)
- local pp = p.Parent
- h = pp:findFirstChild("Humanoid")
- if h~=nil and pp.Name~=char.Name and hit == false then
- lockedOn = true
- targetedPlayer = pp
- coroutine.resume(coroutine.create(function()
- wait(1.5)
- lockedOn = false
- targetedPlayer = nil
- end))
- hit = true
- local explode = sphere:Clone()
- chat:Chat(char.Head,"Gotcha!","Red")
- explode.Name = "Explosion"
- explode.Mesh:Destroy()
- local explodemesh = Instance.new("SpecialMesh",explode)
- explodemesh.MeshType = "Sphere"
- local ring2 = Instance.new("Part",workspace)
- local ringmesh2 = Instance.new("SpecialMesh",ring2)
- explode.Parent = workspace
- explode.Transparency = .3
- explode.CFrame = sphere.CFrame
- ring2.Anchored = true
- ring2.CanCollide = false
- ring2.BrickColor = BrickColor.new("Really black")
- ringmesh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring2.CFrame = sphere.CFrame
- ring2.Rotation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- sound2 = Instance.new("Sound",explode)
- sound2.SoundId = soundid2
- sound2:Play()
- local ring3 = ring2:Clone()
- ring3.Parent = workspace
- ring3.Rotation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- local explode2 = explode:Clone()
- explode2.Parent = workspace
- explode.Touched:connect(function(p)
- pp = p.Parent
- local h = pp:findFirstChild("Humanoid")
- if h~=nil and pp.Name~=char.Name then
- h:TakeDamage(20)
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i = 6,25 do
- ring2.Mesh.Scale = Vector3.new(i*2.5,i*2.5,0)
- ring3.Mesh.Scale = Vector3.new(i*2.5,i*2.5,0)
- explodemesh.Scale = Vector3.new(i*2,i*2,i*2)
- explode.Transparency = explode.Transparency + .05
- explode2.Mesh.Scale = Vector3.new(i,i,i) + Vector3.new(.05,.05,.05)
- explode2.Transparency = explode2.Transparency + .05
- ring2.Transparency = ring2.Transparency + .05
- ring3.Transparency = ring3.Transparency + .05
- wait()
- end
- explode:Destroy()
- explode2:Destroy()
- ring2:Destroy()
- ring3:Destroy()
- end))
- sphere:Destroy()
- end
- end)
- wait(.05)
- hit = false
- end
- end
- if key == "c" then
- cIsPressed = true
- wait(2)
- cIsPressed = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement