astronaut32

crackers tech gauntlet

Jan 10th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.05 KB | None | 0 0
  1.  
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4.  
  5.  
  6. Character = Player.Character
  7.  
  8.  
  9. PlayerGui = Player.PlayerGui
  10.  
  11.  
  12. Backpack = Player.Backpack
  13.  
  14.  
  15. Torso = Character.Torso
  16.  
  17.  
  18. Head = Character.Head
  19.  
  20.  
  21. Humanoid = Character.Humanoid
  22.  
  23.  
  24. LeftArm = Character["Left Arm"]
  25.  
  26.  
  27. LeftLeg = Character["Left Leg"]
  28.  
  29.  
  30. RightArm = Character["Right Arm"]
  31.  
  32.  
  33. RightLeg = Character["Right Leg"]
  34.  
  35.  
  36. LS = Torso["Left Shoulder"]
  37.  
  38.  
  39. LH = Torso["Left Hip"]
  40.  
  41.  
  42. RS = Torso["Right Shoulder"]
  43.  
  44.  
  45. RH = Torso["Right Hip"]
  46.  
  47.  
  48. Neck = Torso.Neck
  49.  
  50.  
  51. it=Instance.new
  52.  
  53.  
  54. vt=Vector3.new
  55.  
  56.  
  57. cf=CFrame.new
  58.  
  59.  
  60. euler=CFrame.fromEulerAnglesXYZ
  61.  
  62.  
  63. angles=CFrame.Angles
  64.  
  65.  
  66. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  67.  
  68.  
  69. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  70.  
  71.  
  72. attack = false
  73.  
  74.  
  75. attacktype = 1
  76.  
  77.  
  78. attackdebounce = false
  79.  
  80.  
  81. MMouse=nil
  82.  
  83.  
  84. combo=0
  85.  
  86.  
  87. Mode="Choose"
  88.  
  89.  
  90. Aiming=false
  91.  
  92.  
  93. DroneTarget=Torso.Position
  94.  
  95.  
  96. Drone1=nil
  97.  
  98.  
  99. Drone2=nil
  100.  
  101.  
  102. Drone3=nil
  103.  
  104.  
  105. Bullets=10
  106.  
  107.  
  108. BowAim=false
  109.  
  110.  
  111. SnipAim=false
  112.  
  113.  
  114. --player
  115.  
  116.  
  117. player = nil
  118.  
  119.  
  120. --save shoulders
  121.  
  122.  
  123. RSH, LSH = nil, nil
  124.  
  125.  
  126. --welds
  127.  
  128.  
  129. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  130.  
  131.  
  132. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141. if Character:findFirstChild("Techno Gauntlet",true) ~= nil then
  142.  
  143.  
  144. Character:findFirstChild("Techno Gauntlet",true).Parent = nil
  145.  
  146.  
  147. end
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  157.  
  158.  
  159. local fp = it("Part")
  160.  
  161.  
  162. fp.formFactor = formfactor
  163.  
  164.  
  165. fp.Parent = parent
  166.  
  167.  
  168. fp.Reflectance = reflectance
  169.  
  170.  
  171. fp.Transparency = transparency
  172.  
  173.  
  174. fp.CanCollide = false
  175.  
  176.  
  177. fp.Locked=true
  178.  
  179.  
  180. fp.BrickColor = brickcolor
  181.  
  182.  
  183. fp.Name = name
  184.  
  185.  
  186. fp.Size = size
  187.  
  188.  
  189. fp.Position = Torso.Position
  190.  
  191.  
  192. fp.BottomSurface="Smooth"
  193.  
  194.  
  195. fp.TopSurface="Smooth"
  196.  
  197.  
  198. fp:BreakJoints()
  199.  
  200.  
  201. return fp
  202.  
  203.  
  204. end
  205.  
  206.  
  207.  
  208.  
  209.  
  210. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  211.  
  212.  
  213. local mesh = it(Mesh)
  214.  
  215.  
  216. mesh.Parent = part
  217.  
  218.  
  219. if Mesh=="SpecialMesh" then
  220.  
  221.  
  222. mesh.MeshType = meshtype
  223.  
  224.  
  225. mesh.MeshId = meshid
  226.  
  227.  
  228. end
  229.  
  230.  
  231. mesh.Offset=offset
  232.  
  233.  
  234. mesh.Scale=scale
  235.  
  236.  
  237. return mesh
  238.  
  239.  
  240. end
  241.  
  242.  
  243.  
  244.  
  245.  
  246. function weld(parent,part0,part1,c0)
  247.  
  248.  
  249. local weld = it("Weld")
  250.  
  251.  
  252. weld.Parent = parent
  253.  
  254.  
  255. weld.Part0 = part0
  256.  
  257.  
  258. weld.Part1 = part1
  259.  
  260.  
  261. weld.C0 = c0
  262.  
  263.  
  264. return weld
  265.  
  266.  
  267. end
  268.  
  269.  
  270.  
  271.  
  272.  
  273. local cone=part(3,modelzorz,0,1,BrickColor.new("Plum"),"Cone",vt(1,1,1))
  274.  
  275.  
  276. local conemsh=mesh("SpecialMesh",cone,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.5,0.5,0.5))
  277.  
  278.  
  279. local screen1=part(3,modelzorz,0,1,BrickColor.new("Plum"),"Screen1",vt(1,1,1))
  280.  
  281.  
  282. local screen1msh=mesh("BlockMesh",screen1,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  283.  
  284.  
  285. local screen2=part(3,modelzorz,0,1,BrickColor.new("Plum"),"Screen2",vt(1,1,1))
  286.  
  287.  
  288. local screen2msh=mesh("BlockMesh",screen2,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  289.  
  290.  
  291. local screen3=part(3,modelzorz,0,1,BrickColor.new("Plum"),"Screen3",vt(1,1,1))
  292.  
  293.  
  294. local screen3msh=mesh("BlockMesh",screen3,"","",vt(0,0,0),vt(0.1,0.8,0.9))
  295.  
  296.  
  297. light1=Instance.new("PointLight")
  298.  
  299.  
  300. light1.Brightness=.8
  301.  
  302.  
  303. light1.Color=Color3.new(.2,.2,255)
  304.  
  305.  
  306. light1.Range=10
  307.  
  308.  
  309. light1.Parent=screen1
  310.  
  311.  
  312. light2=light1:Clone()
  313.  
  314.  
  315. light2.Parent=screen2
  316.  
  317.  
  318. light3=light1:Clone()
  319.  
  320.  
  321. light3.Parent=screen3
  322.  
  323.  
  324.  
  325.  
  326.  
  327. if Character:findFirstChild("Drone",true) ~= nil then
  328.  
  329.  
  330. Character:findFirstChild("Drone",true).Parent = nil
  331.  
  332.  
  333. end
  334.  
  335.  
  336.  
  337.  
  338.  
  339. local modelzorz = Instance.new("Model")
  340.  
  341.  
  342. modelzorz.Parent = Character
  343.  
  344.  
  345. modelzorz.Name = "Techno Gauntlet"
  346.  
  347.  
  348.  
  349.  
  350.  
  351. local prt1=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part1",vt(1,1,1))
  352.  
  353.  
  354. local prt2=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part2",vt(1,1,1))
  355.  
  356.  
  357. local prt3=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part3",vt(1,1,1))
  358.  
  359.  
  360. local prt4=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part4",vt(1,1,1))
  361.  
  362.  
  363. local prt5=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part5",vt(1,1,1))
  364.  
  365.  
  366. local prt6=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part6",vt(1,1,1))
  367.  
  368.  
  369. local prt7=part(3,modelzorz,0,0,Torso.BrickColor,"Part7",vt(1,1,1))
  370.  
  371.  
  372. local prt8=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part8",vt(1,1,1))
  373.  
  374.  
  375. local prt9=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part9",vt(1,1,1))
  376.  
  377.  
  378. local prt10=part(3,modelzorz,0,0,BrickColor.new("Magenta"),"Part10",vt(1,1,1))
  379.  
  380.  
  381.  
  382.  
  383.  
  384. msh1=mesh("BlockMesh",prt1,"","",vt(0,0,0),vt(1.1,0.6,1.1))
  385.  
  386.  
  387. msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.2,0.7,1.05))
  388.  
  389.  
  390. msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1.05,0.7,0.2))
  391.  
  392.  
  393. msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  394.  
  395.  
  396. msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(1.4,1.6,0.2))
  397.  
  398.  
  399. msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  400.  
  401.  
  402. msh7=mesh("SpecialMesh",prt7,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  403.  
  404.  
  405. msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(0.6,0.1,0.6))
  406.  
  407.  
  408. msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(0.3,0.1,0.3))
  409.  
  410.  
  411. msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  412.  
  413.  
  414.  
  415.  
  416.  
  417. local wld1=weld(prt1,prt1,RightArm,euler(0,0,0)*cf(0,0.3,0))
  418.  
  419.  
  420. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0.4,0))
  421.  
  422.  
  423. local wld3=weld(prt3,prt3,prt1,euler(0,0,0)*cf(0,0.4,0))
  424.  
  425.  
  426. local wld4=weld(prt4,prt4,prt1,euler(0,0.785,0)*cf(0,-0.51,0))
  427.  
  428.  
  429. local wld5=weld(prt5,prt5,prt1,euler(0,-0.785,0)*cf(0,-0.51,0))
  430.  
  431.  
  432. local wld6=weld(prt6,prt6,prt1,euler(0,0,0)*cf(0,-1.3,0))
  433.  
  434.  
  435. local wld7=weld(prt7,prt7,prt6,euler(0,0,0)*cf(0,0,0))
  436.  
  437.  
  438. local wld8=weld(prt8,prt8,prt1,euler(0,0,-1.57)*cf(-0.55,0,0))
  439.  
  440.  
  441. local wld9=weld(prt9,prt9,prt8,euler(0,0,0)*cf(0,0.05,0))
  442.  
  443.  
  444. local wld10=weld(prt10,prt10,prt9,euler(0,0,0)*cf(0,0.01,0))
  445.  
  446.  
  447.  
  448.  
  449.  
  450. numb2=0
  451.  
  452.  
  453. for i=1,4 do
  454.  
  455.  
  456. numb=0.3
  457.  
  458.  
  459. for i=1,3 do
  460.  
  461.  
  462. local prtclaw=part(3,modelzorz,0,0,BrickColor.new("Plum"),"Partclaw",vt(1,1,1))
  463.  
  464.  
  465. mshclaw=mesh("SpecialMesh",prtclaw,"Wedge","",vt(0,0,0),vt(0.1,0.3,0.1))
  466.  
  467.  
  468. local wldclaw=weld(prtclaw,prtclaw,prt1,euler(1.57,-1.57,-1.57)*cf(-0.55,0.3,numb)*euler(0,numb2,0))
  469.  
  470.  
  471. numb=numb-0.3
  472.  
  473.  
  474. end
  475.  
  476.  
  477. numb2=numb2+1.57
  478.  
  479.  
  480. end
  481.  
  482.  
  483.  
  484.  
  485.  
  486. numb=0
  487.  
  488.  
  489. for i=1,5 do
  490.  
  491.  
  492. local prtgear=part(3,modelzorz,0,0,BrickColor.new("Plum"),"Partgear",vt(1,1,1))
  493.  
  494.  
  495. mshgear=mesh("BlockMesh",prtgear,"","",vt(0,0,0),vt(0.4,0.09,0.07))
  496.  
  497.  
  498. local wldgear=weld(prtgear,prtgear,prt9,euler(0,numb,0)*cf(0,0,0))
  499.  
  500.  
  501. numb=numb+0.628
  502.  
  503.  
  504. end
  505.  
  506.  
  507.  
  508.  
  509.  
  510. local gun = Instance.new("Model")
  511.  
  512.  
  513. gun.Parent = modelzorz
  514.  
  515.  
  516. gun.Name = "Blitz"
  517.  
  518.  
  519. gun.Parent=nil
  520.  
  521.  
  522.  
  523.  
  524.  
  525. local gprt1=part(3,gun,0,0,BrickColor.new("Magenta"),"Part1",vt(1,1,1))
  526.  
  527.  
  528. local gprt2=part(3,gun,0,0,BrickColor.new("Plum"),"Part2",vt(1,1,1))
  529.  
  530.  
  531. local gprt3=part(3,gun,0,0,BrickColor.new("Plum"),"Part3",vt(1,1,1))
  532.  
  533.  
  534. local gprt4=part(3,gun,0,0,BrickColor.new("Plum"),"Part4",vt(1,1,1))
  535.  
  536.  
  537. local gprt5=part(3,gun,0,0,BrickColor.new("Plum"),"Part5",vt(1,1,1))
  538.  
  539.  
  540. local gprt6=part(3,gun,0,0,BrickColor.new("Magenta"),"Part6",vt(1,1,1))
  541.  
  542.  
  543. local gprt7=part(3,gun,0,0,BrickColor.new("Plum"),"Part7",vt(1,1,1))
  544.  
  545.  
  546. local gprt8=part(3,gun,0,0,BrickColor.new("Plum"),"Part8",vt(1,1,1))
  547.  
  548.  
  549. local gprt9=part(3,gun,0,0,BrickColor.new("Magenta"),"Part9",vt(1,1,1))
  550.  
  551.  
  552. local gprt10=part(3,gun,0,0,BrickColor.new("Plum"),"Part10",vt(1,1,1))
  553.  
  554.  
  555. local gprt11=part(3,gun,0,0,BrickColor.new("Plum"),"Part11",vt(1,1,1))
  556.  
  557.  
  558. local gprt12=part(3,gun,0,0,BrickColor.new("Plum"),"Part12",vt(1,1,1))
  559.  
  560.  
  561. local gprt13=part(3,gun,0,0,BrickColor.new("Plum"),"Part13",vt(1,1,1))
  562.  
  563.  
  564. local gprt14=part(3,gun,0,0,BrickColor.new("Plum"),"Part14",vt(1,1,1))
  565.  
  566.  
  567. local gprt15=part(3,gun,0,0,BrickColor.new("Magenta"),"Part15",vt(1,1,1))
  568.  
  569.  
  570. local gprt16=part(3,gun,0,0,BrickColor.new("Magenta"),"Part16",vt(1,1,1))
  571.  
  572.  
  573. local gprt17=part(3,gun,0,0,BrickColor.new("Magenta"),"Part17",vt(1,1,1))
  574.  
  575.  
  576. local gprt18=part(3,gun,0,0,BrickColor.new("Plum"),"Part18",vt(1,1,1))
  577.  
  578.  
  579. local gprt19=part(3,gun,0,0,BrickColor.new("Magenta"),"Part19",vt(1,1,1))
  580.  
  581.  
  582. local gprt20=part(3,gun,0,0,BrickColor.new("Plum"),"Part20",vt(1,1,1))
  583.  
  584.  
  585. local gprt21=part(3,gun,0,0,BrickColor.new("Plum"),"Part21",vt(1,1,1))
  586.  
  587.  
  588. local gprt22=part(3,gun,0,0,BrickColor.new("Plum"),"Part22",vt(1,1,1))
  589.  
  590.  
  591.  
  592.  
  593.  
  594. gmsh1=mesh("BlockMesh",gprt1,"","",vt(0,0,0),vt(0.2,0.7,0.2))
  595.  
  596.  
  597. gmsh2=mesh("BlockMesh",gprt2,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  598.  
  599.  
  600. gmsh3=mesh("BlockMesh",gprt3,"","",vt(0,0,0),vt(0.25,0.2,0.25))
  601.  
  602.  
  603. gmsh4=mesh("BlockMesh",gprt4,"","",vt(0,0,0),vt(0.5,0.5,0.7))
  604.  
  605.  
  606. gmsh5=mesh("CylinderMesh",gprt5,"","",vt(0,0,0),vt(0.5,0.49,0.5))
  607.  
  608.  
  609. gmsh6=mesh("CylinderMesh",gprt6,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  610.  
  611.  
  612. gmsh7=mesh("BlockMesh",gprt7,"","",vt(0,0,0),vt(0.55,0.3,0.3))
  613.  
  614.  
  615. gmsh8=mesh("CylinderMesh",gprt8,"","",vt(0,0,0),vt(0.7,0.7,0.7))
  616.  
  617.  
  618. gmsh9=mesh("CylinderMesh",gprt9,"","",vt(0,0,0),vt(0.4,0.71,0.4))
  619.  
  620.  
  621. gmsh10=mesh("BlockMesh",gprt10,"","",vt(0,0,0),vt(0.3,0.4,0.3))
  622.  
  623.  
  624. gmsh11=mesh("BlockMesh",gprt11,"","",vt(0,0,0),vt(0.2,2.5,0.5))
  625.  
  626.  
  627. gmsh12=mesh("CylinderMesh",gprt12,"","",vt(0,0,0),vt(0.3,0.51,0.3))
  628.  
  629.  
  630. gmsh13=mesh("BlockMesh",gprt13,"","",vt(0,0,0),vt(0.2,0.3,0.5))
  631.  
  632.  
  633. gmsh14=mesh("CylinderMesh",gprt14,"","",vt(0,0,0),vt(0.3,0.2,0.3))
  634.  
  635.  
  636. gmsh15=mesh("CylinderMesh",gprt15,"","",vt(0,0,0),vt(0.2,0.35,0.2))
  637.  
  638.  
  639. gmsh16=mesh("CylinderMesh",gprt16,"","",vt(0,0,0),vt(0.2,0.21,0.2))
  640.  
  641.  
  642. gmsh17=mesh("CylinderMesh",gprt17,"","",vt(0,0,0),vt(0.15,0.22,0.15))
  643.  
  644.  
  645. gmsh18=mesh("CylinderMesh",gprt18,"","",vt(0,0,0),vt(0.6,0.2,0.6))
  646.  
  647.  
  648. gmsh19=mesh("CylinderMesh",gprt19,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  649.  
  650.  
  651. gmsh20=mesh("CylinderMesh",gprt20,"","",vt(0,0,0),vt(0.6,1.5,0.6))
  652.  
  653.  
  654. gmsh21=mesh("CylinderMesh",gprt21,"","",vt(0,0,0),vt(0.69,0.5,0.69))
  655.  
  656.  
  657. gmsh22=mesh("CylinderMesh",gprt22,"","",vt(0,0,0),vt(0.69,0.31,0.69))
  658.  
  659.  
  660.  
  661.  
  662.  
  663. local GunWelds={}
  664.  
  665.  
  666. local gwld1=weld(gprt1,gprt1,Torso,euler(0.5,1.57,0)*cf(1,-0.5,1.8))
  667.  
  668.  
  669. local gwld2=weld(gprt2,gprt2,gprt1,euler(0,0,0)*cf(0,0.3,0))
  670.  
  671.  
  672. local gwld3=weld(gprt3,gprt3,gprt1,euler(0,0,0)*cf(0,-0.3,0))
  673.  
  674.  
  675. local gwld4=weld(gprt4,gprt4,gprt3,euler(-0.5,0,0)*cf(0,-0.1,-0.1))
  676.  
  677.  
  678. local gwld5=weld(gprt5,gprt5,gprt4,euler(0,0,1.57)*cf(0,0,-0.35))
  679.  
  680.  
  681. local gwld6=weld(gprt6,gprt6,gprt5,cf(0,0,-0.1))
  682.  
  683.  
  684. local gwld7=weld(gprt7,gprt7,gprt4,cf(0,0,-0.1))
  685.  
  686.  
  687. local gwld8=weld(gprt8,gprt8,gprt4,euler(0,0,1.57)*cf(0,0,0.4))
  688.  
  689.  
  690. local gwld9=weld(gprt9,gprt9,gprt8,cf(0,0,0))
  691.  
  692.  
  693. local gwld10=weld(gprt10,gprt10,gprt8,euler(1.57,0,0)*cf(0,0,0.4)*euler(0,0.7,0))
  694.  
  695.  
  696. local gwld11=weld(gprt11,gprt11,gprt8,euler(1.57,0,0)*cf(0.3,0,0.9))
  697.  
  698.  
  699. local gwld12=weld(gprt12,gprt12,gprt11,euler(-1.57,0,0)*cf(0,-1.3,0))
  700.  
  701.  
  702. local gwld13=weld(gprt13,gprt13,gprt12,cf(0,0,0.3)*euler(0,1.57,0))
  703.  
  704.  
  705. local gwld14=weld(gprt14,gprt14,gprt13,cf(0.05,0,0.25))
  706.  
  707.  
  708. local gwld15=weld(gprt15,gprt15,gprt14,cf(0,0,0))
  709.  
  710.  
  711. local gwld16=weld(gprt16,gprt16,gprt13,euler(0,0,1.57)*cf(0,0,-0.1))
  712.  
  713.  
  714. local gwld17=weld(gprt17,gprt17,gprt16,cf(0,0,0))
  715.  
  716.  
  717. local gwld18=weld(gprt18,gprt18,gprt8,euler(1.57,0,0)*cf(-0.1,0,0.4))
  718.  
  719.  
  720. local gwld19=weld(gprt19,gprt19,gprt18,cf(-0.05,-0.15,0))
  721.  
  722.  
  723. local gwld20=weld(gprt20,gprt20,gprt19,cf(0,-0.8,0))
  724.  
  725.  
  726. local gwld21=weld(gprt21,gprt21,gprt20,cf(0,0.5,0))
  727.  
  728.  
  729. local gwld22=weld(gprt22,gprt22,gprt20,cf(0,-0.6,0))
  730.  
  731.  
  732. table.insert(GunWelds,gwld1)
  733.  
  734.  
  735. table.insert(GunWelds,gwld2)
  736.  
  737.  
  738. table.insert(GunWelds,gwld3)
  739.  
  740.  
  741. table.insert(GunWelds,gwld4)
  742.  
  743.  
  744. table.insert(GunWelds,gwld5)
  745.  
  746.  
  747. table.insert(GunWelds,gwld6)
  748.  
  749.  
  750. table.insert(GunWelds,gwld7)
  751.  
  752.  
  753. table.insert(GunWelds,gwld8)
  754.  
  755.  
  756. table.insert(GunWelds,gwld9)
  757.  
  758.  
  759. table.insert(GunWelds,gwld10)
  760.  
  761.  
  762. table.insert(GunWelds,gwld11)
  763.  
  764.  
  765. table.insert(GunWelds,gwld12)
  766.  
  767.  
  768. table.insert(GunWelds,gwld13)
  769.  
  770.  
  771. table.insert(GunWelds,gwld14)
  772.  
  773.  
  774. table.insert(GunWelds,gwld15)
  775.  
  776.  
  777. table.insert(GunWelds,gwld16)
  778.  
  779.  
  780. table.insert(GunWelds,gwld17)
  781.  
  782.  
  783. table.insert(GunWelds,gwld18)
  784.  
  785.  
  786. table.insert(GunWelds,gwld19)
  787.  
  788.  
  789. table.insert(GunWelds,gwld20)
  790.  
  791.  
  792. table.insert(GunWelds,gwld21)
  793.  
  794.  
  795. table.insert(GunWelds,gwld22)
  796.  
  797.  
  798.  
  799.  
  800.  
  801. numb=1.57
  802.  
  803.  
  804. for i=1,10 do
  805.  
  806.  
  807. local gprt23=part(3,gun,0,0,BrickColor.new("Plum"),"Part23",vt(1,1,1))
  808.  
  809.  
  810. gmsh23=mesh("CylinderMesh",gprt23,"","",vt(0,0,0),vt(0.15,0.7,0.15))
  811.  
  812.  
  813. local gwld23=weld(gprt23,gprt23,gprt20,cf(0,-0.1,-0.25)*euler(0,numb,0))
  814.  
  815.  
  816. table.insert(GunWelds,gwld23)
  817.  
  818.  
  819. local gprt24=part(3,gun,0,0,BrickColor.new("Magenta"),"Part24",vt(1,1,1))
  820.  
  821.  
  822. gmsh24=mesh("CylinderMesh",gprt24,"","",vt(0,0,0),vt(0.14,1.52,0.14))
  823.  
  824.  
  825. local gwld24=weld(gprt24,gprt24,gprt20,cf(0,0,-0.25)*euler(0,numb,0))
  826.  
  827.  
  828. table.insert(GunWelds,gwld24)
  829.  
  830.  
  831. numb=numb+0.628
  832.  
  833.  
  834. end
  835.  
  836.  
  837.  
  838.  
  839.  
  840. local sword=Instance.new("Model")
  841.  
  842.  
  843. sword.Parent=modelzorz
  844.  
  845.  
  846. sword.Name="Daku"
  847.  
  848.  
  849. sword.Parent=nil
  850.  
  851.  
  852.  
  853.  
  854.  
  855. local sprt1=part(3,sword,0,0,BrickColor.new("Magenta"),"Part1",vt(1,1,1))
  856.  
  857.  
  858. local sprt2=part(3,sword,0,0,BrickColor.new("Plum"),"Part2",vt(1,1,1))
  859.  
  860.  
  861. local sprt3=part(3,sword,0,0,BrickColor.new("Magenta"),"Part3",vt(1,1,1))
  862.  
  863.  
  864. local sprt4=part(3,sword,0,0,BrickColor.new("Plum"),"Part4",vt(1,1,1))
  865.  
  866.  
  867. local sprt5=part(3,sword,0,0,BrickColor.new("Plum"),"Part5",vt(1,1,1))
  868.  
  869.  
  870. local sprt6=part(3,sword,0,0,BrickColor.new("Plum"),"Part6",vt(1,1,1))
  871.  
  872.  
  873. local sprt7=part(3,sword,0,0,BrickColor.new("Plum"),"Part7",vt(1,1,1))
  874.  
  875.  
  876. local sprt8=part(3,sword,0,0,BrickColor.new("Plum"),"Part8",vt(1,1,1))
  877.  
  878.  
  879. local sprt9=part(3,sword,0,0,BrickColor.new("Plum"),"Part9",vt(1,1,1))
  880.  
  881.  
  882. local sprt10=part(3,sword,0,0,BrickColor.new("Magenta"),"Part10",vt(1,1,1))
  883.  
  884.  
  885. local sprt11=part(3,sword,0,0,BrickColor.new("Plum"),"Part11",vt(1,1,1))
  886.  
  887.  
  888. local sprt12=part(3,sword,0,0,BrickColor.new("Plum"),"Part12",vt(1,1,1))
  889.  
  890.  
  891. local sprt13=part(3,sword,0,0,BrickColor.new("Plum"),"Part13",vt(1,1,1))
  892.  
  893.  
  894. local sprt14=part(3,sword,0,0,BrickColor.new("Plum"),"Part14",vt(1,1,1))
  895.  
  896.  
  897. local sprt15=part(3,sword,0,0,BrickColor.new("Plum"),"Part15",vt(1,1,1))
  898.  
  899.  
  900. local sprt16=part(3,sword,0,1,BrickColor.new("Plum"),"Hitbox",vt(1,7,1.5))
  901.  
  902.  
  903. local sprt17=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Top",vt(1,1,1))
  904.  
  905.  
  906. local sprt18=part(3,sword,0,1,BrickColor.new("Plum"),"Mid",vt(0.1,0.1,0.1))
  907.  
  908.  
  909. local sprt19=part(3,sword,0,0,BrickColor.new("Bright yellow"),"Bottom",vt(1,1,1))
  910.  
  911.  
  912.  
  913.  
  914.  
  915. smsh1=mesh("BlockMesh",sprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  916.  
  917.  
  918. smsh2=mesh("SpecialMesh",sprt2,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  919.  
  920.  
  921. smsh3=mesh("BlockMesh",sprt3,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  922.  
  923.  
  924. smsh4=mesh("SpecialMesh",sprt4,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  925.  
  926.  
  927. smsh5=mesh("CylinderMesh",sprt5,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  928.  
  929.  
  930. smsh6=mesh("BlockMesh",sprt6,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  931.  
  932.  
  933. smsh7=mesh("BlockMesh",sprt7,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  934.  
  935.  
  936. smsh8=mesh("BlockMesh",sprt8,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  937.  
  938.  
  939. smsh9=mesh("SpecialMesh",sprt9,"Head","",vt(0,0,0),vt(0.4,0.3,0.4))
  940.  
  941.  
  942. smsh10=mesh("BlockMesh",sprt10,"","",vt(0,0,0),vt(0.25,0.5,0.25))
  943.  
  944.  
  945. smsh11=mesh("SpecialMesh",sprt11,"Head","",vt(0,0,0),vt(0.5,0.3,0.5))
  946.  
  947.  
  948. smsh12=mesh("CylinderMesh",sprt12,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  949.  
  950.  
  951. smsh13=mesh("BlockMesh",sprt13,"","",vt(0,0,0),vt(0.5,0.2,0.35))
  952.  
  953.  
  954. smsh14=mesh("BlockMesh",sprt14,"","",vt(0,0,0),vt(0.2,0.19,0.2))
  955.  
  956.  
  957. smsh15=mesh("BlockMesh",sprt15,"","",vt(0,0,0),vt(0.8,0.15,0.5))
  958.  
  959.  
  960. smsh17=mesh("CylinderMesh",sprt17,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  961.  
  962.  
  963. smsh19=mesh("CylinderMesh",sprt19,"","",vt(0,0,0),vt(0.1,0.05,0.1))
  964.  
  965.  
  966.  
  967.  
  968.  
  969. local SwordWelds={}
  970.  
  971.  
  972. local swld1=weld(sprt1,sprt1,Torso,euler(0,0,1.57)*cf(0,-4,0))
  973.  
  974.  
  975. local swld2=weld(sprt2,sprt2,sprt1,euler(0,0,0)*cf(0,-0.4,0))
  976.  
  977.  
  978. local swld3=weld(sprt3,sprt3,sprt2,euler(0,0,0)*cf(0,-0.3,0))
  979.  
  980.  
  981. local swld4=weld(sprt4,sprt4,sprt3,euler(0,0,0)*cf(0,-0.3,0))
  982.  
  983.  
  984. local swld5=weld(sprt5,sprt5,sprt4,euler(0,0,0)*cf(0,-0.15,0))
  985.  
  986.  
  987. local swld6=weld(sprt6,sprt6,sprt5,euler(0,0,1.57)*cf(0,-0.2,0))
  988.  
  989.  
  990. local swld7=weld(sprt7,sprt7,sprt6,euler(0,0.785,0)*cf(0,0,-0.17))
  991.  
  992.  
  993. local swld8=weld(sprt8,sprt8,sprt5,euler(0,0,1.57)*cf(0,-0.4,0))
  994.  
  995.  
  996. local swld9=weld(sprt9,sprt9,sprt1,euler(3.14,3.14,0)*cf(0,0.4,0))
  997.  
  998.  
  999. local swld10=weld(sprt10,sprt10,sprt9,euler(0,0,0)*cf(0,-0.3,0))
  1000.  
  1001.  
  1002. local swld11=weld(sprt11,sprt11,sprt10,euler(0,0,0)*cf(0,-0.3,0))
  1003.  
  1004.  
  1005. local swld12=weld(sprt12,sprt12,sprt11,euler(0,0,0)*cf(0,-0.15,0))
  1006.  
  1007.  
  1008. local swld13=weld(sprt13,sprt13,sprt12,euler(0,0,1.57)*cf(0,-0.2,0))
  1009.  
  1010.  
  1011. local swld14=weld(sprt14,sprt14,sprt13,euler(0,0.785,0)*cf(0,0,-0.17))
  1012.  
  1013.  
  1014. local swld15=weld(sprt15,sprt15,sprt12,euler(0,0,1.57)*cf(0,-0.4,0))
  1015.  
  1016.  
  1017. local swld16=weld(sprt16,sprt16,sprt1,cf(0,0,-0.3))
  1018.  
  1019.  
  1020. local swld17=weld(sprt17,sprt17,sprt1,euler(0.55,0,0)*cf(0,3.7,-0.79))
  1021.  
  1022.  
  1023. local swld18=weld(sprt18,sprt18,sprt1,cf(0,0,-0.8))
  1024.  
  1025.  
  1026. local swld19=weld(sprt19,sprt19,sprt1,euler(-0.55,0,0)*cf(0,-3.7,-0.79))
  1027.  
  1028.  
  1029. table.insert(SwordWelds,swld1)
  1030.  
  1031.  
  1032. table.insert(SwordWelds,swld2)
  1033.  
  1034.  
  1035. table.insert(SwordWelds,swld3)
  1036.  
  1037.  
  1038. table.insert(SwordWelds,swld4)
  1039.  
  1040.  
  1041. table.insert(SwordWelds,swld5)
  1042.  
  1043.  
  1044. table.insert(SwordWelds,swld6)
  1045.  
  1046.  
  1047. table.insert(SwordWelds,swld7)
  1048.  
  1049.  
  1050. table.insert(SwordWelds,swld8)
  1051.  
  1052.  
  1053. table.insert(SwordWelds,swld9)
  1054.  
  1055.  
  1056. table.insert(SwordWelds,swld10)
  1057.  
  1058.  
  1059. table.insert(SwordWelds,swld11)
  1060.  
  1061.  
  1062. table.insert(SwordWelds,swld12)
  1063.  
  1064.  
  1065. table.insert(SwordWelds,swld13)
  1066.  
  1067.  
  1068. table.insert(SwordWelds,swld14)
  1069.  
  1070.  
  1071. table.insert(SwordWelds,swld15)
  1072.  
  1073.  
  1074. table.insert(SwordWelds,swld16)
  1075.  
  1076.  
  1077. table.insert(SwordWelds,swld17)
  1078.  
  1079.  
  1080. table.insert(SwordWelds,swld18)
  1081.  
  1082.  
  1083. table.insert(SwordWelds,swld19)
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089. numb=0
  1090.  
  1091.  
  1092. numb2=0
  1093.  
  1094.  
  1095. bend=0
  1096.  
  1097.  
  1098. for i=1,8 do
  1099.  
  1100.  
  1101. local sprtblade1=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade1",vt(1,1,1))
  1102.  
  1103.  
  1104. smshblade1=mesh("SpecialMesh",sprtblade1,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  1105.  
  1106.  
  1107. local swldblade1=weld(sprtblade1,sprtblade1,sprt5,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  1108.  
  1109.  
  1110. table.insert(SwordWelds,swldblade1)
  1111.  
  1112.  
  1113. local sprtblade2=part(3,sword,0.3,0,BrickColor.new("White"),"Partblade2",vt(1,1,1))
  1114.  
  1115.  
  1116. smshblade2=mesh("SpecialMesh",sprtblade2,"Wedge","",vt(0,0,0),vt(0.1+numb2,0.7,0.7))
  1117.  
  1118.  
  1119. local swldblade2=weld(sprtblade2,sprtblade2,sprt12,euler(0,0,0)*cf(0,-0.3-numb,0.1+bend)*euler(-bend,0,0))
  1120.  
  1121.  
  1122. table.insert(SwordWelds,swldblade2)
  1123.  
  1124.  
  1125. numb=numb+0.3
  1126.  
  1127.  
  1128. numb2=numb2-0.01
  1129.  
  1130.  
  1131. bend=bend+0.05
  1132.  
  1133.  
  1134. end
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140. local sniper=Instance.new("Model")
  1141.  
  1142.  
  1143. sniper.Parent=modelzorz
  1144.  
  1145.  
  1146. sniper.Name="Hand Sniper"
  1147.  
  1148.  
  1149. sniper.Parent=nil
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155. local snprt1=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part1",vt(1,1,1))
  1156.  
  1157.  
  1158. local snprt2=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part2",vt(1,1,1))
  1159.  
  1160.  
  1161. local snprt3=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part3",vt(1,1,1))
  1162.  
  1163.  
  1164. local snprt4=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part4",vt(1,1,1))
  1165.  
  1166.  
  1167. local snprt5=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part5",vt(1,1,1))
  1168.  
  1169.  
  1170. local snprt6=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part6",vt(1,1,1))
  1171.  
  1172.  
  1173. local snprt7=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part7",vt(1,1,1))
  1174.  
  1175.  
  1176. local snprt8=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part8",vt(1,1,1))
  1177.  
  1178.  
  1179. local snprt9=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part9",vt(1,1,1))
  1180.  
  1181.  
  1182. local snprt10=part(3,sniper,0,0,BrickColor.new("Plum"),"Part10",vt(1,1,1))
  1183.  
  1184.  
  1185. local snprt11=part(3,sniper,0,0,BrickColor.new("Plum"),"Part11",vt(1,1,1))
  1186.  
  1187.  
  1188. local snprt12=part(3,sniper,0,0,BrickColor.new("Plum"),"Part12",vt(1,1,1))
  1189.  
  1190.  
  1191. local snprt13=part(3,sniper,0,0,BrickColor.new("Plum"),"Part13",vt(1,1,1))
  1192.  
  1193.  
  1194. local snprt14=part(3,sniper,0,0,BrickColor.new("Plum"),"Part14",vt(1,1,1))
  1195.  
  1196.  
  1197. local snprt15=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part15",vt(1,1,1))
  1198.  
  1199.  
  1200. local snprt16=part(3,sniper,0,0,BrickColor.new("Plum"),"Part16",vt(1,1,1))
  1201.  
  1202.  
  1203. local snprt17=part(3,sniper,0,0,BrickColor.new("Plum"),"Part17",vt(1,1,1))
  1204.  
  1205.  
  1206. local snprt18=part(3,sniper,0,0,BrickColor.new("Plum"),"Part18",vt(1,1,1))
  1207.  
  1208.  
  1209. local snprt19=part(3,sniper,0,0,BrickColor.new("Plum"),"Part19",vt(1,1,1))
  1210.  
  1211.  
  1212. local snprt20=part(3,sniper,0,0,BrickColor.new("Plum"),"Part20",vt(1,1,1))
  1213.  
  1214.  
  1215. local snprt21=part(3,sniper,0,0,BrickColor.new("Plum"),"Part21",vt(1,1,1))
  1216.  
  1217.  
  1218. local snprt22=part(3,sniper,0,0,BrickColor.new("Plum"),"Part22",vt(1,1,1))
  1219.  
  1220.  
  1221. local snprt23=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part23",vt(1,1,1))
  1222.  
  1223.  
  1224. local snprt24=part(3,sniper,0,0,BrickColor.new("Plum"),"Part24",vt(1,1,1))
  1225.  
  1226.  
  1227. local snprt25=part(3,sniper,0,0,BrickColor.new("Plum"),"Part25",vt(1,1,1))
  1228.  
  1229.  
  1230. local snprt26=part(3,sniper,0,0,BrickColor.new("Plum"),"Part26",vt(1,1,1))
  1231.  
  1232.  
  1233. local snprt27=part(3,sniper,0,0,BrickColor.new("Magenta"),"Part27",vt(1,1,1))
  1234.  
  1235.  
  1236. local snprt28=part(3,sniper,0,0,BrickColor.new("Plum"),"Part28",vt(1,1,1))
  1237.  
  1238.  
  1239. local snprt29=part(3,sniper,0,0,BrickColor.new("Plum"),"Part29",vt(1,1,1))
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245. snmsh1=mesh("BlockMesh",snprt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  1246.  
  1247.  
  1248. snmsh2=mesh("BlockMesh",snprt2,"","",vt(0,0,0),vt(0.201,0.5,0.5))
  1249.  
  1250.  
  1251. snmsh3=mesh("BlockMesh",snprt3,"","",vt(0,0,0),vt(0.2,0.3,0.3))
  1252.  
  1253.  
  1254. snmsh4=mesh("BlockMesh",snprt4,"","",vt(0,0,0),vt(0.199,0.6,0.7))
  1255.  
  1256.  
  1257. snmsh5=mesh("BlockMesh",snprt5,"","",vt(0,0,0),vt(0.198,0.9,0.3))
  1258.  
  1259.  
  1260. snmsh6=mesh("BlockMesh",snprt6,"","",vt(0,0,0),vt(0.202,3.5,0.3))
  1261.  
  1262.  
  1263. snmsh7=mesh("BlockMesh",snprt7,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  1264.  
  1265.  
  1266. snmsh8=mesh("BlockMesh",snprt8,"","",vt(0,0,0),vt(0.1,0.6,0.1))
  1267.  
  1268.  
  1269. snmsh9=mesh("BlockMesh",snprt9,"","",vt(0,0,0),vt(0.201,1.7,0.2))
  1270.  
  1271.  
  1272. snmsh10=mesh("BlockMesh",snprt10,"","",vt(0,0,0),vt(0.15,0.4,0.4))
  1273.  
  1274.  
  1275. snmsh11=mesh("BlockMesh",snprt11,"","",vt(0,0,0),vt(0.201,0.8,0.2))
  1276.  
  1277.  
  1278. snmsh12=mesh("CylinderMesh",snprt12,"","",vt(0,0,0),vt(0.2,4,0.2))
  1279.  
  1280.  
  1281. snmsh13=mesh("CylinderMesh",snprt13,"","",vt(0,0,0),vt(0.4,0.2,0.4))
  1282.  
  1283.  
  1284. snmsh14=mesh("CylinderMesh",snprt14,"","",vt(0,0,0),vt(0.22,0.3,0.22))
  1285.  
  1286.  
  1287. snmsh15=mesh("CylinderMesh",snprt15,"","",vt(0,0,0),vt(0.15,0.301,0.15))
  1288.  
  1289.  
  1290. snmsh16=mesh("BlockMesh",snprt16,"","",vt(0,0,0),vt(0.1,0.7,0.1))
  1291.  
  1292.  
  1293. snmsh17=mesh("BlockMesh",snprt17,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  1294.  
  1295.  
  1296. snmsh18=mesh("BlockMesh",snprt18,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  1297.  
  1298.  
  1299. snmsh19=mesh("BlockMesh",snprt19,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  1300.  
  1301.  
  1302. snmsh20=mesh("BlockMesh",snprt20,"","",vt(0,0,0),vt(0.05,0.2,0.1))
  1303.  
  1304.  
  1305. snmsh21=mesh("CylinderMesh",snprt21,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  1306.  
  1307.  
  1308. snmsh22=mesh("CylinderMesh",snprt22,"","",vt(0,0,0),vt(0.2,0.099,0.2))
  1309.  
  1310.  
  1311. snmsh23=mesh("CylinderMesh",snprt23,"","",vt(0,0,0),vt(0.199,1,0.199))
  1312.  
  1313.  
  1314. snmsh24=mesh("CylinderMesh",snprt24,"","",vt(0,0,0),vt(0.15,1.01,0.15))
  1315.  
  1316.  
  1317. snmsh25=mesh("BlockMesh",snprt25,"","",vt(0,0,0),vt(0.3,0.5,0.2))
  1318.  
  1319.  
  1320. snmsh26=mesh("CylinderMesh",snprt26,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  1321.  
  1322.  
  1323. snmsh27=mesh("SpecialMesh",snprt27,"Sphere","",vt(0,0,0),vt(0.1,0.1,0.1))
  1324.  
  1325.  
  1326. snmsh28=mesh("BlockMesh",snprt28,"","",vt(0,0,0),vt(0.05,0.3,0.05))
  1327.  
  1328.  
  1329. snmsh29=mesh("CylinderMesh",snprt29,"","",vt(0,0,0),vt(0.15,0.4,0.15))
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335. local SniperWelds={}
  1336.  
  1337.  
  1338. local snwld1=weld(snprt1,snprt1,Torso,euler(0.5,0,0)*cf(0,-4,0))
  1339.  
  1340.  
  1341. local snwld2=weld(snprt2,snprt2,snprt1,euler(-0.5,0,0)*cf(0,0.5,-0.2))
  1342.  
  1343.  
  1344. local snwld3=weld(snprt3,snprt3,snprt2,euler(-0.785,0,0)*cf(0,-0.1,-0.2))
  1345.  
  1346.  
  1347. local snwld4=weld(snprt4,snprt4,snprt3,euler(0.785,0,0)*cf(0,-0.4,0))
  1348.  
  1349.  
  1350. local snwld5=weld(snprt5,snprt5,snprt4,cf(0,0,-0.3))
  1351.  
  1352.  
  1353. local snwld6=weld(snprt6,snprt6,snprt1,euler(1.07,0,0)*cf(0,-0.5,0.2))
  1354.  
  1355.  
  1356. local snwld7=weld(snprt7,snprt7,snprt6,euler(0,0,0)*cf(0,0.2,0.5))
  1357.  
  1358.  
  1359. local snwld8=weld(snprt8,snprt8,snprt6,euler(1.57,0,0)*cf(0,-0.1,0.25))
  1360.  
  1361.  
  1362. local snwld9=weld(snprt9,snprt9,snprt6,euler(0,0,0)*cf(0,-0.9,0.25))
  1363.  
  1364.  
  1365. local snwld10=weld(snprt10,snprt10,snprt9,euler(0,0,0)*cf(0,0.5,0.2))
  1366.  
  1367.  
  1368. local snwld11=weld(snprt11,snprt11,snprt6,euler(0,0,0)*cf(0,0.2,-0.2))
  1369.  
  1370.  
  1371. local snwld12=weld(snprt12,snprt12,snprt11,euler(0,0,0)*cf(0,-2,0))
  1372.  
  1373.  
  1374. local snwld13=weld(snprt13,snprt13,snprt12,euler(0,0,0)*cf(0,-1.8,0))
  1375.  
  1376.  
  1377. local snwld14=weld(snprt14,snprt14,snprt12,euler(0,0,0)*cf(0,-2,0))
  1378.  
  1379.  
  1380. local snwld15=weld(snprt15,snprt15,snprt14,euler(0,0,0)*cf(0,0,0))
  1381.  
  1382.  
  1383. local snwld16=weld(snprt16,snprt16,snprt11,euler(0,0,0)*cf(0,0,-0.1))
  1384.  
  1385.  
  1386. local snwld17=weld(snprt17,snprt17,snprt16,euler(1.57,0,0)*cf(0.05,0.2,-0.1))
  1387.  
  1388.  
  1389. local snwld18=weld(snprt18,snprt18,snprt16,euler(1.57,0,0)*cf(-0.05,0.2,-0.1))
  1390.  
  1391.  
  1392. local snwld19=weld(snprt19,snprt19,snprt16,euler(1.57,0,0)*cf(-0.05,-0.2,-0.1))
  1393.  
  1394.  
  1395. local snwld20=weld(snprt20,snprt20,snprt16,euler(1.57,0,0)*cf(0.05,-0.2,-0.1))
  1396.  
  1397.  
  1398. local snwld21=weld(snprt21,snprt21,snprt16,euler(0,0,0)*cf(0,0.2,-0.2))
  1399.  
  1400.  
  1401. local snwld22=weld(snprt22,snprt22,snprt16,euler(0,0,0)*cf(0,-0.2,-0.2))
  1402.  
  1403.  
  1404. local snwld23=weld(snprt23,snprt23,snprt16,euler(0,0,0)*cf(0,0,-0.2))
  1405.  
  1406.  
  1407. local snwld24=weld(snprt24,snprt24,snprt23,euler(0,0,0)*cf(0,0,0))
  1408.  
  1409.  
  1410. local snwld25=weld(snprt25,snprt25,snprt6,euler(0,0,0)*cf(0,-0.5,0))
  1411.  
  1412.  
  1413. local snwld26=weld(snprt26,snprt26,snprt25,cf(0,-0.3,0)*euler(0.5,0.7,1.57))
  1414.  
  1415.  
  1416. local snwld27=weld(snprt27,snprt27,snprt26,cf(0,-0.1,0))
  1417.  
  1418.  
  1419. local snwld28=weld(snprt28,snprt28,snprt6,euler(1.57-0.5,0,0)*cf(0,0.2,0.2))
  1420.  
  1421.  
  1422. local snwld29=weld(snprt29,snprt29,snprt9,euler(0,0.2,1.57)*cf(0,-0.8,0.1))
  1423.  
  1424.  
  1425. table.insert(SniperWelds,snwld1)
  1426.  
  1427.  
  1428. table.insert(SniperWelds,snwld2)
  1429.  
  1430.  
  1431. table.insert(SniperWelds,snwld3)
  1432.  
  1433.  
  1434. table.insert(SniperWelds,snwld4)
  1435.  
  1436.  
  1437. table.insert(SniperWelds,snwld5)
  1438.  
  1439.  
  1440. table.insert(SniperWelds,snwld6)
  1441.  
  1442.  
  1443. table.insert(SniperWelds,snwld7)
  1444.  
  1445.  
  1446. table.insert(SniperWelds,snwld8)
  1447.  
  1448.  
  1449. table.insert(SniperWelds,snwld9)
  1450.  
  1451.  
  1452. table.insert(SniperWelds,snwld10)
  1453.  
  1454.  
  1455. table.insert(SniperWelds,snwld11)
  1456.  
  1457.  
  1458. table.insert(SniperWelds,snwld12)
  1459.  
  1460.  
  1461. table.insert(SniperWelds,snwld13)
  1462.  
  1463.  
  1464. table.insert(SniperWelds,snwld14)
  1465.  
  1466.  
  1467. table.insert(SniperWelds,snwld15)
  1468.  
  1469.  
  1470. table.insert(SniperWelds,snwld16)
  1471.  
  1472.  
  1473. table.insert(SniperWelds,snwld17)
  1474.  
  1475.  
  1476. table.insert(SniperWelds,snwld18)
  1477.  
  1478.  
  1479. table.insert(SniperWelds,snwld19)
  1480.  
  1481.  
  1482. table.insert(SniperWelds,snwld20)
  1483.  
  1484.  
  1485. table.insert(SniperWelds,snwld21)
  1486.  
  1487.  
  1488. table.insert(SniperWelds,snwld22)
  1489.  
  1490.  
  1491. table.insert(SniperWelds,snwld23)
  1492.  
  1493.  
  1494. table.insert(SniperWelds,snwld24)
  1495.  
  1496.  
  1497. table.insert(SniperWelds,snwld25)
  1498.  
  1499.  
  1500. table.insert(SniperWelds,snwld26)
  1501.  
  1502.  
  1503. table.insert(SniperWelds,snwld27)
  1504.  
  1505.  
  1506. table.insert(SniperWelds,snwld28)
  1507.  
  1508.  
  1509. table.insert(SniperWelds,snwld29)
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515. numb=-0.15
  1516.  
  1517.  
  1518. numb2=0.1
  1519.  
  1520.  
  1521. for i=1,2 do
  1522.  
  1523.  
  1524. local snprt30=part(3,sniper,0,0,BrickColor.new("Plum"),"Part30",vt(1,1,1))
  1525.  
  1526.  
  1527. local snprt31=part(3,sniper,0,0,BrickColor.new("Plum"),"Part31",vt(1,1,1))
  1528.  
  1529.  
  1530. local snprt32=part(3,sniper,0,0,BrickColor.new("Plum"),"Part32",vt(1,1,1))
  1531.  
  1532.  
  1533. local snprt33=part(3,sniper,0,0,BrickColor.new("Plum"),"Part33",vt(1,1,1))
  1534.  
  1535.  
  1536. local snprt34=part(3,sniper,0,0,BrickColor.new("Plum"),"Part34",vt(1,1,1))
  1537.  
  1538.  
  1539. local snprt35=part(3,sniper,0,0,BrickColor.new("Plum"),"Part35",vt(1,1,1))
  1540.  
  1541.  
  1542. local snprt36=part(3,sniper,0,0,BrickColor.new("Plum"),"Part36",vt(1,1,1))
  1543.  
  1544.  
  1545. local snprt37=part(3,sniper,0,0,BrickColor.new("Plum"),"Part37",vt(1,1,1))
  1546.  
  1547.  
  1548. snmsh30=mesh("CylinderMesh",snprt30,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  1549.  
  1550.  
  1551. snmsh31=mesh("CylinderMesh",snprt31,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  1552.  
  1553.  
  1554. snmsh32=mesh("CylinderMesh",snprt32,"","",vt(0,0,0),vt(0.15,0.1,0.15))
  1555.  
  1556.  
  1557. snmsh33=mesh("CylinderMesh",snprt33,"","",vt(0,0,0),vt(0.125,0.3,0.125))
  1558.  
  1559.  
  1560. snmsh34=mesh("CylinderMesh",snprt34,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  1561.  
  1562.  
  1563. snmsh35=mesh("CylinderMesh",snprt35,"","",vt(0,0,0),vt(0.08,0.8,0.08))
  1564.  
  1565.  
  1566. snmsh36=mesh("CylinderMesh",snprt36,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  1567.  
  1568.  
  1569. snmsh37=mesh("CylinderMesh",snprt37,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  1570.  
  1571.  
  1572. local snwld30=weld(snprt30,snprt30,snprt29,euler(0,0,0)*cf(0,numb,0))
  1573.  
  1574.  
  1575. local snwld31=weld(snprt31,snprt31,snprt30,euler(0,0,1.57+numb2)*cf(0.25,0,0))
  1576.  
  1577.  
  1578. local snwld32=weld(snprt32,snprt32,snprt31,cf(0,0.25,0))
  1579.  
  1580.  
  1581. local snwld33=weld(snprt33,snprt33,snprt32,cf(0,0.15,0))
  1582.  
  1583.  
  1584. local snwld34=weld(snprt34,snprt34,snprt33,cf(0,0.1,0))
  1585.  
  1586.  
  1587. local snwld35=weld(snprt35,snprt35,snprt34,cf(0,0.4,0))
  1588.  
  1589.  
  1590. local snwld36=weld(snprt36,snprt36,snprt35,cf(0,0.4,0))
  1591.  
  1592.  
  1593. local snwld37=weld(snprt37,snprt37,snprt36,cf(0,0.1,0))
  1594.  
  1595.  
  1596. table.insert(SniperWelds,snwld30)
  1597.  
  1598.  
  1599. table.insert(SniperWelds,snwld31)
  1600.  
  1601.  
  1602. table.insert(SniperWelds,snwld32)
  1603.  
  1604.  
  1605. table.insert(SniperWelds,snwld33)
  1606.  
  1607.  
  1608. table.insert(SniperWelds,snwld34)
  1609.  
  1610.  
  1611. table.insert(SniperWelds,snwld35)
  1612.  
  1613.  
  1614. table.insert(SniperWelds,snwld36)
  1615.  
  1616.  
  1617. table.insert(SniperWelds,snwld37)
  1618.  
  1619.  
  1620. numb=numb+0.3
  1621.  
  1622.  
  1623. numb2=numb2-0.2
  1624.  
  1625.  
  1626. end
  1627.  
  1628.  
  1629. if (script.Parent.className ~= "HopperBin") then
  1630.  
  1631.  
  1632. Tool = Instance.new("HopperBin")
  1633.  
  1634.  
  1635. Tool.Parent = Backpack
  1636.  
  1637.  
  1638. Tool.Name = "Techno Gauntlet"
  1639.  
  1640.  
  1641. script.Parent = Tool
  1642.  
  1643.  
  1644. end
  1645.  
  1646.  
  1647. Bin = script.Parent
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653. local Bg = it("BodyGyro")
  1654.  
  1655.  
  1656. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1657.  
  1658.  
  1659. Bg.P = 20e+003
  1660.  
  1661.  
  1662. Bg.Parent = nil
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668. so = function(id,par,vol,pit)
  1669.  
  1670.  
  1671. coroutine.resume(coroutine.create(function()
  1672.  
  1673.  
  1674. local sou = Instance.new("Sound",par or workspace)
  1675.  
  1676.  
  1677. sou.Volume=vol
  1678.  
  1679.  
  1680. sou.Pitch=pit or 1
  1681.  
  1682.  
  1683. sou.SoundId=id
  1684.  
  1685.  
  1686. wait()
  1687.  
  1688.  
  1689. sou:play()
  1690.  
  1691.  
  1692. wait(6)
  1693.  
  1694.  
  1695. sou:Remove()
  1696.  
  1697.  
  1698. end))
  1699.  
  1700.  
  1701. end
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707. function CreateDrone()
  1708.  
  1709.  
  1710. local drone=Instance.new("Model")
  1711.  
  1712.  
  1713. drone.Parent=modelzorz
  1714.  
  1715.  
  1716. drone.Name="Drone"
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722. local dprt1=part(3,drone,0,1,BrickColor.new("White"),"DPart1",vt(1,1,1))
  1723.  
  1724.  
  1725. dprt1.CanCollide=true
  1726.  
  1727.  
  1728. local dprt6=part(3,drone,0,1,BrickColor.new("Bright red"),"DPart6",vt(1,1,1))
  1729.  
  1730.  
  1731. local dprt7=part(3,drone,0,1,BrickColor.new("Plum"),"DPart7",vt(1,1,1))
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737. local dmsh1=mesh("SpecialMesh",dprt1,"Sphere","",vt(0,0,0),vt(1,1,1))
  1738.  
  1739.  
  1740. local dmsh6=mesh("CylinderMesh",dprt6,"","",vt(0,0,0),vt(0.5,0.2,0.5))
  1741.  
  1742.  
  1743. local dmsh7=mesh("CylinderMesh",dprt7,"","",vt(0,0,0),vt(0.4,0.21,0.4))
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749. --local dwld1=weld(dprt1,dprt1,Torso,euler(0,0,0)*cf(0,-5,0))
  1750.  
  1751.  
  1752. local dwld6=weld(dprt6,dprt6,dprt1,euler(1.57,0,0)*cf(0,0,0.4))
  1753.  
  1754.  
  1755. local dwld7=weld(dprt7,dprt7,dprt6,cf(0,0,0))
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761. numb=0
  1762.  
  1763.  
  1764. for i=1,4 do
  1765.  
  1766.  
  1767. local dprt2=part(3,drone,0,1,BrickColor.new("Plum"),"DPart2",vt(1,1,1))
  1768.  
  1769.  
  1770. local dmsh2=mesh("BlockMesh",dprt2,"","",vt(0,0,0),vt(0.5,0.5,0.8))
  1771.  
  1772.  
  1773. local dwld2=weld(dprt2,dprt2,dprt1,cf(0,-0.5,0)*euler(0,0,numb))
  1774.  
  1775.  
  1776. numb=numb+1.57
  1777.  
  1778.  
  1779. end
  1780.  
  1781.  
  1782. numb=0
  1783.  
  1784.  
  1785. for i=1,4 do
  1786.  
  1787.  
  1788. local dprt3=part(3,drone,0,1,BrickColor.new("Magenta"),"DPart3",vt(1,1,1))
  1789.  
  1790.  
  1791. local dmsh3=mesh("BlockMesh",dprt3,"","",vt(0,0,0),vt(0.5,0.5,0.79))
  1792.  
  1793.  
  1794. local dwld3=weld(dprt3,dprt3,dprt1,cf(0,-0.3,0)*euler(0,0,0.785+numb))
  1795.  
  1796.  
  1797. numb=numb+1.57
  1798.  
  1799.  
  1800. end
  1801.  
  1802.  
  1803. numb=0
  1804.  
  1805.  
  1806. for i=1,4 do
  1807.  
  1808.  
  1809. local dprt4=part(3,drone,0,1,BrickColor.new("Magenta"),"DPart4",vt(1,1,1))
  1810.  
  1811.  
  1812. local dmsh4=mesh("BlockMesh",dprt4,"","",vt(0,0,0),vt(0.2,0.8,0.2))
  1813.  
  1814.  
  1815. local dwld4=weld(dprt4,dprt4,dprt1,cf(0,0.8,0)*euler(0.785,numb,0))
  1816.  
  1817.  
  1818. local dprt5=part(3,drone,0,1,BrickColor.new("Plum"),"DPart5",vt(1,1,1))
  1819.  
  1820.  
  1821. local dmsh5=mesh("SpecialMesh",dprt5,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  1822.  
  1823.  
  1824. local dwld5=weld(dprt5,dprt5,dprt4,cf(0,0.5,0)*euler(0,0,0))
  1825.  
  1826.  
  1827. light1=Instance.new("PointLight")
  1828.  
  1829.  
  1830. light1.Brightness=.8
  1831.  
  1832.  
  1833. light1.Color=Color3.new(0,0,255)
  1834.  
  1835.  
  1836. light1.Range=10
  1837.  
  1838.  
  1839. light1.Parent=dprt5
  1840.  
  1841.  
  1842. numb=numb+1.57
  1843.  
  1844.  
  1845. end
  1846.  
  1847.  
  1848. return drone,dprt1
  1849.  
  1850.  
  1851. end
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857. function hideanim()
  1858.  
  1859.  
  1860. equipped=false
  1861.  
  1862.  
  1863. if Mode=="Drones" then
  1864.  
  1865.  
  1866. Mode="Choose"
  1867.  
  1868.  
  1869. end
  1870.  
  1871.  
  1872. wait(0.1)
  1873.  
  1874.  
  1875. cone.Parent=nil
  1876.  
  1877.  
  1878. screen1.Parent=nil
  1879.  
  1880.  
  1881. screen2.Parent=nil
  1882.  
  1883.  
  1884. screen3.Parent=nil
  1885.  
  1886.  
  1887. Neck.C0=necko*euler(0,0,0)
  1888.  
  1889.  
  1890. wld9.C0=euler(0,0,0)*cf(0,0.05,0)
  1891.  
  1892.  
  1893. Bg.Parent=nil
  1894.  
  1895.  
  1896. end
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902. function equipanim()
  1903.  
  1904.  
  1905. equipped=true
  1906.  
  1907.  
  1908. if Mode=="Choose" then
  1909.  
  1910.  
  1911. for i=0,1,0.1 do
  1912.  
  1913.  
  1914. wait()
  1915.  
  1916.  
  1917. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  1918.  
  1919.  
  1920. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.5*i) * euler(1*i,0,-1*i)
  1921.  
  1922.  
  1923. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07*i,0)
  1924.  
  1925.  
  1926. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(1.5*i,0,1.2*i)
  1927.  
  1928.  
  1929. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1930.  
  1931.  
  1932. end
  1933.  
  1934.  
  1935. for i=0,1,0.1 do
  1936.  
  1937.  
  1938. wait()
  1939.  
  1940.  
  1941. wld9.C0=euler(0,-1.57*i,0)*cf(0,0.05,0)
  1942.  
  1943.  
  1944. Neck.C0=necko*euler(0.3+0.1*i,0,-0.2-0.1*i)
  1945.  
  1946.  
  1947. RW.C0=cf(1, 0.3, -0.5) * euler(1-0.2*i,0,-1+0.3*i)
  1948.  
  1949.  
  1950. RW.C1=cf(0, 0.5, 0) * euler(0,-2.07-0.1*i,0)
  1951.  
  1952.  
  1953. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-0.2*i,0,1.2-0.5*i)
  1954.  
  1955.  
  1956. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1957.  
  1958.  
  1959. end
  1960.  
  1961.  
  1962. coroutine.resume(coroutine.create(function()
  1963.  
  1964.  
  1965. cone.Parent=modelzorz
  1966.  
  1967.  
  1968. cone.Transparency=1
  1969.  
  1970.  
  1971. local conewld=weld(cone,cone,prt9,euler(0,0,0)*cf(0,0.2,0))
  1972.  
  1973.  
  1974. screen1.Parent=modelzorz
  1975.  
  1976.  
  1977. screen1.Transparency=1
  1978.  
  1979.  
  1980. local screen1wld=weld(screen1,screen1,cone,euler(0,0.8,0)*cf(0,1,0))
  1981.  
  1982.  
  1983. screen2.Parent=modelzorz
  1984.  
  1985.  
  1986. screen2.Transparency=1
  1987.  
  1988.  
  1989. local screen2wld=weld(screen2,screen2,screen1,cf(0,0,1)*euler(0,0.3,0))
  1990.  
  1991.  
  1992. screen3.Parent=modelzorz
  1993.  
  1994.  
  1995. screen3.Transparency=1
  1996.  
  1997.  
  1998. local screen3wld=weld(screen3,screen3,screen1,cf(0,0,-1)*euler(0,-0.3,0))
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004. for i=1,0.5,-0.05 do
  2005.  
  2006.  
  2007. wait()
  2008.  
  2009.  
  2010. cone.Transparency=i
  2011.  
  2012.  
  2013. screen1.Transparency=i
  2014.  
  2015.  
  2016. screen2.Transparency=i
  2017.  
  2018.  
  2019. screen3.Transparency=i
  2020.  
  2021.  
  2022. end
  2023.  
  2024.  
  2025. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  2026.  
  2027.  
  2028. while Mode=="Choose" do
  2029.  
  2030.  
  2031. wait(0.06)
  2032.  
  2033.  
  2034. Cone.Transparency=0.5
  2035.  
  2036.  
  2037. Screen1.Transparency=0.5
  2038.  
  2039.  
  2040. Screen2.Transparency=0.5
  2041.  
  2042.  
  2043. Screen3.Transparency=0.5
  2044.  
  2045.  
  2046. light1.Brightness=.7
  2047.  
  2048.  
  2049. light2.Brightness=.7
  2050.  
  2051.  
  2052. light3.Brightness=.7
  2053.  
  2054.  
  2055. wait(0.06)
  2056.  
  2057.  
  2058. Cone.Transparency=0.6
  2059.  
  2060.  
  2061. Screen1.Transparency=0.6
  2062.  
  2063.  
  2064. Screen2.Transparency=0.6
  2065.  
  2066.  
  2067. Screen3.Transparency=0.6
  2068.  
  2069.  
  2070. light1.Brightness=.8
  2071.  
  2072.  
  2073. light2.Brightness=.8
  2074.  
  2075.  
  2076. light3.Brightness=.8
  2077.  
  2078.  
  2079. end
  2080.  
  2081.  
  2082. end),cone,screen1,screen2,screen3)
  2083.  
  2084.  
  2085. end))
  2086.  
  2087.  
  2088. for i=0,1,0.1 do
  2089.  
  2090.  
  2091. wait()
  2092.  
  2093.  
  2094. wld9.C0=euler(0,-1.57,0)*cf(0,0.05,0)
  2095.  
  2096.  
  2097. Neck.C0=necko*euler(0.4-0.7*i,0,-0.3)
  2098.  
  2099.  
  2100. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.8+0.77*i,0,-1+0.3)
  2101.  
  2102.  
  2103. RW.C1=cf(0, 0.5, 0) * euler(0,-2.17+0.67*i,0)
  2104.  
  2105.  
  2106. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.3+1*i,0,0.7)
  2107.  
  2108.  
  2109. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2110.  
  2111.  
  2112. end
  2113.  
  2114.  
  2115. Neck.C0=necko*euler(-0.3,0,-0.3)
  2116.  
  2117.  
  2118. RW.C0=cf(1, 0.3, -0.8) * euler(1.57,0,-0.7)
  2119.  
  2120.  
  2121. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  2122.  
  2123.  
  2124. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3,0,0.7)
  2125.  
  2126.  
  2127. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2128.  
  2129.  
  2130. end
  2131.  
  2132.  
  2133. end
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139. function Drones()
  2140.  
  2141.  
  2142. Mode="Drones"
  2143.  
  2144.  
  2145. attack=true
  2146.  
  2147.  
  2148. Humanoid.WalkSpeed=0
  2149.  
  2150.  
  2151. coroutine.resume(coroutine.create(function()
  2152.  
  2153.  
  2154. while Mode=="Drones" do
  2155.  
  2156.  
  2157. wait()
  2158.  
  2159.  
  2160. if Aiming==false then
  2161.  
  2162.  
  2163. DroneTarget=Torso.Position
  2164.  
  2165.  
  2166. end
  2167.  
  2168.  
  2169. end
  2170.  
  2171.  
  2172. end))
  2173.  
  2174.  
  2175. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  2176.  
  2177.  
  2178. numb=0.5
  2179.  
  2180.  
  2181. for i=0,1,0.1 do
  2182.  
  2183.  
  2184. wait()
  2185.  
  2186.  
  2187. Cone.Transparency=numb
  2188.  
  2189.  
  2190. Screen1.Transparency=numb
  2191.  
  2192.  
  2193. Screen2.Transparency=numb
  2194.  
  2195.  
  2196. Screen3.Transparency=numb
  2197.  
  2198.  
  2199. numb=numb+0.1
  2200.  
  2201.  
  2202. end
  2203.  
  2204.  
  2205. Cone.Parent=nil
  2206.  
  2207.  
  2208. Screen1.Parent=nil
  2209.  
  2210.  
  2211. Screen2.Parent=nil
  2212.  
  2213.  
  2214. Screen3.Parent=nil
  2215.  
  2216.  
  2217. end),cone,screen1,screen2,screen3)
  2218.  
  2219.  
  2220. for i=0,1,0.1 do
  2221.  
  2222.  
  2223. wait()
  2224.  
  2225.  
  2226. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  2227.  
  2228.  
  2229. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  2230.  
  2231.  
  2232. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  2233.  
  2234.  
  2235. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  2236.  
  2237.  
  2238. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2239.  
  2240.  
  2241. end
  2242.  
  2243.  
  2244. local drone1,droneprt1=CreateDrone()
  2245.  
  2246.  
  2247. local dwld1=weld(droneprt1,droneprt1,Torso,euler(0,0,0)*cf(2,0,5))
  2248.  
  2249.  
  2250. local drone2,droneprt2=CreateDrone()
  2251.  
  2252.  
  2253. local dwld12=weld(droneprt2,droneprt2,Torso,euler(0,0,0)*cf(0,0,5))
  2254.  
  2255.  
  2256. local drone3,droneprt3=CreateDrone()
  2257.  
  2258.  
  2259. local dwld13=weld(droneprt3,droneprt3,Torso,euler(0,0,0)*cf(-2,0,5))
  2260.  
  2261.  
  2262. wait()
  2263.  
  2264.  
  2265. dwld1:Remove()
  2266.  
  2267.  
  2268. dwld12:Remove()
  2269.  
  2270.  
  2271. dwld13:Remove()
  2272.  
  2273.  
  2274. local pos=it("BodyPosition",droneprt1)
  2275.  
  2276.  
  2277. rand1=math.random(-5,5)
  2278.  
  2279.  
  2280. rand2=math.random(-5,5)
  2281.  
  2282.  
  2283. pos.position=Torso.Position + vt(rand1,5,rand2)
  2284.  
  2285.  
  2286. coroutine.resume(coroutine.create(function(BodyPosition)
  2287.  
  2288.  
  2289. while droneprt1.Parent~=nil do
  2290.  
  2291.  
  2292. wait(math.random(1,3))
  2293.  
  2294.  
  2295. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  2296.  
  2297.  
  2298. end
  2299.  
  2300.  
  2301. end),pos)
  2302.  
  2303.  
  2304. pos.maxForce=vt(7500,7500,7500)
  2305.  
  2306.  
  2307. pos.Name="BP"
  2308.  
  2309.  
  2310. local bg=it("BodyGyro",droneprt1)
  2311.  
  2312.  
  2313. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  2314.  
  2315.  
  2316. bg.P=50000
  2317.  
  2318.  
  2319. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  2320.  
  2321.  
  2322. coroutine.resume(coroutine.create(function(BodyGyro)
  2323.  
  2324.  
  2325. while droneprt1.Parent~=nil do
  2326.  
  2327.  
  2328. wait()
  2329.  
  2330.  
  2331. if Aiming==true then
  2332.  
  2333.  
  2334. BodyGyro.cframe=cf(droneprt1.Position, DroneTarget)
  2335.  
  2336.  
  2337. end
  2338.  
  2339.  
  2340. end
  2341.  
  2342.  
  2343. end),bg)
  2344.  
  2345.  
  2346. bg.Name="DroneGyro"
  2347.  
  2348.  
  2349. local pos=it("BodyPosition",droneprt2)
  2350.  
  2351.  
  2352. rand1=math.random(-5,5)
  2353.  
  2354.  
  2355. rand2=math.random(-5,5)
  2356.  
  2357.  
  2358. pos.position=Torso.Position + vt(rand1,5,rand2)
  2359.  
  2360.  
  2361. coroutine.resume(coroutine.create(function(BodyPosition)
  2362.  
  2363.  
  2364. while droneprt2.Parent~=nil do
  2365.  
  2366.  
  2367. wait(math.random(1,3))
  2368.  
  2369.  
  2370. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  2371.  
  2372.  
  2373. end
  2374.  
  2375.  
  2376. end),pos)
  2377.  
  2378.  
  2379. pos.maxForce=vt(7500,7500,7500)
  2380.  
  2381.  
  2382. pos.Name="BP"
  2383.  
  2384.  
  2385. local bg=it("BodyGyro",droneprt2)
  2386.  
  2387.  
  2388. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  2389.  
  2390.  
  2391. bg.P=50000
  2392.  
  2393.  
  2394. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  2395.  
  2396.  
  2397. coroutine.resume(coroutine.create(function(BodyGyro)
  2398.  
  2399.  
  2400. while droneprt2.Parent~=nil do
  2401.  
  2402.  
  2403. wait()
  2404.  
  2405.  
  2406. if Aiming==true then
  2407.  
  2408.  
  2409. BodyGyro.cframe=cf(droneprt2.Position, DroneTarget)
  2410.  
  2411.  
  2412. end
  2413.  
  2414.  
  2415. end
  2416.  
  2417.  
  2418. end),bg)
  2419.  
  2420.  
  2421. bg.Name="DroneGyro"
  2422.  
  2423.  
  2424. local pos=it("BodyPosition",droneprt3)
  2425.  
  2426.  
  2427. rand1=math.random(-5,5)
  2428.  
  2429.  
  2430. rand2=math.random(-5,5)
  2431.  
  2432.  
  2433. pos.position=Torso.Position + vt(rand1,5,rand2)
  2434.  
  2435.  
  2436. coroutine.resume(coroutine.create(function(BodyPosition)
  2437.  
  2438.  
  2439. while droneprt3.Parent~=nil do
  2440.  
  2441.  
  2442. wait(math.random(1,3))
  2443.  
  2444.  
  2445. BodyPosition.position=Torso.Position + vt(math.random(-15,15),5,math.random(-15,15))
  2446.  
  2447.  
  2448. end
  2449.  
  2450.  
  2451. end),pos)
  2452.  
  2453.  
  2454. pos.maxForce=vt(7500,7500,7500)
  2455.  
  2456.  
  2457. pos.Name="BP"
  2458.  
  2459.  
  2460. local bg=it("BodyGyro",droneprt3)
  2461.  
  2462.  
  2463. bg.maxTorque=vt(math.huge,math.huge,math.huge)
  2464.  
  2465.  
  2466. bg.P=50000
  2467.  
  2468.  
  2469. --bg.cframe=cf(droneprt1.Position, Torso.Position)
  2470.  
  2471.  
  2472. coroutine.resume(coroutine.create(function(BodyGyro)
  2473.  
  2474.  
  2475. while droneprt3.Parent~=nil do
  2476.  
  2477.  
  2478. wait()
  2479.  
  2480.  
  2481. if Aiming==true then
  2482.  
  2483.  
  2484. BodyGyro.cframe=cf(droneprt3.Position, DroneTarget)
  2485.  
  2486.  
  2487. end
  2488.  
  2489.  
  2490. end
  2491.  
  2492.  
  2493. end),bg)
  2494.  
  2495.  
  2496. bg.Name="DroneGyro"
  2497.  
  2498.  
  2499. droneprt1.Anchored=true
  2500.  
  2501.  
  2502. for _,v in pairs(drone1:children()) do
  2503.  
  2504.  
  2505. if v.className=="Part" then
  2506.  
  2507.  
  2508. v.Transparency=1
  2509.  
  2510.  
  2511. coroutine.resume(coroutine.create(function(Part)
  2512.  
  2513.  
  2514. wait(1)
  2515.  
  2516.  
  2517. Part.Transparency=0
  2518.  
  2519.  
  2520. end),v)
  2521.  
  2522.  
  2523. end
  2524.  
  2525.  
  2526. end
  2527.  
  2528.  
  2529. effect=drone1:Clone()
  2530.  
  2531.  
  2532. effect.Parent=workspace
  2533.  
  2534.  
  2535. print(effect)
  2536.  
  2537.  
  2538. for _,v in pairs(effect:children()) do
  2539.  
  2540.  
  2541. if v.className=="Part" then
  2542.  
  2543.  
  2544. v.Transparency=1
  2545.  
  2546.  
  2547. v.Anchored=true
  2548.  
  2549.  
  2550. v.CanCollide=false
  2551.  
  2552.  
  2553. v.BrickColor=BrickColor.new("Plum")
  2554.  
  2555.  
  2556. coroutine.resume(coroutine.create(function(Part)
  2557.  
  2558.  
  2559. for i=0,1,0.1 do
  2560.  
  2561.  
  2562. wait(0)
  2563.  
  2564.  
  2565. Part.Transparency=Part.Transparency-0.05
  2566.  
  2567.  
  2568. end
  2569.  
  2570.  
  2571. wait(0.5)
  2572.  
  2573.  
  2574. for i=0,1,0.1 do
  2575.  
  2576.  
  2577. wait(0)
  2578.  
  2579.  
  2580. Part.Transparency=Part.Transparency+0.05
  2581.  
  2582.  
  2583. end
  2584.  
  2585.  
  2586. Part.Parent=nil
  2587.  
  2588.  
  2589. end),v)
  2590.  
  2591.  
  2592. end
  2593.  
  2594.  
  2595. end
  2596.  
  2597.  
  2598. droneprt2.Anchored=true
  2599.  
  2600.  
  2601. for _,v in pairs(drone2:children()) do
  2602.  
  2603.  
  2604. if v.className=="Part" then
  2605.  
  2606.  
  2607. v.Transparency=1
  2608.  
  2609.  
  2610. coroutine.resume(coroutine.create(function(Part)
  2611.  
  2612.  
  2613. wait(1)
  2614.  
  2615.  
  2616. Part.Transparency=0
  2617.  
  2618.  
  2619. end),v)
  2620.  
  2621.  
  2622. end
  2623.  
  2624.  
  2625. end
  2626.  
  2627.  
  2628. effect=drone2:Clone()
  2629.  
  2630.  
  2631. effect.Parent=workspace
  2632.  
  2633.  
  2634. print(effect)
  2635.  
  2636.  
  2637. for _,v in pairs(effect:children()) do
  2638.  
  2639.  
  2640. if v.className=="Part" then
  2641.  
  2642.  
  2643. v.Transparency=1
  2644.  
  2645.  
  2646. v.Anchored=true
  2647.  
  2648.  
  2649. v.CanCollide=false
  2650.  
  2651.  
  2652. v.BrickColor=BrickColor.new("Plum")
  2653.  
  2654.  
  2655. coroutine.resume(coroutine.create(function(Part)
  2656.  
  2657.  
  2658. for i=0,1,0.1 do
  2659.  
  2660.  
  2661. wait(0)
  2662.  
  2663.  
  2664. Part.Transparency=Part.Transparency-0.05
  2665.  
  2666.  
  2667. end
  2668.  
  2669.  
  2670. wait(0.5)
  2671.  
  2672.  
  2673. for i=0,1,0.1 do
  2674.  
  2675.  
  2676. wait(0)
  2677.  
  2678.  
  2679. Part.Transparency=Part.Transparency+0.05
  2680.  
  2681.  
  2682. end
  2683.  
  2684.  
  2685. Part.Parent=nil
  2686.  
  2687.  
  2688. end),v)
  2689.  
  2690.  
  2691. end
  2692.  
  2693.  
  2694. end
  2695.  
  2696.  
  2697. droneprt3.Anchored=true
  2698.  
  2699.  
  2700. for _,v in pairs(drone3:children()) do
  2701.  
  2702.  
  2703. if v.className=="Part" then
  2704.  
  2705.  
  2706. v.Transparency=1
  2707.  
  2708.  
  2709. coroutine.resume(coroutine.create(function(Part)
  2710.  
  2711.  
  2712. wait(1)
  2713.  
  2714.  
  2715. Part.Transparency=0
  2716.  
  2717.  
  2718. end),v)
  2719.  
  2720.  
  2721. end
  2722.  
  2723.  
  2724. end
  2725.  
  2726.  
  2727. effect=drone3:Clone()
  2728.  
  2729.  
  2730. effect.Parent=workspace
  2731.  
  2732.  
  2733. print(effect)
  2734.  
  2735.  
  2736. for _,v in pairs(effect:children()) do
  2737.  
  2738.  
  2739. if v.className=="Part" then
  2740.  
  2741.  
  2742. v.Transparency=1
  2743.  
  2744.  
  2745. v.Anchored=true
  2746.  
  2747.  
  2748. v.CanCollide=false
  2749.  
  2750.  
  2751. v.BrickColor=BrickColor.new("Plum")
  2752.  
  2753.  
  2754. coroutine.resume(coroutine.create(function(Part)
  2755.  
  2756.  
  2757. for i=0,1,0.1 do
  2758.  
  2759.  
  2760. wait(0)
  2761.  
  2762.  
  2763. Part.Transparency=Part.Transparency-0.05
  2764.  
  2765.  
  2766. end
  2767.  
  2768.  
  2769. wait(0.5)
  2770.  
  2771.  
  2772. for i=0,1,0.1 do
  2773.  
  2774.  
  2775. wait(0)
  2776.  
  2777.  
  2778. Part.Transparency=Part.Transparency+0.05
  2779.  
  2780.  
  2781. end
  2782.  
  2783.  
  2784. Part.Parent=nil
  2785.  
  2786.  
  2787. end),v)
  2788.  
  2789.  
  2790. end
  2791.  
  2792.  
  2793. end
  2794.  
  2795.  
  2796. wait(2)
  2797.  
  2798.  
  2799. droneprt1.Anchored=false
  2800.  
  2801.  
  2802. droneprt2.Anchored=false
  2803.  
  2804.  
  2805. droneprt3.Anchored=false
  2806.  
  2807.  
  2808. Humanoid.WalkSpeed=16
  2809.  
  2810.  
  2811. wait()
  2812.  
  2813.  
  2814. effect.Parent=nil
  2815.  
  2816.  
  2817. for i=0,1,0.1 do
  2818.  
  2819.  
  2820. wait()
  2821.  
  2822.  
  2823. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-0.77*i,0,-1.3+1.3*i)
  2824.  
  2825.  
  2826. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  2827.  
  2828.  
  2829. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(1.5-1.5*i,0,0.2-0.4*i)
  2830.  
  2831.  
  2832. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2833.  
  2834.  
  2835. end
  2836.  
  2837.  
  2838. attack=false
  2839.  
  2840.  
  2841. return drone1, drone2, drone3
  2842.  
  2843.  
  2844. end
  2845.  
  2846.  
  2847.  
  2848.  
  2849.  
  2850. function Gun()
  2851.  
  2852.  
  2853. attack=true
  2854.  
  2855.  
  2856. Mode="Gun"
  2857.  
  2858.  
  2859. gwld1.Part1=LeftArm
  2860.  
  2861.  
  2862. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  2863.  
  2864.  
  2865. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  2866.  
  2867.  
  2868. numb=0.5
  2869.  
  2870.  
  2871. for i=0,1,0.1 do
  2872.  
  2873.  
  2874. wait()
  2875.  
  2876.  
  2877. Cone.Transparency=numb
  2878.  
  2879.  
  2880. Screen1.Transparency=numb
  2881.  
  2882.  
  2883. Screen2.Transparency=numb
  2884.  
  2885.  
  2886. Screen3.Transparency=numb
  2887.  
  2888.  
  2889. numb=numb+0.1
  2890.  
  2891.  
  2892. end
  2893.  
  2894.  
  2895. Cone.Parent=nil
  2896.  
  2897.  
  2898. Screen1.Parent=nil
  2899.  
  2900.  
  2901. Screen2.Parent=nil
  2902.  
  2903.  
  2904. Screen3.Parent=nil
  2905.  
  2906.  
  2907. end),cone,screen1,screen2,screen3)
  2908.  
  2909.  
  2910. for i=0,1,0.1 do
  2911.  
  2912.  
  2913. wait()
  2914.  
  2915.  
  2916. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  2917.  
  2918.  
  2919. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  2920.  
  2921.  
  2922. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  2923.  
  2924.  
  2925. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  2926.  
  2927.  
  2928. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2929.  
  2930.  
  2931. end
  2932.  
  2933.  
  2934. gun.Parent=modelzorz
  2935.  
  2936.  
  2937. for e=1,#GunWelds do
  2938.  
  2939.  
  2940. GunWelds[e].Parent=modelzorz
  2941.  
  2942.  
  2943. end
  2944.  
  2945.  
  2946. for _,v in pairs(gun:children()) do
  2947.  
  2948.  
  2949. if v.className=="Part" then
  2950.  
  2951.  
  2952. v.Transparency=1
  2953.  
  2954.  
  2955. end
  2956.  
  2957.  
  2958. end
  2959.  
  2960.  
  2961. for _,v in pairs(gun:children()) do
  2962.  
  2963.  
  2964. if v.className=="Part" then
  2965.  
  2966.  
  2967. v.Transparency=1
  2968.  
  2969.  
  2970. coroutine.resume(coroutine.create(function(Part)
  2971.  
  2972.  
  2973. wait(0.5)
  2974.  
  2975.  
  2976. Part.Transparency=0
  2977.  
  2978.  
  2979. end),v)
  2980.  
  2981.  
  2982. end
  2983.  
  2984.  
  2985. end
  2986.  
  2987.  
  2988. effect=gun:Clone()
  2989.  
  2990.  
  2991. effect.Parent=workspace
  2992.  
  2993.  
  2994. print(effect)
  2995.  
  2996.  
  2997. for _,v in pairs(effect:children()) do
  2998.  
  2999.  
  3000. if v.className=="Part" then
  3001.  
  3002.  
  3003. v.Transparency=1
  3004.  
  3005.  
  3006. v.Anchored=true
  3007.  
  3008.  
  3009. v.CanCollide=false
  3010.  
  3011.  
  3012. v.BrickColor=BrickColor.new("Plum")
  3013.  
  3014.  
  3015. coroutine.resume(coroutine.create(function(Part)
  3016.  
  3017.  
  3018. for i=0,1,0.1 do
  3019.  
  3020.  
  3021. wait(0)
  3022.  
  3023.  
  3024. Part.Transparency=Part.Transparency-0.05
  3025.  
  3026.  
  3027. end
  3028.  
  3029.  
  3030. for i=0,1,0.1 do
  3031.  
  3032.  
  3033. wait(0)
  3034.  
  3035.  
  3036. Part.Transparency=Part.Transparency+0.05
  3037.  
  3038.  
  3039. end
  3040.  
  3041.  
  3042. Part.Parent=nil
  3043.  
  3044.  
  3045. effect.Parent=nil
  3046.  
  3047.  
  3048. end),v)
  3049.  
  3050.  
  3051. end
  3052.  
  3053.  
  3054. end
  3055.  
  3056.  
  3057. wait(0.5)
  3058.  
  3059.  
  3060. gwld1.Part1=LeftArm
  3061.  
  3062.  
  3063. gwld1.C0=euler(1.57+0.5,0,-1.57)*cf(0,1,0)
  3064.  
  3065.  
  3066. for i=0,1,0.1 do
  3067.  
  3068.  
  3069. wait()
  3070.  
  3071.  
  3072. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  3073.  
  3074.  
  3075. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.5*i)
  3076.  
  3077.  
  3078. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  3079.  
  3080.  
  3081. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.5-1*i,0,0.2+0.4*i)
  3082.  
  3083.  
  3084. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  3085.  
  3086.  
  3087. end
  3088.  
  3089.  
  3090. attack=false
  3091.  
  3092.  
  3093. end
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099. function Sword()
  3100.  
  3101.  
  3102. attack=true
  3103.  
  3104.  
  3105. Mode="Sword"
  3106.  
  3107.  
  3108. swld1.Part1=LeftArm
  3109.  
  3110.  
  3111. swld1.C0=euler(0,0,-1.57)*cf(0,1,0)
  3112.  
  3113.  
  3114. swld1.C1=euler(0,0,0)
  3115.  
  3116.  
  3117. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  3118.  
  3119.  
  3120. numb=0.5
  3121.  
  3122.  
  3123. for i=0,1,0.1 do
  3124.  
  3125.  
  3126. wait()
  3127.  
  3128.  
  3129. Cone.Transparency=numb
  3130.  
  3131.  
  3132. Screen1.Transparency=numb
  3133.  
  3134.  
  3135. Screen2.Transparency=numb
  3136.  
  3137.  
  3138. Screen3.Transparency=numb
  3139.  
  3140.  
  3141. numb=numb+0.1
  3142.  
  3143.  
  3144. end
  3145.  
  3146.  
  3147. Cone.Parent=nil
  3148.  
  3149.  
  3150. Screen1.Parent=nil
  3151.  
  3152.  
  3153. Screen2.Parent=nil
  3154.  
  3155.  
  3156. Screen3.Parent=nil
  3157.  
  3158.  
  3159. end),cone,screen1,screen2,screen3)
  3160.  
  3161.  
  3162. for i=0,1,0.1 do
  3163.  
  3164.  
  3165. wait()
  3166.  
  3167.  
  3168. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  3169.  
  3170.  
  3171. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  3172.  
  3173.  
  3174. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  3175.  
  3176.  
  3177. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  3178.  
  3179.  
  3180. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3181.  
  3182.  
  3183. end
  3184.  
  3185.  
  3186. sword.Parent=modelzorz
  3187.  
  3188.  
  3189. for e=1,#SwordWelds do
  3190.  
  3191.  
  3192. SwordWelds[e].Parent=modelzorz
  3193.  
  3194.  
  3195. end
  3196.  
  3197.  
  3198. for _,v in pairs(sword:children()) do
  3199.  
  3200.  
  3201. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  3202.  
  3203.  
  3204. v.Transparency=1
  3205.  
  3206.  
  3207. end
  3208.  
  3209.  
  3210. end
  3211.  
  3212.  
  3213. for _,v in pairs(sword:children()) do
  3214.  
  3215.  
  3216. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  3217.  
  3218.  
  3219. v.Transparency=1
  3220.  
  3221.  
  3222. coroutine.resume(coroutine.create(function(Part)
  3223.  
  3224.  
  3225. wait(0.5)
  3226.  
  3227.  
  3228. Part.Transparency=0
  3229.  
  3230.  
  3231. end),v)
  3232.  
  3233.  
  3234. end
  3235.  
  3236.  
  3237. end
  3238.  
  3239.  
  3240. effect=sword:Clone()
  3241.  
  3242.  
  3243. effect.Parent=workspace
  3244.  
  3245.  
  3246. print(effect)
  3247.  
  3248.  
  3249. for _,v in pairs(effect:children()) do
  3250.  
  3251.  
  3252. if v.className=="Part" and v.Name~="Hitbox" and v.Name~="Mid" then
  3253.  
  3254.  
  3255. v.Transparency=1
  3256.  
  3257.  
  3258. v.Anchored=true
  3259.  
  3260.  
  3261. v.CanCollide=false
  3262.  
  3263.  
  3264. v.BrickColor=BrickColor.new("Plum")
  3265.  
  3266.  
  3267. coroutine.resume(coroutine.create(function(Part)
  3268.  
  3269.  
  3270. for i=0,1,0.1 do
  3271.  
  3272.  
  3273. wait(0)
  3274.  
  3275.  
  3276. Part.Transparency=Part.Transparency-0.05
  3277.  
  3278.  
  3279. end
  3280.  
  3281.  
  3282. for i=0,1,0.1 do
  3283.  
  3284.  
  3285. wait(0)
  3286.  
  3287.  
  3288. Part.Transparency=Part.Transparency+0.05
  3289.  
  3290.  
  3291. end
  3292.  
  3293.  
  3294. Part.Parent=nil
  3295.  
  3296.  
  3297. effect.Parent=nil
  3298.  
  3299.  
  3300. end),v)
  3301.  
  3302.  
  3303. end
  3304.  
  3305.  
  3306. end
  3307.  
  3308.  
  3309. wait(0.5)
  3310.  
  3311.  
  3312. for i=0,1,0.1 do
  3313.  
  3314.  
  3315. wait()
  3316.  
  3317.  
  3318. swld1.C0=euler(0,-1.57*i,1.57-3.14*i)*cf(0,1,0)
  3319.  
  3320.  
  3321. swld1.C1=euler(0,1.57*i,0)
  3322.  
  3323.  
  3324. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.5*i)
  3325.  
  3326.  
  3327. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  3328.  
  3329.  
  3330. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(1.5-1.5*i,0,0.2-0.6*i)
  3331.  
  3332.  
  3333. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3334.  
  3335.  
  3336. end
  3337.  
  3338.  
  3339. attack=false
  3340.  
  3341.  
  3342. end
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348. function Sniper()
  3349.  
  3350.  
  3351. attack=true
  3352.  
  3353.  
  3354. Mode="Sniper"
  3355.  
  3356.  
  3357. snwld1.Part1=LeftArm
  3358.  
  3359.  
  3360. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  3361.  
  3362.  
  3363. coroutine.resume(coroutine.create(function(Cone,Screen1,Screen2,Screen3)
  3364.  
  3365.  
  3366. numb=0.5
  3367.  
  3368.  
  3369. for i=0,1,0.1 do
  3370.  
  3371.  
  3372. wait()
  3373.  
  3374.  
  3375. Cone.Transparency=numb
  3376.  
  3377.  
  3378. Screen1.Transparency=numb
  3379.  
  3380.  
  3381. Screen2.Transparency=numb
  3382.  
  3383.  
  3384. Screen3.Transparency=numb
  3385.  
  3386.  
  3387. numb=numb+0.1
  3388.  
  3389.  
  3390. end
  3391.  
  3392.  
  3393. Cone.Parent=nil
  3394.  
  3395.  
  3396. Screen1.Parent=nil
  3397.  
  3398.  
  3399. Screen2.Parent=nil
  3400.  
  3401.  
  3402. Screen3.Parent=nil
  3403.  
  3404.  
  3405. end),cone,screen1,screen2,screen3)
  3406.  
  3407.  
  3408. for i=0,1,0.1 do
  3409.  
  3410.  
  3411. wait()
  3412.  
  3413.  
  3414. Neck.C0=necko*euler(-0.3+0.3*i,0,-0.3+0.3*i)
  3415.  
  3416.  
  3417. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.3*i,0,-0.7-0.6*i)
  3418.  
  3419.  
  3420. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+0.5*i,0)
  3421.  
  3422.  
  3423. LW.C0=cf(-1.2, 0.5, -0.3) * euler(2.3-0.8*i,0,0.7-0.5*i)
  3424.  
  3425.  
  3426. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3427.  
  3428.  
  3429. end
  3430.  
  3431.  
  3432. sniper.Parent=modelzorz
  3433.  
  3434.  
  3435. for e=1,#SniperWelds do
  3436.  
  3437.  
  3438. SniperWelds[e].Parent=modelzorz
  3439.  
  3440.  
  3441. end
  3442.  
  3443.  
  3444. for _,v in pairs(sniper:children()) do
  3445.  
  3446.  
  3447. if v.className=="Part" then
  3448.  
  3449.  
  3450. v.Transparency=1
  3451.  
  3452.  
  3453. end
  3454.  
  3455.  
  3456. end
  3457.  
  3458.  
  3459. for _,v in pairs(sniper:children()) do
  3460.  
  3461.  
  3462. if v.className=="Part" then
  3463.  
  3464.  
  3465. v.Transparency=1
  3466.  
  3467.  
  3468. coroutine.resume(coroutine.create(function(Part)
  3469.  
  3470.  
  3471. wait(0.5)
  3472.  
  3473.  
  3474. Part.Transparency=0
  3475.  
  3476.  
  3477. end),v)
  3478.  
  3479.  
  3480. end
  3481.  
  3482.  
  3483. end
  3484.  
  3485.  
  3486. effect=sniper:Clone()
  3487.  
  3488.  
  3489. effect.Parent=workspace
  3490.  
  3491.  
  3492. print(effect)
  3493.  
  3494.  
  3495. for _,v in pairs(effect:children()) do
  3496.  
  3497.  
  3498. if v.className=="Part" then
  3499.  
  3500.  
  3501. v.Transparency=1
  3502.  
  3503.  
  3504. v.Anchored=true
  3505.  
  3506.  
  3507. v.CanCollide=false
  3508.  
  3509.  
  3510. v.BrickColor=BrickColor.new("Plum")
  3511.  
  3512.  
  3513. coroutine.resume(coroutine.create(function(Part)
  3514.  
  3515.  
  3516. for i=0,1,0.1 do
  3517.  
  3518.  
  3519. wait(0)
  3520.  
  3521.  
  3522. Part.Transparency=Part.Transparency-0.05
  3523.  
  3524.  
  3525. end
  3526.  
  3527.  
  3528. for i=0,1,0.1 do
  3529.  
  3530.  
  3531. wait(0)
  3532.  
  3533.  
  3534. Part.Transparency=Part.Transparency+0.05
  3535.  
  3536.  
  3537. end
  3538.  
  3539.  
  3540. Part.Parent=nil
  3541.  
  3542.  
  3543. effect.Parent=nil
  3544.  
  3545.  
  3546. end),v)
  3547.  
  3548.  
  3549. end
  3550.  
  3551.  
  3552. end
  3553.  
  3554.  
  3555. wait(0.5)
  3556.  
  3557.  
  3558. gwld1.Part1=LeftArm
  3559.  
  3560.  
  3561. snwld1.C0=euler(0.5,0,0)*cf(0,1.6,-2)
  3562.  
  3563.  
  3564. snwld1.C1=cf(0,0,0)
  3565.  
  3566.  
  3567. for i=0,1,0.1 do
  3568.  
  3569.  
  3570. wait()
  3571.  
  3572.  
  3573. snwld1.C0=euler(0.5+1.57*i,0,0)*cf(0,1.6-0.6*i,-2+2*i)
  3574.  
  3575.  
  3576. RW.C0=cf(1, 0.3, -0.8+0.3*i) * euler(1.27-0.37*i,0,-1.3+1*i)
  3577.  
  3578.  
  3579. RW.C1=cf(0, 0.5, 0) * euler(0,-1+2.3*i,0)
  3580.  
  3581.  
  3582. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.2+0.5*i)
  3583.  
  3584.  
  3585. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3586.  
  3587.  
  3588. end
  3589.  
  3590.  
  3591. attack=false
  3592.  
  3593.  
  3594. end
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600. function Shoot()
  3601.  
  3602.  
  3603. attack=true
  3604.  
  3605.  
  3606. Humanoid.WalkSpeed=2
  3607.  
  3608.  
  3609. Bg.Parent=Head
  3610.  
  3611.  
  3612. Bg.cframe=Head.CFrame
  3613.  
  3614.  
  3615. for i=0,1,0.2 do
  3616.  
  3617.  
  3618. wait()
  3619.  
  3620.  
  3621. Neck.C0=necko*euler(0,0,0.785*i)
  3622.  
  3623.  
  3624. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  3625.  
  3626.  
  3627. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3628.  
  3629.  
  3630. LW.C0=cf(-1.2, 0.5, -0.3) * euler(0.5+1.07*i,0,0.6-1.385*i)
  3631.  
  3632.  
  3633. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  3634.  
  3635.  
  3636. end
  3637.  
  3638.  
  3639. spread=1
  3640.  
  3641.  
  3642. range=50
  3643.  
  3644.  
  3645. rangepower=70
  3646.  
  3647.  
  3648. while hold==true and Bullets~=0 do
  3649.  
  3650.  
  3651. for i=1,5 do
  3652.  
  3653.  
  3654. wait(0.05)
  3655.  
  3656.  
  3657. Bullets=Bullets-1
  3658.  
  3659.  
  3660. so("http://roblox.com/asset/?id=10209257",gprt16,0.5,1+math.random())
  3661.  
  3662.  
  3663. coroutine.resume(coroutine.create(function()
  3664.  
  3665.  
  3666. for z = 1 ,2 do
  3667.  
  3668.  
  3669. coroutine.resume(coroutine.create(function()
  3670.  
  3671.  
  3672. local meshb1 = Instance.new("BlockMesh")
  3673.  
  3674.  
  3675. meshb1.Scale = Vector3.new(1,1,1)
  3676.  
  3677.  
  3678. light = Instance.new("PointLight")
  3679.  
  3680.  
  3681. light.Brightness = .8
  3682.  
  3683.  
  3684. light.Color = Color3.new(100,50,0)
  3685.  
  3686.  
  3687. light.Range = 10
  3688.  
  3689.  
  3690. local shellb1 = Instance.new("Part")
  3691.  
  3692.  
  3693. light.Parent = shellb1
  3694.  
  3695.  
  3696. meshb1.Parent = shellb1
  3697.  
  3698.  
  3699. shellb1.Anchored = true
  3700.  
  3701.  
  3702. shellb1.formFactor = 3
  3703.  
  3704.  
  3705. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  3706.  
  3707.  
  3708. shellb1.CFrame = CFrame.new((gprt16.CFrame * CFrame.new(0,-gprt16.Size.y/2,0)).p) * CFrame.Angles(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  3709.  
  3710.  
  3711. shellb1.Parent = Character
  3712.  
  3713.  
  3714. shellb1.Transparency = 0
  3715.  
  3716.  
  3717. if math.random(1,2) == 1 then
  3718.  
  3719.  
  3720. shellb1.BrickColor = BrickColor.new("Bright red")
  3721.  
  3722.  
  3723. else
  3724.  
  3725.  
  3726. shellb1.BrickColor = BrickColor.new("Bright orange")
  3727.  
  3728.  
  3729. end
  3730.  
  3731.  
  3732. shellb1.CanCollide = false
  3733.  
  3734.  
  3735. local incre = math.random(0,60)/100
  3736.  
  3737.  
  3738. for i = 0 , 1 , 0.1 do
  3739.  
  3740.  
  3741. wait()
  3742.  
  3743.  
  3744. light.Brightness = light.Brightness - .1
  3745.  
  3746.  
  3747. shellb1.CFrame = shellb1.CFrame + Head.CFrame.lookVector*incre
  3748.  
  3749.  
  3750. shellb1.Transparency = 1*i
  3751.  
  3752.  
  3753. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  3754.  
  3755.  
  3756. end
  3757.  
  3758.  
  3759. shellb1.Parent=nil
  3760.  
  3761.  
  3762. end))
  3763.  
  3764.  
  3765. end
  3766.  
  3767.  
  3768. end))
  3769.  
  3770.  
  3771. shoottrail(MMouse.Hit.p,gprt16,5,1,1)
  3772.  
  3773.  
  3774. LW.C1=cf(0, 0.5, 0) * euler(-0.2,0,0)
  3775.  
  3776.  
  3777. wait(0.05)
  3778.  
  3779.  
  3780. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3781.  
  3782.  
  3783. end
  3784.  
  3785.  
  3786. end
  3787.  
  3788.  
  3789. spread=0
  3790.  
  3791.  
  3792. range=500
  3793.  
  3794.  
  3795. rangepower=50
  3796.  
  3797.  
  3798. if Bullets==0 then
  3799.  
  3800.  
  3801. for i=0,1,0.2 do
  3802.  
  3803.  
  3804. wait(0)
  3805.  
  3806.  
  3807. gwld13.C0=cf(0,0,0.3)*euler(0,1.57-1.57*i,0)
  3808.  
  3809.  
  3810. end
  3811.  
  3812.  
  3813. wait(0.2)
  3814.  
  3815.  
  3816. Humanoid.WalkSpeed=16
  3817.  
  3818.  
  3819. Bg.Parent=nil
  3820.  
  3821.  
  3822. for i=0,1,0.1 do
  3823.  
  3824.  
  3825. wait()
  3826.  
  3827.  
  3828. gwld1.C0=euler(1.57+0.5,0,-1.57*i)*cf(0,1,0)
  3829.  
  3830.  
  3831. Neck.C0=necko*euler(0.3*i,0,0.785-0.785*i)
  3832.  
  3833.  
  3834. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1.2*i,0,0.2-0.4*i)
  3835.  
  3836.  
  3837. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3838.  
  3839.  
  3840. LW.C0=cf(-1.2+0.2*i, 0.5, -0.3-0.2*i) * euler(1.57-0.57*i,0,-0.785+0.785*i)
  3841.  
  3842.  
  3843. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3844.  
  3845.  
  3846. end
  3847.  
  3848.  
  3849. for i=0,1,0.1 do
  3850.  
  3851.  
  3852. wait()
  3853.  
  3854.  
  3855. gwld20.C0=cf(0.3*i,-0.8-0.2*i,0)*euler(0,0,1.57*i)
  3856.  
  3857.  
  3858. RW.C0=cf(1, 0.5, -0.5) * euler(1.2-0.3*i,0,-0.2-0.1*i)
  3859.  
  3860.  
  3861. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3862.  
  3863.  
  3864. end
  3865.  
  3866.  
  3867. for i=0,1,0.2 do
  3868.  
  3869.  
  3870. wait()
  3871.  
  3872.  
  3873. Neck.C0=necko*euler(0.3+0.2*i,0,-0.5*i)
  3874.  
  3875.  
  3876. RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.9-1.3*i,0,-0.3)
  3877.  
  3878.  
  3879. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3880.  
  3881.  
  3882. end
  3883.  
  3884.  
  3885. local ammo=Instance.new("Model")
  3886.  
  3887.  
  3888. ammo.Parent=modelzorz
  3889.  
  3890.  
  3891. ammo.Name="Ammo"
  3892.  
  3893.  
  3894. local aprt1=part(3,ammo,0,0,BrickColor.new("Magenta"),"Part1",vt(1,1,1))
  3895.  
  3896.  
  3897. local amsh1=mesh("CylinderMesh",aprt1,"","",vt(0,0,0),vt(0.7,0.2,0.7))
  3898.  
  3899.  
  3900. local awld1=weld(aprt1,aprt1,RightArm,cf(0,1,0))
  3901.  
  3902.  
  3903. numb=0
  3904.  
  3905.  
  3906. for i=1,10 do
  3907.  
  3908.  
  3909. local aprt2=part(3,ammo,0,0,BrickColor.new("Bright yellow"),"Part2",vt(1,1,1))
  3910.  
  3911.  
  3912. local amsh2=mesh("CylinderMesh",aprt2,"","",vt(0,0,0),vt(0.2,0.3,0.2))
  3913.  
  3914.  
  3915. local awld2=weld(aprt2,aprt2,aprt1,cf(0.2,0.1,0)*euler(0,numb,0))
  3916.  
  3917.  
  3918. numb=numb+0.628
  3919.  
  3920.  
  3921. end
  3922.  
  3923.  
  3924. for i=0,1,0.2 do
  3925.  
  3926.  
  3927. wait()
  3928.  
  3929.  
  3930. awld1.C0=euler(1.57,0,0)*cf(0,1+0.1*i,0)
  3931.  
  3932.  
  3933. Neck.C0=necko*euler(0.5-0.2*i,0,-0.5+0.5*i)
  3934.  
  3935.  
  3936. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(-0.4+1.5*i,0,-0.3-0.1*i)
  3937.  
  3938.  
  3939. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3940.  
  3941.  
  3942. end
  3943.  
  3944.  
  3945. ammo.Parent=nil
  3946.  
  3947.  
  3948. for i=0,1,0.2 do
  3949.  
  3950.  
  3951. wait()
  3952.  
  3953.  
  3954. gwld20.C0=cf(0.3-0.3*i,-0.8-0.2+0.2*i,0)*euler(0,0,1.57-1.57*i)
  3955.  
  3956.  
  3957. Neck.C0=necko*euler(0.3-0.1*i,0,-0.2*i)
  3958.  
  3959.  
  3960. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.1+0.1*i,0,-0.4+0.4*i)
  3961.  
  3962.  
  3963. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3964.  
  3965.  
  3966. end
  3967.  
  3968.  
  3969. for i=0,1,0.1 do
  3970.  
  3971.  
  3972. wait()
  3973.  
  3974.  
  3975. gwld1.C0=euler(1.57+0.5,0,-1.57+1.57*i)*cf(0,1,0)
  3976.  
  3977.  
  3978. gwld13.C0=cf(0,0,0.3)*euler(0,1.57*i,0)
  3979.  
  3980.  
  3981. Neck.C0=necko*euler(0.2-0.2*i,0,-0.2+0.2*i)
  3982.  
  3983.  
  3984. RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(1.2-1.2*i,0,0.2*i)
  3985.  
  3986.  
  3987. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  3988.  
  3989.  
  3990. LW.C0=cf(-1-0.2*i, 0.5, -0.5+0.2*i) * euler(1-0.5*i,0,0.6*i)
  3991.  
  3992.  
  3993. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  3994.  
  3995.  
  3996. end
  3997.  
  3998.  
  3999. Bullets=10
  4000.  
  4001.  
  4002. else
  4003.  
  4004.  
  4005. for i=0,1,0.1 do
  4006.  
  4007.  
  4008. wait()
  4009.  
  4010.  
  4011. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  4012.  
  4013.  
  4014. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  4015.  
  4016.  
  4017. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4018.  
  4019.  
  4020. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-1.57*i,0,-0.785+1.385*i)
  4021.  
  4022.  
  4023. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  4024.  
  4025.  
  4026. end
  4027.  
  4028.  
  4029. Neck.C0=necko
  4030.  
  4031.  
  4032. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  4033.  
  4034.  
  4035. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4036.  
  4037.  
  4038. LW.C0=cf(-1.2, 0.5, -0.3) * euler(0.5,0,0.6)
  4039.  
  4040.  
  4041. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  4042.  
  4043.  
  4044. end
  4045.  
  4046.  
  4047. Bg.Parent=nil
  4048.  
  4049.  
  4050. Humanoid.WalkSpeed=16
  4051.  
  4052.  
  4053. attack=false
  4054.  
  4055.  
  4056. end
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062. function slash1()
  4063.  
  4064.  
  4065. attack=true
  4066.  
  4067.  
  4068. for i=0,1,0.1 do
  4069.  
  4070.  
  4071. wait()
  4072.  
  4073.  
  4074. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  4075.  
  4076.  
  4077. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4078.  
  4079.  
  4080. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.4-0.2*i)
  4081.  
  4082.  
  4083. LW.C1=cf(0, 0.5, 0) * euler(0,1*i,0)
  4084.  
  4085.  
  4086. end
  4087.  
  4088.  
  4089. Bg.Parent=Head
  4090.  
  4091.  
  4092. Bg.cframe=Head.CFrame
  4093.  
  4094.  
  4095. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  4096.  
  4097.  
  4098. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1)
  4099.  
  4100.  
  4101. for i=0,1,0.2 do
  4102.  
  4103.  
  4104. wait()
  4105.  
  4106.  
  4107. Neck.C0=necko*euler(0,0,0.785*i)
  4108.  
  4109.  
  4110. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)
  4111.  
  4112.  
  4113. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  4114.  
  4115.  
  4116. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4117.  
  4118.  
  4119. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(-0.4+2.4*i,0,-0.6+1.4*i)
  4120.  
  4121.  
  4122. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  4123.  
  4124.  
  4125. end
  4126.  
  4127.  
  4128. for i=0,1,0.1 do
  4129.  
  4130.  
  4131. wait()
  4132.  
  4133.  
  4134. --[[Neck.C0=necko*euler(0,0,0.785*i)
  4135.  
  4136.  
  4137. swld1.C0=euler(0.5*i,-1.57,-1.57)*cf(0,1,0)]]
  4138.  
  4139.  
  4140. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  4141.  
  4142.  
  4143. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4144.  
  4145.  
  4146. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(2,0,0.8+0.2*i)
  4147.  
  4148.  
  4149. LW.C1=cf(0, 0.5, 0) * euler(0,1,0)
  4150.  
  4151.  
  4152. end
  4153.  
  4154.  
  4155. con1:disconnect()
  4156.  
  4157.  
  4158. wait()
  4159.  
  4160.  
  4161. attack=false
  4162.  
  4163.  
  4164. end
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170. function slash2()
  4171.  
  4172.  
  4173. attack=true
  4174.  
  4175.  
  4176. CF=Head.CFrame
  4177.  
  4178.  
  4179. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  4180.  
  4181.  
  4182. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  4183.  
  4184.  
  4185. for i=0,1,0.2 do
  4186.  
  4187.  
  4188. wait()
  4189.  
  4190.  
  4191. swld1.C0=euler(0.5-0.5*i,-1.57,-1.57)*cf(0,1,0)
  4192.  
  4193.  
  4194. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  4195.  
  4196.  
  4197. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4198.  
  4199.  
  4200. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(2-0.43*i,0,1-2.57*i)
  4201.  
  4202.  
  4203. LW.C1=cf(0, 0.5, 0) * euler(0,1+.57*i,0)
  4204.  
  4205.  
  4206. Bg.cframe=CF*euler(0,3.14*i,0)
  4207.  
  4208.  
  4209. end
  4210.  
  4211.  
  4212. so("http://roblox.com/asset/?id=10209640",LeftArm,1,1.5)
  4213.  
  4214.  
  4215. for i=0,1,0.2 do
  4216.  
  4217.  
  4218. wait()
  4219.  
  4220.  
  4221. swld1.C0=euler(-0.5*i,-1.57,-1.57)*cf(0,1,0)
  4222.  
  4223.  
  4224. Bg.cframe=CF*euler(0,3.14+3.14*i,0)
  4225.  
  4226.  
  4227. end
  4228.  
  4229.  
  4230. con1:disconnect()
  4231.  
  4232.  
  4233. wait()
  4234.  
  4235.  
  4236. attack=false
  4237.  
  4238.  
  4239. end
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245. function slash3()
  4246.  
  4247.  
  4248. attack=true
  4249.  
  4250.  
  4251. Bg.Parent=nil
  4252.  
  4253.  
  4254. for i=0,1,0.1 do
  4255.  
  4256.  
  4257. wait()
  4258.  
  4259.  
  4260. Neck.C0=necko*euler(0,0,0.785-0.785*i)
  4261.  
  4262.  
  4263. swld1.C0=euler(-0.5+0.5*i,-1.57,-1.57)*cf(0,1,0)
  4264.  
  4265.  
  4266. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  4267.  
  4268.  
  4269. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4270.  
  4271.  
  4272. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57+.43*i,0,-1.57+1*i)
  4273.  
  4274.  
  4275. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-2.07*i,0)
  4276.  
  4277.  
  4278. end
  4279.  
  4280.  
  4281. con1=sprt16.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  4282.  
  4283.  
  4284. so("http://roblox.com/asset/?id=10209640",LeftArm,1,0.9)
  4285.  
  4286.  
  4287. for i=0,1,0.2 do
  4288.  
  4289.  
  4290. wait()
  4291.  
  4292.  
  4293. Neck.C0=necko*euler(0.3*i,0,-0.2*i)
  4294.  
  4295.  
  4296. swld1.C0=euler(-0.3*i,-1.57,-1.57)*cf(0,1,0)
  4297.  
  4298.  
  4299. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5*i,0,0.2+0.2*i)
  4300.  
  4301.  
  4302. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4303.  
  4304.  
  4305. LW.C0=cf(-1.5+1.5*i, 0.5-0.2*i, -1*i) * euler(2-1.5*i,0,-.57+1.07*i)
  4306.  
  4307.  
  4308. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  4309.  
  4310.  
  4311. end
  4312.  
  4313.  
  4314. for i=0,1,0.1 do
  4315.  
  4316.  
  4317. wait()
  4318.  
  4319.  
  4320. RW.C0=cf(1.5, 0.5, 0) * euler(-0.5,0,0.4)
  4321.  
  4322.  
  4323. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4324.  
  4325.  
  4326. LW.C0=cf(0, 0.3, -1) * euler(.5-.2*i,0,.5)
  4327.  
  4328.  
  4329. LW.C1=cf(0, 0.5, 0) * euler(0,-.5,0)
  4330.  
  4331.  
  4332. end
  4333.  
  4334.  
  4335. con1:disconnect()
  4336.  
  4337.  
  4338. wait()
  4339.  
  4340.  
  4341. attack=false
  4342.  
  4343.  
  4344. end
  4345.  
  4346.  
  4347.  
  4348.  
  4349.  
  4350. function BowShoot()
  4351.  
  4352.  
  4353. attack=true
  4354.  
  4355.  
  4356. BowAim=true
  4357.  
  4358.  
  4359. HeadNumb=0
  4360.  
  4361.  
  4362. Humanoid.WalkSpeed=2
  4363.  
  4364.  
  4365. coroutine.resume(coroutine.create(function(FenNeck)
  4366.  
  4367.  
  4368. while BowAim==true do
  4369.  
  4370.  
  4371. wait()
  4372.  
  4373.  
  4374. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  4375.  
  4376.  
  4377. Bg.cframe = cf(Head.Position,pos4) * euler(0,3.14-HeadNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  4378.  
  4379.  
  4380. Bg.Parent = Torso
  4381.  
  4382.  
  4383. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  4384.  
  4385.  
  4386. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  4387.  
  4388.  
  4389. offset=offset/mag
  4390.  
  4391.  
  4392. FenNeck.C1=necko2*euler(-offset,0,0)
  4393.  
  4394.  
  4395. end
  4396.  
  4397.  
  4398. end),Neck)
  4399.  
  4400.  
  4401. for i=0,1,0.1 do
  4402.  
  4403.  
  4404. wait()
  4405.  
  4406.  
  4407. HeadNumb=1.57*i
  4408.  
  4409.  
  4410. swld1.C0=euler(0,-1.57+0.3*i,-1.57)*cf(0,1,0)
  4411.  
  4412.  
  4413. Neck.C0=necko*euler(0,0,HeadNumb)
  4414.  
  4415.  
  4416. RW.C0=cf(1.5-2.5*i, 0.5, -1*i) * euler(1.57*i,0,0.2-1.97*i)
  4417.  
  4418.  
  4419. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4420.  
  4421.  
  4422. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.4-0.87*i)
  4423.  
  4424.  
  4425. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4426.  
  4427.  
  4428. end
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434. local string1=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String1",vt(0.5,1,0.5))
  4435.  
  4436.  
  4437. local stringmsh1=mesh("CylinderMesh",string1,"","",vt(0,0,0),vt(0.1,1,0.1))
  4438.  
  4439.  
  4440. local stringwld1=weld(string1,string1,prt17,euler(0,0,0)*cf(0,0,0))
  4441.  
  4442.  
  4443. local string2=part(3,sword,0,1,BrickColor.new("Bright yellow"),"String2",vt(0.5,1,0.5))
  4444.  
  4445.  
  4446. local stringmsh2=mesh("CylinderMesh",string2,"","",vt(0,0,0),vt(0.1,1,0.1))
  4447.  
  4448.  
  4449. local stringwld2=weld(string2,string2,prt19,euler(0,0,0)*cf(0,0,0))
  4450.  
  4451.  
  4452. table.insert(SwordWelds,stringwld1)
  4453.  
  4454.  
  4455. table.insert(SwordWelds,stringwld1)
  4456.  
  4457.  
  4458. coroutine.resume(coroutine.create(function(String1,String2)
  4459.  
  4460.  
  4461. for i=0,1,0.1 do
  4462.  
  4463.  
  4464. wait()
  4465.  
  4466.  
  4467. String1.Transparency=String1.Transparency-0.05
  4468.  
  4469.  
  4470. String2.Transparency=String2.Transparency-0.05
  4471.  
  4472.  
  4473. end
  4474.  
  4475.  
  4476. end),string1,string2)
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482. local strmdl = "Arrow"
  4483.  
  4484.  
  4485. coroutine.resume(coroutine.create(function()
  4486.  
  4487.  
  4488. arrowdebounce=false
  4489.  
  4490.  
  4491. repeat
  4492.  
  4493.  
  4494. wait(0)
  4495.  
  4496.  
  4497. coroutine.resume(coroutine.create(function()
  4498.  
  4499.  
  4500. if arrowdebounce==false then
  4501.  
  4502.  
  4503. so("http://www.roblox.com/asset/?id=10756118",sprt18,1,1)
  4504.  
  4505.  
  4506. Lightning(sprt17.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  4507.  
  4508.  
  4509. Lightning(sprt19.Position,sprt18.Position,3,0.2,"Bright yellow",0.00001,0.4)
  4510.  
  4511.  
  4512. arrowdebounce=true
  4513.  
  4514.  
  4515. wait(0.1)
  4516.  
  4517.  
  4518. arrowdebounce=false
  4519.  
  4520.  
  4521. end
  4522.  
  4523.  
  4524. end))
  4525.  
  4526.  
  4527. local top = sprt17.CFrame
  4528.  
  4529.  
  4530. local bottom = sprt19.CFrame
  4531.  
  4532.  
  4533. local oristrpos
  4534.  
  4535.  
  4536. if strmdl == "Bow" then
  4537.  
  4538.  
  4539. oristrpos = CFrame.new((top.p+bottom.p)/2)
  4540.  
  4541.  
  4542. elseif strmdl == "Arrow" then
  4543.  
  4544.  
  4545. oristrpos = sprt18.CFrame
  4546.  
  4547.  
  4548. end
  4549.  
  4550.  
  4551. local mg1 = (top.p - oristrpos.p).magnitude
  4552.  
  4553.  
  4554. local mg2 = (bottom.p - oristrpos.p).magnitude
  4555.  
  4556.  
  4557. stringmsh1.Scale=vt(0.1,mg1,0.1)
  4558.  
  4559.  
  4560. basecf=sprt17.CFrame
  4561.  
  4562.  
  4563. cff=CFrame.new(sprt17.CFrame*angles(1.57,0,0).p,sprt18.Position)*angles(math.rad(90),0,0)*cf(0,-mg1/2,0)
  4564.  
  4565.  
  4566. hit2=string1
  4567.  
  4568.  
  4569. hit=sprt18
  4570.  
  4571.  
  4572. stringwld1.Parent=string1
  4573.  
  4574.  
  4575. stringwld1.Part0=hit2
  4576.  
  4577.  
  4578. stringwld1.Part1=hit
  4579.  
  4580.  
  4581. HitPos=cff.p
  4582.  
  4583.  
  4584. local CJ = CFrame.new(HitPos)
  4585.  
  4586.  
  4587. local C0=cff:inverse() *CJ
  4588.  
  4589.  
  4590. local C1=hit.CFrame:inverse() * CJ
  4591.  
  4592.  
  4593. stringwld1.C0=C0
  4594.  
  4595.  
  4596. stringwld1.C1=C1
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602. stringmsh2.Scale=vt(0.1,mg2,0.1)
  4603.  
  4604.  
  4605. cff2=CFrame.new(sprt18.CFrame*angles(1.57,0,0).p,sprt19.Position)*angles(math.rad(90),0,0)*cf(0,-mg2/2,0)
  4606.  
  4607.  
  4608. hit3=string2
  4609.  
  4610.  
  4611. hit2=sprt18
  4612.  
  4613.  
  4614. stringwld2.Parent=string2
  4615.  
  4616.  
  4617. stringwld2.Part0=hit3
  4618.  
  4619.  
  4620. stringwld2.Part1=hit2
  4621.  
  4622.  
  4623. HitPos2=cff2.p
  4624.  
  4625.  
  4626. local CJ2 = CFrame.new(HitPos2)
  4627.  
  4628.  
  4629. local C02=cff2:inverse() *CJ
  4630.  
  4631.  
  4632. local C12=hit2.CFrame:inverse() * CJ
  4633.  
  4634.  
  4635. stringwld2.C0=C02
  4636.  
  4637.  
  4638. stringwld2.C1=C12
  4639.  
  4640.  
  4641. until string1.Parent==nil
  4642.  
  4643.  
  4644. end))
  4645.  
  4646.  
  4647. swld18.Part1=RightArm
  4648.  
  4649.  
  4650. swld18.C0=cf(0,1,0)
  4651.  
  4652.  
  4653. local arrow=part(3,sword,0,1,BrickColor.new("Bright yellow"),"Arrow",vt(1,1,1))
  4654.  
  4655.  
  4656. local arrowmsh=mesh("SpecialMesh",arrow,"FileMesh","http://www.roblox.com/asset/?id=15887356",vt(0,0,0),vt(1,1,2))
  4657.  
  4658.  
  4659. arrowmsh.VertexColor=vt(1,1,1)
  4660.  
  4661.  
  4662. local arrowwld=weld(arrow,arrow,sprt18,euler(-1.57,0,0)*cf(0,1,0))
  4663.  
  4664.  
  4665. for i=0,1,0.1 do
  4666.  
  4667.  
  4668. wait()
  4669.  
  4670.  
  4671. arrow.Transparency=arrow.Transparency-0.05
  4672.  
  4673.  
  4674. arrowwld.C0=euler(-1.57,0,0)*cf(0,1,0)*euler(0,0,0.15*i)
  4675.  
  4676.  
  4677. RW.C0=cf(1.5-2.5+2*i, 0.5, -1) * euler(1.57,0,-1.77+0.2*i)
  4678.  
  4679.  
  4680. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4681.  
  4682.  
  4683. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  4684.  
  4685.  
  4686. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4687.  
  4688.  
  4689. end
  4690.  
  4691.  
  4692. while BowAim==true do
  4693.  
  4694.  
  4695. wait(0)
  4696.  
  4697.  
  4698. end
  4699.  
  4700.  
  4701. so("http://www.roblox.com/asset/?id=16211041",prt18,1,1)
  4702.  
  4703.  
  4704. spread=0
  4705.  
  4706.  
  4707. range=500
  4708.  
  4709.  
  4710. rangepower=100
  4711.  
  4712.  
  4713. shoottrail(MMouse.Hit.p,arrow,30,10,2)
  4714.  
  4715.  
  4716. Humanoid.WalkSpeed=0
  4717.  
  4718.  
  4719. arrow.Parent=nil
  4720.  
  4721.  
  4722. swld18.Part0=sprt18
  4723.  
  4724.  
  4725. swld18.Part1=sprt1
  4726.  
  4727.  
  4728. swld18.C0=cf(0,0,-0.8)
  4729.  
  4730.  
  4731. for i=0,1,0.2 do
  4732.  
  4733.  
  4734. wait()
  4735.  
  4736.  
  4737. Neck.C0=necko*euler(-0.2*i,0,HeadNumb)
  4738.  
  4739.  
  4740. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  4741.  
  4742.  
  4743. RW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  4744.  
  4745.  
  4746. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  4747.  
  4748.  
  4749. LW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  4750.  
  4751.  
  4752. end
  4753.  
  4754.  
  4755. for i=0,1,0.1 do
  4756.  
  4757.  
  4758. wait()
  4759.  
  4760.  
  4761. Neck.C0=necko*euler(-0.2-0.1*i,0,HeadNumb)
  4762.  
  4763.  
  4764. RW.C0=cf(1, 0.5, -1) * euler(1.57,0,-1.57)
  4765.  
  4766.  
  4767. RW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  4768.  
  4769.  
  4770. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,0,-1.27)
  4771.  
  4772.  
  4773. LW.C1=cf(0, 0.5, 0) * euler(-0.4-0.1*i,0,0)
  4774.  
  4775.  
  4776. end
  4777.  
  4778.  
  4779. string1.Parent=nil
  4780.  
  4781.  
  4782. string2.Parent=nil
  4783.  
  4784.  
  4785. BowAim=false
  4786.  
  4787.  
  4788. Humanoid.WalkSpeed=16
  4789.  
  4790.  
  4791. Bg.Parent=nil
  4792.  
  4793.  
  4794. for i=0,1,0.1 do
  4795.  
  4796.  
  4797. wait()
  4798.  
  4799.  
  4800. Neck.C0=necko*euler(-0.3+0.3*i,0,HeadNumb-HeadNumb*i)
  4801.  
  4802.  
  4803. RW.C0=cf(1+0.5*i, 0.5, -1+1*i) * euler(1.57-1.57*i,0,-1.57+1.77*i)
  4804.  
  4805.  
  4806. RW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  4807.  
  4808.  
  4809. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-1.27+1.07*i)
  4810.  
  4811.  
  4812. LW.C1=cf(0, 0.5, 0) * euler(-0.5+0.5*i,0,0)
  4813.  
  4814.  
  4815. end
  4816.  
  4817.  
  4818. spread=0
  4819.  
  4820.  
  4821. range=500
  4822.  
  4823.  
  4824. rangepower=50
  4825.  
  4826.  
  4827. Neck.C1=necko2
  4828.  
  4829.  
  4830. Neck.C0=necko
  4831.  
  4832.  
  4833. attack=false
  4834.  
  4835.  
  4836. end
  4837.  
  4838.  
  4839.  
  4840.  
  4841.  
  4842. function Aim()
  4843.  
  4844.  
  4845. attack=true
  4846.  
  4847.  
  4848. Humanoid.WalkSpeed=5
  4849.  
  4850.  
  4851. Bg.Parent=Torso
  4852.  
  4853.  
  4854. Bg.cframe=Head.CFrame
  4855.  
  4856.  
  4857. CF=Torso.CFrame
  4858.  
  4859.  
  4860. for i=0,1,0.1 do
  4861.  
  4862.  
  4863. wait()
  4864.  
  4865.  
  4866. Bg.cframe=CF*euler(0,0.785*i,0)
  4867.  
  4868.  
  4869. Neck.C0=necko*euler(0,0,-0.785*i)
  4870.  
  4871.  
  4872. Neck.C1=necko2*euler(0,-0.5*i,0)
  4873.  
  4874.  
  4875. RW.C0=cf(1+0.2*i, 0.3, -0.5-0.2*i) * euler(0.9+0.6*i,0,-0.3+0.1*i)
  4876.  
  4877.  
  4878. RW.C1=cf(0, 0.5, 0) * euler(0,1.3+0.27*i,0)
  4879.  
  4880.  
  4881. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07+0.5*i,0,0.7+0.085*i)
  4882.  
  4883.  
  4884. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4885.  
  4886.  
  4887. end
  4888.  
  4889.  
  4890. attack=false
  4891.  
  4892.  
  4893. end
  4894.  
  4895.  
  4896.  
  4897.  
  4898.  
  4899. function UnAim()
  4900.  
  4901.  
  4902. attack=true
  4903.  
  4904.  
  4905. Humanoid.WalkSpeed=16
  4906.  
  4907.  
  4908. for i=0,1,0.1 do
  4909.  
  4910.  
  4911. wait()
  4912.  
  4913.  
  4914. Bg.cframe=CF*euler(0,0.785-0.785*i,0)
  4915.  
  4916.  
  4917. Neck.C0=necko*euler(0,0,-0.785+0.785*i)
  4918.  
  4919.  
  4920. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  4921.  
  4922.  
  4923. RW.C0=cf(1.2-0.2*i, 0.3, -0.7+0.2*i) * euler(1.5-0.6*i,0,-0.2-0.1*i)
  4924.  
  4925.  
  4926. RW.C1=cf(0, 0.5, 0) * euler(0,1.57-0.27*i,0)
  4927.  
  4928.  
  4929. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57-0.5*i,0,0.785-0.085*i)
  4930.  
  4931.  
  4932. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  4933.  
  4934.  
  4935. end
  4936.  
  4937.  
  4938. Bg.Parent=nil
  4939.  
  4940.  
  4941. attack=false
  4942.  
  4943.  
  4944. end
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950. function SniperShoot()
  4951.  
  4952.  
  4953. attack=true
  4954.  
  4955.  
  4956. spread=0
  4957.  
  4958.  
  4959. range=1000
  4960.  
  4961.  
  4962. rangepower=100
  4963.  
  4964.  
  4965. shoottrail(MMouse.Hit.p,snprt15,20,20,0.5)
  4966.  
  4967.  
  4968. coroutine.resume(coroutine.create(function()
  4969.  
  4970.  
  4971. for z = 1 ,4 do
  4972.  
  4973.  
  4974. coroutine.resume(coroutine.create(function()
  4975.  
  4976.  
  4977. local meshb1 = Instance.new("BlockMesh")
  4978.  
  4979.  
  4980. meshb1.Scale = Vector3.new(1,1,1)
  4981.  
  4982.  
  4983. light = Instance.new("PointLight")
  4984.  
  4985.  
  4986. light.Brightness = .8
  4987.  
  4988.  
  4989. light.Color = Color3.new(100,50,0)
  4990.  
  4991.  
  4992. light.Range = 10
  4993.  
  4994.  
  4995. local shellb1 = Instance.new("Part")
  4996.  
  4997.  
  4998. light.Parent = shellb1
  4999.  
  5000.  
  5001. meshb1.Parent = shellb1
  5002.  
  5003.  
  5004. shellb1.Anchored = true
  5005.  
  5006.  
  5007. shellb1.formFactor = 3
  5008.  
  5009.  
  5010. shellb1.Size = Vector3.new(0.3,0.3,0.3) * (math.random(100,300)/100)
  5011.  
  5012.  
  5013. shellb1.CFrame = CFrame.new((snprt15.CFrame * CFrame.new(0,-snprt15.Size.y/2,0)).p) * CFrame.Angles(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  5014.  
  5015.  
  5016. shellb1.Parent = Character
  5017.  
  5018.  
  5019. shellb1.Transparency = 0
  5020.  
  5021.  
  5022. if math.random(1,2) == 1 then
  5023.  
  5024.  
  5025. shellb1.BrickColor = BrickColor.new("Bright red")
  5026.  
  5027.  
  5028. else
  5029.  
  5030.  
  5031. shellb1.BrickColor = BrickColor.new("Plum")
  5032.  
  5033.  
  5034. end
  5035.  
  5036.  
  5037. shellb1.CanCollide = false
  5038.  
  5039.  
  5040. local incre = math.random(0,60)/100
  5041.  
  5042.  
  5043. HCF=Head.CFrame.lookVector
  5044.  
  5045.  
  5046. for i = 0 , 1 , 0.02 do
  5047.  
  5048.  
  5049. wait()
  5050.  
  5051.  
  5052. light.Brightness = light.Brightness - .02
  5053.  
  5054.  
  5055. shellb1.CFrame = shellb1.CFrame + HCF*incre
  5056.  
  5057.  
  5058. shellb1.Transparency = 1*i
  5059.  
  5060.  
  5061. meshb1.Scale = Vector3.new(1+1*i,1+1*i,1+1*i)
  5062.  
  5063.  
  5064. end
  5065.  
  5066.  
  5067. shellb1.Parent=nil
  5068.  
  5069.  
  5070. end))
  5071.  
  5072.  
  5073. end
  5074.  
  5075.  
  5076. end))
  5077.  
  5078.  
  5079. so("http://roblox.com/asset/?id=10209875",snprt15,1,0.8)
  5080.  
  5081.  
  5082. for i=0,1,0.3 do
  5083.  
  5084.  
  5085. wait()
  5086.  
  5087.  
  5088. Neck.C0=necko*euler(-0.3*i,0,-0.785)
  5089.  
  5090.  
  5091. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3*i,0,-0.2)
  5092.  
  5093.  
  5094. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  5095.  
  5096.  
  5097. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  5098.  
  5099.  
  5100. LW.C1=cf(0, 0.5, 0) * euler(-0.3*i,0,0)
  5101.  
  5102.  
  5103. end
  5104.  
  5105.  
  5106. for i=0,1,0.2 do
  5107.  
  5108.  
  5109. wait()
  5110.  
  5111.  
  5112. Neck.C0=necko*euler(-0.3-0.1*i,0,-0.785)
  5113.  
  5114.  
  5115. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.5+0.3+0.1*i,0,-0.2)
  5116.  
  5117.  
  5118. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  5119.  
  5120.  
  5121. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785)
  5122.  
  5123.  
  5124. LW.C1=cf(0, 0.5, 0) * euler(-0.3-0.1*i,0,0)
  5125.  
  5126.  
  5127. end
  5128.  
  5129.  
  5130. Humanoid.WalkSpeed=16
  5131.  
  5132.  
  5133. for i=0,1,0.1 do
  5134.  
  5135.  
  5136. wait()
  5137.  
  5138.  
  5139. Neck.C0=necko*euler(-0.4+0.6*i,0,-0.785+0.785*i)
  5140.  
  5141.  
  5142. Neck.C1=necko2*euler(0,-0.5+0.5*i,0)
  5143.  
  5144.  
  5145. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.9-0.6*i,0,-0.2-0.4*i)
  5146.  
  5147.  
  5148. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  5149.  
  5150.  
  5151. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.785-0.185*i)
  5152.  
  5153.  
  5154. LW.C1=cf(0, 0.5, 0) * euler(-0.4+0.8*i,0,0)
  5155.  
  5156.  
  5157. end
  5158.  
  5159.  
  5160. so("http://roblox.com/asset/?id=10209881",snprt15,1,1)
  5161.  
  5162.  
  5163. local ammo=part(3,workspace,0,0,BrickColor.new("Bright yellow"),"Ammo",vt(1,1,1))
  5164.  
  5165.  
  5166. ammo.CanCollide=true
  5167.  
  5168.  
  5169. ammomsh=mesh("CylinderMesh",ammo,"","",vt(0,0,0),vt(0.15,0.2,0.15))
  5170.  
  5171.  
  5172. local cfrf = snprt25.CFrame * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  5173.  
  5174.  
  5175. local cfr = cfrf + cfrf.lookVector * -0.5
  5176.  
  5177.  
  5178. ammo.CFrame = cfr
  5179.  
  5180.  
  5181. ammo.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  5182.  
  5183.  
  5184. ammo.Velocity = cfr.lookVector * 20
  5185.  
  5186.  
  5187. coroutine.resume(coroutine.create(function(Part)
  5188.  
  5189.  
  5190. wait(10)
  5191.  
  5192.  
  5193. Part.Parent=nil
  5194.  
  5195.  
  5196. end),ammo)
  5197.  
  5198.  
  5199. for i=0,1,0.2 do
  5200.  
  5201.  
  5202. wait()
  5203.  
  5204.  
  5205. snwld26.C1=euler(0,0,1*i)
  5206.  
  5207.  
  5208. RW.C0=cf(1.2, 0.3, -0.7-0.4*i) * euler(1.3,0,-0.6+0.3*i)
  5209.  
  5210.  
  5211. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  5212.  
  5213.  
  5214. end
  5215.  
  5216.  
  5217. for i=0,1,0.2 do
  5218.  
  5219.  
  5220. wait()
  5221.  
  5222.  
  5223. snwld26.C1=euler(0,0,1-1*i)
  5224.  
  5225.  
  5226. RW.C0=cf(1.2, 0.3, -0.7-0.4+0.4*i) * euler(1.3,0,-0.6+0.3-0.3*i)
  5227.  
  5228.  
  5229. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  5230.  
  5231.  
  5232. end
  5233.  
  5234.  
  5235. Humanoid.WalkSpeed=5
  5236.  
  5237.  
  5238. for i=0,1,0.1 do
  5239.  
  5240.  
  5241. wait()
  5242.  
  5243.  
  5244. Neck.C0=necko*euler(0.2-0.2*i,0,-0.785*i)
  5245.  
  5246.  
  5247. Neck.C1=necko2*euler(0,-0.5*i,0)
  5248.  
  5249.  
  5250. RW.C0=cf(1.2, 0.3, -0.7) * euler(1.3+0.2*i,0,-0.6+0.4*i)
  5251.  
  5252.  
  5253. RW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  5254.  
  5255.  
  5256. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.57,0,0.6+0.185*i)
  5257.  
  5258.  
  5259. LW.C1=cf(0, 0.5, 0) * euler(0.4-0.4*i,0,0)
  5260.  
  5261.  
  5262. end
  5263.  
  5264.  
  5265. spread=0
  5266.  
  5267.  
  5268. range=500
  5269.  
  5270.  
  5271. rangepower=50
  5272.  
  5273.  
  5274. attack=false
  5275.  
  5276.  
  5277. end
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283. function RemoveDrones()
  5284.  
  5285.  
  5286. attack=true
  5287.  
  5288.  
  5289. for i=0,1,0.1 do
  5290.  
  5291.  
  5292. wait()
  5293.  
  5294.  
  5295. Neck.C0=necko*euler(-0.5*i,0,0)
  5296.  
  5297.  
  5298. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  5299.  
  5300.  
  5301. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5302.  
  5303.  
  5304. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  5305.  
  5306.  
  5307. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5308.  
  5309.  
  5310. end
  5311.  
  5312.  
  5313. for _,v in pairs(modelzorz:children()) do
  5314.  
  5315.  
  5316. if v.Name=="Drone" then
  5317.  
  5318.  
  5319. print("FoundDrone")
  5320.  
  5321.  
  5322. for _,s in pairs(v:children()) do
  5323.  
  5324.  
  5325. if s.className=="Part" then
  5326.  
  5327.  
  5328. s.Anchored=true
  5329.  
  5330.  
  5331. coroutine.resume(coroutine.create(function(Part,Model)
  5332.  
  5333.  
  5334. for i=0,1,0.1 do
  5335.  
  5336.  
  5337. wait(0)
  5338.  
  5339.  
  5340. Part.Transparency=Part.Transparency+0.1
  5341.  
  5342.  
  5343. end
  5344.  
  5345.  
  5346. wait()
  5347.  
  5348.  
  5349. Model.Parent=nil
  5350.  
  5351.  
  5352. end),s,v)
  5353.  
  5354.  
  5355. end
  5356.  
  5357.  
  5358. end
  5359.  
  5360.  
  5361. end
  5362.  
  5363.  
  5364. end
  5365.  
  5366.  
  5367. wait(1)
  5368.  
  5369.  
  5370. for i=0,1,0.1 do
  5371.  
  5372.  
  5373. wait()
  5374.  
  5375.  
  5376. Neck.C0=necko*euler(-0.5+0.5*i,0,0)
  5377.  
  5378.  
  5379. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-3.14*i,0,0)
  5380.  
  5381.  
  5382. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5383.  
  5384.  
  5385. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2+0.2*i)
  5386.  
  5387.  
  5388. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5389.  
  5390.  
  5391. end
  5392.  
  5393.  
  5394. attack=false
  5395.  
  5396.  
  5397. end
  5398.  
  5399.  
  5400.  
  5401.  
  5402.  
  5403. function RemoveDrones2()
  5404.  
  5405.  
  5406. attack=true
  5407.  
  5408.  
  5409. for i=0,1,0.1 do
  5410.  
  5411.  
  5412. wait()
  5413.  
  5414.  
  5415. Neck.C0=necko*euler(-0.3-0.3*i,0,-0.3+0.3*i)
  5416.  
  5417.  
  5418. RW.C0=cf(1, 0.3, -0.8) * euler(1.57-0.4*i,0,-0.7)
  5419.  
  5420.  
  5421. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  5422.  
  5423.  
  5424. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(2.3+0.84*i,0,0.7-0.7*i)
  5425.  
  5426.  
  5427. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5428.  
  5429.  
  5430. end
  5431.  
  5432.  
  5433. for _,v in pairs(modelzorz:children()) do
  5434.  
  5435.  
  5436. if v.Name=="Drone" then
  5437.  
  5438.  
  5439. print("FoundDrone")
  5440.  
  5441.  
  5442. for _,s in pairs(v:children()) do
  5443.  
  5444.  
  5445. if s.className=="Part" then
  5446.  
  5447.  
  5448. s.Anchored=true
  5449.  
  5450.  
  5451. coroutine.resume(coroutine.create(function(Part,Model)
  5452.  
  5453.  
  5454. for i=0,1,0.1 do
  5455.  
  5456.  
  5457. wait(0)
  5458.  
  5459.  
  5460. Part.Transparency=Part.Transparency+0.1
  5461.  
  5462.  
  5463. end
  5464.  
  5465.  
  5466. wait()
  5467.  
  5468.  
  5469. Model.Parent=nil
  5470.  
  5471.  
  5472. end),s,v)
  5473.  
  5474.  
  5475. end
  5476.  
  5477.  
  5478. end
  5479.  
  5480.  
  5481. end
  5482.  
  5483.  
  5484. end
  5485.  
  5486.  
  5487. wait(1)
  5488.  
  5489.  
  5490. for i=0,1,0.1 do
  5491.  
  5492.  
  5493. wait()
  5494.  
  5495.  
  5496. Neck.C0=necko*euler(-0.6+0.3*i,0,-0.3*i)
  5497.  
  5498.  
  5499. RW.C0=cf(1, 0.3, -0.8) * euler(1.17+0.4*i,0,-0.7)
  5500.  
  5501.  
  5502. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0)
  5503.  
  5504.  
  5505. LW.C0=cf(-1.5+0.3*i, 0.5, -0.3*i) * euler(3.14-0.84*i,0,0.7*i)
  5506.  
  5507.  
  5508. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5509.  
  5510.  
  5511. end
  5512.  
  5513.  
  5514. attack=false
  5515.  
  5516.  
  5517. end
  5518.  
  5519.  
  5520.  
  5521.  
  5522.  
  5523. function RemoveGun()
  5524.  
  5525.  
  5526. attack=true
  5527.  
  5528.  
  5529. for i=0,1,0.1 do
  5530.  
  5531.  
  5532. wait()
  5533.  
  5534.  
  5535. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.8*i) * euler(1.27*i,0,0.2-1.5*i)
  5536.  
  5537.  
  5538. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  5539.  
  5540.  
  5541. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.2*i) * euler(0.5+1.07*i,0,0.6-0.6*i)
  5542.  
  5543.  
  5544. LW.C1=cf(0, 0.5, 0) * euler(0,1.57,0)
  5545.  
  5546.  
  5547. end
  5548.  
  5549.  
  5550. for _,s in pairs(gun:children()) do
  5551.  
  5552.  
  5553. if s.className=="Part" then
  5554.  
  5555.  
  5556. coroutine.resume(coroutine.create(function(Part,Model)
  5557.  
  5558.  
  5559. for i=0,1,0.1 do
  5560.  
  5561.  
  5562. wait(0)
  5563.  
  5564.  
  5565. Part.Transparency=Part.Transparency+0.1
  5566.  
  5567.  
  5568. end
  5569.  
  5570.  
  5571. wait()
  5572.  
  5573.  
  5574. Model.Parent=nil
  5575.  
  5576.  
  5577. end),s,gun)
  5578.  
  5579.  
  5580. end
  5581.  
  5582.  
  5583. end
  5584.  
  5585.  
  5586. wait(0.7)
  5587.  
  5588.  
  5589. for i=0,1,0.1 do
  5590.  
  5591.  
  5592. wait()
  5593.  
  5594.  
  5595. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.3*i)
  5596.  
  5597.  
  5598. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  5599.  
  5600.  
  5601. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  5602.  
  5603.  
  5604. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  5605.  
  5606.  
  5607. end
  5608.  
  5609.  
  5610. attack=false
  5611.  
  5612.  
  5613. end
  5614.  
  5615.  
  5616.  
  5617.  
  5618.  
  5619. function RemoveSword()
  5620.  
  5621.  
  5622. attack=true
  5623.  
  5624.  
  5625. for i=0,1,0.1 do
  5626.  
  5627.  
  5628. wait()
  5629.  
  5630.  
  5631. RW.C0=cf(1.5-0.5*i, 0.5-0.2*i, -0.8*i) * euler(1.27*i,0,0.2-1.5*i)
  5632.  
  5633.  
  5634. RW.C1=cf(0, 0.5, 0) * euler(0,-1*i,0)
  5635.  
  5636.  
  5637. LW.C0=cf(-1.5, 0.5, -0.1*i) * euler(1.57*i,0,-0.4+0.4*i)
  5638.  
  5639.  
  5640. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  5641.  
  5642.  
  5643. end
  5644.  
  5645.  
  5646. for _,s in pairs(sword:children()) do
  5647.  
  5648.  
  5649. if s.className=="Part" then
  5650.  
  5651.  
  5652. coroutine.resume(coroutine.create(function(Part,Model)
  5653.  
  5654.  
  5655. for i=0,1,0.1 do
  5656.  
  5657.  
  5658. wait(0)
  5659.  
  5660.  
  5661. Part.Transparency=Part.Transparency+0.1
  5662.  
  5663.  
  5664. end
  5665.  
  5666.  
  5667. wait()
  5668.  
  5669.  
  5670. Model.Parent=nil
  5671.  
  5672.  
  5673. end),s,sword)
  5674.  
  5675.  
  5676. end
  5677.  
  5678.  
  5679. end
  5680.  
  5681.  
  5682. wait(0.7)
  5683.  
  5684.  
  5685. for i=0,1,0.1 do
  5686.  
  5687.  
  5688. wait()
  5689.  
  5690.  
  5691. RW.C0=cf(1+0.5*i, 0.3+0.2*i, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.3*i)
  5692.  
  5693.  
  5694. RW.C1=cf(0, 0.5, 0) * euler(0,-1+1*i,0)
  5695.  
  5696.  
  5697. LW.C0=cf(-1.5, 0.5, -0.1+0.1*i) * euler(1.57-1.57*i,0,0)
  5698.  
  5699.  
  5700. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  5701.  
  5702.  
  5703. end
  5704.  
  5705.  
  5706. attack=false
  5707.  
  5708.  
  5709. end
  5710.  
  5711.  
  5712.  
  5713.  
  5714.  
  5715. function RemoveSniper()
  5716.  
  5717.  
  5718. attack=true
  5719.  
  5720.  
  5721. for i=0,1,0.1 do
  5722.  
  5723.  
  5724. wait()
  5725.  
  5726.  
  5727. Neck.C0=necko*euler(0.4*i,0,0)
  5728.  
  5729.  
  5730. snwld1.C0=euler(2.07+0.3*i,0,0)*cf(0,1,0)
  5731.  
  5732.  
  5733. RW.C0=cf(1, 0.3, -0.5-0.3*i) * euler(0.9+0.37*i,0,-0.3-1*i)
  5734.  
  5735.  
  5736. RW.C1=cf(0, 0.5, 0) * euler(0,1.3-1*i,0)
  5737.  
  5738.  
  5739. LW.C0=cf(-1.2, 0.5, -0.3) * euler(1.07,0,0.7-0.2*i)
  5740.  
  5741.  
  5742. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5743.  
  5744.  
  5745. end
  5746.  
  5747.  
  5748. for _,s in pairs(sniper:children()) do
  5749.  
  5750.  
  5751. if s.className=="Part" then
  5752.  
  5753.  
  5754. coroutine.resume(coroutine.create(function(Part,Model)
  5755.  
  5756.  
  5757. for i=0,1,0.1 do
  5758.  
  5759.  
  5760. wait(0)
  5761.  
  5762.  
  5763. Part.Transparency=Part.Transparency+0.1
  5764.  
  5765.  
  5766. end
  5767.  
  5768.  
  5769. wait()
  5770.  
  5771.  
  5772. Model.Parent=nil
  5773.  
  5774.  
  5775. end),s,sniper)
  5776.  
  5777.  
  5778. end
  5779.  
  5780.  
  5781. end
  5782.  
  5783.  
  5784. wait(0.7)
  5785.  
  5786.  
  5787. for i=0,1,0.1 do
  5788.  
  5789.  
  5790. wait()
  5791.  
  5792.  
  5793. Neck.C0=necko*euler(0.4-0.4*i,0,0)
  5794.  
  5795.  
  5796. RW.C0=cf(1+0.5*i, 0.3, -0.8+0.8*i) * euler(1.27-1.27*i,0,-1.3+1.3*i)
  5797.  
  5798.  
  5799. RW.C1=cf(0, 0.5, 0) * euler(0,0.3-0.3*i,0)
  5800.  
  5801.  
  5802. LW.C0=cf(-1.2-0.3*i, 0.5, -0.3+0.3*i) * euler(1.07-1.07*i,0,0.5-0.5*i)
  5803.  
  5804.  
  5805. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  5806.  
  5807.  
  5808. end
  5809.  
  5810.  
  5811. attack=false
  5812.  
  5813.  
  5814. end
  5815.  
  5816.  
  5817.  
  5818.  
  5819.  
  5820. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  5821.  
  5822.  
  5823. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  5824.  
  5825.  
  5826. end
  5827.  
  5828.  
  5829.  
  5830.  
  5831.  
  5832. function Lightning(p0,p1,tym,ofs,col,th,tra)
  5833.  
  5834.  
  5835. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  5836.  
  5837.  
  5838. for i=1,tym do
  5839.  
  5840.  
  5841. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
  5842.  
  5843.  
  5844. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  5845.  
  5846.  
  5847. light1=Instance.new("PointLight")
  5848.  
  5849.  
  5850. light1.Brightness=.8
  5851.  
  5852.  
  5853. light1.Color=Color3.new(.2,255,.2)
  5854.  
  5855.  
  5856. light1.Range=8
  5857.  
  5858.  
  5859. light1.Parent=li
  5860.  
  5861.  
  5862. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  5863.  
  5864.  
  5865. if tym == i then
  5866.  
  5867.  
  5868. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  5869.  
  5870.  
  5871. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  5872.  
  5873.  
  5874. else
  5875.  
  5876.  
  5877. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  5878.  
  5879.  
  5880. end
  5881.  
  5882.  
  5883. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,.2)
  5884.  
  5885.  
  5886. end
  5887.  
  5888.  
  5889. end
  5890.  
  5891.  
  5892.  
  5893.  
  5894.  
  5895. spread=0
  5896.  
  5897.  
  5898. range=500
  5899.  
  5900.  
  5901. rangepower=50
  5902.  
  5903.  
  5904. function shoottrail(ShootPosition,baseprt,Damage,Knockback,Size)
  5905.  
  5906.  
  5907. coroutine.resume(coroutine.create(function()
  5908.  
  5909.  
  5910. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-ShootPosition).magnitude/100
  5911.  
  5912.  
  5913. local dir = CFrame.new((baseprt.Position+ShootPosition)/2,ShootPosition+spreadvector)
  5914.  
  5915.  
  5916. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,modelzorz)
  5917.  
  5918.  
  5919. local rangepos = range
  5920.  
  5921.  
  5922. local function drawtrail(From,To)
  5923.  
  5924.  
  5925. local effectsmsh = Instance.new("CylinderMesh")
  5926.  
  5927.  
  5928. effectsmsh.Scale = Vector3.new(1,1,1)
  5929.  
  5930.  
  5931. effectsmsh.Name = "Mesh"
  5932.  
  5933.  
  5934. local effectsg = Instance.new("Part")
  5935.  
  5936.  
  5937. effectsg.formFactor = 3
  5938.  
  5939.  
  5940. effectsg.CanCollide = false
  5941.  
  5942.  
  5943. effectsg.Name = "Eff"
  5944.  
  5945.  
  5946. effectsg.Locked = true
  5947.  
  5948.  
  5949. effectsg.Anchored = true
  5950.  
  5951.  
  5952. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  5953.  
  5954.  
  5955. effectsg.Parent = modelzorz
  5956.  
  5957.  
  5958. effectsmsh.Parent = effectsg
  5959.  
  5960.  
  5961. effectsg.BrickColor = BrickColor.new("Bright yellow")
  5962.  
  5963.  
  5964. effectsg.Reflectance = 0.4
  5965.  
  5966.  
  5967. local LP = From
  5968.  
  5969.  
  5970. local point1 = To
  5971.  
  5972.  
  5973. local mg = (LP - point1).magnitude
  5974.  
  5975.  
  5976. effectsmsh.Scale = Vector3.new(2,mg*5,2)
  5977.  
  5978.  
  5979. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  5980.  
  5981.  
  5982. coroutine.resume(coroutine.create(function()
  5983.  
  5984.  
  5985. for i = 0 , 1 , 0.1 do
  5986.  
  5987.  
  5988. wait()
  5989.  
  5990.  
  5991. effectsg.Transparency = 1*i
  5992.  
  5993.  
  5994. effectsmsh.Scale = Vector3.new(Size-Size*i,mg*5,Size-Size*i)
  5995.  
  5996.  
  5997. end
  5998.  
  5999.  
  6000. effectsg.Parent = nil
  6001.  
  6002.  
  6003. end))
  6004.  
  6005.  
  6006. end
  6007.  
  6008.  
  6009. local newpos = baseprt.Position
  6010.  
  6011.  
  6012. local inc = rangepower
  6013.  
  6014.  
  6015. repeat
  6016.  
  6017.  
  6018. wait() wait()
  6019.  
  6020.  
  6021. rangepos = rangepos - 10
  6022.  
  6023.  
  6024. dir = dir
  6025.  
  6026.  
  6027. if Mode~="Sniper" then
  6028.  
  6029.  
  6030. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  6031.  
  6032.  
  6033. end
  6034.  
  6035.  
  6036. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  6037.  
  6038.  
  6039. drawtrail(newpos,pos)
  6040.  
  6041.  
  6042. newpos = newpos + (dir.lookVector * inc)
  6043.  
  6044.  
  6045. if inc >= 20 then
  6046.  
  6047.  
  6048. inc = inc - 10
  6049.  
  6050.  
  6051. end
  6052.  
  6053.  
  6054. if hit ~= nil then
  6055.  
  6056.  
  6057. rangepos = 0
  6058.  
  6059.  
  6060. end
  6061.  
  6062.  
  6063. until rangepos <= 0
  6064.  
  6065.  
  6066. if hit ~= nil then
  6067.  
  6068.  
  6069. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  6070.  
  6071.  
  6072. critical=false
  6073.  
  6074.  
  6075. if SnipAim==true then
  6076.  
  6077.  
  6078. if hit.Name=="Head" then
  6079.  
  6080.  
  6081. coroutine.resume(coroutine.create(function(HeadPart)
  6082.  
  6083.  
  6084. for i=0,0.5,0.1 do
  6085.  
  6086.  
  6087. wait()
  6088.  
  6089.  
  6090. HeadPart.Velocity=vt(0,60,0)
  6091.  
  6092.  
  6093. end
  6094.  
  6095.  
  6096. end),hit)
  6097.  
  6098.  
  6099. print("CRITICAL")
  6100.  
  6101.  
  6102. critical=true
  6103.  
  6104.  
  6105. p=it("Part")
  6106.  
  6107.  
  6108. p.Parent=workspace
  6109.  
  6110.  
  6111. p.CanCollide=false
  6112.  
  6113.  
  6114. p.Transparency=1
  6115.  
  6116.  
  6117. p.CFrame=hit.CFrame
  6118.  
  6119.  
  6120. p.Anchored=true
  6121.  
  6122.  
  6123. local GUI = it("BillboardGui")
  6124.  
  6125.  
  6126. GUI.Adornee = p
  6127.  
  6128.  
  6129. GUI.Parent = p
  6130.  
  6131.  
  6132. GUI.Active = true
  6133.  
  6134.  
  6135. GUI.Enabled = true
  6136.  
  6137.  
  6138. GUI.Size = UDim2.new(1, 0, 1, 0)
  6139.  
  6140.  
  6141. GUI.StudsOffset = vt(0, 4, 0)
  6142.  
  6143.  
  6144. local Chat = it("TextLabel")
  6145.  
  6146.  
  6147. Chat.Parent = GUI
  6148.  
  6149.  
  6150. Chat.FontSize = "Size12"
  6151.  
  6152.  
  6153. Chat.Position = UDim2.new(0.599999964, 0, 0, 0)
  6154.  
  6155.  
  6156. Chat.Visible = true
  6157.  
  6158.  
  6159. Chat.Text = "Critical!"
  6160.  
  6161.  
  6162. coroutine.resume(coroutine.create(function(Part)
  6163.  
  6164.  
  6165. for i=0,4,0.1 do
  6166.  
  6167.  
  6168. wait()
  6169.  
  6170.  
  6171. Part.CFrame=Part.CFrame*cf(0,0.05,0)
  6172.  
  6173.  
  6174. end
  6175.  
  6176.  
  6177. Part.Parent=nil
  6178.  
  6179.  
  6180. end),p)
  6181.  
  6182.  
  6183. for i=0,7 do
  6184.  
  6185.  
  6186. Blood=it("Part")
  6187.  
  6188.  
  6189. Blood.Name="Blood"
  6190.  
  6191.  
  6192. Blood.TopSurface="Smooth"
  6193.  
  6194.  
  6195. Blood.BottomSurface="Smooth"
  6196.  
  6197.  
  6198. Blood.formFactor="Plate"
  6199.  
  6200.  
  6201. Blood.BrickColor=BrickColor:Red()
  6202.  
  6203.  
  6204. Blood.Size=vt(1,.4,1)
  6205.  
  6206.  
  6207. Blood.Velocity=vt(math.random(-4,4),math.random(5,25),math.random(-4,4))
  6208.  
  6209.  
  6210. Blood.CFrame=hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  6211.  
  6212.  
  6213. Blood.Parent=workspace
  6214.  
  6215.  
  6216. Blood.Velocity=vt(math.random(-20,20),math.random(20,50),math.random(-20,20))
  6217.  
  6218.  
  6219. Blood.CanCollide=false
  6220.  
  6221.  
  6222. coroutine.resume(coroutine.create(function(blod)
  6223.  
  6224.  
  6225. wait(0.1)
  6226.  
  6227.  
  6228. blod.CanCollide=true
  6229.  
  6230.  
  6231. wait(5)
  6232.  
  6233.  
  6234. blod.Parent = nil
  6235.  
  6236.  
  6237. end),Blood)
  6238.  
  6239.  
  6240. end
  6241.  
  6242.  
  6243. end
  6244.  
  6245.  
  6246. hum = hit.Parent.Humanoid
  6247.  
  6248.  
  6249. tTorso=hit.Parent.Torso
  6250.  
  6251.  
  6252. end
  6253.  
  6254.  
  6255. if critical==true then
  6256.  
  6257.  
  6258. CRIT=true
  6259.  
  6260.  
  6261. Damagefunc1(hit,Damage*math.random(3,8),Knockback)
  6262.  
  6263.  
  6264. else
  6265.  
  6266.  
  6267. Damagefunc1(hit,Damage,Knockback)
  6268.  
  6269.  
  6270. end
  6271.  
  6272.  
  6273. attackdebounce=false
  6274.  
  6275.  
  6276. --ADmg(hum,hit)
  6277.  
  6278.  
  6279. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  6280.  
  6281.  
  6282. if SnipAim==true then
  6283.  
  6284.  
  6285. if hit.Parent.className == "Hat" then
  6286.  
  6287.  
  6288. hatCF=hit.CFrame
  6289.  
  6290.  
  6291. coroutine.resume(coroutine.create(function(hat)
  6292.  
  6293.  
  6294. hat.Handle:BreakJoints()
  6295.  
  6296.  
  6297. hat.Handle.CFrame=hatCF
  6298.  
  6299.  
  6300. hat.Handle.CanCollide=true
  6301.  
  6302.  
  6303. hat.Handle.Velocity=vt(math.random(-10,10),40,math.random(-10,10))
  6304.  
  6305.  
  6306. wait(3)
  6307.  
  6308.  
  6309. hatCF=hat.Handle.CFrame
  6310.  
  6311.  
  6312. hat.Parent=workspace
  6313.  
  6314.  
  6315. for i=0,4,0.2 do
  6316.  
  6317.  
  6318. wait()
  6319.  
  6320.  
  6321. hat.Handle.CFrame=hatCF
  6322.  
  6323.  
  6324. hat.Handle.Velocity=vt(math.random(-5,5),20,math.random(-5,5))
  6325.  
  6326.  
  6327. end
  6328.  
  6329.  
  6330. end),hit.Parent)
  6331.  
  6332.  
  6333. --[[hit:BreakJoints()
  6334.  
  6335.  
  6336. hit.CFrame=CF
  6337.  
  6338.  
  6339. hit.Velocity = vt(math.random(-5,5),20,math.random(-5,5)) ]]
  6340.  
  6341.  
  6342. print("BREAKHAT")
  6343.  
  6344.  
  6345. end
  6346.  
  6347.  
  6348. end
  6349.  
  6350.  
  6351. hum = hit.Parent.Parent.Humanoid
  6352.  
  6353.  
  6354. tTorso=hit.Parent.Parent.Torso
  6355.  
  6356.  
  6357. Damagefunc1(hit.Parent.Parent.Torso,Damage,Knockback)
  6358.  
  6359.  
  6360. attackdebounce=false
  6361.  
  6362.  
  6363. --ADmg(hum,hit)
  6364.  
  6365.  
  6366. end
  6367.  
  6368.  
  6369. end
  6370.  
  6371.  
  6372. end))
  6373.  
  6374.  
  6375. end
  6376.  
  6377.  
  6378.  
  6379.  
  6380.  
  6381. function findNearestTorso(pos)
  6382.  
  6383.  
  6384. local list = game:service("Workspace"):children()
  6385.  
  6386.  
  6387. local torso = nil
  6388.  
  6389.  
  6390. local dist = 50
  6391.  
  6392.  
  6393. local temp = nil
  6394.  
  6395.  
  6396. local human = nil
  6397.  
  6398.  
  6399. local temp2 = nil
  6400.  
  6401.  
  6402. for x = 1, #list do
  6403.  
  6404.  
  6405. temp2 = list[x]
  6406.  
  6407.  
  6408. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
  6409.  
  6410.  
  6411. temp = temp2:findFirstChild("Torso")
  6412.  
  6413.  
  6414. human = temp2:findFirstChild("Humanoid")
  6415.  
  6416.  
  6417. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  6418.  
  6419.  
  6420. if (temp.Position - pos).magnitude < dist then
  6421.  
  6422.  
  6423. torso = temp
  6424.  
  6425.  
  6426. dist = (temp.Position - pos).magnitude
  6427.  
  6428.  
  6429. end
  6430.  
  6431.  
  6432. end
  6433.  
  6434.  
  6435. end
  6436.  
  6437.  
  6438. end
  6439.  
  6440.  
  6441. return torso
  6442.  
  6443.  
  6444. end
  6445.  
  6446.  
  6447.  
  6448.  
  6449.  
  6450. function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  6451.  
  6452.  
  6453. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  6454.  
  6455.  
  6456. prt.Anchored=true
  6457.  
  6458.  
  6459. prt.CFrame=cframe*cf(x2,y2,z2)
  6460.  
  6461.  
  6462. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  6463.  
  6464.  
  6465. coroutine.resume(coroutine.create(function()
  6466.  
  6467.  
  6468. for i=0,1,0.1 do
  6469.  
  6470.  
  6471. wait()
  6472.  
  6473.  
  6474. prt.CFrame=prt.CFrame
  6475.  
  6476.  
  6477. prt.Transparency=i
  6478.  
  6479.  
  6480. msh.Scale=msh.Scale+vt(x3,y3,z3)
  6481.  
  6482.  
  6483. end
  6484.  
  6485.  
  6486. prt.Parent=nil
  6487.  
  6488.  
  6489. end))
  6490.  
  6491.  
  6492. end
  6493.  
  6494.  
  6495.  
  6496.  
  6497.  
  6498. Damagefunc1=function(hit,Damage,Knockback)
  6499.  
  6500.  
  6501. if hit.Parent==nil then
  6502.  
  6503.  
  6504. return
  6505.  
  6506.  
  6507. end
  6508.  
  6509.  
  6510. CPlayer=Bin
  6511.  
  6512.  
  6513. h=hit.Parent:FindFirstChild("Humanoid")
  6514.  
  6515.  
  6516. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  6517.  
  6518.  
  6519. if attackdebounce == false then
  6520.  
  6521.  
  6522. attackdebounce = true
  6523.  
  6524.  
  6525. coroutine.resume(coroutine.create(function()
  6526.  
  6527.  
  6528. wait(0.2)
  6529.  
  6530.  
  6531. attackdebounce = false
  6532.  
  6533.  
  6534. end))
  6535.  
  6536.  
  6537. Damage=Damage
  6538.  
  6539.  
  6540. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  6541.  
  6542.  
  6543. return
  6544.  
  6545.  
  6546. end]]
  6547.  
  6548.  
  6549. -- hs(hit,1.2)
  6550.  
  6551.  
  6552. c=Instance.new("ObjectValue")
  6553.  
  6554.  
  6555. c.Name="creator"
  6556.  
  6557.  
  6558. c.Value=game:service("Players").LocalPlayer
  6559.  
  6560.  
  6561. c.Parent=h
  6562.  
  6563.  
  6564. game:GetService("Debris"):AddItem(c,.5)
  6565.  
  6566.  
  6567. Damage=Damage+math.random(0,10)
  6568.  
  6569.  
  6570. -- h:TakeDamage(Damage)
  6571.  
  6572.  
  6573. blocked=false
  6574.  
  6575.  
  6576. block=hit.Parent:findFirstChild("Block")
  6577.  
  6578.  
  6579. if block~=nil then
  6580.  
  6581.  
  6582. print("herp")
  6583.  
  6584.  
  6585. if block.Value>0 then
  6586.  
  6587.  
  6588. blocked=true
  6589.  
  6590.  
  6591. block.Value=block.Value-1
  6592.  
  6593.  
  6594. print(block.Value)
  6595.  
  6596.  
  6597. end
  6598.  
  6599.  
  6600. end
  6601.  
  6602.  
  6603. if blocked==false then
  6604.  
  6605.  
  6606. -- h:TakeDamage(Damage)
  6607.  
  6608.  
  6609. h.Health=h.Health-Damage
  6610.  
  6611.  
  6612. showDamage(hit.Parent,Damage,.5)
  6613.  
  6614.  
  6615. else
  6616.  
  6617.  
  6618. h:TakeDamage(1)
  6619.  
  6620.  
  6621. showDamage(hit.Parent,1,.5)
  6622.  
  6623.  
  6624. end
  6625.  
  6626.  
  6627. vp=Instance.new("BodyVelocity")
  6628.  
  6629.  
  6630. vp.P=500
  6631.  
  6632.  
  6633. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  6634.  
  6635.  
  6636. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  6637.  
  6638.  
  6639. vp.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  6640.  
  6641.  
  6642. if Knockback>0 then
  6643.  
  6644.  
  6645. vp.Parent=hit.Parent.Torso
  6646.  
  6647.  
  6648. end
  6649.  
  6650.  
  6651. game:GetService("Debris"):AddItem(vp,.25)
  6652.  
  6653.  
  6654. c=Instance.new("ObjectValue")
  6655.  
  6656.  
  6657. c.Name="creator"
  6658.  
  6659.  
  6660. c.Value=Player
  6661.  
  6662.  
  6663. c.Parent=h
  6664.  
  6665.  
  6666. game:GetService("Debris"):AddItem(c,.5)
  6667.  
  6668.  
  6669. CRIT=false
  6670.  
  6671.  
  6672. hitDeb=true
  6673.  
  6674.  
  6675. AttackPos=6
  6676.  
  6677.  
  6678. end
  6679.  
  6680.  
  6681. end
  6682.  
  6683.  
  6684. end
  6685.  
  6686.  
  6687.  
  6688.  
  6689.  
  6690. showDamage=function(Char,Dealt,du)
  6691.  
  6692.  
  6693. m=Instance.new("Model")
  6694.  
  6695.  
  6696. m.Name=tostring(Dealt)
  6697.  
  6698.  
  6699. h=Instance.new("Humanoid")
  6700.  
  6701.  
  6702. h.Health=0
  6703.  
  6704.  
  6705. h.MaxHealth=0
  6706.  
  6707.  
  6708. h.Parent=m
  6709.  
  6710.  
  6711. c=Instance.new("Part")
  6712.  
  6713.  
  6714. c.Transparency=0
  6715.  
  6716.  
  6717. c.BrickColor=BrickColor:Red()
  6718.  
  6719.  
  6720. if CRIT==true then
  6721.  
  6722.  
  6723. c.BrickColor=BrickColor.new("Plum")
  6724.  
  6725.  
  6726. end
  6727.  
  6728.  
  6729. c.Name="Head"
  6730.  
  6731.  
  6732. c.TopSurface=0
  6733.  
  6734.  
  6735. c.BottomSurface=0
  6736.  
  6737.  
  6738. c.formFactor="Plate"
  6739.  
  6740.  
  6741. c.Size=Vector3.new(1,.4,1)
  6742.  
  6743.  
  6744. ms=Instance.new("CylinderMesh")
  6745.  
  6746.  
  6747. ms.Scale=Vector3.new(.8,.8,.8)
  6748.  
  6749.  
  6750. if CRIT==true then
  6751.  
  6752.  
  6753. ms.Scale=Vector3.new(1,1.25,1)
  6754.  
  6755.  
  6756. end
  6757.  
  6758.  
  6759. ms.Parent=c
  6760.  
  6761.  
  6762. c.Reflectance=0
  6763.  
  6764.  
  6765. Instance.new("BodyGyro").Parent=c
  6766.  
  6767.  
  6768. c.Parent=m
  6769.  
  6770.  
  6771. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  6772.  
  6773.  
  6774. f=Instance.new("BodyPosition")
  6775.  
  6776.  
  6777. f.P=2000
  6778.  
  6779.  
  6780. f.D=100
  6781.  
  6782.  
  6783. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  6784.  
  6785.  
  6786. f.position=c.Position+Vector3.new(0,3,0)
  6787.  
  6788.  
  6789. f.Parent=c
  6790.  
  6791.  
  6792. game:GetService("Debris"):AddItem(m,.5+du)
  6793.  
  6794.  
  6795. c.CanCollide=false
  6796.  
  6797.  
  6798. m.Parent=workspace
  6799.  
  6800.  
  6801. c.CanCollide=false
  6802.  
  6803.  
  6804. end
  6805.  
  6806.  
  6807.  
  6808.  
  6809.  
  6810. function ob1d(mouse)
  6811.  
  6812.  
  6813. if attack == true then return end
  6814.  
  6815.  
  6816. hold=true
  6817.  
  6818.  
  6819. if Mode=="Drones" and Aiming==true then
  6820.  
  6821.  
  6822. print("Attack drones")
  6823.  
  6824.  
  6825. for i=0,1,0.1 do
  6826.  
  6827.  
  6828. wait()
  6829.  
  6830.  
  6831. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+1.07*i,0,0)
  6832.  
  6833.  
  6834. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  6835.  
  6836.  
  6837. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  6838.  
  6839.  
  6840. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  6841.  
  6842.  
  6843. end
  6844.  
  6845.  
  6846. Drone1debounce=false
  6847.  
  6848.  
  6849. Drone2debounce=false
  6850.  
  6851.  
  6852. Drone3debounce=false
  6853.  
  6854.  
  6855. for _,v in pairs(modelzorz:children()) do
  6856.  
  6857.  
  6858. if v.Name=="Drone" then
  6859.  
  6860.  
  6861. coroutine.resume(coroutine.create(function(Drone)
  6862.  
  6863.  
  6864. while hold==true do
  6865.  
  6866.  
  6867. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  6868.  
  6869.  
  6870. shoottrail(MMouse.Hit.p,Drone.DPart1,5,0,1)
  6871.  
  6872.  
  6873. wait(math.random(0,2)+math.random())
  6874.  
  6875.  
  6876. end
  6877.  
  6878.  
  6879. end),v)
  6880.  
  6881.  
  6882. end
  6883.  
  6884.  
  6885. end
  6886.  
  6887.  
  6888. while hold==true do
  6889.  
  6890.  
  6891. wait()
  6892.  
  6893.  
  6894. end
  6895.  
  6896.  
  6897. for i=0,1,0.1 do
  6898.  
  6899.  
  6900. wait()
  6901.  
  6902.  
  6903. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*i,0,0)
  6904.  
  6905.  
  6906. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  6907.  
  6908.  
  6909. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  6910.  
  6911.  
  6912. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  6913.  
  6914.  
  6915. end
  6916.  
  6917.  
  6918. elseif Aiming==false then
  6919.  
  6920.  
  6921. for _,v in pairs(modelzorz:children()) do
  6922.  
  6923.  
  6924. if v.Name=="Drone" and v:findFirstChild("CanShoot")~=nil then
  6925.  
  6926.  
  6927. coroutine.resume(coroutine.create(function(Drone)
  6928.  
  6929.  
  6930. while hold==true do
  6931.  
  6932.  
  6933. if v.CanShoot.Value==true then
  6934.  
  6935.  
  6936. print("Shoot")
  6937.  
  6938.  
  6939. so("http://roblox.com/asset/?id=10209257",Drone.DPart1,0.5,1.5)
  6940.  
  6941.  
  6942. shoottrail(Drone.DPart6.Position,Drone.DPart1,5,0,1)
  6943.  
  6944.  
  6945. elseif v.CanShoot.Value==false then
  6946.  
  6947.  
  6948. print("NoShoot")
  6949.  
  6950.  
  6951. end
  6952.  
  6953.  
  6954. wait(math.random(0,2)+math.random())
  6955.  
  6956.  
  6957. end
  6958.  
  6959.  
  6960. end),v)
  6961.  
  6962.  
  6963. end
  6964.  
  6965.  
  6966. end
  6967.  
  6968.  
  6969. end
  6970.  
  6971.  
  6972. if Mode=="Gun" then
  6973.  
  6974.  
  6975. print("Shoot")
  6976.  
  6977.  
  6978. Shoot()
  6979.  
  6980.  
  6981. end
  6982.  
  6983.  
  6984. if Mode=="Sword" then
  6985.  
  6986.  
  6987. slash1()
  6988.  
  6989.  
  6990. if hold==true then
  6991.  
  6992.  
  6993. slash2()
  6994.  
  6995.  
  6996. end
  6997.  
  6998.  
  6999. if hold==true then
  7000.  
  7001.  
  7002. slash3()
  7003.  
  7004.  
  7005. end
  7006.  
  7007.  
  7008. wait(0.5)
  7009.  
  7010.  
  7011. Bg.Parent=nil
  7012.  
  7013.  
  7014. Neck.C0=necko*euler(0,0,0)
  7015.  
  7016.  
  7017. swld1.C0=euler(0,-1.57,-1.57)*cf(0,1,0)
  7018.  
  7019.  
  7020. swld1.C1=euler(0,1.57,0)
  7021.  
  7022.  
  7023. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.2)
  7024.  
  7025.  
  7026. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7027.  
  7028.  
  7029. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.4)
  7030.  
  7031.  
  7032. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7033.  
  7034.  
  7035. end
  7036.  
  7037.  
  7038. if Mode=="Sniper" and SnipAim==true then
  7039.  
  7040.  
  7041. SniperShoot()
  7042.  
  7043.  
  7044. end
  7045.  
  7046.  
  7047. end
  7048.  
  7049.  
  7050.  
  7051.  
  7052.  
  7053. function ob1u(mouse)
  7054.  
  7055.  
  7056. hold = false
  7057.  
  7058.  
  7059. end
  7060.  
  7061.  
  7062.  
  7063.  
  7064.  
  7065. buttonhold = false
  7066.  
  7067.  
  7068.  
  7069.  
  7070.  
  7071. eul=0
  7072.  
  7073.  
  7074. function key(key)
  7075.  
  7076.  
  7077. if attack == true then return end
  7078.  
  7079.  
  7080. if Mode=="Drones" then
  7081.  
  7082.  
  7083. if key=="z" then
  7084.  
  7085.  
  7086. RemoveDrones()
  7087.  
  7088.  
  7089. Mode="Choose"
  7090.  
  7091.  
  7092. equipanim()
  7093.  
  7094.  
  7095. return
  7096.  
  7097.  
  7098. end
  7099.  
  7100.  
  7101. if key=="f" then
  7102.  
  7103.  
  7104. if Aiming==false then
  7105.  
  7106.  
  7107. attack=true
  7108.  
  7109.  
  7110. for i=0,1,0.1 do
  7111.  
  7112.  
  7113. wait()
  7114.  
  7115.  
  7116. RW.C0=cf(1.5, 0.5, 0) * euler(0.5+2.64*i,0,0)
  7117.  
  7118.  
  7119. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7120.  
  7121.  
  7122. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  7123.  
  7124.  
  7125. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7126.  
  7127.  
  7128. end
  7129.  
  7130.  
  7131. for i=0,1,0.1 do
  7132.  
  7133.  
  7134. wait()
  7135.  
  7136.  
  7137. RW.C0=cf(1.5, 0.5, 0) * euler(3.14-1.57*i,0,0)
  7138.  
  7139.  
  7140. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7141.  
  7142.  
  7143. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  7144.  
  7145.  
  7146. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7147.  
  7148.  
  7149. end
  7150.  
  7151.  
  7152. Aiming=true
  7153.  
  7154.  
  7155. coroutine.resume(coroutine.create(function()
  7156.  
  7157.  
  7158. while Aiming==true do
  7159.  
  7160.  
  7161. wait()
  7162.  
  7163.  
  7164. DroneTarget=MMouse.Hit.p
  7165.  
  7166.  
  7167. end
  7168.  
  7169.  
  7170. end))
  7171.  
  7172.  
  7173. wait(0.5)
  7174.  
  7175.  
  7176. for i=0,1,0.1 do
  7177.  
  7178.  
  7179. wait()
  7180.  
  7181.  
  7182. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.07*i,0,0)
  7183.  
  7184.  
  7185. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7186.  
  7187.  
  7188. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  7189.  
  7190.  
  7191. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7192.  
  7193.  
  7194. end
  7195.  
  7196.  
  7197. attack=false
  7198.  
  7199.  
  7200. elseif Aiming==true then
  7201.  
  7202.  
  7203. attack=true
  7204.  
  7205.  
  7206. for i=0,1,0.1 do
  7207.  
  7208.  
  7209. wait()
  7210.  
  7211.  
  7212. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(.5+1.07*i,0,-1*i)
  7213.  
  7214.  
  7215. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7216.  
  7217.  
  7218. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(1.57*i,0,-0.2+1.2*i)
  7219.  
  7220.  
  7221. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7222.  
  7223.  
  7224. end
  7225.  
  7226.  
  7227. Aiming=false
  7228.  
  7229.  
  7230. for _,v in pairs(modelzorz:children()) do
  7231.  
  7232.  
  7233. if v.Name=="Drone" then
  7234.  
  7235.  
  7236. Valuee=Instance.new("BoolValue")
  7237.  
  7238.  
  7239. Valuee.Parent=v
  7240.  
  7241.  
  7242. Valuee.Name="CanShoot"
  7243.  
  7244.  
  7245. print("Found Drone")
  7246.  
  7247.  
  7248. coroutine.resume(coroutine.create(function(DDrone,Val,Gyro)
  7249.  
  7250.  
  7251. --coroutine.resume(coroutine.create(function()
  7252.  
  7253.  
  7254. while Aiming==false do
  7255.  
  7256.  
  7257. wait()
  7258.  
  7259.  
  7260. local target = findNearestTorso(DDrone.DPart1.Position)
  7261.  
  7262.  
  7263. if target~=nil then
  7264.  
  7265.  
  7266. Val.Value=true
  7267.  
  7268.  
  7269. Gyro.cframe=cf(DDrone.DPart1.Position, target.Position)
  7270.  
  7271.  
  7272. else
  7273.  
  7274.  
  7275. Val.Value=false
  7276.  
  7277.  
  7278. Gyro.cframe=cf(DDrone.DPart1.Position, Torso.Position)
  7279.  
  7280.  
  7281. end
  7282.  
  7283.  
  7284. end
  7285.  
  7286.  
  7287. Val.Parent=nil
  7288.  
  7289.  
  7290. end),v,Valuee,v.DPart1.DroneGyro)
  7291.  
  7292.  
  7293. end
  7294.  
  7295.  
  7296. end
  7297.  
  7298.  
  7299. wait(0.5)
  7300.  
  7301.  
  7302. for i=0,1,0.1 do
  7303.  
  7304.  
  7305. wait()
  7306.  
  7307.  
  7308. RW.C0=cf(1+.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.07*i,0,-1+1*i)
  7309.  
  7310.  
  7311. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7312.  
  7313.  
  7314. LW.C0=cf(-1-.5*i, 0.5, -0.5+0.5*i) * euler(1.57-1.57*i,0,1-1.2*i)
  7315.  
  7316.  
  7317. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  7318.  
  7319.  
  7320. end
  7321.  
  7322.  
  7323. attack=false
  7324.  
  7325.  
  7326. end
  7327.  
  7328.  
  7329. end
  7330.  
  7331.  
  7332. end
  7333.  
  7334.  
  7335. if Mode=="Gun" then
  7336.  
  7337.  
  7338. if key=="x" then
  7339.  
  7340.  
  7341. RemoveGun()
  7342.  
  7343.  
  7344. Mode="Choose"
  7345.  
  7346.  
  7347. equipanim()
  7348.  
  7349.  
  7350. return
  7351.  
  7352.  
  7353. end
  7354.  
  7355.  
  7356. end
  7357.  
  7358.  
  7359. if Mode=="Sword" then
  7360.  
  7361.  
  7362. if key=="c" then
  7363.  
  7364.  
  7365. RemoveSword()
  7366.  
  7367.  
  7368. Mode="Choose"
  7369.  
  7370.  
  7371. equipanim()
  7372.  
  7373.  
  7374. return
  7375.  
  7376.  
  7377. end
  7378.  
  7379.  
  7380. if key=="f" then
  7381.  
  7382.  
  7383. BowShoot()
  7384.  
  7385.  
  7386. end
  7387.  
  7388.  
  7389. end
  7390.  
  7391.  
  7392. if Mode=="Sniper" then
  7393.  
  7394.  
  7395. if key=="v" then
  7396.  
  7397.  
  7398. if SnipAim==true then
  7399.  
  7400.  
  7401. SnipAim=false
  7402.  
  7403.  
  7404. UnAim()
  7405.  
  7406.  
  7407. end
  7408.  
  7409.  
  7410. RemoveSniper()
  7411.  
  7412.  
  7413. Mode="Choose"
  7414.  
  7415.  
  7416. equipanim()
  7417.  
  7418.  
  7419. return
  7420.  
  7421.  
  7422. end
  7423.  
  7424.  
  7425. if key=="f" then
  7426.  
  7427.  
  7428. if SnipAim==false then
  7429.  
  7430.  
  7431. SnipAim=true
  7432.  
  7433.  
  7434. Aim()
  7435.  
  7436.  
  7437. else
  7438.  
  7439.  
  7440. SnipAim=false
  7441.  
  7442.  
  7443. UnAim()
  7444.  
  7445.  
  7446. end
  7447.  
  7448.  
  7449. end
  7450.  
  7451.  
  7452. end
  7453.  
  7454.  
  7455. if Mode=="Choose" then
  7456.  
  7457.  
  7458. if key=="f" then
  7459.  
  7460.  
  7461. RemoveDrones2()
  7462.  
  7463.  
  7464. end
  7465.  
  7466.  
  7467. if key=="z" then
  7468.  
  7469.  
  7470. Drone1,Drone2,Drone3=Drones()
  7471.  
  7472.  
  7473. end
  7474.  
  7475.  
  7476. if key=="x" then
  7477.  
  7478.  
  7479. Gun()
  7480.  
  7481.  
  7482. end
  7483.  
  7484.  
  7485. if key=="c" then
  7486.  
  7487.  
  7488. Sword()
  7489.  
  7490.  
  7491. end
  7492.  
  7493.  
  7494. if key=="v" then
  7495.  
  7496.  
  7497. Sniper()
  7498.  
  7499.  
  7500. end
  7501.  
  7502.  
  7503. end
  7504.  
  7505.  
  7506. end
  7507.  
  7508.  
  7509.  
  7510.  
  7511.  
  7512. function key2(key)
  7513.  
  7514.  
  7515. if key=="f" then
  7516.  
  7517.  
  7518. BowAim=false
  7519.  
  7520.  
  7521. end
  7522.  
  7523.  
  7524. end
  7525.  
  7526.  
  7527.  
  7528.  
  7529.  
  7530. function s(mouse)
  7531.  
  7532.  
  7533. mouse.Button1Down:connect(function() ob1d(mouse) end)
  7534.  
  7535.  
  7536. mouse.Button1Up:connect(function() ob1u(mouse) end)
  7537.  
  7538.  
  7539. mouse.KeyDown:connect(key)
  7540.  
  7541.  
  7542. mouse.KeyUp:connect(key2)
  7543.  
  7544.  
  7545. unsheathed = true
  7546.  
  7547.  
  7548. player = Player
  7549.  
  7550.  
  7551. ch = Character
  7552.  
  7553.  
  7554. MMouse = mouse
  7555.  
  7556.  
  7557. RSH = ch.Torso["Right Shoulder"]
  7558.  
  7559.  
  7560. LSH = ch.Torso["Left Shoulder"]
  7561.  
  7562.  
  7563. --
  7564.  
  7565.  
  7566. RSH.Parent = nil
  7567.  
  7568.  
  7569. LSH.Parent = nil
  7570.  
  7571.  
  7572. --
  7573.  
  7574.  
  7575. RW.Part0 = ch.Torso
  7576.  
  7577.  
  7578. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  7579.  
  7580.  
  7581. RW.C1 = CFrame.new(0, 0.5, 0)
  7582.  
  7583.  
  7584. RW.Part1 = ch["Right Arm"]
  7585.  
  7586.  
  7587. RW.Parent = ch.Torso
  7588.  
  7589.  
  7590. --_G.R = RW
  7591.  
  7592.  
  7593. --
  7594.  
  7595.  
  7596. LW.Part0 = ch.Torso
  7597.  
  7598.  
  7599. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  7600.  
  7601.  
  7602. LW.C1 = CFrame.new(0, 0.5, 0)
  7603.  
  7604.  
  7605. LW.Part1 = ch["Left Arm"]
  7606.  
  7607.  
  7608. LW.Parent = ch.Torso
  7609.  
  7610.  
  7611. --_G.L = LW
  7612.  
  7613.  
  7614. --
  7615.  
  7616.  
  7617. equipanim()
  7618.  
  7619.  
  7620. end
  7621.  
  7622.  
  7623.  
  7624.  
  7625.  
  7626. function ds(mouse)
  7627.  
  7628.  
  7629. hideanim()
  7630.  
  7631.  
  7632. wait(0)
  7633.  
  7634.  
  7635. RW.Parent = nil
  7636.  
  7637.  
  7638. LW.Parent = nil
  7639.  
  7640.  
  7641. RSH.Parent = player.Character.Torso
  7642.  
  7643.  
  7644. LSH.Parent = player.Character.Torso
  7645.  
  7646.  
  7647. end
  7648.  
  7649.  
  7650.  
  7651.  
  7652.  
  7653. Bin.Selected:connect(s)
  7654.  
  7655.  
  7656. Bin.Deselected:connect(ds)
  7657.  
  7658.  
  7659. print("Fenrier's Techno Gauntlet loaded.")
  7660.  
  7661.  
  7662.  
  7663.  
  7664.  
  7665. -- mediafire lego
  7666.  
  7667.  
  7668. --[[
  7669.  
  7670.  
  7671. Copyrighted (C) Fenrier 2013
  7672.  
  7673.  
  7674. ]]
Add Comment
Please, Sign In to add comment