GangHaning

Gun-Claws

Dec 10th, 2016
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.45 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. Mouse=Player:GetMouse()
  9. local m1=Instance.new('Model',Character)
  10. m1.Name="GunModel"
  11. local m2=Instance.new('Model',Character)
  12. m2.Name="BladeModel"
  13. LeftArm=Character["Left Arm"]
  14. LeftLeg=Character["Left Leg"]
  15. RightArm=Character["Right Arm"]
  16. RightLeg=Character["Right Leg"]
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Face = Head.face
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. cloaked=false
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. attackdebounce = false
  41. deb=false
  42. equipped=true
  43. hand=false
  44. MMouse=nil
  45. combo=0
  46. mana=0
  47. trispeed=.2
  48. local Mode = "GunMode"
  49. local idle=0
  50. local Anim="Idle"
  51. local Effects={}
  52. local gun=false
  53. local shoot=false
  54. player=nil
  55. mana=0
  56. --save shoulders
  57. RSH, LSH=nil, nil
  58. --welds
  59. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  60. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  61. LH=Torso["Left Hip"]
  62. RH=Torso["Right Hip"]
  63. TorsoColor=Torso.BrickColor
  64. function NoOutline(Part)
  65. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  66. end
  67. player=Player
  68. ch=Character
  69. RSH=ch.Torso["Right Shoulder"]
  70. LSH=ch.Torso["Left Shoulder"]
  71. --
  72. RSH.Parent=nil
  73. LSH.Parent=nil
  74. --
  75. RW.Name="Right Shoulder"
  76. RW.Part0=ch.Torso
  77. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  78. RW.C1=cf(0, 0.5, 0)
  79. RW.Part1=ch["Right Arm"]
  80. RW.Parent=ch.Torso
  81. --
  82. LW.Name="Left Shoulder"
  83. LW.Part0=ch.Torso
  84. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  85. LW.C1=cf(0, 0.5, 0)
  86. LW.Part1=ch["Left Arm"]
  87. LW.Parent=ch.Torso
  88.  
  89. local function weldBetween(a, b)
  90. local weldd = Instance.new("ManualWeld")
  91. weldd.Part0 = a
  92. weldd.Part1 = b
  93. weldd.C0 = CFrame.new()
  94. weldd.C1 = b.CFrame:inverse() * a.CFrame
  95. weldd.Parent = a
  96. return weldd
  97. end
  98.  
  99. function swait(num)
  100. if num==0 or num==nil then
  101. game:service'RunService'.Stepped:wait(0)
  102. else
  103. for i=0,num do
  104. game:service'RunService'.Stepped:wait(0)
  105. end
  106. end
  107. end
  108.  
  109. function nooutline(part)
  110. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  111. end
  112.  
  113. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  114. local fp=it("Part")
  115. fp.formFactor=formfactor
  116. fp.Parent=parent
  117. fp.Reflectance=reflectance
  118. fp.Transparency=transparency
  119. fp.CanCollide=false
  120. fp.Locked=true
  121. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  122. fp.Name=name
  123. fp.Size=size
  124. fp.Position=Character.Torso.Position
  125. nooutline(fp)
  126. fp.Material=material
  127. fp:BreakJoints()
  128. return fp
  129. end
  130.  
  131. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  132. local mesh=it(Mesh)
  133. mesh.Parent=part
  134. if Mesh=="SpecialMesh" then
  135. mesh.MeshType=meshtype
  136. mesh.MeshId=meshid
  137. end
  138. mesh.Offset=offset
  139. mesh.Scale=scale
  140. return mesh
  141. end
  142.  
  143. function weld(parent,part0,part1,c0,c1)
  144. local weld=it("Weld")
  145. weld.Parent=parent
  146. weld.Part0=part0
  147. weld.Part1=part1
  148. weld.C0=c0
  149. weld.C1=c1
  150. return weld
  151. end
  152.  
  153.  
  154. local function CFrameFromTopBack(at, top, back)
  155. local right = top:Cross(back)
  156. return CFrame.new(at.x, at.y, at.z,
  157. right.x, top.x, back.x,
  158. right.y, top.y, back.y,
  159. right.z, top.z, back.z)
  160. end
  161.  
  162. function Triangle(a, b, c)
  163. local edg1 = (c-a):Dot((b-a).unit)
  164. local edg2 = (a-b):Dot((c-b).unit)
  165. local edg3 = (b-c):Dot((a-c).unit)
  166. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  167. a, b, c = a, b, c
  168. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  169. a, b, c = b, c, a
  170. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  171. a, b, c = c, a, b
  172. else
  173. assert(false, "unreachable")
  174. end
  175.  
  176. local len1 = (c-a):Dot((b-a).unit)
  177. local len2 = (b-a).magnitude - len1
  178. local width = (a + (b-a).unit*len1 - c).magnitude
  179.  
  180. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  181.  
  182. local list = {}
  183.  
  184. local TrailColor = ("Really red")
  185.  
  186. if len1 > 0.01 then
  187. local w1 = Instance.new('WedgePart', m)
  188. game:GetService("Debris"):AddItem(w1,5)
  189. w1.Material = "SmoothPlastic"
  190. w1.FormFactor = 'Custom'
  191. w1.BrickColor = BrickColor.new(TrailColor)
  192. w1.Transparency = 0
  193. w1.Reflectance = 0
  194. w1.Material = "SmoothPlastic"
  195. w1.CanCollide = false
  196. NoOutline(w1)
  197. local sz = Vector3.new(0.2, width, len1)
  198. w1.Size = sz
  199. local sp = Instance.new("SpecialMesh",w1)
  200. sp.MeshType = "Wedge"
  201. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  202. w1:BreakJoints()
  203. w1.Anchored = true
  204. w1.Parent = workspace
  205. w1.Transparency = 0.7
  206. table.insert(Effects,{w1,"Disappear",.01})
  207. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  208. table.insert(list,w1)
  209. end
  210.  
  211. if len2 > 0.01 then
  212. local w2 = Instance.new('WedgePart', m)
  213. game:GetService("Debris"):AddItem(w2,5)
  214. w2.Material = "SmoothPlastic"
  215. w2.FormFactor = 'Custom'
  216. w2.BrickColor = BrickColor.new(TrailColor)
  217. w2.Transparency = 0
  218. w2.Reflectance = 0
  219. w2.Material = "SmoothPlastic"
  220. w2.CanCollide = false
  221. NoOutline(w2)
  222. local sz = Vector3.new(0.2, width, len2)
  223. w2.Size = sz
  224. local sp = Instance.new("SpecialMesh",w2)
  225. sp.MeshType = "Wedge"
  226. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  227. w2:BreakJoints()
  228. w2.Anchored = true
  229. w2.Parent = workspace
  230. w2.Transparency = 0.7
  231. table.insert(Effects,{w2,"Disappear",.01})
  232. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  233. table.insert(list,w2)
  234. end
  235. return unpack(list)
  236. end
  237.  
  238.  
  239. so = function(id,par,vol,pit)
  240. coroutine.resume(coroutine.create(function()
  241. local sou = Instance.new("Sound",par or workspace)
  242. sou.Volume=vol
  243. sou.Pitch=pit or 1
  244. sou.SoundId=id
  245. swait()
  246. sou:play()
  247. game:GetService("Debris"):AddItem(sou,6)
  248. end))
  249. end
  250.  
  251. function clerp(a,b,t)
  252. local qa = {QuaternionFromCFrame(a)}
  253. local qb = {QuaternionFromCFrame(b)}
  254. local ax, ay, az = a.x, a.y, a.z
  255. local bx, by, bz = b.x, b.y, b.z
  256. local _t = 1-t
  257. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  258. end
  259.  
  260. function QuaternionFromCFrame(cf)
  261. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  262. local trace = m00 + m11 + m22
  263. if trace > 0 then
  264. local s = math.sqrt(1 + trace)
  265. local recip = 0.5/s
  266. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  267. else
  268. local i = 0
  269. if m11 > m00 then
  270. i = 1
  271. end
  272. if m22 > (i == 0 and m00 or m11) then
  273. i = 2
  274. end
  275. if i == 0 then
  276. local s = math.sqrt(m00-m11-m22+1)
  277. local recip = 0.5/s
  278. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  279. elseif i == 1 then
  280. local s = math.sqrt(m11-m22-m00+1)
  281. local recip = 0.5/s
  282. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  283. elseif i == 2 then
  284. local s = math.sqrt(m22-m00-m11+1)
  285. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  286. end
  287. end
  288. end
  289.  
  290. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  291. local xs, ys, zs = x + x, y + y, z + z
  292. local wx, wy, wz = w*xs, w*ys, w*zs
  293. local xx = x*xs
  294. local xy = x*ys
  295. local xz = x*zs
  296. local yy = y*ys
  297. local yz = y*zs
  298. local zz = z*zs
  299. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  300. end
  301.  
  302. function QuaternionSlerp(a, b, t)
  303. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  304. local startInterp, finishInterp;
  305. if cosTheta >= 0.0001 then
  306. if (1 - cosTheta) > 0.0001 then
  307. local theta = math.acos(cosTheta)
  308. local invSinTheta = 1/math.sin(theta)
  309. startInterp = math.sin((1-t)*theta)*invSinTheta
  310. finishInterp = math.sin(t*theta)*invSinTheta
  311. else
  312. startInterp = 1-t
  313. finishInterp = t
  314. end
  315. else
  316. if (1+cosTheta) > 0.0001 then
  317. local theta = math.acos(-cosTheta)
  318. local invSinTheta = 1/math.sin(theta)
  319. startInterp = math.sin((t-1)*theta)*invSinTheta
  320. finishInterp = math.sin(t*theta)*invSinTheta
  321. else
  322. startInterp = t-1
  323. finishInterp = t
  324. end
  325. end
  326. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  327. end
  328.  
  329. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  330.  
  331.  
  332. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  333. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  334. end
  335.  
  336. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  337. if hit.Parent==nil then
  338. return
  339. end
  340. h=hit.Parent:FindFirstChild("Humanoid")
  341. for _,v in pairs(hit.Parent:children()) do
  342. if v:IsA("Humanoid") then
  343. h=v
  344. end
  345. end
  346. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  347. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  348. end
  349. if hit.Parent.className=="Hat" then
  350. hit=hit.Parent.Parent:findFirstChild("Head")
  351. end
  352. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  353. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  354. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  355. return
  356. end]]
  357. -- hs(hit,1.2)
  358. c=Instance.new("ObjectValue")
  359. c.Name="creator"
  360. c.Value=game:service("Players").LocalPlayer
  361. c.Parent=h
  362. game:GetService("Debris"):AddItem(c,.5)
  363. Damage=math.random(minim,maxim)
  364. -- h:TakeDamage(Damage)
  365. blocked=false
  366. block=hit.Parent:findFirstChild("Block")
  367. if block~=nil then
  368. print(block.className)
  369. if block.className=="NumberValue" then
  370. if block.Value>0 then
  371. blocked=true
  372. if decreaseblock==nil then
  373. block.Value=block.Value-1
  374. end
  375. end
  376. end
  377. if block.className=="IntValue" then
  378. if block.Value>0 then
  379. blocked=true
  380. if decreaseblock~=nil then
  381. block.Value=block.Value-1
  382. end
  383. end
  384. end
  385. end
  386. if blocked==false then
  387. -- h:TakeDamage(Damage)
  388. h.Health=h.Health-Damage
  389. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  390. else
  391. h.Health=h.Health-(Damage/2)
  392. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  393. end
  394. if Type=="Knockdown" then
  395. hum=hit.Parent.Humanoid
  396. hum.PlatformStand=true
  397. coroutine.resume(coroutine.create(function(HHumanoid)
  398. swait(1)
  399. HHumanoid.PlatformStand=false
  400. end),hum)
  401. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  402. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  403. local bodvol=Instance.new("BodyVelocity")
  404. bodvol.velocity=angle*knockback
  405. bodvol.P=5000
  406. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  407. bodvol.Parent=hit
  408. rl=Instance.new("BodyAngularVelocity")
  409. rl.P=3000
  410. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  411. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  412. rl.Parent=hit
  413. game:GetService("Debris"):AddItem(bodvol,.5)
  414. game:GetService("Debris"):AddItem(rl,.5)
  415. elseif Type=="Normal" then
  416. vp=Instance.new("BodyVelocity")
  417. vp.P=500
  418. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  419. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  420. if KnockbackType==1 then
  421. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  422. elseif KnockbackType==2 then
  423. vp.velocity=Property.CFrame.lookVector*knockback
  424. end
  425. if knockback>0 then
  426. vp.Parent=hit.Parent.Torso
  427. end
  428. game:GetService("Debris"):AddItem(vp,.5)
  429. elseif Type=="Up" then
  430. local bodyVelocity=Instance.new("BodyVelocity")
  431. bodyVelocity.velocity=vt(0,60,0)
  432. bodyVelocity.P=5000
  433. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  434. bodyVelocity.Parent=hit
  435. game:GetService("Debris"):AddItem(bodyVelocity,1)
  436. rl=Instance.new("BodyAngularVelocity")
  437. rl.P=3000
  438. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  439. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  440. rl.Parent=hit
  441. game:GetService("Debris"):AddItem(rl,.5)
  442. elseif Type=="Snare" then
  443. bp=Instance.new("BodyPosition")
  444. bp.P=2000
  445. bp.D=100
  446. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  447. bp.position=hit.Parent.Torso.Position
  448. bp.Parent=hit.Parent.Torso
  449. game:GetService("Debris"):AddItem(bp,1)
  450. elseif Type=="Target" then
  451. if Targetting==false then
  452. ZTarget=hit.Parent.Torso
  453. coroutine.resume(coroutine.create(function(Part)
  454. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  455. swait(5)
  456. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  457. end),ZTarget)
  458. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  459. targetgui=Instance.new("BillboardGui")
  460. targetgui.Parent=ZTarget
  461. targetgui.Size=UDim2.new(10,100,10,100)
  462. targ=Instance.new("ImageLabel")
  463. targ.Parent=targetgui
  464. targ.BackgroundTransparency=1
  465. targ.Image="rbxassetid://4834067"
  466. targ.Size=UDim2.new(1,0,1,0)
  467. cam.CameraType="Scriptable"
  468. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  469. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  470. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  471. Targetting=true
  472. RocketTarget=ZTarget
  473. for i=1,Property do
  474. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  475. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  476. swait()
  477. end
  478. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  479. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  480. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  481. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  482. end
  483. Targetting=false
  484. RocketTarget=nil
  485. targetgui.Parent=nil
  486. cam.CameraType="Custom"
  487. end
  488. end
  489. debounce=Instance.new("BoolValue")
  490. debounce.Name="DebounceHit"
  491. debounce.Parent=hit.Parent
  492. debounce.Value=true
  493. game:GetService("Debris"):AddItem(debounce,Delay)
  494. c=Instance.new("ObjectValue")
  495. c.Name="creator"
  496. c.Value=Player
  497. c.Parent=h
  498. game:GetService("Debris"):AddItem(c,.5)
  499. CRIT=false
  500. hitDeb=true
  501. AttackPos=6
  502. end
  503. end
  504.  
  505. showDamage=function(Char,Dealt,du,Color)
  506. m=Instance.new("Model")
  507. m.Name=tostring(Dealt)
  508. h=Instance.new("Humanoid")
  509. h.Health=0
  510. h.MaxHealth=0
  511. h.Parent=m
  512. c=Instance.new("Part")
  513. c.Transparency=0
  514. c.BrickColor=Color
  515. c.Name="Head"
  516. c.TopSurface=0
  517. c.BottomSurface=0
  518. c.formFactor="Plate"
  519. c.Size=Vector3.new(1,.4,1)
  520. ms=Instance.new("CylinderMesh")
  521. ms.Scale=Vector3.new(.8,.8,.8)
  522. if CRIT==true then
  523. ms.Scale=Vector3.new(1,1.25,1)
  524. end
  525. ms.Parent=c
  526. c.Reflectance=0
  527. Instance.new("BodyGyro").Parent=c
  528. c.Parent=m
  529. if Char:findFirstChild("Head")~=nil then
  530. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  531. elseif Char.Parent:findFirstChild("Head")~=nil then
  532. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  533. end
  534. f=Instance.new("BodyPosition")
  535. f.P=2000
  536. f.D=100
  537. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  538. f.position=c.Position+Vector3.new(0,3,0)
  539. f.Parent=c
  540. game:GetService("Debris"):AddItem(m,.5+du)
  541. c.CanCollide=false
  542. m.Parent=workspace
  543. c.CanCollide=false
  544. end
  545.  
  546. HandleA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  547. HandleAweld=weld(m1,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00601291656, 0.902695894, -0.0106921196, 6.92903996e-006, -0.000916787016, 0.999999404, 0.000216525354, 0.999999523, 0.000916785619, -0.999999702, 0.000216518922, 7.15255737e-006))
  548. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  549. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200034142, 0.0993332863, -0.510296345, -0.999998927, -0.000709082757, 0.000795230328, -0.000709116226, 0.999999881, -4.12791123e-005, -0.000795172411, -4.18431882e-005, -0.999999404))
  550. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  551. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  552. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0243177414, -0.909710884, -0.50538063, 0.706621885, -0.707591116, -7.46296791e-007, 0.000227723445, 0.000228591467, -0.999999583, 0.707590938, 0.706622243, 0.00032277382))
  553. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  554. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000492095947, -1.60544538, -0.404047966, 0.999999642, 0.000637817895, 6.16828402e-006, -0.000637817895, 0.99999994, -1.12666585e-005, -6.21400113e-006, 1.12628795e-005, 0.999999762))
  555. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  556. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399835587, 0.0993037224, -0.51012373, -0.999999106, -0.000720874115, 0.00079501915, -0.000720907294, 0.999999881, -4.11022738e-005, -0.000795172586, -4.16757975e-005, -0.999999106))
  557. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  558. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1, 0.200000003, 1.39999998))
  559. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000437736511, -1.02025604, -0.805628538, 0.999999583, -0.000131279055, -1.82135318e-006, -1.76037474e-006, 0.000462549535, -0.999999464, 0.000131278823, 0.99999994, 0.000462549244))
  560. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  561. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  562. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299925804, 0.0993540287, -0.410134315, -0.999999344, -0.000737508526, 0.000795000698, -0.000737541181, 0.999999881, -4.08653723e-005, -0.000794904539, -4.14518618e-005, -0.999999225))
  563. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  564. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000024, 0.400000006, 0.200000003))
  565. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -0.910725594, -1.605968, 0.999999702, 0.00027906883, 2.27590908e-006, 2.00013483e-006, 0.000456643, -0.999999642, -0.000279070169, 1, 0.000456642243))
  566. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  567. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.41019392, -0.000547409058, -1.70559025, -2.18768628e-006, -0.000355395663, -0.999999464, -0.999999404, -0.000783216441, 2.51741312e-006, -0.000783217489, 0.999999762, -0.000355393538))
  568. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  569. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  570. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910942078, -2.30604672, 0.699171066, -2.72884017e-006, -0.000458225637, 0.999999523, -0.000415054383, 0.99999994, 0.000458224356, -0.999999523, -0.000415052753, -2.82689234e-006))
  571. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  572. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  573. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300088882, 0.0992658138, -0.610044479, -0.999999166, -0.00074226805, 0.000794910244, -0.000742300821, 0.999999881, -4.07908701e-005, -0.000794904656, -4.13811977e-005, -0.999999225))
  574. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  575. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.400000006, 1))
  576. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.799346924, -0.910316944, -1.00568414, 0.999999642, 0.000153747736, 1.13118676e-006, 9.54705683e-007, 0.000459202245, -0.999999404, -0.000153748784, 1, 0.00045920207))
  577. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  578. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910498142, -1.30583644, 0.999139786, -3.20934237e-006, -0.000454228022, 0.999999523, -0.000495601096, 0.99999994, 0.000454226451, -0.999999762, -0.000495599408, -3.52978827e-006))
  579. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  580. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.399999976, 1))
  581. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.806668758, -1.11970043, -0.00100421906, 0.00102211558, -0.999997914, 1.08030763e-005, 6.4668925e-006, -1.07969136e-005, -0.999999583, 0.999997377, 0.00102211558, 6.25147823e-006))
  582. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=218516461",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 1, 0.600000024))
  583. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  584. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, -0.510239124, -1.00575256, 0.999999642, -7.32245971e-005, -9.14712473e-007, -9.99394615e-007, 0.000461434625, -0.999999344, 7.32244225e-005, 1, 0.000461434363))
  585. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  586. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339508057, -0.205507278, 0.405237198, 0.999999642, -2.94688507e-005, -3.53896212e-007, 2.9468385e-005, 1.00000012, 1.56559838e-006, 4.28780822e-007, -1.56530632e-006, 0.999999344))
  587. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  588. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.411117554, -0.100200176, -0.10565567, 0.999999583, -0.000119221688, -1.52071971e-006, -1.55111275e-006, 0.000461844902, -0.999999523, 0.000119221571, 0.99999994, 0.000461844553))
  589. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  590. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 1))
  591. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909956455, -0.22321701, 1.50557947, 4.16988269e-006, -0.000457662361, 0.999999523, -0.706443846, -0.707768977, -0.000320927968, 0.707768798, -0.706443965, -0.000326169626))
  592. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  593. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  594. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.408623695, -0.100821018, -1.70613909, 0.999999583, -0.000117158575, -1.52027224e-006, -1.64116545e-006, 0.000462548138, -0.999999404, 0.000117158575, 0.99999994, 0.000462547934))
  595. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  596. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  597. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909699917, -1.09884357, 0.293745279, -1.08326913e-006, -0.0004489985, 0.999999404, 0.999999702, 0.000200630981, 1.27544945e-006, -0.000200631912, 1, 0.000448998238))
  598. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  599. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  600. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410476685, -0.100874901, -1.70551181, 0.999999821, -0.000135789684, -1.92663629e-006, -1.7604907e-006, 0.000462676369, -0.999999464, 0.000135789916, 0.99999994, 0.000462675991))
  601. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  602. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  603. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910520554, -1.3059237, 0.998523712, 3.20733693e-006, 0.000456415466, -0.999999523, -0.000475926179, 0.999999881, 0.000456413894, 0.999999702, 0.000475924375, 3.54042868e-006))
  604. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  605. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.40000033, 0.400000006, 2))
  606. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000133514404, -0.910128593, -0.505455256, 0.999999642, 0.000311950862, 3.32610989e-006, 3.20828326e-006, 0.000455383357, -0.999999523, -0.000311952725, 1, 0.000455382135))
  607. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  608. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.90948534, -0.588850975, 0.695396423, -3.04509967e-006, 0.000449814048, -0.999999642, -0.999999702, -0.000160418916, 3.02479157e-006, -0.000160417985, 1, 0.000449814426))
  609. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  610. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  611. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909722328, -1.09856606, 0.295041084, 1.25959377e-006, 0.000451713684, -0.999999404, -0.999999821, -0.000212759187, -1.45689e-006, -0.000212760177, 1, 0.000451713364))
  612. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  613. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1))
  614. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.7987957, -0.9103055, -1.00566292, 0.999999642, 0.000153897563, 1.13121905e-006, 9.5505402e-007, 0.000458822033, -0.999999404, -0.000153898611, 1, 0.000458821829))
  615. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  616. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404272079, -0.205385447, 0.100467205, 0.999999762, -3.15317884e-005, -4.43748831e-007, 3.15313227e-005, 1.00000012, 1.30433352e-006, 4.88144906e-007, -1.30410308e-006, 0.999999523))
  617. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  618. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404764175, -0.205312014, 0.100367546, 0.999999523, -5.50336554e-005, -5.82949724e-007, 5.50331897e-005, 1.00000012, 1.14786485e-006, 6.66815595e-007, -1.14769523e-006, 0.999999523))
  619. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  620. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299371719, 0.0993876457, -0.410626888, -0.999999106, -0.000744298974, 0.000794879976, -0.000744331744, 0.999999881, -4.07871885e-005, -0.000794845051, -4.13790913e-005, -0.999999046))
  621. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  622. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  623. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.403924942, -1.60569715, 0.000243186951, 0.999999642, 0.000154435926, 1.8465912e-006, -0.00015443645, 1.00000012, -3.93629716e-006, -1.87104388e-006, 3.93616801e-006, 0.999999583))
  624. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  625. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000514984131, -1.60579109, 0.405591488, 0.999999702, 0.000616875419, 5.9253307e-006, -0.000616875419, 1, -1.15516968e-005, -5.78212894e-006, 1.15482753e-005, 0.999999762))
  626. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000036, 0.400000006, 0.200000003))
  627. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -0.909729958, 0.394920945, 0.999999642, 0.000218851783, 2.21816663e-006, 2.14913416e-006, 0.000456655747, -0.999999523, -0.000218853063, 1, 0.000456655165))
  628. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  629. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  630. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0245990753, -0.909721375, -0.505870819, 0.706469238, 0.707743764, -6.31757757e-008, -0.000231502752, 0.000230873076, -0.999999523, -0.707743526, 0.706469417, 0.000326845853))
  631. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  632. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910820007, -2.00589633, 0.299592018, 3.17787021e-006, 0.00045605065, -0.999999642, -0.000460765994, 0.999999881, 0.000456048991, 0.999999583, 0.000460764189, 3.41793589e-006))
  633. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  634. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  635. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299167633, 0.0992984772, -0.610538006, -0.999999225, -0.000732926477, 0.000794942083, -0.000732959365, 0.999999881, -4.09263121e-005, -0.000794934342, -4.15092363e-005, -0.999999166))
  636. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  637. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  638. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909502506, -0.599749565, 0.694995403, -3.35579898e-007, -0.000451868313, 0.999999404, 0.999999762, 0.000160708791, 4.02537808e-007, -0.000160709431, 1, 0.000451868167))
  639. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  640. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  641. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909495831, -0.59880352, 0.695057034, 6.4822143e-007, 0.000452179025, -0.999999642, -0.999999762, -0.000158943934, -5.80969754e-007, -0.000158944691, 1, 0.000452178705))
  642. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  643. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  644. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.405106544, -1.60561466, 0.000225543976, 0.999999642, 0.000175392313, 2.208757e-006, -0.000175392546, 1.00000012, -4.08470214e-006, -2.16920262e-006, 4.08442611e-006, 0.999999523))
  645. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  646. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910933971, -2.30625892, 0.699104309, 2.73067462e-006, 0.000456224807, -0.999999523, -0.000438791845, 0.999999881, 0.000456223526, 0.999999464, 0.000438790128, 2.83203235e-006))
  647. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  648. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  649. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409638405, -0.00014591217, -0.104890108, -2.18768628e-006, -0.000355395663, -0.999999464, -0.999999404, -0.000783216441, 2.51741312e-006, -0.000783217489, 0.999999762, -0.000355393538))
  650. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  651. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1, 0.800000012))
  652. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.90993309, -1.50450993, 0.225377083, -9.54144525e-007, -0.00045981427, 0.999999404, 0.706453145, 0.707759619, 0.000326111593, -0.707759261, 0.706453383, 0.000324085588))
  653. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  654. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  655. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199476242, 0.0993714333, -0.510579109, -0.999999225, -0.000713866786, 0.000795169675, -0.000713899964, 0.999999881, -4.12086556e-005, -0.000795172469, -4.1776555e-005, -0.999999106))
  656. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  657. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  658. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910819054, -2.00598288, 0.299651146, -2.95224163e-006, -0.00045835285, 0.999999583, -0.000438263029, 0.999999881, 0.000458351482, -0.999999523, -0.000438261253, -3.14484259e-006))
  659. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  660. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  661. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000329971313, -0.205160379, -0.404402494, 0.999999702, -2.71389144e-005, -2.93786798e-007, 2.71383906e-005, 1.00000024, 1.66046027e-006, 3.84163286e-007, -1.6602404e-006, 0.999999523))
  662. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  663. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408882141, -0.100205898, -0.104806185, 0.999999583, -0.000119221688, -1.52071971e-006, -1.55111275e-006, 0.000461844902, -0.999999523, 0.000119221571, 0.99999994, 0.000461844553))
  664. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  665. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  666. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399191856, 0.0993947983, -0.510787964, -0.999999225, -0.000704300532, 0.000795231375, -0.000704333768, 0.999999881, -4.135364e-005, -0.000795231957, -4.19139687e-005, -0.999999166))
  667. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  668. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright red","Part",Vector3.new(1, 0.400000006, 0.99999994))
  669. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000380516052, -1.12010813, -0.805575848, 0.999999642, -3.12970951e-006, 2.43362592e-008, 4.48962965e-008, 0.000460115814, -0.999999344, 3.12930206e-006, 1.00000012, 0.000460115785))
  670. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  671. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  672. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909489155, -0.589746475, 0.694995165, -4.99348062e-007, -0.00045202655, 0.999999464, 0.999999642, 0.000149068306, 5.19225978e-007, -0.000149069005, 1, 0.000452026463))
  673. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  674. BarrelA2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  675. BarrelA2weld=weld(m1,HandleA,BarrelA2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299783707, 0.694409728, -0.510775089, -0.999999106, -0.000751217012, 0.000794878521, -0.000751249609, 0.999999881, -4.04268467e-005, -0.000794845342, -4.10242283e-005, -0.999999046))
  676. mesh("CylinderMesh",BarrelA2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  677. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  678. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299256325, 0.0943014622, -0.510558128, -0.999999106, -0.000765180215, 0.000794726482, -0.000765212579, 0.999999821, -4.02083169e-005, -0.000794711406, -4.08166525e-005, -0.999999166))
  679. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  680. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  681. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.30008316, 0.0943102837, -0.510088444, -0.999999106, -0.000751217012, 0.000794878521, -0.000751249609, 0.999999881, -4.04268467e-005, -0.000794845342, -4.10242283e-005, -0.999999046))
  682. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  683. BarrelA1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  684. BarrelA1weld=weld(m1,HandleA,BarrelA1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300215721, 0.694310427, -0.510293961, -0.999999106, -0.000751217012, 0.000794878521, -0.000751249609, 0.999999881, -4.04268467e-005, -0.000794845342, -4.10242283e-005, -0.999999046))
  685. mesh("CylinderMesh",BarrelA1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  686. HitboxA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright red","HitboxA",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  687. HitboxAweld=weld(m1,HandleA,HitboxA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910625935, -2.29495311, 0.000671386719, 1.65541678e-006, -2.44985004e-005, -0.999999523, 0.00162831508, -0.999998689, 2.45010415e-005, -0.999997854, -0.00162837585, -1.85656972e-006))
  688.  
  689. HandleB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  690. HandleBweld=weld(m1,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00521659851, 0.902703285, 0.00110328197, -6.91729065e-006, -0.000916737656, -0.999999642, -0.000216509899, 0.999999523, -0.000916736317, 1, 0.000216503424, -7.11577059e-006))
  691. BarrelB2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  692. BarrelB2weld=weld(m1,HandleB,BarrelB2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301452637, 0.694670916, 0.499202967, 0.999999046, 0.0010826512, -0.000794843771, -0.00108227541, 0.999999404, 0.000473449356, 0.000795328175, -0.000472588668, 0.999999225))
  693. mesh("CylinderMesh",BarrelB2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  694. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  695. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.411119461, -0.100201607, -0.105655193, 1.00000012, -0.00011922128, -1.69845316e-006, -1.64339235e-006, 0.000461844931, -0.99999994, 0.000119221921, 0.99999994, 0.000461844698))
  696. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  697. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  698. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408880234, -0.100208461, -0.104805708, 1.00000012, -0.00011922128, -1.69845316e-006, -1.64339235e-006, 0.000461844931, -0.99999994, 0.000119221921, 0.99999994, 0.000461844698))
  699. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  700. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  701. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, -0.510238647, -1.00575376, 1.00000012, -7.32243061e-005, -1.06067819e-006, -1.02689046e-006, 0.000461434742, -0.99999994, 7.32247718e-005, 1, 0.000461434654))
  702. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  703. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000328063965, -0.205159426, -0.404401898, 1.00000012, -2.71386816e-005, -3.42850399e-007, 2.7138798e-005, 1.00000024, 1.66038149e-006, 3.42805833e-007, -1.66039138e-006, 1))
  704. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  705. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199474335, 0.0993717909, -0.510580003, -0.999999583, -0.000713867019, 0.000795202388, -0.000713899906, 0.999999881, -4.12087356e-005, -0.00079517276, -4.17764059e-005, -0.999999702))
  706. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  707. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.399999976, 1))
  708. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.806668758, -1.11970067, -0.0010061264, 0.0010221157, -0.999997914, 1.08031745e-005, 6.35393553e-006, -1.07969336e-005, -1, 0.999997854, 0.00102211593, 6.34293337e-006))
  709. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=218516461",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 1, 0.600000024))
  710. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  711. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910819292, -2.00598335, 0.2996521, -3.00354463e-006, -0.000458352966, 0.99999994, -0.000438262883, 0.999999881, 0.000458351598, -0.99999994, -0.000438261486, -3.20442314e-006))
  712. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  713. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  714. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299929619, 0.0993545055, -0.410133362, -0.999999583, -0.000737508642, 0.000795009022, -0.000737541239, 0.999999881, -4.08654814e-005, -0.000794978638, -4.14518072e-005, -0.999999702))
  715. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  716. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  717. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000490188599, -1.60544825, -0.40404737, 0.999999881, 0.000637817953, 6.16506532e-006, -0.000637817837, 0.99999994, -1.12668004e-005, -6.17224987e-006, 1.12628632e-005, 1))
  718. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  719. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299369812, 0.0993840694, -0.410629034, -0.999999583, -0.000744299265, 0.000794907508, -0.000744331861, 0.999999881, -4.07872976e-005, -0.000794876833, -4.1378953e-005, -0.999999702))
  720. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  721. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  722. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909701705, -1.09884548, 0.29374373, -1.15321882e-006, -0.000448998646, 0.99999994, 1.00000012, 0.000200631155, 1.2433029e-006, -0.000200631737, 1, 0.000448998384))
  723. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  724. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  725. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404763222, -0.205310822, 0.100368083, 1, -5.50333643e-005, -6.90408342e-007, 5.50334225e-005, 1.00000012, 1.14775594e-006, 6.90346042e-007, -1.14778663e-006, 1))
  726. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  727. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909502804, -0.599750519, 0.694995999, -4.50516836e-007, -0.000451868516, 0.99999994, 1.00000012, 0.000160708907, 5.23136805e-007, -0.000160709082, 1, 0.000451868429))
  728. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  729. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1, 0.200000003, 1.39999998))
  730. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000434875488, -1.02025652, -0.805627584, 1.00000012, -0.000131278648, -1.848176e-006, -1.78745313e-006, 0.000462549651, -0.99999994, 0.000131279288, 0.99999994, 0.000462549389))
  731. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  732. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  733. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404273033, -0.205385447, 0.100466967, 1.00000012, -3.15316138e-005, -4.12337613e-007, 3.1531672e-005, 1.00000012, 1.30428373e-006, 4.12296686e-007, -1.30428566e-006, 1))
  734. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1, 0.800000012))
  735. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909932375, -1.50451183, 0.22537899, -9.97381449e-007, -0.000459814415, 0.99999994, 0.706453502, 0.707759559, 0.000326142646, -0.707759559, 0.706453383, 0.000324131543))
  736. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  737. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  738. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.405105591, -1.60561681, 0.000225901604, 1.00000012, 0.000175392546, 2.13072462e-006, -0.000175392488, 1.00000012, -4.08471533e-006, -2.1314404e-006, 4.08434789e-006, 1))
  739. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  740. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.30009079, 0.0992664099, -0.610045373, -0.999999583, -0.000742268283, 0.00079497043, -0.000742300879, 0.999999881, -4.07910084e-005, -0.000794939871, -4.13811067e-005, -0.999999702))
  741. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  742. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000024, 0.400000006, 0.200000003))
  743. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00043964386, -0.910725951, -1.60597086, 1.00000012, 0.000279069063, 2.06355298e-006, 1.93611731e-006, 0.000456642971, -0.99999994, -0.000279069995, 1, 0.000456642418))
  744. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  745. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0245990753, -0.909722567, -0.505868912, 0.706469595, 0.707743764, -1.34443781e-007, -0.000231479891, 0.000230873207, -1, -0.707743704, 0.706469476, 0.000326933281))
  746. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  747. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399188995, 0.0993949175, -0.510789394, -0.999999464, -0.000704300648, 0.00079527928, -0.000704333768, 0.999999881, -4.13537236e-005, -0.000795250002, -4.19138451e-005, -0.999999702))
  748. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  749. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  750. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399837494, 0.0993038416, -0.510124326, -0.999999583, -0.000720874465, 0.000795144413, -0.000720907294, 0.999999881, -4.1102383e-005, -0.000795114494, -4.16755938e-005, -0.999999702))
  751. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  752. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  753. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409636855, -0.000144004822, -0.104890108, -2.24786072e-006, -0.000355395576, -1, -0.999999762, -0.000783216674, 2.52621203e-006, -0.000783217489, 0.999999762, -0.000355393684))
  754. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  755. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  756. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.403925896, -1.60569644, 0.00024330616, 1.00000012, 0.000154436217, 1.84760393e-006, -0.000154436158, 1.00000012, -3.93636947e-006, -1.84821192e-006, 3.93609025e-006, 1))
  757. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  758. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910499156, -1.30583549, 0.999141693, -3.29535669e-006, -0.000454228197, 0.99999994, -0.00049560098, 0.99999994, 0.000454226538, -1, -0.000495599466, -3.52047232e-006))
  759. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  760. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  761. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000337600708, -0.205507517, 0.405237138, 1.00000012, -2.94685597e-005, -3.74370757e-007, 2.94686179e-005, 1.00000012, 1.56549049e-006, 3.74324372e-007, -1.56549845e-006, 1))
  762. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  763. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410192251, -0.000547409058, -1.70559192, -2.24786072e-006, -0.000355395576, -1, -0.999999762, -0.000783216674, 2.52621203e-006, -0.000783217489, 0.999999762, -0.000355393684))
  764. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  765. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1))
  766. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.798799515, -0.910306394, -1.00566459, 1.00000012, 0.000153897854, 1.11723057e-006, 1.04661831e-006, 0.000458822207, -0.99999994, -0.00015389832, 1, 0.000458822033))
  767. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.40000033, 0.400000006, 2))
  768. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000130653381, -0.910126984, -0.505456924, 1.00000012, 0.000311951037, 3.37332835e-006, 3.23127028e-006, 0.000455383473, -0.99999994, -0.00031195255, 1, 0.000455382426))
  769. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  770. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910933912, -2.30626202, 0.699104309, 2.71253521e-006, 0.000456224865, -0.99999994, -0.000438791641, 0.999999881, 0.000456223614, 0.99999994, 0.000438790419, 2.91272272e-006))
  771. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  772. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  773. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909485877, -0.588849068, 0.695395827, -3.07688242e-006, 0.000449814048, -0.99999994, -1.00000012, -0.000160419149, 3.00472266e-006, -0.000160417752, 1, 0.000449814514))
  774. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  775. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  776. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200036049, 0.0993337631, -0.510296583, -0.999999464, -0.000709083106, 0.000795240747, -0.000709116168, 0.999999881, -4.12792506e-005, -0.000795211352, -4.18431446e-005, -0.999999702))
  777. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  778. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  779. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.408623695, -0.100821435, -1.70614004, 1.00000012, -0.000117158168, -1.65958318e-006, -1.60539275e-006, 0.000462548312, -0.99999994, 0.000117158925, 0.99999994, 0.00046254808))
  780. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  781. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000036, 0.400000006, 0.200000003))
  782. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000291824341, -0.909731448, 0.394920468, 1, 0.000218852016, 2.11296856e-006, 2.01302828e-006, 0.000456655718, -0.99999994, -0.000218852947, 1, 0.000456655252))
  783. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  784. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  785. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909488797, -0.589749336, 0.694995999, -5.45072908e-007, -0.000452026696, 0.99999994, 1.00000012, 0.000149068597, 6.12456006e-007, -0.000149068772, 1, 0.000452026608))
  786. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  787. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  788. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0243177414, -0.909711123, -0.505382538, 0.706622243, -0.707591176, -7.77533842e-007, 0.000227804718, 0.000228591642, -1, 0.707591176, 0.706622243, 0.000322720531))
  789. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  790. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410474777, -0.100875676, -1.70551252, 1.00000012, -0.000135789509, -1.91163963e-006, -1.84881401e-006, 0.000462676428, -0.99999994, 0.000135790266, 0.99999994, 0.000462676137))
  791. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  792. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  793. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299166679, 0.0992978811, -0.610537946, -0.999999583, -0.00073292671, 0.000795047556, -0.000732959365, 0.999999881, -4.09264503e-005, -0.000795017288, -4.15091745e-005, -0.999999702))
  794. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  795. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  796. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000512123108, -1.60579109, 0.405592978, 0.99999994, 0.000616875477, 5.88053217e-006, -0.000616875361, 1, -1.15517523e-005, -5.8876567e-006, 1.15481243e-005, 1))
  797. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  798. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910819769, -2.00589943, 0.299591064, 3.17494141e-006, 0.000456050679, -0.99999994, -0.000460765878, 0.999999881, 0.000456049136, 1.00000012, 0.00046076451, 3.38507402e-006))
  799. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  800. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  801. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910942733, -2.30604911, 0.699176788, -2.68805752e-006, -0.000458225666, 0.99999994, -0.000415054266, 0.99999994, 0.000458224502, -1, -0.000415052986, -2.87824605e-006))
  802. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  803. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  804. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909497142, -0.598801613, 0.695056319, 6.35209744e-007, 0.000452179054, -0.99999994, -1.00000012, -0.000158944051, -7.07080744e-007, -0.000158944284, 1, 0.000452178909))
  805. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  806. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright red","Part",Vector3.new(1, 0.400000006, 0.99999994))
  807. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000376701355, -1.1201086, -0.805576801, 1.00000012, -3.12953489e-006, 1.24504822e-007, 1.25944098e-007, 0.000460115989, -0.99999994, 3.1295931e-006, 1.00000012, 0.000460116018))
  808. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  809. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 1))
  810. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909956217, -0.223212242, 1.50558186, 4.14528085e-006, -0.000457662478, 0.99999994, -0.706444144, -0.707768917, -0.000320990832, 0.707768917, -0.706443965, -0.00032624678))
  811. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  812. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  813. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909722984, -1.0985651, 0.295041203, 1.37364941e-006, 0.000451713888, -0.99999994, -1, -0.000212759187, -1.46975617e-006, -0.000212759827, 1, 0.000451713568))
  814. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  815. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  816. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.910520196, -1.30592656, 0.998521805, 3.21776224e-006, 0.000456415524, -0.99999994, -0.000475926034, 0.999999881, 0.000456413953, 1, 0.000475924608, 3.43498232e-006))
  817. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  818. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.400000006, 1))
  819. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.799344063, -0.91031605, -1.00568509, 1.00000012, 0.000153748028, 1.11755071e-006, 1.04694891e-006, 0.00045920242, -0.99999994, -0.000153748551, 1, 0.000459202245))
  820. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  821. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299254417, 0.0943024158, -0.510557652, -0.999999523, -0.000765180506, 0.000794780906, -0.000765212579, 0.999999821, -4.0208397e-005, -0.000794749882, -4.08165506e-005, -0.999999702))
  822. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  823. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  824. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300086021, 0.0943112373, -0.510091066, -0.999999583, -0.000751217362, 0.000794898311, -0.000751249609, 0.999999881, -4.04269231e-005, -0.000794867636, -4.10240827e-005, -0.999999702))
  825. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  826. BarrelB1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  827. BarrelB1weld=weld(m1,HandleB,BarrelB1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298545837, 0.694571614, 0.499684155, 0.999999046, 0.0010826512, -0.000794843771, -0.00108227541, 0.999999404, 0.000473449356, 0.000795328175, -0.000472588668, 0.999999225))
  828. mesh("CylinderMesh",BarrelB1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  829. HitboxB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright red","HitboxB",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  830. HitboxBweld=weld(m1,HandleB,HitboxB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.8993541, -2.2953887, -0.000197410583, -1.20175173e-006, -0.000457523565, 0.999999702, 0.000205208897, -0.999999881, -0.000457523332, 0.999999404, 0.000205146847, 1.51164659e-006))
  831.  
  832. BHandleA=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  833. handleAweld=weld(m2,Character["Right Arm"],BHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00464439392, 0.890144825, 2.39763689, -4.9116361e-006, -0.000711855828, -0.999999762, -1, 0.00024034064, 4.74054968e-006, 0.000240337235, 0.999999642, -0.00071185705))
  834. mesh("BlockMesh",BHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  835. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  836. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000851154327, -0.243443489, 1.80064034, -2.58627915e-006, 1, -7.99579266e-006, -1, -2.58638693e-006, -1.35781593e-005, -1.35782175e-005, 7.99576082e-006, 1.00000012))
  837. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  838. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  839. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000863552094, -0.255933762, 1.80045962, 6.18230024e-006, -1, 1.03384036e-005, 1, 6.18252443e-006, 2.16971384e-005, -2.16971966e-005, 1.03382654e-005, 1.00000012))
  840. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  841. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  842. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.71661377e-005, -0.799008369, 1.68085098e-005, -4.94010101e-006, 1, -6.99967222e-006, -1.00000012, -4.93977359e-006, 4.67893551e-005, 4.67892969e-005, 6.99990551e-006, 1.00000012))
  843. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  844. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  845. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00021314621, -0.599427223, -0.400175571, 1.53349902e-008, 1, -1.08373715e-005, 0.999999642, -5.67024472e-009, 0.000891857664, 0.000891857664, -1.08373733e-005, -0.999999702))
  846. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  847. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  848. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000226020813, -0.599549294, 0.400123954, 1.07365395e-007, -1, 6.84314591e-006, -1.00000012, -1.06840616e-007, 7.66707235e-005, -7.66706653e-005, -6.84315637e-006, -1.00000012))
  849. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  850. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  851. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000403881073, -0.69838047, 0.800340712, -2.99596968e-006, 1, -7.89992555e-006, -1, -2.99602061e-006, -6.59289071e-006, -6.59294892e-006, 7.89990372e-006, 1.00000012))
  852. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  853. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  854. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00023317337, -0.598741531, -0.4001562, -6.71329872e-008, -1, 7.83627729e-006, -1, 6.72057467e-008, 9.17859143e-006, -9.17853322e-006, -7.83628093e-006, -1.00000012))
  855. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  856. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  857. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000181674957, -0.59961319, 0.400129855, -2.05418473e-007, 1, -1.10590672e-005, 0.999999642, 2.15461569e-007, 0.000908143935, 0.000908143935, -1.10588726e-005, -0.999999702))
  858. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  859. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  860. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.43186951e-005, -0.799318314, 1.93715096e-005, 4.8664283e-006, -1, 1.09996372e-005, 0.999999642, 4.87616353e-006, 0.00088524021, -0.000885240268, 1.0995318e-005, 0.999999702))
  861. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  862. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  863. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00043296814, -0.699325562, 0.800350547, 2.85850365e-006, -1, 1.07140386e-005, 0.999999642, 2.8678387e-006, 0.00087142986, -0.00087142986, 1.07115484e-005, 0.999999702))
  864. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  865.  
  866. BHandleB=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  867. handleBweld=weld(m2,Character["Left Arm"],BHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463676453, -0.909854889, 2.39806938, -4.9116361e-006, -0.000711855828, -0.999999762, -1, 0.00024034064, 4.74054968e-006, 0.000240337235, 0.999999642, -0.00071185705))
  868. mesh("BlockMesh",BHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  869. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  870. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000851407647, -0.243443489, 1.80064046, -2.58627915e-006, 1, -7.99579266e-006, -1, -2.58638693e-006, -1.35781593e-005, -1.35782175e-005, 7.99576082e-006, 1.00000012))
  871. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  872. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  873. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00086325407, -0.255933762, 1.80045962, 6.18230024e-006, -1, 1.03384036e-005, 1, 6.18252443e-006, 2.16971384e-005, -2.16971966e-005, 1.03382654e-005, 1.00000012))
  874. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  875. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  876. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.74045563e-005, -0.799009323, 1.68085098e-005, -4.94010101e-006, 1, -6.99967222e-006, -1.00000012, -4.93977359e-006, 4.67893551e-005, 4.67892969e-005, 6.99990551e-006, 1.00000012))
  877. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  878. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  879. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000212922692, -0.59942627, -0.400175571, 1.53349902e-008, 1, -1.08373715e-005, 0.999999642, -5.67024472e-009, 0.000891857664, 0.000891857664, -1.08373733e-005, -0.999999702))
  880. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  881. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  882. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000226154923, -0.59954834, 0.400123894, 1.07365395e-007, -1, 6.84314591e-006, -1.00000012, -1.06840616e-007, 7.66707235e-005, -7.66706653e-005, -6.84315637e-006, -1.00000012))
  883. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  884. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  885. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000403672457, -0.69838047, 0.800340652, -2.99596968e-006, 1, -7.89992555e-006, -1, -2.99602061e-006, -6.59289071e-006, -6.59294892e-006, 7.89990372e-006, 1.00000012))
  886. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  887. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  888. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000233188272, -0.598742485, -0.40015614, -6.71329872e-008, -1, 7.83627729e-006, -1, 6.72057467e-008, 9.17859143e-006, -9.17853322e-006, -7.83628093e-006, -1.00000012))
  889. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  890. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  891. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000182256103, -0.599612236, 0.400129795, -2.05418473e-007, 1, -1.10590672e-005, 0.999999642, 2.15461569e-007, 0.000908143935, 0.000908143935, -1.10588726e-005, -0.999999702))
  892. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  893. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  894. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.47508287e-005, -0.799318314, 1.93715096e-005, 4.8664283e-006, -1, 1.09996372e-005, 0.999999642, 4.87616353e-006, 0.00088524021, -0.000885240268, 1.0995318e-005, 0.999999702))
  895. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  896. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  897. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000433221459, -0.699325562, 0.800350487, 2.85850365e-006, -1, 1.07140386e-005, 0.999999642, 2.8678387e-006, 0.00087142986, -0.00087142986, 1.07115484e-005, 0.999999702))
  898. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  899.  
  900. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  901. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  902. prt.Anchored=true
  903. prt.CFrame=cframe
  904. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  905. game:GetService("Debris"):AddItem(prt,2)
  906. coroutine.resume(coroutine.create(function(Part,Mesh)
  907. for i=0,1,delay do
  908. swait()
  909. Part.CFrame=Part.CFrame
  910. Part.Transparency=i
  911. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  912. end
  913. Part.Parent=nil
  914. end),prt,msh)
  915. end
  916.  
  917. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  918. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  919. prt.Anchored=true
  920. prt.CFrame=cframe
  921. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  922. game:GetService("Debris"):AddItem(prt,2)
  923. coroutine.resume(coroutine.create(function(Part,Mesh)
  924. for i=0,1,delay do
  925. swait()
  926. Part.CFrame=Part.CFrame
  927. Part.Transparency=i
  928. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  929. end
  930. Part.Parent=nil
  931. end),prt,msh)
  932. end
  933.  
  934. function LaserBarrage(Prt,Parent)
  935. attack=true
  936. --so("BeamLockon",Prt,1,1)
  937. local efprt=part(3,Parent,"SmoothPlastic",0,0.5,BrickColor.new("Really red"),"Effect",vt(0.2,0.2,0.2))
  938. efprt.Anchored=true
  939. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  940. spread=vt((math.random(-1,0)+math.random())*2,(math.random(-1,0)+math.random())*2,(math.random(-1,0)+math.random())*2)*(Prt.Position-Mouse.Hit.p).magnitude/100
  941. --spread=vt(0,0,0)
  942. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  943. game:GetService("Debris"):AddItem(Part,6)
  944. local TheHit=Mouse.Hit.p
  945. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  946. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  947. so("Elec",Prt,0.2,1)
  948. local tefprt=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  949. tefprt.CFrame=cf(pos)
  950. MagicCircle(BrickColor.new("Really red"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  951. so("Elec",tefprt,0.3,1)
  952. game:GetService("Debris"):AddItem(tefprt,3)
  953. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  954. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  955. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  956. hit.Parent.Humanoid:TakeDamage(15)
  957. end
  958. end
  959. local mag=(Prt.Position-pos).magnitude
  960. MagicCylinder(BrickColor.new("Really red"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  961. Part.Parent=nil
  962. end),efprt,efmsh,spread)
  963. end
  964.  
  965. function Shoot1()
  966. attack = true
  967. for i = 0,1,0.1 do
  968. swait()
  969. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-10)),.2)
  970. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  971. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  972. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  973. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  974. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-10)),.2)
  975. end
  976. so("http://www.roblox.com/asset/?id=169445602",BarrelA1,1,.9)
  977. so("http://www.roblox.com/asset/?id=169445602",BarrelA2,1,.9)
  978. for i = 0,1,0.1 do
  979. swait()
  980. LaserBarrage(BarrelA1,m)
  981. LaserBarrage(BarrelA2,m)
  982. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-5)),.2)
  983. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(5)),.2)
  984. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(120), math.rad(20), math.rad(0)),.2)
  985. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  986. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  987. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  988. end
  989. attack = false
  990. end
  991.  
  992. function Shoot2()
  993. attack = true
  994. for i = 0,1,0.1 do
  995. swait()
  996. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.2)
  997. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.2)
  998. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.2)
  999. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(90), math.rad(-20), math.rad(10)),.2)
  1000. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1001. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1002. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1003. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.2)
  1004. end
  1005. so("http://www.roblox.com/asset/?id=169445602",BarrelB1,1,.9)
  1006. so("http://www.roblox.com/asset/?id=169445602",BarrelB2,1,.9)
  1007. for i = 0,1,0.1 do
  1008. swait()
  1009. LaserBarrage(BarrelB1,m)
  1010. LaserBarrage(BarrelB2,m)
  1011. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.2)
  1012. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.2)
  1013. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.2)
  1014. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(120), math.rad(-20), math.rad(10)),.2)
  1015. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1016. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1017. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1018. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.2)
  1019. end
  1020. attack = false
  1021. end
  1022.  
  1023. function PlaySound(id, pitch, parent, volume)
  1024. if volume == nil then volume=tonumber(1) end
  1025. local epicsound = Instance.new("Sound")
  1026. epicsound.Name = "Epicosound"
  1027. epicsound.SoundId = "rbxassetid://"..id
  1028. epicsound.Volume = volume
  1029. epicsound.Pitch = pitch
  1030. epicsound.Looped = false
  1031. epicsound.Parent = parent
  1032. wait()
  1033. epicsound:Play()
  1034. game:service'Debris':AddItem(epicsound, 8)
  1035. end
  1036.  
  1037. Slashes = {200633108, 200633148, 200633196,200633281}
  1038.  
  1039. Slash = function(part)
  1040. local slashes = math.random(1, #Slashes)
  1041. PlaySound(Slashes[slashes], 1, part)
  1042. end
  1043.  
  1044. function attackone()
  1045. attack = true
  1046. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1047. for i = 0,1,0.1 do
  1048. swait()
  1049. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1050. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1051. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.2)
  1052. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1053. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1054. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1055. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1056. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1057. end
  1058. Slash(HitboxA)
  1059. for i = 0,1,0.1 do
  1060. swait()
  1061. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1062. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1063. local h = 5
  1064. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1065. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1066. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1067. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1068. scfr = blcf
  1069. elseif not scfr then
  1070. scfr = blcf
  1071. end
  1072. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1073. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1074. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-30)),.2)
  1075. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1076. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1077. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1078. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1079. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1080. end
  1081. scfr = nil
  1082. attack = false
  1083. con:disconnect()
  1084. end
  1085.  
  1086. function attacktwo()
  1087. attack = true
  1088. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1089. for i = 0,1,0.1 do
  1090. swait()
  1091. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1092. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1093. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.2)
  1094. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(-90)),.2)
  1095. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1096. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1097. end
  1098. Slash(HitboxB)
  1099. for i = 0,1,0.1 do
  1100. swait()
  1101. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1102. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1103. local h = 5
  1104. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1105. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1106. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1107. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1108. scfr = blcf
  1109. elseif not scfr then
  1110. scfr = blcf
  1111. end
  1112. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1113. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1114. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.2)
  1115. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-80)),.2)
  1116. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1117. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1118. end
  1119. scfr = nil
  1120. attack = false
  1121. con:disconnect()
  1122. end
  1123.  
  1124. function attackthree()
  1125. attack = true
  1126. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1127. for i = 0,1,0.1 do
  1128. swait()
  1129. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1130. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1131. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)),.2)
  1132. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.2)
  1133. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1134. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1135. end
  1136. Slash(HitboxA)
  1137. for i = 0,1,0.1 do
  1138. swait()
  1139. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1140. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1141. local h = 5
  1142. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1143. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1144. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1145. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1146. scfr = blcf
  1147. elseif not scfr then
  1148. scfr = blcf
  1149. end
  1150. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1151. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1152. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(130), math.rad(80)),.2)
  1153. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.2)
  1154. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1155. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1156. end
  1157. scfr = nil
  1158. attack = false
  1159. con:disconnect()
  1160. end
  1161.  
  1162. function attackfour()
  1163. attack = true
  1164. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1165. for i = 0,1,0.1 do
  1166. swait()
  1167. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1168. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1169. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(0)),.2)
  1170. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-10), math.rad(0)),.2)
  1171. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.2)
  1172. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1173. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1174. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1175. end
  1176. Slash(HitboxB)
  1177. for i = 0,1,0.1 do
  1178. swait()
  1179. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1180. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1181. local h = 5
  1182. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1183. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1184. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1185. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1186. scfr = blcf
  1187. elseif not scfr then
  1188. scfr = blcf
  1189. end
  1190. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1191. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1192. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-10)),.2)
  1193. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(30)),.2)
  1194. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-30)),.2)
  1195. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(10)),.2)
  1196. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1197. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1198. end
  1199. scfr = nil
  1200. attack = false
  1201. con:disconnect()
  1202. end
  1203.  
  1204. attacktype1 = 1
  1205.  
  1206. Mouse.Button1Down:connect(function()
  1207. if Mode == "GunMode" then
  1208. if attack==false then
  1209. if attacktype1==1 then
  1210. attack=true
  1211. attacktype1=2
  1212. Shoot1()
  1213. elseif attacktype1==2 then
  1214. attack=true
  1215. attacktype1=1
  1216. Shoot2()
  1217. end
  1218. end
  1219. end
  1220. if Mode == "BladeMode" then
  1221. if attack==false then
  1222. if attacktype==1 then
  1223. attack=true
  1224. attacktype=2
  1225. attackone()
  1226. elseif attacktype==2 then
  1227. attack=true
  1228. attacktype=3
  1229. attacktwo()
  1230. elseif attacktype==3 then
  1231. attack=true
  1232. attacktype=4
  1233. attackthree()
  1234. elseif attacktype==4 then
  1235. attack=true
  1236. attacktype=1
  1237. attackfour()
  1238. end
  1239. end
  1240. end
  1241. end)
  1242.  
  1243. function Disappear()
  1244. for _,i in pairs(m2:children()) do
  1245. if i.className=="Part" then
  1246. Part.Transparency = .5
  1247. coroutine.resume(coroutine.create(function(Part)
  1248. for i=0,1,0.1 do
  1249. swait()
  1250. Part.Transparency=i
  1251. end
  1252. Part.Transparency=1
  1253. end),i)
  1254. end
  1255. end
  1256. end
  1257.  
  1258.  
  1259. function Reappear()
  1260. for _,i in pairs(m2:children()) do
  1261. if i.className=="Part" then
  1262. Part.Transparency = 1
  1263. coroutine.resume(coroutine.create(function(Part)
  1264. for i=0,1,0.1 do
  1265. swait()
  1266. Part.Transparency=i
  1267. end
  1268. Part.Transparency=0.5
  1269. end),i)
  1270. end
  1271. end
  1272. end
  1273.  
  1274. Mouse.KeyDown:connect(function(k)
  1275. k=k:lower()
  1276. if k=='f' then
  1277. if Mode == "GunMode" then
  1278. Mode = "BladeMode"
  1279. Reappear()
  1280. elseif Mode == "BladeMode" then
  1281. Mode = "GunMode"
  1282. Disappear()
  1283. end
  1284. end
  1285. end)
  1286.  
  1287.  
  1288. local sine = 0
  1289. local change = 1
  1290. local val = 0
  1291.  
  1292. while true do
  1293. swait()
  1294. sine = sine + change
  1295. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1296. local velderp=RootPart.Velocity.y
  1297. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1298. if equipped==true or equipped==false then
  1299. if attack==false then
  1300. idle=idle+1
  1301. else
  1302. idle=0
  1303. end
  1304. if idle>=500 then
  1305. if attack==false then
  1306. --Sheath()
  1307. end
  1308. end
  1309. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1310. Anim="Jump"
  1311. if attack==false and Mode == "GunMode" then
  1312. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1313. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1314. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.2)
  1315. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.2)
  1316. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.2)
  1317. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30)),.2)
  1318. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1319. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1320. end
  1321. if attack==false and Mode == "BladeMode" then
  1322. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1323. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1324. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.2)
  1325. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.2)
  1326. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.2)
  1327. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-30)),.2)
  1328. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1329. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1330. end
  1331. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1332. Anim="Fall"
  1333. if attack==false and Mode == "GunMode" then
  1334. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1335. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  1336. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.2)
  1337. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.2)
  1338. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.2)
  1339. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.2)
  1340. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1341. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1342. end
  1343. if attack==false and Mode == "BladeMode" then
  1344. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1345. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  1346. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.2)
  1347. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.2)
  1348. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.2)
  1349. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.2)
  1350. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1351. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1352. end
  1353. elseif torvel<1 and hitfloor~=nil then
  1354. Anim="Idle"
  1355. if attack==false and Mode == "GunMode" then
  1356. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-10)),.2)
  1357. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.2)
  1358. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(100), math.rad(10), math.rad(-20)),.2)
  1359. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(100), math.rad(-10), math.rad(20)),.2)
  1360. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.2)
  1361. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.2)
  1362. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1363. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1364. end
  1365. if attack==false and Mode == "BladeMode" then
  1366. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1367. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1368. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)),.2)
  1369. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)),.2)
  1370. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1371. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1372. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1373. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1374. end
  1375. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1376. Anim="Walk"
  1377. if attack==false and Mode == "GunMode" then
  1378. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  1379. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1380. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(10), math.rad(20)),.2)
  1381. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(-10), math.rad(-20)),.2)
  1382. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1383. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1384. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1385. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1386. end
  1387. if attack==false and Mode == "BladeMode" then
  1388. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1389. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  1390. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(45)),.2)
  1391. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-45)),.2)
  1392. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2)
  1393. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2)
  1394. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1395. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1396. end
  1397. end
  1398. end
  1399. if #Effects>0 then
  1400. --table.insert(Effects,{prt,"Block1",delay})
  1401. for e=1,#Effects do
  1402. if Effects[e]~=nil then
  1403. --for j=1,#Effects[e] do
  1404. local Thing=Effects[e]
  1405. if Thing~=nil then
  1406. local Part=Thing[1]
  1407. local Mode=Thing[2]
  1408. local Delay=Thing[3]
  1409. local IncX=Thing[4]
  1410. local IncY=Thing[5]
  1411. local IncZ=Thing[6]
  1412. if Thing[1].Transparency<=1 then
  1413. if Thing[2]=="Block1" then
  1414. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1415. Mesh=Thing[1].Mesh
  1416. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1417. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1418. elseif Thing[2]=="Cylinder" then
  1419. Mesh=Thing[1].Mesh
  1420. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1421. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1422. elseif Thing[2]=="Blood" then
  1423. Mesh=Thing[7]
  1424. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1425. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1426. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1427. elseif Thing[2]=="Elec" then
  1428. Mesh=Thing[1].Mesh
  1429. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1430. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1431. elseif Thing[2]=="Disappear" then
  1432. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1433. end
  1434. else
  1435. Part.Parent=nil
  1436. table.remove(Effects,e)
  1437. end
  1438. end
  1439. --end
  1440. end
  1441. end
  1442. end
  1443. end
Add Comment
Please, Sign In to add comment