SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --Made by LuisPambid[L]-- |
| 1 | + | --==Made by LuisPambid==-- |
| 2 | - | --Storm Spirit[Dota 2 Idea ;o]-- |
| 2 | + | |
| 3 | - | --Player Settings |
| 3 | + | |
| 4 | - | local modelName="sandoval12" --Name here |
| 4 | + | local player=game.Players.sandoval12 |
| 5 | - | repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character |
| 5 | + | |
| 6 | - | local player=game.Players.LocalPlayer |
| 6 | + | repeat wait() until player and char |
| 7 | local torso=char.Torso | |
| 8 | local head=char.Head | |
| 9 | - | --CharacterParts |
| 9 | + | local human=char.Humanoid |
| 10 | - | local humanoid=char.Humanoid |
| 10 | + | local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
|
| 11 | local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
| |
| 12 | local c=function(f) coroutine.resume(coroutine.create(f)) end | |
| 13 | - | local LA=char:findFirstChild("Left Arm")
|
| 13 | + | local p=function(f) pcall(f) end |
| 14 | - | local RA=char:findFirstChild("Right Arm")
|
| 14 | + | |
| 15 | - | local LL=char:findFirstChild("Left Leg")
|
| 15 | + | |
| 16 | - | local RL=char:findFirstChild("Right Leg")
|
| 16 | + | |
| 17 | local m=Instance.new("BlockMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) end)
| |
| 18 | - | --Joints |
| 18 | + | |
| 19 | - | local LS=torso:findFirstChild("Left Shoulder")
|
| 19 | + | end, |
| 20 | - | local RS=torso:findFirstChild("Right Shoulder")
|
| 20 | + | |
| 21 | - | local LH=torso:findFirstChild("Left Hip")
|
| 21 | + | |
| 22 | - | local RH=torso:findFirstChild("Right Hip")
|
| 22 | + | |
| 23 | - | LS.Part0=torso RS.Part0=torso LH.Part0=torso RH.Part0=torso |
| 23 | + | |
| 24 | end, | |
| 25 | - | --Local Functions |
| 25 | + | |
| 26 | - | local s=function(f) Spawn(f) end |
| 26 | + | local g=Instance.new(ins, par) pcall(function() g.BorderColor=BridckColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.Transparency=t g.Size=s g.Position=pos end) |
| 27 | return g | |
| 28 | - | pcall(function() player.Backpack[modelName]:remove() end) |
| 28 | + | end, |
| 29 | - | pcall(function() char["CharacterParts"]:remove() end) |
| 29 | + | |
| 30 | - | pcall(function() char[modelName]:remove() end) |
| 30 | + | |
| 31 | - | pcall(function() player.PlayerGui[modelName]:remove() end) |
| 31 | + | |
| 32 | - | pcall(function() for i, v in pairs(char:children()) do if v:isA("BasePart") then v.Transparency=0 end end end)
|
| 32 | + | end, |
| 33 | - | --Settings |
| 33 | + | Mesh=function(ins, par, s, of, t) |
| 34 | - | local model=Instance.new("Model", char) model.Name="CharacterParts"
|
| 34 | + | local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshType=t end) |
| 35 | - | local model2=Instance.new("Model", char) model2.Name=modelName
|
| 35 | + | |
| 36 | - | local bin=Instance.new("HopperBin", player.Backpack) bin.Name=modelName
|
| 36 | + | end, |
| 37 | - | local gui=Instance.new("ScreenGui") gui.Name=modelName
|
| 37 | + | Sound=function(parent, id, volume, pitch) |
| 38 | local s=Instance.new("Sound", parent) pcall(function() s.SoundId=id s.Volume=volume s.Pitch=pitch end)
| |
| 39 | return s | |
| 40 | end, | |
| 41 | } | |
| 42 | - | local onTrail=false |
| 42 | + | local scriptname="Spy" --Name here |
| 43 | - | local onKey=false |
| 43 | + | pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char["Objects"]:remove() player.PlayerGui[scriptname]:remove() end) |
| 44 | - | local onHit=false |
| 44 | + | local model=Instance.new("Model", char) model.Name="Objects"
|
| 45 | - | local onBlock=false |
| 45 | + | local modelB=Instance.new("Model", char) modelB.Name=scriptname
|
| 46 | - | local onHold=false |
| 46 | + | local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
|
| 47 | - | local onClick=false |
| 47 | + | local bin=Instance.new("HopperBin", player.Backpack) bin.Name=scriptname
|
| 48 | - | local onClick2=false |
| 48 | + | |
| 49 | - | local onAttack=false |
| 49 | + | |
| 50 | - | local onCast=false |
| 50 | + | |
| 51 | - | local cast=0 |
| 51 | + | |
| 52 | - | local colorSet={
|
| 52 | + | |
| 53 | - | Handle="Dark orange"; |
| 53 | + | --==PARTS==-- |
| 54 | - | Blade="Mid gray"; |
| 54 | + | body.Torso=add.Part(model, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil) |
| 55 | - | Extra="Bright blue"; |
| 55 | + | body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) |
| 56 | body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) | |
| 57 | - | local combo=0 |
| 57 | + | --==WELDS==-- |
| 58 | body.TorsoW=add.Weld(body.Torso, torso, nil) | |
| 59 | - | local m |
| 59 | + | body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0)) |
| 60 | body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0)) | |
| 61 | --==MESHES==-- | |
| 62 | add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0)) | |
| 63 | add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0)) | |
| 64 | torso["Left Hip"].Part0=body.Torso | |
| 65 | torso["Right Hip"].Part0=body.Torso | |
| 66 | - | end; |
| 66 | + | --------------------------------------------------------------------------------------- |
| 67 | animate={
| |
| 68 | ["Torso"]=function(cf) body.Torso.Transparency=0 torso.Transparency=1 | |
| 69 | body.TorsoW.C1=cf | |
| 70 | end; | |
| 71 | - | end; |
| 71 | + | ["ArmLeft"]=function(cf) |
| 72 | body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf | |
| 73 | - | local g=Instance.new(ins, par) pcall(function() g.BorderColor=BrickColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.BackgroundTransparency=t g.Size=s g.Position=pos end) |
| 73 | + | |
| 74 | ["ArmRight"]=function(cf) | |
| 75 | - | end; |
| 75 | + | body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf |
| 76 | end; | |
| 77 | ["LegLeft"]=function(cf) | |
| 78 | body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf | |
| 79 | - | end; |
| 79 | + | |
| 80 | - | Mesh=function(ins, par, s, of, t, id, tid) |
| 80 | + | ["LegRight"]=function(cf) |
| 81 | - | local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new(1, 1, 1) m.Offset=of or Vector3.new() m.MeshId=id or "" m.TextureId=tid or "" m.MeshType=t end) |
| 81 | + | body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf |
| 82 | end; | |
| 83 | - | end; |
| 83 | + | |
| 84 | - | Sound=function(parent, id, pitch, volume) |
| 84 | + | --==Objects==-- |
| 85 | obj.HandleBack=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, 1, .2), nil) | |
| 86 | obj.HandleBackW=add.Weld(obj.HandleBack, body.ArmRight, CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0)) | |
| 87 | - | end; |
| 87 | + | obj.EdgeBot=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil) |
| 88 | obj.EdgeBotM=add.Mesh("CylinderMesh", obj.EdgeBot, Vector3.new(1, 1, 1), nil, nil)
| |
| 89 | obj.EdgeBotW=add.Weld(obj.EdgeBot, obj.HandleBack, CFrame.new(0, -.5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90))) | |
| 90 | - | --Sounds |
| 90 | + | obj.EdgeTopR=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil) |
| 91 | - | local Sounds={
|
| 91 | + | obj.EdgeTopRM=add.Mesh("CylinderMesh", obj.EdgeTopR, Vector3.new(1, 1, 1), nil, nil)
|
| 92 | - | Slash="rbxasset://sounds//swordslash.wav"; |
| 92 | + | obj.EdgeTopRW=add.Weld(obj.EdgeTopR, obj.HandleBack, CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90))) |
| 93 | - | Hit="http://www.roblox.com/asset/?id=11113679 "; |
| 93 | + | |
| 94 | - | Equip="rbxasset://sounds/unsheath.wav"; |
| 94 | + | obj.Blade=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, .8, .2), nil) |
| 95 | - | Charge="http://www.roblox.com/asset/?id=2101137"; |
| 95 | + | obj.BladeM=add.Mesh("BlockMesh", obj.Blade, Vector3.new(.5, 1, 1), nil, nil)
|
| 96 | - | ElectricShortage="http://roblox.com/asset/?id=10209481"; |
| 96 | + | obj.BladeW=add.Weld(obj.Blade, obj.EdgeTopR, CFrame.new(-.1, 0, -.4)*CFrame.Angles(-math.rad(90), math.rad(90), 0)) |
| 97 | - | Elec="http://www.roblox.com/asset/?id=2800815"; |
| 97 | + | obj.Point=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, .4, .2), nil) |
| 98 | - | ElectricSound="http://www.roblox.com/asset/?id=10756118"; |
| 98 | + | obj.PointM=add.Mesh("SpecialMesh", obj.Point, Vector3.new(.5, 1, .5), nil, "Wedge")
|
| 99 | - | Abscond="http://www.roblox.com/asset/?id=2767090"; |
| 99 | + | obj.PointW=add.Weld(obj.Point, obj.Blade, CFrame.new(0, .6, .05)*CFrame.Angles(0, math.rad(180), 0)) |
| 100 | obj.Point2=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, .4, .2), nil) | |
| 101 | obj.Point2M=add.Mesh("SpecialMesh", obj.Point2, Vector3.new(.5, 1, .5), nil, "Wedge")
| |
| 102 | - | --Decals |
| 102 | + | obj.Point2W=add.Weld(obj.Point2, obj.Blade, CFrame.new(0, .6, -.05)) |
| 103 | - | local Decals={
|
| 103 | + | |
| 104 | - | SlashDecal="http://www.roblox.com/asset/?id=25539335"; |
| 104 | + | obj.Joints=add.Part(modelB, false, false, "Medium mid-gray", 0, Vector3.new(.2, .25, .2), nil) |
| 105 | obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
| |
| 106 | obj.JointsW=add.Weld(obj.Joints, obj.EdgeBot, nil) | |
| 107 | - | --MeshIds |
| 107 | + | obj.Joints=add.Part(modelB, false, false, "Medium mid-gray", 0, Vector3.new(.2, .25, .2), nil) |
| 108 | - | local Meshes={
|
| 108 | + | obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
|
| 109 | - | Charge="http://www.roblox.com/asset/?id=20329976"; |
| 109 | + | obj.JointsW=add.Weld(obj.Joints, obj.EdgeTopR, nil) |
| 110 | - | Noob="http://www.roblox.com/asset/?id=29515710"; |
| 110 | + | |
| 111 | - | Ring="http://www.roblox.com/asset/?id=3270017"; |
| 111 | + | obj.EdgeTopR2=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil) |
| 112 | - | Crown="http://www.roblox.com/asset/?id=1323306"; |
| 112 | + | obj.EdgeTopR2M=add.Mesh("CylinderMesh", obj.EdgeTopR2, Vector3.new(1, 1, 1), nil, nil)
|
| 113 | obj.EdgeTopR2W=add.Weld(obj.EdgeTopR2, obj.Blade, CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90), 0, math.rad(90))) | |
| 114 | obj.HandleFor=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, 1, .2), nil) | |
| 115 | - | ------------------------CreateParts------------------------ |
| 115 | + | obj.HandleForW=add.Weld(obj.HandleFor, obj.EdgeTopR2, CFrame.new(0, 0, .5)*CFrame.Angles(-math.rad(90), -math.rad(90), 0)) |
| 116 | - | body.Torso=add.Part(model2, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil) |
| 116 | + | obj.EdgeBot=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil) |
| 117 | - | body.TorsoW=add.Weld(body.Torso, torso, nil) |
| 117 | + | obj.EdgeBotM=add.Mesh("CylinderMesh", obj.EdgeBot, Vector3.new(1, 1, 1), nil, nil)
|
| 118 | obj.EdgeBotW=add.Weld(obj.EdgeBot, obj.HandleFor, CFrame.new(0, -.5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90))) | |
| 119 | - | for i, v in pairs(char:children()) do if v:isA("CharacterMesh") then v:remove() end end
|
| 119 | + | obj.Joints=add.Part(modelB, false, false, "Medium mid-gray", 0, Vector3.new(.2, .25, .2), nil) |
| 120 | - | torso.Transparency=1 body.Torso.Transparency=0 |
| 120 | + | obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
|
| 121 | - | --Parts-- |
| 121 | + | obj.JointsW=add.Weld(obj.Joints, obj.EdgeBot, nil) |
| 122 | - | gui.Parent=player.PlayerGui |
| 122 | + | obj.Joints=add.Part(modelB, false, false, "Medium mid-gray", 0, Vector3.new(.2, .25, .2), nil) |
| 123 | - | body.Head=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) |
| 123 | + | obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
|
| 124 | - | body.LA, body.RA=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) |
| 124 | + | obj.JointsW=add.Weld(obj.Joints, obj.EdgeTopR2, nil) |
| 125 | - | body.LL, body.RL=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil) |
| 125 | + | |
| 126 | - | |
| 126 | + | |
| 127 | - | --Welds-- |
| 127 | + | p(function() |
| 128 | - | body.HeadW=add.Weld(body.Head, body.Torso, CFrame.new(0, 1.5, 0)) |
| 128 | + | |
| 129 | - | body.LAW, body.RAW=add.Weld(body.LA, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.RA, body.Torso, CFrame.new(1.5, .5, 0)) |
| 129 | + | torso["Left Hip"].Part0=torso |
| 130 | - | body.LLW, body.RLW=add.Weld(body.LL, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.RL, body.Torso, CFrame.new(.5, -1.5, 0)) |
| 130 | + | torso["Right Hip"].Part0=torso |
| 131 | - | |
| 131 | + | |
| 132 | - | --Welds2-- |
| 132 | + | for i, v in pairs(model:children()) do v:remove() end for i, v in pairs(modelB:children()) do v:remove() end for i, v in pairs(char:children()) do v.Transparency=0 end |
| 133 | - | add.Weld(body.Head, head, nil) |
| 133 | + | |
| 134 | - | add.Weld(LA, body.LA, CFrame.new(0, -.5, 0)) |
| 134 | + | |
| 135 | - | add.Weld(RA, body.RA, CFrame.new(0, -.5, 0)) |
| 135 | + | --Variables-- |
| 136 | - | LH.Part0=body.Torso |
| 136 | + | local trailDeb=false |
| 137 | - | RH.Part0=body.Torso |
| 137 | + | local using=false |
| 138 | - | |
| 138 | + | local combo=1 |
| 139 | - | --Sign-- |
| 139 | + | local onStab=false |
| 140 | - | body.Part=add.Part(model, false, false, "White", 0, Vector3.new(.2, 1, .2)) |
| 140 | + | local keyDeb=false |
| 141 | - | add.Weld(body.Part, body.Torso, CFrame.new(.25, 0, -.45)) |
| 141 | + | local switch=false |
| 142 | - | body.Part=add.Part(model, false, false, "White", 0, Vector3.new(.7, .2, .2)) |
| 142 | + | local switch2=false |
| 143 | - | add.Weld(body.Part, body.Torso, CFrame.new(0, -.5, -.45)) |
| 143 | + | local keyDeb2=false |
| 144 | - | |
| 144 | + | local hitDeb=false |
| 145 | - | --Animation-- |
| 145 | + | |
| 146 | local speed=20 | |
| 147 | - | ["Head"]=function(cf) |
| 147 | + | local pitch=.8 |
| 148 | - | body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf |
| 148 | + | local Slash=add.Sound(torso, "rbxasset://sounds//swordslash.wav", 1, pitch) |
| 149 | local Hit=add.Sound(torso, "http://www.roblox.com/asset/?id=30715280", 1, 1) | |
| 150 | - | ["Torso"]=function(cf) |
| 150 | + | local Abscond=add.Sound(torso, "http://www.roblox.com/asset/?id=2767090", 1, 1) |
| 151 | - | body.TorsoW.C1=(cf or CFrame.new()*CFrame.Angles(0, 0, 0)) |
| 151 | + | local Equip=add.Sound(torso, "http://www.roblox.com/asset/?id=13510737", 1, 1) |
| 152 | local attackLabel=add.Gui("TextLabel", gui, "Really black", "Really black", "White", "Size18", "Invisible(Q)", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
| |
| 153 | - | ["LA"]=function(cf) |
| 153 | + | local attackLabel2=add.Gui("TextLabel", attackLabel, "Really black", "Really black", "White", "Size18", "Disguise(E)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 154 | - | body.LAW.C1=CFrame.new(-1.5, .5, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0)) |
| 154 | + | |
| 155 | function lightningGen(startPos, endPos) | |
| 156 | - | ["RA"]=function(cf) |
| 156 | + | |
| 157 | - | body.RAW.C1=CFrame.new(1.5, .5, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0)) |
| 157 | + | |
| 158 | local pattern=add.Part(workspace, true, false, "White", 1, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPos)) | |
| 159 | - | ["LL"]=function(cf) |
| 159 | + | |
| 160 | - | LLW=add.Weld(LL, body.LL, CFrame.new(0, -1, 0)) |
| 160 | + | |
| 161 | - | body.LLW.C1=CFrame.new(-.5, -1, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0)) |
| 161 | + | local startPosProx2=startPosProx |
| 162 | local random=Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) | |
| 163 | - | wait() |
| 163 | + | local findSize=pattern.Size.z/10 |
| 164 | - | LLW:remove() |
| 164 | + | local findOffSet=pattern.CFrame.lookVector*-1 |
| 165 | local compute=i*findSize*findOffSet | |
| 166 | local newStartPos=startPos | |
| 167 | - | ["RL"]=function(cf) |
| 167 | + | |
| 168 | - | RLW=add.Weld(RL, body.RL, CFrame.new(0, -1, 0)) |
| 168 | + | |
| 169 | - | body.RLW.C1=CFrame.new(.5, -1, 0)*(cf or CFrame.new()*CFrame.Angles(0, 0, 0)) |
| 169 | + | |
| 170 | local lightning=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPosProx2)) | |
| 171 | - | wait() |
| 171 | + | c(function() |
| 172 | - | RLW:remove() |
| 172 | + | for i=0, 1, .1 do wait() |
| 173 | lightning.Transparency=i | |
| 174 | end | |
| 175 | lightning:remove() | |
| 176 | - | --GuiLabels-- |
| 176 | + | |
| 177 | - | obj.AL=add.Gui("TextLabel", gui, "Really black", "Really black", "White", "Size18", "Attack(ClickPLAYER)", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
|
| 177 | + | |
| 178 | - | obj.AL2=add.Gui("TextLabel", obj.AL, "Really black", "Really black", "White", "Size18", "StaticRemnant(Z)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 178 | + | |
| 179 | - | obj.AL3=add.Gui("TextLabel", obj.AL2, "Really black", "Really black", "White", "Size18", "ElectricVortex(X)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 179 | + | |
| 180 | - | obj.AL4=add.Gui("TextLabel", obj.AL3, "Really black", "Really black", "White", "Size18", "BallLightning(C)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
|
| 180 | + | |
| 181 | - | --WeaponDesgin-- |
| 181 | + | |
| 182 | - | for i, v in pairs(model2:children()) do |
| 182 | + | local pos3=Vector3.new(pos2.x, pos.y, pos2.z) |
| 183 | - | if i~=1 then return end |
| 183 | + | torso.CFrame=CFrame.new(pos, pos3) |
| 184 | return pos3 | |
| 185 | end | |
| 186 | function nearTorso(pos, dis) | |
| 187 | - | ------------------------Functions------------------------ |
| 187 | + | |
| 188 | local distance=dis | |
| 189 | - | pcall(function() |
| 189 | + | |
| 190 | if v:isA("Model") then
| |
| 191 | - | LS.Part0=torso |
| 191 | + | |
| 192 | - | RS.Part0=torso LH.Part0=torso |
| 192 | + | |
| 193 | - | RH.Part0=torso |
| 193 | + | |
| 194 | - | torso.Transparency=0 |
| 194 | + | |
| 195 | - | body.Torso.Transparency=1 |
| 195 | + | return temp |
| 196 | end | |
| 197 | - | player.PlayerGui[modelName]:remove() |
| 197 | + | |
| 198 | - | for i, v in pairs(model:children()) do |
| 198 | + | |
| 199 | - | v:remove() |
| 199 | + | |
| 200 | function trail(pos, cf, col) | |
| 201 | c(function() | |
| 202 | local old=(pos.CFrame*cf).p | |
| 203 | - | function play(soundid, pitch, vol) |
| 203 | + | while trailDeb==true do |
| 204 | - | local sound=add.Sound(workspace, soundid, pitch or 1, volume or 1) |
| 204 | + | wait() |
| 205 | - | sound:play() |
| 205 | + | local new=(pos.CFrame*cf).p |
| 206 | - | s(function() wait(5) sound:remove() end) |
| 206 | + | |
| 207 | local dis=(old+new)/2 | |
| 208 | - | function fade(part, incr) |
| 208 | + | local trail=add.Part(workspace, true, false, col, 0, Vector3.new(.2, mag, .2), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Trail" |
| 209 | - | if part:isA("BasePart") then
|
| 209 | + | local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
|
| 210 | - | for i=part.Transparency, 1, incr do wait() part.Transparency=i end |
| 210 | + | |
| 211 | - | elseif part:isA("Model") then
|
| 211 | + | |
| 212 | - | for i, v in pairs(part:children() or part) do |
| 212 | + | for i=1, 0, -.1 do |
| 213 | - | if v:isA("BasePart") then
|
| 213 | + | wait() |
| 214 | - | for i=part.Transparency, 1, incr do wait() v.Transparency=i end |
| 214 | + | tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i) |
| 215 | end | |
| 216 | trail:remove() | |
| 217 | end) | |
| 218 | c(function() | |
| 219 | - | function appear(part, incr) |
| 219 | + | for i=0, 1, .1 do |
| 220 | - | if part:isA("BasePart") then
|
| 220 | + | wait() |
| 221 | - | for i=part.Transparency, 0, -incr do wait() part.Transparency=i end |
| 221 | + | trail.Transparency=i |
| 222 | - | elseif part:isA("Model") then
|
| 222 | + | |
| 223 | - | for i, v in pairs(part:children() or part) do |
| 223 | + | |
| 224 | - | if v:isA("BasePart") then
|
| 224 | + | |
| 225 | - | for i=part.Transparency, 0, -incr do wait() v.Transparency=i end |
| 225 | + | |
| 226 | end | |
| 227 | ||
| 228 | function running() | |
| 229 | animate.ArmLeft(CFrame.Angles(-math.rad(45), 0, -math.rad(15))) | |
| 230 | animate.ArmRight(CFrame.Angles(math.rad(45), 0, math.rad(15))) | |
| 231 | - | local pos3=Vector3.new(pos2.x, pos.y, pos2.z) |
| 231 | + | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0) |
| 232 | - | return CFrame.new(pos, pos3) |
| 232 | + | |
| 233 | ||
| 234 | - | function rayCast(pos, dir, max, ingore) |
| 234 | + | function hit(h) |
| 235 | - | return workspace:findPartOnRay(Ray.new(pos, dir.unit*(max or 9999)), ignore) |
| 235 | + | if using==true then |
| 236 | if switch==false then | |
| 237 | - | function nearPos(pos, dis) |
| 237 | + | if onStab==false and h.Parent:findFirstChild("Humanoid") and h.Parent~=char and hitDeb==false then hitDeb=true print("NormalStab") Hit:play()
|
| 238 | local hHuman=h.Parent:findFirstChild("Humanoid")
| |
| 239 | hHuman.Health=hHuman.Health-dmg | |
| 240 | local fakeM=Instance.new("Model", workspace) fakeM.Name=-dmg
| |
| 241 | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
| |
| 242 | local effect=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head" | |
| 243 | local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
| |
| 244 | local bp=Instance.new("BodyPosition", effect) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
| |
| 245 | game.Debris:addItem(fakeM, 2) | |
| 246 | - | return temp.Parent |
| 246 | + | wait(1) |
| 247 | hitDeb=false | |
| 248 | end | |
| 249 | if onStab==true and h.Parent~=char and h.Parent:findFirstChild("Humanoid") and hitDeb==false then hitDeb=true print("NormalStab") Hit:play()
| |
| 250 | h.Parent:breakJoints() | |
| 251 | - | function lightningGen(startPos, endPos, col) |
| 251 | + | local fakeM=Instance.new("Model", workspace) fakeM.Name="BACKSTABBED"
|
| 252 | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
| |
| 253 | local effect=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head" | |
| 254 | local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
| |
| 255 | local bp=Instance.new("BodyPosition", effect) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
| |
| 256 | game.Debris:addItem(fakeM, 2) | |
| 257 | - | local startPosProx2=startPosProx local random=Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) |
| 257 | + | wait(1) |
| 258 | - | local findSize=pattern.Size.z/10 local findOffSet=pattern.CFrame.lookVector*-1 |
| 258 | + | hitDeb=false |
| 259 | - | local compute=i*findSize*findOffSet local newStartPos=startPos |
| 259 | + | |
| 260 | end | |
| 261 | end | |
| 262 | end | |
| 263 | - | local lightning=add.Part(workspace, true, false, col or "Bright yellow", 0, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPosProx2)) |
| 263 | + | |
| 264 | - | s(function() |
| 264 | + | function findStab() |
| 265 | - | fade(lightning, .1) lightning:remove() |
| 265 | + | while using==false do wait() |
| 266 | --pcall(function() | |
| 267 | local nTorso=nearTorso(torso.CFrame.p, 3) | |
| 268 | - | end |
| 268 | + | if nTorso then |
| 269 | local offSet=nTorso.CFrame:toObjectSpace(torso.CFrame) | |
| 270 | if offSet.z>0 then | |
| 271 | - | function trail(pos, cf, col, thick) |
| 271 | + | onStab=true |
| 272 | - | onTrail=true |
| 272 | + | animate.ArmRight(CFrame.Angles(math.rad(135), 0, 0)) |
| 273 | - | s(function() |
| 273 | + | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(math.rad(90), 0, 0) |
| 274 | - | local old=(pos.CFrame*(cf or CFrame.new())).p |
| 274 | + | else |
| 275 | - | while onTrail do wait() |
| 275 | + | onStab=false |
| 276 | - | local new=(pos.CFrame*(cf or CFrame.new())).p |
| 276 | + | running() |
| 277 | end | |
| 278 | - | local dis=(old+new)/2 local trail=add.Part(char, true, false, col or "White", 0, Vector3.new(1, mag, 1), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) |
| 278 | + | else |
| 279 | - | trail.Name="Effect" local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(thick or 1, 1, thick or 1), nil, nil)
|
| 279 | + | onStab=false |
| 280 | running() | |
| 281 | - | s(function() |
| 281 | + | |
| 282 | - | for i=1, 0, -.1 do wait() tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i) end trail:remove() |
| 282 | + | --end) |
| 283 | end | |
| 284 | - | s(function() |
| 284 | + | |
| 285 | - | fade(trail, .1) |
| 285 | + | |
| 286 | function attack() combo=combo+1 | |
| 287 | if using==false then using=true for i, v in pairs(modelB:children()) do v.Touched:connect(hit) end | |
| 288 | if combo==1 and onStab==false then Slash:play() | |
| 289 | --[[trailDeb=true | |
| 290 | - | function stickHit(from, to) |
| 290 | + | trail(obj.Blade, CFrame.new(0, 1, 0), "White")]] |
| 291 | - | local stickW=add.Weld(from, to, to.CFrame:inverse()*from.CFrame) |
| 291 | + | for i=0, 1, .2 do wait() |
| 292 | - | stickW.C0=from.CFrame:inverse()*from.CFrame |
| 292 | + | animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0)) |
| 293 | - | return stickW |
| 293 | + | animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, 0)) |
| 294 | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i) | |
| 295 | - | function glowMesh(prt, size, speed) |
| 295 | + | |
| 296 | - | local glow=prt:clone() add.Weld(prt, glow) |
| 296 | + | for i=1, 0, -.2 do wait() |
| 297 | - | glow.Parent=workspace |
| 297 | + | animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0)) |
| 298 | - | glow.Anchored=false |
| 298 | + | animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, 0)) |
| 299 | - | glow.CanCollide=false |
| 299 | + | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i) |
| 300 | - | for i, v in pairs(glow:children()) do |
| 300 | + | |
| 301 | - | if v:isA("SpecialMesh") or v:isA("BlockMesh") or v:isA("CylinderMesh") then
|
| 301 | + | if combo>1 and onStab==false then combo=2 Slash:play() |
| 302 | - | s(function() |
| 302 | + | for i=0, 1, .2 do wait() |
| 303 | - | for i=0, size, speed do wait() v.Scale=v.Scale+Vector3.new(i, i, i) end |
| 303 | + | animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0)) |
| 304 | animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i)) | |
| 305 | - | s(function() |
| 305 | + | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90+(90*i)), 0, 0) |
| 306 | - | fade(glow, .1) glow:remove() |
| 306 | + | |
| 307 | for i=1, 0, -.2 do wait() | |
| 308 | animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0)) | |
| 309 | animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i)) | |
| 310 | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90+(90*i)), 0, 0) | |
| 311 | - | function charge(prt, cf, col, start, endval, incr) |
| 311 | + | |
| 312 | - | local aura=add.Part(workspace, false, false, col or "Bright yellow", 0, Vector3.new(1, 1, 1), cf or torso.CFrame) |
| 312 | + | |
| 313 | - | local auraM=add.Mesh("SpecialMesh", aura, Vector3.new(start, .5, start), nil, "File") auraM.MeshId=Meshes.Charge
|
| 313 | + | |
| 314 | - | add.Weld(aura, prt or torso, cf*CFrame.Angles(0, math.rad(math.random(-45, 45)), 0)) |
| 314 | + | if onStab==true then |
| 315 | - | s(function() |
| 315 | + | for i=0, 1, .2 do wait() |
| 316 | - | for i=start, endval, incr do wait() |
| 316 | + | animate.ArmRight(CFrame.Angles(math.rad(135-(45*i)), 0, 0)) |
| 317 | - | auraM.Scale=Vector3.new(i, auraM.Scale.y, i) |
| 317 | + | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(math.rad(90), 0, 0) |
| 318 | end | |
| 319 | - | aura:remove() |
| 319 | + | onStab=false |
| 320 | end | |
| 321 | - | s(function() |
| 321 | + | using=false |
| 322 | - | fade(aura, .1) |
| 322 | + | --trailDeb=false |
| 323 | combo=0 | |
| 324 | body.Torso.Transparency=1 torso.Transparency=0 | |
| 325 | - | function makeCircle(prt, prts, dis, incr) |
| 325 | + | running() |
| 326 | - | local radius=dis+(prts+incr) |
| 326 | + | findStab() |
| 327 | - | for i=1, prts do |
| 327 | + | |
| 328 | - | local prt2=prt:clone() |
| 328 | + | |
| 329 | - | prt2.Parent=model |
| 329 | + | |
| 330 | - | local x = math.sin((360/prts + 360/prts*i)/(180/math.pi))*radius |
| 330 | + | bin.Selected:connect(function(mouse) createParts() |
| 331 | - | local y = 0 |
| 331 | + | human.WalkSpeed=speed |
| 332 | - | local z = math.cos((360/prts + 360/prts*i)/(180/math.pi))*radius |
| 332 | + | running() |
| 333 | - | prt2.CFrame=prt.CFrame:toWorldSpace(CFrame.new(x,y,z)) |
| 333 | + | using=true |
| 334 | - | prt:remove() |
| 334 | + | Equip:play() |
| 335 | - | return prt2 |
| 335 | + | |
| 336 | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(180)*i, 0) | |
| 337 | obj.EdgeTopRW.C1=CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90)) | |
| 338 | - | function antiExplosion(model) |
| 338 | + | obj.EdgeTopR2W.C1=CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90)) |
| 339 | - | local ffs={}
|
| 339 | + | |
| 340 | - | for i, v in pairs(model:children()) do |
| 340 | + | using=false |
| 341 | - | pcall(function() |
| 341 | + | mouse.Button1Down:connect(attack) |
| 342 | - | local ff2=Instance.new("ForceField", v.Handle)
|
| 342 | + | mouse.KeyDown:connect(function(key) |
| 343 | - | table.insert(ffs, ff2) end) |
| 343 | + | local key=key:lower() |
| 344 | - | if v:isA("BasePart") then
|
| 344 | + | --INVISBLE-- |
| 345 | - | local ff=Instance.new("ForceField", v)
|
| 345 | + | if key=="q" and keyDeb==false and switch==false and using==false then keyDeb=true switch=true using=true |
| 346 | - | table.insert(ffs, ff) |
| 346 | + | attackLabel.Text="Visible(Q)" print("1") Abscond:play()
|
| 347 | pcall(function() char.Sound.Disabled=true end) | |
| 348 | for i, v in pairs(char:children()) do | |
| 349 | - | return ffs |
| 349 | + | c(function() |
| 350 | for i=0, 1, .2 do wait() | |
| 351 | - | function dmgHit(prt) |
| 351 | + | pcall(function() |
| 352 | - | prt.Touched:connect(function(h) |
| 352 | + | c(function() if v.Head~=nil then head.Transparency=1 end end) |
| 353 | - | if onKey==true and h.Parent:findFirstChild("Humanoid") and onHit==false and h.Parent~=char then
|
| 353 | + | v.Transparency=i |
| 354 | - | onHit=true print("dmg")
|
| 354 | + | end) |
| 355 | - | local fakeM=Instance.new("Model", workspace)
|
| 355 | + | pcall(function() v.Handle.Transparency=i end) |
| 356 | - | fakeM.Name=-dmg |
| 356 | + | pcall(function() v.face.Transparency=i end) |
| 357 | - | local hHuman=h.Parent:findFirstChild("Humanoid")
|
| 357 | + | pcall(function() v.roblox.Transparency=i end) |
| 358 | - | hHuman.Health=hHuman.Health-dmg |
| 358 | + | pcall(function() v.Head.Transparency=i end) |
| 359 | - | local hTorso=h.Parent:findFirstChild("Torso")
|
| 359 | + | |
| 360 | - | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
|
| 360 | + | |
| 361 | - | local label=add.Part(fakeM, true, false, "Bright red", 0, Vector3.new(.5, .5, .5), h.CFrame*CFrame.new(math.random(-4, 4), 4, math.random(-4, 4))) label.Name="Head" |
| 361 | + | |
| 362 | - | game.Debris:addItem(fakeM, 1) |
| 362 | + | for i, v in pairs(modelB:children()) do |
| 363 | - | wait(.1) |
| 363 | + | c(function() |
| 364 | - | onHit=false |
| 364 | + | for i=0, 1, .2 do wait() |
| 365 | pcall(function() | |
| 366 | v.Transparency=i | |
| 367 | end) | |
| 368 | - | function blockHit(prt) |
| 368 | + | pcall(function() v.Handle.Transparency=i end) |
| 369 | - | prt.Touched:connect(function(h) |
| 369 | + | pcall(function() v.face.Transparency=i end) |
| 370 | - | if onBlock==true and onKey==true and not h.Parent:findFirstChild("Humanoid") and onHit==false and h.Parent~=char then
|
| 370 | + | |
| 371 | - | onHit=true |
| 371 | + | |
| 372 | - | play(Sounds.Hit, 1, 1) |
| 372 | + | |
| 373 | - | print'Blocked' |
| 373 | + | wait(.5) |
| 374 | - | local bp=Instance.new("BodyPosition", h) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=(CFrame.new(torso.CFrame.p, h.CFrame.p)*CFrame.new(0, 0, -math.random(100, 200))).p
|
| 374 | + | local fakeModel=Instance.new("Model", workspace.CurrentCamera) fakeModel.Name="YOU"
|
| 375 | - | local bg=Instance.new("BodyGyro", h) bg.maxTorque=Vector3.new(math.huge, math.huge, math.huge) bg.cframe=CFrame.new(h.CFrame.p, torso.CFrame.p)
|
| 375 | + | local fakeHumanoid=Instance.new("Humanoid", fakeModel) fakeHumanoid.Health=0 fakeHumanoid.MaxHealth=0
|
| 376 | - | game.Debris:addItem(bp, .2) game.Debris:addItem(bg, .2) |
| 376 | + | local fakeHead=add.Part(fakeModel, false, false, "Bright green", 0, Vector3.new(1, 1, 1), nil) fakeHead.Name="Head" |
| 377 | - | wait(.1) |
| 377 | + | local fakeHeadM=add.Mesh("SpecialMesh", fakeHead, Vector3.new(1, 1.5, 1), nil, "File")
|
| 378 | - | onHit=false |
| 378 | + | fakeHeadM.MeshId="http://www.roblox.com/Asset/?id=9756362" |
| 379 | local fakeHeadW=add.Weld(fakeHead, torso, CFrame.new(0, 1.5, 0)) | |
| 380 | modelB.Parent=workspace.CurrentCamera | |
| 381 | for i, v in pairs(modelB:children()) do | |
| 382 | - | function idle() |
| 382 | + | c(function() |
| 383 | - | animate.LA(CFrame.Angles(0, 0, -math.rad(15))) |
| 383 | + | for i=0, 1, .2 do wait() |
| 384 | - | animate.RA(CFrame.Angles(0, 0, math.rad(15))) |
| 384 | + | pcall(function() |
| 385 | v.Transparency=.5 | |
| 386 | - | function StaticRemnant() |
| 386 | + | end) |
| 387 | - | casted() |
| 387 | + | pcall(function() v.Handle.Transparency=.5 end) |
| 388 | - | play(Sounds.ElectricShortage, 1, 1) |
| 388 | + | pcall(function() v.face.Transparency=.5 end) |
| 389 | - | play(Sounds.Abscond, 1, 1) |
| 389 | + | |
| 390 | - | local trans=.5 |
| 390 | + | |
| 391 | - | local color="Bright blue" |
| 391 | + | |
| 392 | - | local rem=add.Part(workspace, true, false, color, .25, Vector3.new(4, 4, 4), torso.CFrame*CFrame.new(0, -.2, 0)) |
| 392 | + | keyDeb=false |
| 393 | - | local remM=add.Mesh("SpecialMesh", rem, Vector3.new(7, 7, 7), nil, nil, Meshes.Noob)
|
| 393 | + | elseif key=="q" and keyDeb==false and switch==true and using==true then keyDeb=true switch=false using=false |
| 394 | - | s(function() |
| 394 | + | attackLabel.Text="Invisible(Q)" print("2") Abscond:play()
|
| 395 | - | while wait() do |
| 395 | + | pcall(function() char.Sound.Disabled=false end) |
| 396 | - | for i=.25, .5, .01 do wait() |
| 396 | + | modelB.Parent=char |
| 397 | - | rem.Transparency=i |
| 397 | + | for i, v in pairs(char:children()) do |
| 398 | - | remM.Scale=remM.Scale+Vector3.new(i*.05, i*.05, i*.05) |
| 398 | + | c(function() |
| 399 | for i=1, 0, -.2 do wait() | |
| 400 | - | for i=.5, .25, -.01 do wait() |
| 400 | + | pcall(function() |
| 401 | - | rem.Transparency=i |
| 401 | + | c(function() if v.Head~=nil then head.Transparency=1 end end) |
| 402 | - | remM.Scale=remM.Scale-Vector3.new(i*.05, i*.05, i*.05) |
| 402 | + | v.Transparency=i |
| 403 | end) | |
| 404 | pcall(function() v.Handle.Transparency=i end) | |
| 405 | pcall(function() v.face.Transparency=i end) | |
| 406 | - | rem.Touched:connect(function(h) |
| 406 | + | pcall(function() v.roblox.Transparency=i end) |
| 407 | - | if h.Parent:findFirstChild("Humanoid") and onHit==false and h.Parent~=char then
|
| 407 | + | pcall(function() v.Head.Transparency=i end) |
| 408 | - | onHit=true |
| 408 | + | |
| 409 | - | play(Sounds.ElectricSound, 1, 1) |
| 409 | + | |
| 410 | - | local blast=add.Part(workspace, true, false, color, .25, Vector3.new(4, 4, 1), rem.CFrame*CFrame.new(0, -3, 0)*CFrame.Angles(math.rad(90), 0, 0)) |
| 410 | + | |
| 411 | - | local blastM=add.Mesh("SpecialMesh", blast, blast.Size, nil, nil, Meshes.Ring)
|
| 411 | + | for i, v in pairs(modelB:children()) do |
| 412 | - | local blast2=add.Part(workspace, true, false, color, .25, Vector3.new(4, 1, 4), rem.CFrame*CFrame.new(0, -3, 0)) |
| 412 | + | c(function() |
| 413 | - | local blast2M=add.Mesh("SpecialMesh", blast2, blast.Size, nil, nil, Meshes.Charge)
|
| 413 | + | for i=1, 0, -.2 do wait() |
| 414 | - | s(function() |
| 414 | + | pcall(function() |
| 415 | - | for i=blast.Size.x, 12, 1 do wait() |
| 415 | + | v.Transparency=i |
| 416 | - | blastM.Scale=Vector3.new(i, i, i) |
| 416 | + | end) |
| 417 | - | blast2M.Scale=Vector3.new(i, i*.2, i) |
| 417 | + | pcall(function() v.Handle.Transparency=i end) |
| 418 | pcall(function() v.face.Transparency=i end) | |
| 419 | - | blast:remove() |
| 419 | + | |
| 420 | - | blast2:remove() |
| 420 | + | |
| 421 | end | |
| 422 | - | rem:remove() |
| 422 | + | for i, v in pairs(workspace.CurrentCamera:children()) do pcall(function() v:remove() end) end |
| 423 | - | local fakeM=Instance.new("Model", workspace)
|
| 423 | + | wait(.5) |
| 424 | - | fakeM.Name=-20 |
| 424 | + | keyDeb=false |
| 425 | - | local hHuman=h.Parent:findFirstChild("Humanoid")
|
| 425 | + | findStab() |
| 426 | - | hHuman.Health=hHuman.Health-20 |
| 426 | + | |
| 427 | - | local hTorso=h.Parent:findFirstChild("Torso")
|
| 427 | + | --DISGUISE MENU-- |
| 428 | - | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
|
| 428 | + | local xSpace=0 |
| 429 | - | local label=add.Part(fakeM, true, false, "Bright red", 0, Vector3.new(.5, .5, .5), h.CFrame*CFrame.new(math.random(-4, 4), 4, math.random(-4, 4))) label.Name="Head" |
| 429 | + | if key=="e" and keyDeb2==false and switch2==false then keyDeb2=true switch2=true |
| 430 | - | game.Debris:addItem(fakeM, 1) |
| 430 | + | attackLabel2.Text="Menu:" |
| 431 | - | wait(.1) |
| 431 | + | for i, v in pairs(game.Players:children()) do |
| 432 | - | onHit=false |
| 432 | + | if v~=player then xSpace=xSpace+1 |
| 433 | local playersLabel=add.Gui("TextButton", attackLabel2, "Really black", "Really black", "Bright red", "Size18", v.Name, 0, UDim2.new(1, 0, 1, 0), UDim2.new(xSpace, 0, 0, 0))
| |
| 434 | playersLabel.MouseButton1Click:connect(function() Abscond:play() | |
| 435 | - | game.Debris:addItem(rem, 12) |
| 435 | + | pcall(function() |
| 436 | - | wait(2) |
| 436 | + | for i, v in pairs(char:children()) do |
| 437 | pcall(function() v.face:remove() end) | |
| 438 | - | function ElectricVortex(target) |
| 438 | + | pcall(function() v.roblox:remove() end) |
| 439 | - | casted() |
| 439 | + | pcall(function() v.Head:remove() end) |
| 440 | - | onClick=false |
| 440 | + | if v:IsA("BodyColors") then v:remove() end
|
| 441 | - | humanoid.WalkSpeed=8 |
| 441 | + | if v:IsA("Hat") then v:remove() end
|
| 442 | - | for i=0, 1, .2 do wait() |
| 442 | + | if v:IsA("ShirtGraphic") then v:remove() end
|
| 443 | - | animate.Torso(CFrame.Angles(0, -math.rad(45)*i, 0)) |
| 443 | + | if v:IsA("Pants") then v:remove() end
|
| 444 | - | animate.RA(CFrame.Angles(0, 0, math.rad(135)*i)) |
| 444 | + | if v:IsA("Shirt") then v:remove() end
|
| 445 | if v:IsA("CharacterMesh") then v:remove() end
| |
| 446 | - | for i=0, 1, .2 do wait() |
| 446 | + | if v:IsA("BodyColors") then v:remove() end
|
| 447 | - | animate.Torso(CFrame.Angles(0, -math.rad(45-90*i), 0)) |
| 447 | + | end |
| 448 | - | animate.RA(CFrame.Angles(-math.rad(45)*i, 0, math.rad(135))) |
| 448 | + | for i, v in pairs(game.Players[playersLabel.Text].Character:children()) do |
| 449 | pcall(function() local cloned=v.face:clone() cloned.Parent=head if switch==true then pcall(function() cloned.Transparency=1 end) end end) | |
| 450 | - | for i=1, 0, -.2 do wait() |
| 450 | + | pcall(function() v.roblox:clone().Parent=torso end) |
| 451 | - | animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0)) |
| 451 | + | if v:IsA("BodyColors") then v:clone().Parent=char end
|
| 452 | - | animate.RA(CFrame.Angles(-math.rad(45)*i, 0, math.rad(135)*i)) |
| 452 | + | if v:IsA("Hat") then local cloned=v:clone() cloned.Parent=char if switch==true then pcall(function() cloned.Handle.Transparency=1 end) end end
|
| 453 | if v:IsA("ShirtGraphic") then v:clone().Parent=char end
| |
| 454 | - | idle() |
| 454 | + | if v:IsA("Pants") then v:clone().Parent=char end
|
| 455 | - | local start=add.Part(model, true, false, "Bright blue", .2, Vector3.new(1.5, 1.5, 1.5), torso.CFrame) |
| 455 | + | if v:IsA("Shirt") then v:clone().Parent=char end
|
| 456 | - | local startM=add.Mesh("SpecialMesh", start, nil, nil, "Sphere")
|
| 456 | + | if v:IsA("CharacterMesh") then v:clone().Parent=char end
|
| 457 | - | local bg=Instance.new("BodyGyro", target) bg.maxTorque=Vector3.new(math.huge, math.huge, math.huge) bg.D=100
|
| 457 | + | if v:IsA("BodyColors") then v:clone().Parent=char end
|
| 458 | - | local bv=Instance.new("BodyVelocity", target) bv.maxForce=Vector3.new(math.huge, math.huge, math.huge)
|
| 458 | + | end |
| 459 | - | for i=0, 1, .01 do wait() |
| 459 | + | head.Transparency=1 |
| 460 | - | bv.velocity=target.CFrame.lookVector*10 |
| 460 | + | local fakeModel=Instance.new("Model", char) fakeModel.Name=playersLabel.Text
|
| 461 | - | bg.cframe=CFrame.new(target.CFrame.p, start.CFrame.p) |
| 461 | + | local fakeHumanoid=Instance.new("Humanoid", fakeModel) fakeHumanoid.Health=100 fakeHumanoid.MaxHealth=100
|
| 462 | - | local mag=(start.CFrame.p-target.CFrame.p).magnitude |
| 462 | + | local fakeHead=add.Part(fakeModel, false, false, game.Players[playersLabel.Text].Character.Head.Color, 0, Vector3.new(1, 1, 1), nil) fakeHead.Name="Head" |
| 463 | - | local dis=(start.CFrame.p+target.CFrame.p)/2 |
| 463 | + | if switch==true then fakeHead.Transparency=1 end |
| 464 | - | local con=add.Part(workspace, true, false, "Bright blue", .2, Vector3.new(1, mag, 1), CFrame.new(dis, start.CFrame.p)*CFrame.Angles(math.rad(90), 0, 0)) |
| 464 | + | local fakeHeadM=add.Mesh("SpecialMesh", fakeHead, Vector3.new(1.25, 1.25, 1.25), nil, "Head")
|
| 465 | - | local conM=add.Mesh("CylinderMesh", con)
|
| 465 | + | local fakeHeadW=add.Weld(fakeHead, torso, CFrame.new(0, 1.5, 0)) |
| 466 | - | s(function() |
| 466 | + | end) |
| 467 | - | for i=.2, 1, .1 do wait() con.Transparency=i end con:remove() |
| 467 | + | |
| 468 | end | |
| 469 | - | play(Sounds.Electric, 1, 1) |
| 469 | + | |
| 470 | - | play(Sounds.ElectricSound, 1, 1) |
| 470 | + | keyDeb2=false |
| 471 | elseif key=="e" and keyDeb2==false and switch2==true then keyDeb2=true switch2=false | |
| 472 | - | loop=false |
| 472 | + | attackLabel2.Text="Disguise(E)" |
| 473 | - | bg:remove() |
| 473 | + | for i, v in pairs(attackLabel2:children()) do |
| 474 | - | bv:remove() |
| 474 | + | pcall(function()v:remove()end) |
| 475 | - | start:remove() |
| 475 | + | |
| 476 | - | humanoid.WalkSpeed=16 |
| 476 | + | keyDeb2=false |
| 477 | end | |
| 478 | - | function BallLightning() |
| 478 | + | |
| 479 | - | casted() |
| 479 | + | findStab() |
| 480 | - | humanoid.WalkSpeed=0 |
| 480 | + | |
| 481 | - | onKey=true |
| 481 | + | |
| 482 | - | play(Sounds.Electric, 1, 1) |
| 482 | + | Equip:play() |
| 483 | - | play(Sounds.ElectricSound, 1, 1) |
| 483 | + | |
| 484 | - | for i=0, 1, .2 do wait() |
| 484 | + | obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(180)*i, 0) |
| 485 | - | animate.Torso(CFrame.Angles(-math.rad(90)*i, 0, 0)) |
| 485 | + | obj.EdgeTopRW.C1=CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90)) |
| 486 | obj.EdgeTopR2W.C1=CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90)) | |
| 487 | - | torso.CFrame=computePos(torso.CFrame.p, m.Hit.p) |
| 487 | + | |
| 488 | - | local ball=add.Part(workspace, false, false, "Cyan", 0, Vector3.new(7, 7, 7), torso.CFrame) |
| 488 | + | switch2=false using=false for i, v in pairs(attackLabel2:children()) do pcall(function()v:remove()end) end removeParts() end)--mediafire |