Advertisement
miguel1131

rc7 scipt

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