yeetusFE

e

Jun 10th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player=game.Players.LocalPlayer
  2. local char=player.Character
  3. repeat wait() until player and char
  4. local torso=char.Torso
  5. local head=char.Head
  6. local human=char.Humanoid
  7. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  8. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  9. local c=function(f) coroutine.resume(coroutine.create(f)) end
  10. local p=function(f) pcall(f) end
  11. local add = {
  12. Part=function(par, a, c, col, t, s, cf, ms)
  13. local p=Instance.new("Part", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  14. local m=Instance.new("BlockMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) end)
  15. return p
  16. end,
  17. Wedge=function(par, a, c, col, t, s, cf, ms)
  18. local p=Instance.new("WedgePart", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  19. local m=Instance.new("SpecialMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) m.MeshType="Wedge" end)
  20. return p
  21. end,
  22. Gui=function(ins, par, bc, bg, tc, fs, text, t, s, pos)
  23. 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)
  24. return g
  25. end,
  26. Weld=function(par, p1, cf)
  27. local w=Instance.new("Weld", par) pcall(function() w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() end)
  28. return w
  29. end,
  30. Mesh=function(ins, par, s, of, t)
  31. local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshType=t end)
  32. return m
  33. end,
  34. Sound=function(parent, id, volume, pitch)
  35. local s=Instance.new("Sound", parent) pcall(function() s.SoundId=id s.Volume=volume s.Pitch=pitch end)
  36. return s
  37. end,
  38. }
  39. local scriptname="Spy" --Name here
  40. pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char["Objects"]:remove() player.PlayerGui[scriptname]:remove() end)
  41. local model=Instance.new("Model", char) model.Name="Objects"
  42. local modelB=Instance.new("Model", char) modelB.Name=scriptname
  43. local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
  44. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=scriptname
  45. local skincolor="Really black"
  46. local body={}
  47. local animate={}
  48. local obj={}
  49. function createParts()
  50. --==PARTS==--
  51. body.Torso=add.Part(model, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil)
  52. 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)
  53. 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)
  54. --==WELDS==--
  55. body.TorsoW=add.Weld(body.Torso, torso, nil)
  56. 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))
  57. 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))
  58. --==MESHES==--
  59. add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0))
  60. add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0))
  61. torso["Left Hip"].Part0=body.Torso
  62. torso["Right Hip"].Part0=body.Torso
  63. ---------------------------------------------------------------------------------------
  64. animate={
  65. ["Torso"]=function(cf) body.Torso.Transparency=0 torso.Transparency=1
  66. body.TorsoW.C1=cf
  67. end;
  68. ["ArmLeft"]=function(cf)
  69. body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf
  70. end;
  71. ["ArmRight"]=function(cf)
  72. body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf
  73. end;
  74. ["LegLeft"]=function(cf)
  75. body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf
  76. end;
  77. ["LegRight"]=function(cf)
  78. body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf
  79. end;
  80. }
  81. --==Objects==--
  82. obj.HandleBack=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, 1, .2), nil)
  83. obj.HandleBackW=add.Weld(obj.HandleBack, body.ArmRight, CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0))
  84. obj.EdgeBot=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
  85. obj.EdgeBotM=add.Mesh("CylinderMesh", obj.EdgeBot, Vector3.new(1, 1, 1), nil, nil)
  86. obj.EdgeBotW=add.Weld(obj.EdgeBot, obj.HandleBack, CFrame.new(0, -.5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
  87. obj.EdgeTopR=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
  88. obj.EdgeTopRM=add.Mesh("CylinderMesh", obj.EdgeTopR, Vector3.new(1, 1, 1), nil, nil)
  89. obj.EdgeTopRW=add.Weld(obj.EdgeTopR, obj.HandleBack, CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
  90.  
  91. obj.Blade=add.Part(modelB, false, false, "Gold", 0, Vector3.new(.2, .8, .2), nil)
  92. obj.BladeM=add.Mesh("BlockMesh", obj.Blade, Vector3.new(.5, 1, 1), nil, nil)
  93. obj.BladeW=add.Weld(obj.Blade, obj.EdgeTopR, CFrame.new(-.1, 0, -.4)*CFrame.Angles(-math.rad(90), math.rad(90), 0))
  94. obj.Point=add.Part(modelB, false, false, "Gold", 0, Vector3.new(.2, .4, .2), nil)
  95. obj.PointM=add.Mesh("SpecialMesh", obj.Point, Vector3.new(.5, 1, .5), nil, "Wedge")
  96. obj.PointW=add.Weld(obj.Point, obj.Blade, CFrame.new(0, .6, .05)*CFrame.Angles(0, math.rad(180), 0))
  97. obj.Point2=add.Part(modelB, false, false, "Gold", 0, Vector3.new(.2, .4, .2), nil)
  98. obj.Point2M=add.Mesh("SpecialMesh", obj.Point2, Vector3.new(.5, 1, .5), nil, "Wedge")
  99. obj.Point2W=add.Weld(obj.Point2, obj.Blade, CFrame.new(0, .6, -.05))
  100.  
  101. obj.Joints=add.Part(modelB, false, false, "Gold", 0, Vector3.new(.2, .25, .2), nil)
  102. obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
  103. obj.JointsW=add.Weld(obj.Joints, obj.EdgeBot, nil)
  104. obj.Joints=add.Part(modelB, false, false, "Gold", 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.EdgeTopR, nil)
  107.  
  108. obj.EdgeTopR2=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
  109. obj.EdgeTopR2M=add.Mesh("CylinderMesh", obj.EdgeTopR2, Vector3.new(1, 1, 1), nil, nil)
  110. obj.EdgeTopR2W=add.Weld(obj.EdgeTopR2, obj.Blade, CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
  111. obj.HandleFor=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, 1, .2), nil)
  112. obj.HandleForW=add.Weld(obj.HandleFor, obj.EdgeTopR2, CFrame.new(0, 0, .5)*CFrame.Angles(-math.rad(90), -math.rad(90), 0))
  113. obj.EdgeBot=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.2, .2, .2), nil)
  114. obj.EdgeBotM=add.Mesh("CylinderMesh", obj.EdgeBot, Vector3.new(1, 1, 1), nil, nil)
  115. obj.EdgeBotW=add.Weld(obj.EdgeBot, obj.HandleFor, CFrame.new(0, -.5, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
  116. obj.Joints=add.Part(modelB, false, false, "Gold", 0, Vector3.new(.2, .25, .2), nil)
  117. obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
  118. obj.JointsW=add.Weld(obj.Joints, obj.EdgeBot, nil)
  119. obj.Joints=add.Part(modelB, false, false, "Gold", 0, Vector3.new(.2, .25, .2), nil)
  120. obj.JointsM=add.Mesh("CylinderMesh", obj.Joints, Vector3.new(.5, 1, .5), nil, nil)
  121. obj.JointsW=add.Weld(obj.Joints, obj.EdgeTopR2, nil)
  122. end
  123. function removeParts()
  124. p(function()
  125. if torso then
  126. torso["Left Hip"].Part0=torso
  127. torso["Right Hip"].Part0=torso
  128. end
  129. 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
  130. end)
  131. end
  132. --Variables--
  133. local trailDeb=false
  134. local using=false
  135. local combo=1
  136. local onStab=false
  137. local keyDeb=false
  138. local switch=false
  139. local switch2=false
  140. local keyDeb2=false
  141. local hitDeb=false
  142. local dmg=math.random(5, 10)
  143. local speed=20
  144. local pitch=.8
  145. local Slash=add.Sound(torso, "rbxasset://sounds//swordslash.wav", 2, pitch)
  146. local Hit=add.Sound(torso, "http://www.roblox.com/asset/?id=30715280", 2, 2)
  147. local Abscond=add.Sound(torso, "http://www.roblox.com/asset/?id=2767090", 2, 2)
  148. local Equip=add.Sound(torso, "http://www.roblox.com/asset/?id=13510737", 2, 2)
  149. local attackLabel=add.Gui("TextLabel", gui, "Gold", "Gold", "Gold", "Size18", "Invisible(Q)", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
  150. local attackLabel2=add.Gui("TextLabel", attackLabel, "Gold", "Gold", "Gold", "Size18", "Disguise(E)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  151.  
  152. function lightningGen(startPos, endPos)
  153. local magnitude=(startPos-endPos).magnitude
  154. local distance=(startPos+endPos)/2
  155. local pattern=add.Part(workspace, true, false, "Gold", 1, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPos))
  156. local startPosProx=startPos
  157. for i=1, 9 do
  158. local startPosProx2=startPosProx
  159. local random=Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  160. local findSize=pattern.Size.z/10
  161. local findOffSet=pattern.CFrame.lookVector*-1
  162. local compute=i*findSize*findOffSet
  163. local newStartPos=startPos
  164. local newEndPos=CFrame.new(random+compute+newStartPos).p
  165. local magnitude=(startPosProx2-newEndPos).magnitude
  166. local distance=(startPosProx2+newEndPos)/2
  167. local lightning=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(.2, .2, magnitude), CFrame.new(distance, startPosProx2))
  168. c(function()
  169. for i=0, 1, .1 do wait()
  170. lightning.Transparency=i
  171. end
  172. lightning:remove()
  173. end)
  174. startPosProx=newEndPos
  175. end
  176. pattern:remove()
  177. end
  178. function computePos(pos, pos2)
  179. local pos3=Vector3.new(pos2.x, pos.y, pos2.z)
  180. torso.CFrame=CFrame.new(pos, pos3)
  181. return pos3
  182. end
  183. function nearTorso(pos, dis)
  184. local temp
  185. local distance=dis
  186. for i, v in pairs(workspace:children()) do
  187. if v:isA("Model") then
  188. temp=v:findFirstChild("Torso")
  189. local humanoid=v:findFirstChild("Humanoid")
  190. if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
  191. distance=(temp.CFrame.p-pos).magnitude
  192. return temp
  193. end
  194. end
  195. end
  196. end
  197. function trail(pos, cf, col)
  198. c(function()
  199. local old=(pos.CFrame*cf).p
  200. while trailDeb==true do
  201. wait()
  202. local new=(pos.CFrame*cf).p
  203. local mag=(old-new).magnitude
  204. local dis=(old+new)/2
  205. 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"
  206. local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
  207. old=new
  208. c(function()
  209. for i=1, 0, -.1 do
  210. wait()
  211. tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i)
  212. end
  213. trail:remove()
  214. end)
  215. c(function()
  216. for i=0, 1, .1 do
  217. wait()
  218. trail.Transparency=i
  219. end
  220. end)
  221. end
  222. end)
  223. end
  224.  
  225. function running()
  226. animate.ArmLeft(CFrame.Angles(-math.rad(45), 0, -math.rad(15)))
  227. animate.ArmRight(CFrame.Angles(math.rad(45), 0, math.rad(15)))
  228. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0)
  229. end
  230.  
  231. function hit(h)
  232. if using==true then
  233. if switch==false then
  234. if onStab==false and h.Parent:findFirstChild("Humanoid") and h.Parent~=char and hitDeb==false then hitDeb=true print("ErrorUnNamed") Hit:play()
  235. local hHuman=h.Parent:findFirstChild("Humanoid")
  236. hHuman.Health=hHuman.Health-dmg
  237. local fakeM=Instance.new("Model", workspace) fakeM.Name=-dmg
  238. local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  239. local effect=add.Part(fakeM, false, false, "Gold", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head"
  240. local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
  241. 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)
  242. game.Debris:addItem(fakeM, 2)
  243. wait(1)
  244. hitDeb=false
  245. end
  246. if onStab==true and h.Parent~=char and h.Parent:findFirstChild("Humanoid") and hitDeb==false then hitDeb=true print("Error") Hit:play()
  247. h.Parent:breakJoints()
  248. local fakeM=Instance.new("Model", workspace) fakeM.Name="Tr1st4bb3d"
  249. local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  250. local effect=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head"
  251. local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
  252. 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)
  253. game.Debris:addItem(fakeM, 2)
  254. wait(1)
  255. hitDeb=false
  256. end
  257. end
  258. end
  259. end
  260.  
  261. function findStab()
  262. while using==false do wait()
  263. --pcall(function()
  264. local nTorso=nearTorso(torso.CFrame.p, 3)
  265. if nTorso then
  266. local offSet=nTorso.CFrame:toObjectSpace(torso.CFrame)
  267. if offSet.z>0 then
  268. onStab=true
  269. animate.ArmRight(CFrame.Angles(math.rad(135), 0, 0))
  270. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)
  271. else
  272. onStab=false
  273. running()
  274. end
  275. else
  276. onStab=false
  277. running()
  278. end
  279. --end)
  280. end
  281. end
  282.  
  283. function attack() combo=combo+1
  284. if using==false then using=true for i, v in pairs(modelB:children()) do v.Touched:connect(hit) end
  285. if combo==1 and onStab==false then Slash:play()
  286. --[[trailDeb=true
  287. trail(obj.Blade, CFrame.new(0, 1, 0), "Gold")]]
  288. for i=0, 1, .2 do wait()
  289. animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
  290. animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, 0))
  291. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
  292. end
  293. for i=1, 0, -.2 do wait()
  294. animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
  295. animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, 0))
  296. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
  297. end
  298. if combo>1 and onStab==false then combo=2 Slash:play()
  299. for i=0, 1, .2 do wait()
  300. animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
  301. animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i))
  302. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90+(90*i)), 0, 0)
  303. end
  304. for i=1, 0, -.2 do wait()
  305. animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
  306. animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i))
  307. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90+(90*i)), 0, 0)
  308. end
  309. end
  310. end
  311. if onStab==true then
  312. for i=0, 1, .2 do wait()
  313. animate.ArmRight(CFrame.Angles(math.rad(135-(45*i)), 0, 0))
  314. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)
  315. end
  316. onStab=false
  317. end
  318. using=false
  319. --trailDeb=false
  320. combo=0
  321. body.Torso.Transparency=1 torso.Transparency=0
  322. running()
  323. findStab()
  324. end
  325. end
  326.  
  327. bin.Selected:connect(function(mouse) createParts()
  328. human.WalkSpeed=speed
  329. running()
  330. using=true
  331. Equip:play()
  332. for i=1, 0, -.1 do wait()
  333. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(180)*i, 0)
  334. obj.EdgeTopRW.C1=CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
  335. obj.EdgeTopR2W.C1=CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
  336. end
  337. using=false
  338. mouse.Button1Down:connect(attack)
  339. mouse.KeyDown:connect(function(key)
  340. local key=key:lower()
  341. --INVISBLE--
  342. if key=="q" and keyDeb==false and switch==false and using==false then keyDeb=true switch=true using=true
  343. attackLabel.Text="Visible(Q)" print("1") Abscond:play()
  344. pcall(function() char.Sound.Disabled=true end)
  345. for i, v in pairs(char:children()) do
  346. c(function()
  347. for i=0, 1, .2 do wait()
  348. pcall(function()
  349. c(function() if v.Head~=nil then head.Transparency=1 end end)
  350. v.Transparency=i
  351. end)
  352. pcall(function() v.Handle.Transparency=i end)
  353. pcall(function() v.face.Transparency=i end)
  354. pcall(function() v.roblox.Transparency=i end)
  355. pcall(function() v.Head.Transparency=i end)
  356. end
  357. end)
  358. end
  359. for i, v in pairs(modelB:children()) do
  360. c(function()
  361. for i=0, 1, .2 do wait()
  362. pcall(function()
  363. v.Transparency=i
  364. end)
  365. pcall(function() v.Handle.Transparency=i end)
  366. pcall(function() v.face.Transparency=i end)
  367. end
  368. end)
  369. end
  370. wait(.5)
  371. local fakeModel=Instance.new("Model", workspace.CurrentCamera) fakeModel.Name="Spy"
  372. local fakeHumanoid=Instance.new("Humanoid", fakeModel) fakeHumanoid.Health=0 fakeHumanoid.MaxHealth=0
  373. local fakeHead=add.Part(fakeModel, false, false, "Really black", 0, Vector3.new(1, 1, 1), nil) fakeHead.Name="Head"
  374. local fakeHeadM=add.Mesh("SpecialMesh", fakeHead, Vector3.new(1, 1.5, 1), nil, "File")
  375. fakeHeadM.MeshId="http://www.roblox.com/Asset/?id=9756362"
  376. local fakeHeadW=add.Weld(fakeHead, torso, CFrame.new(0, 1.5, 0))
  377. modelB.Parent=workspace.CurrentCamera
  378. for i, v in pairs(modelB:children()) do
  379. c(function()
  380. for i=0, 1, .2 do wait()
  381. pcall(function()
  382. v.Transparency=.5
  383. end)
  384. pcall(function() v.Handle.Transparency=.5 end)
  385. pcall(function() v.face.Transparency=.5 end)
  386. end
  387. end)
  388. end
  389. keyDeb=false
  390. elseif key=="q" and keyDeb==false and switch==true and using==true then keyDeb=true switch=false using=false
  391. attackLabel.Text="Invisible(Q)" print("2") Abscond:play()
  392. pcall(function() char.Sound.Disabled=false end)
  393. modelB.Parent=char
  394. for i, v in pairs(char:children()) do
  395. c(function()
  396. for i=1, 0, -.2 do wait()
  397. pcall(function()
  398. c(function() if v.Head~=nil then head.Transparency=1 end end)
  399. v.Transparency=i
  400. end)
  401. pcall(function() v.Handle.Transparency=i end)
  402. pcall(function() v.face.Transparency=i end)
  403. pcall(function() v.roblox.Transparency=i end)
  404. pcall(function() v.Head.Transparency=i end)
  405. end
  406. end)
  407. end
  408. for i, v in pairs(modelB:children()) do
  409. c(function()
  410. for i=1, 0, -.2 do wait()
  411. pcall(function()
  412. v.Transparency=i
  413. end)
  414. pcall(function() v.Handle.Transparency=i end)
  415. pcall(function() v.face.Transparency=i end)
  416. end
  417. end)
  418. end
  419. for i, v in pairs(workspace.CurrentCamera:children()) do pcall(function() v:remove() end) end
  420. wait(.5)
  421. keyDeb=false
  422. findStab()
  423. end
  424. --DISGUISE MENU--
  425. local xSpace=0
  426. if key=="e" and keyDeb2==false and switch2==false then keyDeb2=true switch2=true
  427. attackLabel2.Text="Menu:"
  428. for i, v in pairs(game.Players:children()) do
  429. if v~=player then xSpace=xSpace+1
  430. local playersLabel=add.Gui("TextButton", attackLabel2, "Gold", "Gold", "Gold", "Size18", v.Name, 0, UDim2.new(1, 0, 1, 0), UDim2.new(xSpace, 0, 0, 0))
  431. playersLabel.MouseButton1Click:connect(function() Abscond:play()
  432. pcall(function()
  433. for i, v in pairs(char:children()) do
  434. pcall(function() v.face:remove() end)
  435. pcall(function() v.roblox:remove() end)
  436. pcall(function() v.Head:remove() end)
  437. if v:IsA("BodyColors") then v:remove() end
  438. if v:IsA("Hat") then v:remove() end
  439. if v:IsA("ShirtGraphic") then v:remove() end
  440. if v:IsA("Pants") then v:remove() end
  441. if v:IsA("Shirt") then v:remove() end
  442. if v:IsA("CharacterMesh") then v:remove() end
  443. if v:IsA("BodyColors") then v:remove() end
  444. end
  445. for i, v in pairs(game.Players[playersLabel.Text].Character:children()) do
  446. pcall(function() local cloned=v.face:clone() cloned.Parent=head if switch==true then pcall(function() cloned.Transparency=1 end) end end)
  447. pcall(function() v.roblox:clone().Parent=torso end)
  448. if v:IsA("BodyColors") then v:clone().Parent=char end
  449. 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
  450. if v:IsA("ShirtGraphic") then v:clone().Parent=char end
  451. if v:IsA("Pants") then v:clone().Parent=char end
  452. if v:IsA("Shirt") then v:clone().Parent=char end
  453. if v:IsA("CharacterMesh") then v:clone().Parent=char end
  454. if v:IsA("BodyColors") then v:clone().Parent=char end
  455. end
  456. head.Transparency=1
  457. local fakeModel=Instance.new("Model", char) fakeModel.Name=playersLabel.Text
  458. local fakeHumanoid=Instance.new("Humanoid", fakeModel) fakeHumanoid.Health=125 fakeHumanoid.MaxHealth=125
  459. local fakeHead=add.Part(fakeModel, false, false, game.Players[playersLabel.Text].Character.Head.Color, 0, Vector3.new(1, 1, 1), nil) fakeHead.Name="Head"
  460. if switch==true then fakeHead.Transparency=1 end
  461. local fakeHeadM=add.Mesh("SpecialMesh", fakeHead, Vector3.new(1.25, 1.25, 1.25), nil, "Head")
  462. local fakeHeadW=add.Weld(fakeHead, torso, CFrame.new(0, 1.5, 0))
  463. end)
  464. end)
  465. end
  466. end
  467. keyDeb2=false
  468. elseif key=="e" and keyDeb2==false and switch2==true then keyDeb2=true switch2=false
  469. attackLabel2.Text="Disguise(E)"
  470. for i, v in pairs(attackLabel2:children()) do
  471. pcall(function()v:remove()end)
  472. end
  473. keyDeb2=false
  474. end
  475. end)
  476. findStab()
  477. end)
  478. bin.Deselected:connect(function()
  479. Equip:play()
  480. for i=0, 1, .1 do wait()
  481. obj.HandleBackW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(180)*i, 0)
  482. obj.EdgeTopRW.C1=CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
  483. obj.EdgeTopR2W.C1=CFrame.new(0, -.4, -.1)*CFrame.Angles(math.rad(90)+math.rad(180)*i, 0, math.rad(90))
  484. end
  485. switch2=false using=false for i, v in pairs(attackLabel2:children()) do pcall(function()v:remove()end) end removeParts() end)--mediafire
Add Comment
Please, Sign In to add comment