Advertisement
GeneralNW

{Roblox} Luis knife *By Luis* (Edited by me;^)

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