simplistic27

Arm Cannons

Oct 11th, 2016
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.02 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)),.3)
  970. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(10)),.3)
  971. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  972. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  973. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  974. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-10)),.3)
  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)),.3)
  983. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(5)),.3)
  984. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(120), math.rad(20), math.rad(0)),.3)
  985. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  986. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  987. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.3)
  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)),.3)
  997. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  998. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.3)
  999. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(90), math.rad(-20), math.rad(10)),.3)
  1000. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1001. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1002. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1003. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  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)),.3)
  1012. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1013. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.3)
  1014. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(120), math.rad(-20), math.rad(10)),.3)
  1015. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1016. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1017. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1018. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  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. end
  1035.  
  1036. Slashes = {200633108, 200633148, 200633196,200633281}
  1037.  
  1038. Slash = function(part)
  1039. local slashes = math.random(1, #Slashes)
  1040. PlaySound(Slashes[slashes], 1, part)
  1041. end
  1042.  
  1043. function attackone()
  1044. attack = true
  1045. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1046. for i = 0,1,0.1 do
  1047. swait()
  1048. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1049. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1050. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.3)
  1051. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.3)
  1052. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1053. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1054. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1055. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1056. end
  1057. Slash(HitboxA)
  1058. for i = 0,1,0.1 do
  1059. swait()
  1060. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1061. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1062. local h = 5
  1063. 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)
  1064. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1065. 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)
  1066. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1067. scfr = blcf
  1068. elseif not scfr then
  1069. scfr = blcf
  1070. end
  1071. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1072. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1073. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-30)),.3)
  1074. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.3)
  1075. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1076. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1077. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1078. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1079. end
  1080. scfr = nil
  1081. attack = false
  1082. con:disconnect()
  1083. end
  1084.  
  1085. function attacktwo()
  1086. attack = true
  1087. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1088. for i = 0,1,0.1 do
  1089. swait()
  1090. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1091. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1092. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.3)
  1093. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(-90)),.3)
  1094. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1095. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1096. end
  1097. Slash(HitboxB)
  1098. for i = 0,1,0.1 do
  1099. swait()
  1100. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1101. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1102. local h = 5
  1103. 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)
  1104. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1105. 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)
  1106. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1107. scfr = blcf
  1108. elseif not scfr then
  1109. scfr = blcf
  1110. end
  1111. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1112. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1113. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.3)
  1114. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-80)),.3)
  1115. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1116. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1117. end
  1118. scfr = nil
  1119. attack = false
  1120. con:disconnect()
  1121. end
  1122.  
  1123. function attackthree()
  1124. attack = true
  1125. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1126. for i = 0,1,0.1 do
  1127. swait()
  1128. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1129. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1130. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)),.3)
  1131. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.3)
  1132. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1133. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1134. end
  1135. Slash(HitboxA)
  1136. for i = 0,1,0.1 do
  1137. swait()
  1138. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1139. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1140. local h = 5
  1141. 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)
  1142. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1143. 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)
  1144. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1145. scfr = blcf
  1146. elseif not scfr then
  1147. scfr = blcf
  1148. end
  1149. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1150. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1151. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(130), math.rad(80)),.3)
  1152. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.3)
  1153. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1154. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1155. end
  1156. scfr = nil
  1157. attack = false
  1158. con:disconnect()
  1159. end
  1160.  
  1161. function attackfour()
  1162. attack = true
  1163. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1164. for i = 0,1,0.1 do
  1165. swait()
  1166. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1167. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1168. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(0)),.3)
  1169. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-10), math.rad(0)),.3)
  1170. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.3)
  1171. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.3)
  1172. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1173. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1174. end
  1175. Slash(HitboxB)
  1176. for i = 0,1,0.1 do
  1177. swait()
  1178. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1179. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1180. local h = 5
  1181. 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)
  1182. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1183. 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)
  1184. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1185. scfr = blcf
  1186. elseif not scfr then
  1187. scfr = blcf
  1188. end
  1189. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1190. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1191. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-10)),.3)
  1192. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(30)),.3)
  1193. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-30)),.3)
  1194. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(10)),.3)
  1195. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1196. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1197. end
  1198. scfr = nil
  1199. attack = false
  1200. con:disconnect()
  1201. end
  1202.  
  1203. function AerialSpin()
  1204. attack = true
  1205. Humanoid.Jump = true
  1206. local con1=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1207. local con2=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1208. for i = 0,1,0.1 do
  1209. swait()
  1210. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1211. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1212. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(-10)),.3)
  1213. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(10)),.3)
  1214. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1215. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1216. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1217. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1218. end
  1219. so("http://www.roblox.com/asset/?id=199145327",HitboxA,1,1)
  1220. so("http://www.roblox.com/asset/?id=199145327",HitboxA,1,1)
  1221. for i=0,0.6,.5 do
  1222. swait()
  1223. --Slash(HitboxA)
  1224. --Slash(HitboxB)
  1225. for i=0,1,0.1 do
  1226. swait()
  1227. local blcf1 = HitboxB.CFrame*CFrame.new(0,.5,0)
  1228. if scfr1 and (HitboxB.Position-scfr1.p).magnitude > .1 then
  1229. local h = 5
  1230. local a,b = Triangle((scfr1*CFrame.new(0,h/2,0)).p,(scfr1*CFrame.new(0,-h/2,0)).p,(blcf1*CFrame.new(0,h/2,0)).p)
  1231. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1232. local a,b = Triangle((blcf1*CFrame.new(0,h/2,0)).p,(blcf1*CFrame.new(0,-h/2,0)).p,(scfr1*CFrame.new(0,-h/2,0)).p)
  1233. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1234. scfr1 = blcf1
  1235. elseif not scfr then
  1236. scfr1 = blcf1
  1237. end
  1238. local blcf2 = HitboxA.CFrame*CFrame.new(0,.5,0)
  1239. if scfr2 and (HitboxA.Position-scfr2.p).magnitude > .1 then
  1240. local h = 5
  1241. local a,b = Triangle((scfr2*CFrame.new(0,h/2,0)).p,(scfr2*CFrame.new(0,-h/2,0)).p,(blcf2*CFrame.new(0,h/2,0)).p)
  1242. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1243. local a,b = Triangle((blcf2*CFrame.new(0,h/2,0)).p,(blcf2*CFrame.new(0,-h/2,0)).p,(scfr2*CFrame.new(0,-h/2,0)).p)
  1244. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1245. scfr2 = blcf2
  1246. elseif not scfr then
  1247. scfr2 = blcf2
  1248. end
  1249. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(6*i,0,0),.2)
  1250. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  1251. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(-10)),.3)
  1252. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(10)),.3)
  1253. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1254. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1255. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1256. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1257. end
  1258. end
  1259. con1:disconnect()
  1260. con2:disconnect()
  1261. scfr1 = nil
  1262. scfr2 = nil
  1263. attack = false
  1264. end
  1265.  
  1266. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1267. pmsh = Instance.new('SpecialMesh')
  1268. pmsh.MeshType = 'FileMesh'
  1269. pmsh.Scale = Vector3.new(2,2,2)
  1270. pmsh.MeshId = 'http://www.roblox.com/Asset/?id=9756362'
  1271. S=Instance.new("Part")
  1272. S.Material = "SmoothPlastic"
  1273. S.Name="Effect"
  1274. S.formFactor=0
  1275. S.Size=Vector3.new(2,2,2)
  1276. S.BrickColor=color
  1277. S.Reflectance = 0
  1278. S.TopSurface=0
  1279. S.BottomSurface=0
  1280. S.Transparency=0
  1281. S.Anchored=true
  1282. S.CanCollide=false
  1283. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1284. S.Parent=workspace
  1285. pmsh.Parent = S
  1286. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1287. end
  1288.  
  1289. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1290. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5))
  1291. prt.Anchored=true
  1292. prt.CFrame=cframe
  1293. prt.Touched:connect(function(hit) end)
  1294. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  1295. coroutine.resume(coroutine.create(function(Part,Mesh)
  1296. for i=0,1,0.03 do
  1297. wait()
  1298. Part.CFrame=Part.CFrame
  1299. Part.Transparency=i
  1300. Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
  1301. end
  1302. Part.Parent=nil
  1303. end),prt,msh)
  1304. end
  1305.  
  1306. function MagniDamage(Part,dmg,knock,Type,base)
  1307. for _,c in pairs(workspace:children()) do
  1308. local hum=c:findFirstChild("Humanoid")
  1309. if hum~=nil then
  1310. local head=c:findFirstChild("Torso")
  1311. if head~=nil then
  1312. local targ=head.Position-Part.Position
  1313. local mag=targ.magnitude
  1314. if mag<=dmg and c.Name~=Character.Name then
  1315. hum:TakeDamage(dmg)
  1316. end
  1317. end
  1318. end
  1319. end
  1320. end
  1321.  
  1322. function DashShot()
  1323. attack = true
  1324. for i = 0,1,0.1 do
  1325. swait()
  1326. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1327. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1328. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0) * angles(math.rad(100), math.rad(10), math.rad(90)),.3)
  1329. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(100), math.rad(-10), math.rad(-90)),.3)
  1330. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(20)),.3)
  1331. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1332. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1333. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1334. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1335. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1336. end
  1337. local vel = Instance.new("BodyVelocity")
  1338. vel.Parent = Torso
  1339. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1340. vel.velocity = RootPart.CFrame.lookVector*50
  1341. so("http://roblox.com/asset/?id=200632370",Torso,1,1)
  1342. so("http://roblox.com/asset/?id=203691699",Torso,1,1)
  1343. for i = 0,1,0.1 do
  1344. swait()
  1345. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1346. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1347. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0) * angles(math.rad(100), math.rad(10), math.rad(0)),.3)
  1348. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(100), math.rad(-10), math.rad(0)),.3)
  1349. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1350. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-20)),.3)
  1351. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1352. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1353. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1354. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1355. end
  1356. local prt = Instance.new("Part",workspace)
  1357. prt.Position = BarrelA1.Position
  1358. prt.Anchored = true
  1359. prt.Size = Vector3.new(5,5,5)
  1360. prt.CanCollide = false
  1361. prt.Transparency = 1
  1362. MagniDamage(prt,20,"Knockdown",prt)
  1363. so("http://roblox.com/asset/?id=203691837",BarrelA1,1,1)
  1364. so("http://roblox.com/asset/?id=203691653",BarrelA2,1,1)
  1365. for i = 0,1,2 do
  1366. MMMAGIC(BarrelA1,1,1,1,0,-1,0,BrickColor.new("Bright red"))
  1367. MMMAGIC(BarrelA2,1,1,1,0,-1,0,BrickColor.new("Bright red"))
  1368. MagicRing(BrickColor.new("Really red"),BarrelA1.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1369. MagicRing(BrickColor.new("Really red"),BarrelA2.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1370. end
  1371. vel.Parent = nil
  1372. local prt2 = Instance.new("Part",workspace)
  1373. prt2.Position = BarrelB1.Position
  1374. prt2.Anchored = true
  1375. prt2.Size = Vector3.new(5,5,5)
  1376. prt2.CanCollide = false
  1377. prt2.Transparency = 1
  1378. MagniDamage(prt2,20,"Knockdown",prt2)
  1379. so("http://roblox.com/asset/?id=203691837",BarrelB1,1,1)
  1380. so("http://roblox.com/asset/?id=203691653",BarrelB2,1,1)
  1381. for i = 0,1,2 do
  1382. MMMAGIC(BarrelB1,1,1,1,0,-1,0,BrickColor.new("Bright red"))
  1383. MMMAGIC(BarrelB2,1,1,1,0,-1,0,BrickColor.new("Bright red"))
  1384. MagicRing(BrickColor.new("Really red"),BarrelB1.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1385. MagicRing(BrickColor.new("Really red"),BarrelB2.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1386. end
  1387. for i = 0,1,0.1 do
  1388. swait()
  1389. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1390. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1391. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0) * angles(math.rad(130), math.rad(10), math.rad(20)),.3)
  1392. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(130), math.rad(-10), math.rad(-20)),.3)
  1393. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1394. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-20)),.3)
  1395. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1396. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1397. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1398. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1399. end
  1400. attack = false
  1401. prt:remove()
  1402. prt2.Parent = nil
  1403. end
  1404.  
  1405. attacktype1 = 1
  1406.  
  1407. Mouse.Button1Down:connect(function()
  1408. if Mode == "GunMode" then
  1409. if attack==false then
  1410. if attacktype1==1 then
  1411. attack=true
  1412. attacktype1=2
  1413. Shoot1()
  1414. elseif attacktype1==2 then
  1415. attack=true
  1416. attacktype1=1
  1417. Shoot2()
  1418. end
  1419. end
  1420. end
  1421. if Mode == "BladeMode" then
  1422. if attack==false then
  1423. if attacktype==1 then
  1424. attack=true
  1425. attacktype=2
  1426. attackone()
  1427. elseif attacktype==2 then
  1428. attack=true
  1429. attacktype=3
  1430. attacktwo()
  1431. elseif attacktype==3 then
  1432. attack=true
  1433. attacktype=4
  1434. attackthree()
  1435. elseif attacktype==4 then
  1436. attack=true
  1437. attacktype=1
  1438. attackfour()
  1439. end
  1440. end
  1441. end
  1442. end)
  1443.  
  1444. function Disappear()
  1445. for _,i in pairs(m2:children()) do
  1446. if i.className=="Part" then
  1447. Part.Transparency = .5
  1448. coroutine.resume(coroutine.create(function(Part)
  1449. for i=0,1,0.1 do
  1450. swait()
  1451. Part.Transparency=i
  1452. end
  1453. Part.Transparency=1
  1454. end),i)
  1455. end
  1456. end
  1457. end
  1458.  
  1459.  
  1460. function Reappear()
  1461. for _,i in pairs(m2:children()) do
  1462. if i.className=="Part" then
  1463. Part.Transparency = 1
  1464. coroutine.resume(coroutine.create(function(Part)
  1465. for i=0,1,0.1 do
  1466. swait()
  1467. Part.Transparency=i
  1468. end
  1469. Part.Transparency=0.5
  1470. end),i)
  1471. end
  1472. end
  1473. end
  1474.  
  1475. Mouse.KeyDown:connect(function(k)
  1476. k=k:lower()
  1477. if k=='f' then
  1478. if Mode == "GunMode" then
  1479. Mode = "BladeMode"
  1480. Reappear()
  1481. so("http://www.roblox.com/asset/?id=200633077",HitboxA,1,1)
  1482. so("http://www.roblox.com/asset/?id=200633077",HitboxB,1,1)
  1483. elseif Mode == "BladeMode" then
  1484. Mode = "GunMode"
  1485. Disappear()
  1486. so("http://www.roblox.com/asset/?id=200633029",HitboxA,1,1)
  1487. so("http://www.roblox.com/asset/?id=200633029",HitboxB,1,1)
  1488. end
  1489. end
  1490. if k=='q' then
  1491. if attack == false and Mode == "BladeMode" then
  1492. AerialSpin()
  1493. end
  1494.  
  1495. end
  1496. if k=='q' then
  1497. if attack == false and Mode == "GunMode" then
  1498. DashShot()
  1499. end
  1500.  
  1501. end
  1502. end)
  1503.  
  1504.  
  1505. local sine = 0
  1506. local change = 1
  1507. local val = 0
  1508.  
  1509. while true do
  1510. swait()
  1511. sine = sine + change
  1512. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1513. local velderp=RootPart.Velocity.y
  1514. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1515. if equipped==true or equipped==false then
  1516. if attack==false then
  1517. idle=idle+1
  1518. else
  1519. idle=0
  1520. end
  1521. if idle>=500 then
  1522. if attack==false then
  1523. --Sheath()
  1524. end
  1525. end
  1526. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1527. Anim="Jump"
  1528. if attack==false and Mode == "GunMode" then
  1529. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1530. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1531. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.3)
  1532. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.3)
  1533. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.3)
  1534. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30)),.3)
  1535. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1536. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1537. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1538. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1539. end
  1540. if attack==false and Mode == "BladeMode" then
  1541. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1542. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1543. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.3)
  1544. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.3)
  1545. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.3)
  1546. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-30)),.3)
  1547. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1548. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1549. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1550. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1551. end
  1552. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1553. Anim="Fall"
  1554. if attack==false and Mode == "GunMode" then
  1555. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1556. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1557. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.3)
  1558. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.3)
  1559. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1560. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1561. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1562. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1563. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1564. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1565. end
  1566. if attack==false and Mode == "BladeMode" then
  1567. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1568. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1569. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.3)
  1570. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.3)
  1571. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1572. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1573. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1574. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1575. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1576. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1577. end
  1578. elseif torvel<1 and hitfloor~=nil then
  1579. Anim="Idle"
  1580. if attack==false and Mode == "GunMode" then
  1581. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-10)),.3)
  1582. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.3)
  1583. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(100), math.rad(10), math.rad(-20)),.3)
  1584. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(100), math.rad(-10), math.rad(20)),.3)
  1585. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1586. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1587. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1588. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1589. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1590. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1591. end
  1592. if attack==false and Mode == "BladeMode" then
  1593. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1594. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1595. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)),.3)
  1596. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)),.3)
  1597. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1598. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.3)
  1599. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1600. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1601. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1602. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1603. end
  1604. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1605. Anim="Walk"
  1606. if attack==false and Mode == "GunMode" then
  1607. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  1608. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1609. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(10), math.rad(20)),.3)
  1610. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(-10), math.rad(-20)),.3)
  1611. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1612. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.3)
  1613. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1614. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1615. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1616. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1617. end
  1618. if attack==false and Mode == "BladeMode" then
  1619. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1620. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1621. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(45)),.3)
  1622. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-45)),.3)
  1623. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1624. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.3)
  1625. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1626. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1627. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1628. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1629. end
  1630. end
  1631. end
  1632. if #Effects>0 then
  1633. --table.insert(Effects,{prt,"Block1",delay})
  1634. for e=1,#Effects do
  1635. if Effects[e]~=nil then
  1636. --for j=1,#Effects[e] do
  1637. local Thing=Effects[e]
  1638. if Thing~=nil then
  1639. local Part=Thing[1]
  1640. local Mode=Thing[2]
  1641. local Delay=Thing[3]
  1642. local IncX=Thing[4]
  1643. local IncY=Thing[5]
  1644. local IncZ=Thing[6]
  1645. if Thing[1].Transparency<=1 then
  1646. if Thing[2]=="Block1" then
  1647. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1648. Mesh=Thing[1].Mesh
  1649. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1650. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1651. elseif Thing[2]=="Cylinder" then
  1652. Mesh=Thing[1].Mesh
  1653. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1654. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1655. elseif Thing[2]=="Blood" then
  1656. Mesh=Thing[7]
  1657. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1658. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1659. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1660. elseif Thing[2]=="Elec" then
  1661. Mesh=Thing[1].Mesh
  1662. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1663. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1664. elseif Thing[2]=="Disappear" then
  1665. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1666. end
  1667. else
  1668. Part.Parent=nil
  1669. table.remove(Effects,e)
  1670. end
  1671. end
  1672. --end
  1673. end
  1674. end
  1675. end
  1676. end
Add Comment
Please, Sign In to add comment