Advertisement
memberhero

Doom Sword

Dec 23rd, 2017
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.38 KB | None | 0 0
  1. --Edit by basstracker1970
  2.  
  3. math1 = math.random
  4. math2 = math.abs
  5. math3 = math.acos
  6. math4 = math.asin
  7. math5 = math.atan
  8. math6 = math.atan2
  9. Player=game:GetService("Players").LocalPlayer
  10. Character=Player.Character
  11. PlayerGui=Player.PlayerGui
  12. Backpack=Player.Backpack
  13. Torso=Character.Torso
  14. Head=Character.Head
  15. Humanoid=Character.Humanoid
  16. Mouse=Player:GetMouse()
  17. local m1=Instance.new('Model',Character)
  18. m1.Name="GunModel"
  19. local m2=Instance.new('Model',Character)
  20. m2.Name="BladeModel"
  21. LeftArm=Character["Left Arm"]
  22. LeftLeg=Character["Left Leg"]
  23. RightArm=Character["Right Arm"]
  24. RightLeg=Character["Right Leg"]
  25. LS=Torso["Left Shoulder"]
  26. LH=Torso["Left Hip"]
  27. RS=Torso["Right Shoulder"]
  28. RH=Torso["Right Hip"]
  29. Face = Head.face
  30. Neck=Torso.Neck
  31. it=Instance.new
  32. attacktype=1
  33. vt=Vector3.new
  34. cf=CFrame.new
  35. euler=CFrame.fromEulerAnglesXYZ
  36. angles=CFrame.Angles
  37. cloaked=false
  38. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  39. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  40. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  41. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  42. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  43. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  44. RootPart=Character.HumanoidRootPart
  45. RootJoint=RootPart.RootJoint
  46. RootCF=euler(-1.57,0,3.14)
  47. attack = false
  48. attackdebounce = false
  49. deb=false
  50. equipped=true
  51. hand=false
  52. MMouse=nil
  53. combo=0
  54. mana=0
  55. trispeed=.2
  56. local Mode = "GunMode"
  57. local idle=0
  58. local Anim="Idle"
  59. local Effects={}
  60. local gun=false
  61. local shoot=false
  62. player=nil
  63. mana=0
  64. --save shoulders
  65. RSH, LSH=nil, nil
  66. --welds
  67. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  68. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  69. LH=Torso["Left Hip"]
  70. RH=Torso["Right Hip"]
  71. TorsoColor=Torso.BrickColor
  72. function NoOutline(Part)
  73. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  74. end
  75. player=Player
  76. ch=Character
  77. RSH=ch.Torso["Right Shoulder"]
  78. LSH=ch.Torso["Left Shoulder"]
  79. --
  80. RSH.Parent=nil
  81. LSH.Parent=nil
  82. --
  83. RW.Name="Right Shoulder"
  84. RW.Part0=ch.Torso
  85. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  86. RW.C1=cf(0, 0.5, 0)
  87. RW.Part1=ch["Right Arm"]
  88. RW.Parent=ch.Torso
  89. --
  90. LW.Name="Left Shoulder"
  91. LW.Part0=ch.Torso
  92. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  93. LW.C1=cf(0, 0.5, 0)
  94. LW.Part1=ch["Left Arm"]
  95. LW.Parent=ch.Torso
  96.  
  97. local function weldBetween(a, b)
  98. local weldd = Instance.new("ManualWeld")
  99. weldd.Part0 = a
  100. weldd.Part1 = b
  101. weldd.C0 = CFrame.new()
  102. weldd.C1 = b.CFrame:inverse() * a.CFrame
  103. weldd.Parent = a
  104. return weldd
  105. end
  106.  
  107. function swait(num)
  108. if num==0 or num==nil then
  109. game:service'RunService'.Stepped:wait(0)
  110. else
  111. for i=0,num do
  112. game:service'RunService'.Stepped:wait(0)
  113. end
  114. end
  115. end
  116.  
  117. function nooutline(part)
  118. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  119. end
  120.  
  121. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  122. local fp=it("Part")
  123. fp.formFactor=formfactor
  124. fp.Parent=parent
  125. fp.Reflectance=reflectance
  126. fp.Transparency=transparency
  127. fp.CanCollide=false
  128. fp.Locked=true
  129. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  130. fp.Name=name
  131. fp.Size=size
  132. fp.Position=Character.Torso.Position
  133. nooutline(fp)
  134. fp.Material=material
  135. fp:BreakJoints()
  136. return fp
  137. end
  138.  
  139. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  140. local mesh=it(Mesh)
  141. mesh.Parent=part
  142. if Mesh=="SpecialMesh" then
  143. mesh.MeshType=meshtype
  144. mesh.MeshId=meshid
  145. end
  146. mesh.Offset=offset
  147. mesh.Scale=scale
  148. return mesh
  149. end
  150.  
  151. function weld(parent,part0,part1,c0,c1)
  152. local weld=it("Weld")
  153. weld.Parent=parent
  154. weld.Part0=part0
  155. weld.Part1=part1
  156. weld.C0=c0
  157. weld.C1=c1
  158. return weld
  159. end
  160.  
  161.  
  162. local function CFrameFromTopBack(at, top, back)
  163. local right = top:Cross(back)
  164. return CFrame.new(at.x, at.y, at.z,
  165. right.x, top.x, back.x,
  166. right.y, top.y, back.y,
  167. right.z, top.z, back.z)
  168. end
  169.  
  170. function Triangle(a, b, c)
  171. local edg1 = (c-a):Dot((b-a).unit)
  172. local edg2 = (a-b):Dot((c-b).unit)
  173. local edg3 = (b-c):Dot((a-c).unit)
  174. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  175. a, b, c = a, b, c
  176. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  177. a, b, c = b, c, a
  178. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  179. a, b, c = c, a, b
  180. else
  181. assert(false, "unreachable")
  182. end
  183.  
  184. local len1 = (c-a):Dot((b-a).unit)
  185. local len2 = (b-a).magnitude - len1
  186. local width = (a + (b-a).unit*len1 - c).magnitude
  187.  
  188. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  189.  
  190. local list = {}
  191.  
  192. local TrailColor = ("Really red")
  193.  
  194. if len1 > 0.01 then
  195. local w1 = Instance.new('WedgePart', m)
  196. game:GetService("Debris"):AddItem(w1,5)
  197. w1.Material = "SmoothPlastic"
  198. w1.FormFactor = 'Custom'
  199. w1.BrickColor = BrickColor.new(TrailColor)
  200. w1.Transparency = 0
  201. w1.Reflectance = 0
  202. w1.Material = "SmoothPlastic"
  203. w1.CanCollide = false
  204. NoOutline(w1)
  205. local sz = Vector3.new(0.2, width, len1)
  206. w1.Size = sz
  207. local sp = Instance.new("SpecialMesh",w1)
  208. sp.MeshType = "Wedge"
  209. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  210. w1:BreakJoints()
  211. w1.Anchored = true
  212. w1.Parent = workspace
  213. w1.Transparency = 0.7
  214. table.insert(Effects,{w1,"Disappear",.01})
  215. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  216. table.insert(list,w1)
  217. end
  218.  
  219. if len2 > 0.01 then
  220. local w2 = Instance.new('WedgePart', m)
  221. game:GetService("Debris"):AddItem(w2,5)
  222. w2.Material = "SmoothPlastic"
  223. w2.FormFactor = 'Custom'
  224. w2.BrickColor = BrickColor.new(TrailColor)
  225. w2.Transparency = 0
  226. w2.Reflectance = 0
  227. w2.Material = "SmoothPlastic"
  228. w2.CanCollide = false
  229. NoOutline(w2)
  230. local sz = Vector3.new(0.2, width, len2)
  231. w2.Size = sz
  232. local sp = Instance.new("SpecialMesh",w2)
  233. sp.MeshType = "Wedge"
  234. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  235. w2:BreakJoints()
  236. w2.Anchored = true
  237. w2.Parent = workspace
  238. w2.Transparency = 0.7
  239. table.insert(Effects,{w2,"Disappear",.01})
  240. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  241. table.insert(list,w2)
  242. end
  243. return unpack(list)
  244. end
  245.  
  246.  
  247. so = function(id,par,vol,pit)
  248. coroutine.resume(coroutine.create(function()
  249. local sou = Instance.new("Sound",par or workspace)
  250. sou.Volume=vol
  251. sou.Pitch=pit or 1
  252. sou.SoundId=id
  253. swait()
  254. sou:play()
  255. game:GetService("Debris"):AddItem(sou,6)
  256. end))
  257. end
  258.  
  259. function clerp(a,b,t)
  260. local qa = {QuaternionFromCFrame(a)}
  261. local qb = {QuaternionFromCFrame(b)}
  262. local ax, ay, az = a.x, a.y, a.z
  263. local bx, by, bz = b.x, b.y, b.z
  264. local _t = 1-t
  265. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  266. end
  267.  
  268. function QuaternionFromCFrame(cf)
  269. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  270. local trace = m00 + m11 + m22
  271. if trace > 0 then
  272. local s = math.sqrt(1 + trace)
  273. local recip = 0.5/s
  274. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  275. else
  276. local i = 0
  277. if m11 > m00 then
  278. i = 1
  279. end
  280. if m22 > (i == 0 and m00 or m11) then
  281. i = 2
  282. end
  283. if i == 0 then
  284. local s = math.sqrt(m00-m11-m22+1)
  285. local recip = 0.5/s
  286. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  287. elseif i == 1 then
  288. local s = math.sqrt(m11-m22-m00+1)
  289. local recip = 0.5/s
  290. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  291. elseif i == 2 then
  292. local s = math.sqrt(m22-m00-m11+1)
  293. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  294. end
  295. end
  296. end
  297.  
  298. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  299. local xs, ys, zs = x + x, y + y, z + z
  300. local wx, wy, wz = w*xs, w*ys, w*zs
  301. local xx = x*xs
  302. local xy = x*ys
  303. local xz = x*zs
  304. local yy = y*ys
  305. local yz = y*zs
  306. local zz = z*zs
  307. 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))
  308. end
  309.  
  310. function QuaternionSlerp(a, b, t)
  311. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  312. local startInterp, finishInterp;
  313. if cosTheta >= 0.0001 then
  314. if (1 - cosTheta) > 0.0001 then
  315. local theta = math.acos(cosTheta)
  316. local invSinTheta = 1/math.sin(theta)
  317. startInterp = math.sin((1-t)*theta)*invSinTheta
  318. finishInterp = math.sin(t*theta)*invSinTheta
  319. else
  320. startInterp = 1-t
  321. finishInterp = t
  322. end
  323. else
  324. if (1+cosTheta) > 0.0001 then
  325. local theta = math.acos(-cosTheta)
  326. local invSinTheta = 1/math.sin(theta)
  327. startInterp = math.sin((t-1)*theta)*invSinTheta
  328. finishInterp = math.sin(t*theta)*invSinTheta
  329. else
  330. startInterp = t-1
  331. finishInterp = t
  332. end
  333. end
  334. 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
  335. end
  336.  
  337. --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)
  338.  
  339.  
  340. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  341. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  342. end
  343.  
  344. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  345. if hit.Parent==nil then
  346. return
  347. end
  348. h=hit.Parent:FindFirstChild("Humanoid")
  349. for _,v in pairs(hit.Parent:children()) do
  350. if v:IsA("Humanoid") then
  351. h=v
  352. end
  353. end
  354. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  355. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  356. end
  357. if hit.Parent.className=="Hat" then
  358. hit=hit.Parent.Parent:findFirstChild("Head")
  359. end
  360. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  361. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  362. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  363. return
  364. end]]
  365. -- hs(hit,1.2)
  366. c=Instance.new("ObjectValue")
  367. c.Name="creator"
  368. c.Value=game:service("Players").LocalPlayer
  369. c.Parent=h
  370. game:GetService("Debris"):AddItem(c,.5)
  371. Damage=math.random(minim,maxim)
  372. -- h:TakeDamage(Damage)
  373. blocked=false
  374. block=hit.Parent:findFirstChild("Block")
  375. if block~=nil then
  376. print(block.className)
  377. if block.className=="NumberValue" 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. if block.className=="IntValue" then
  386. if block.Value>0 then
  387. blocked=true
  388. if decreaseblock~=nil then
  389. block.Value=block.Value-1
  390. end
  391. end
  392. end
  393. end
  394. if blocked==false then
  395. -- h:TakeDamage(Damage)
  396. h.Health=h.Health-Damage
  397. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  398. else
  399. h.Health=h.Health-(Damage/2)
  400. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  401. end
  402. if Type=="Knockdown" then
  403. hum=hit.Parent.Humanoid
  404. hum.PlatformStand=true
  405. coroutine.resume(coroutine.create(function(HHumanoid)
  406. swait(1)
  407. HHumanoid.PlatformStand=false
  408. end),hum)
  409. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  410. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  411. local bodvol=Instance.new("BodyVelocity")
  412. bodvol.velocity=angle*knockback
  413. bodvol.P=5000
  414. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  415. bodvol.Parent=hit
  416. rl=Instance.new("BodyAngularVelocity")
  417. rl.P=3000
  418. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  419. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  420. rl.Parent=hit
  421. game:GetService("Debris"):AddItem(bodvol,.5)
  422. game:GetService("Debris"):AddItem(rl,.5)
  423. elseif Type=="Normal" then
  424. vp=Instance.new("BodyVelocity")
  425. vp.P=500
  426. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  427. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  428. if KnockbackType==1 then
  429. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  430. elseif KnockbackType==2 then
  431. vp.velocity=Property.CFrame.lookVector*knockback
  432. end
  433. if knockback>0 then
  434. vp.Parent=hit.Parent.Torso
  435. end
  436. game:GetService("Debris"):AddItem(vp,.5)
  437. elseif Type=="Up" then
  438. local bodyVelocity=Instance.new("BodyVelocity")
  439. bodyVelocity.velocity=vt(0,60,0)
  440. bodyVelocity.P=5000
  441. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  442. bodyVelocity.Parent=hit
  443. game:GetService("Debris"):AddItem(bodyVelocity,1)
  444. rl=Instance.new("BodyAngularVelocity")
  445. rl.P=3000
  446. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  447. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  448. rl.Parent=hit
  449. game:GetService("Debris"):AddItem(rl,.5)
  450. elseif Type=="Snare" then
  451. bp=Instance.new("BodyPosition")
  452. bp.P=2000
  453. bp.D=100
  454. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  455. bp.position=hit.Parent.Torso.Position
  456. bp.Parent=hit.Parent.Torso
  457. game:GetService("Debris"):AddItem(bp,1)
  458. elseif Type=="Target" then
  459. if Targetting==false then
  460. ZTarget=hit.Parent.Torso
  461. coroutine.resume(coroutine.create(function(Part)
  462. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  463. swait(5)
  464. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  465. end),ZTarget)
  466. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  467. targetgui=Instance.new("BillboardGui")
  468. targetgui.Parent=ZTarget
  469. targetgui.Size=UDim2.new(10,100,10,100)
  470. targ=Instance.new("ImageLabel")
  471. targ.Parent=targetgui
  472. targ.BackgroundTransparency=1
  473. targ.Image="rbxassetid://4834067"
  474. targ.Size=UDim2.new(1,0,1,0)
  475. cam.CameraType="Scriptable"
  476. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  477. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  478. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  479. Targetting=true
  480. RocketTarget=ZTarget
  481. for i=1,Property do
  482. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  483. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  484. swait()
  485. end
  486. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  487. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  488. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  489. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  490. end
  491. Targetting=false
  492. RocketTarget=nil
  493. targetgui.Parent=nil
  494. cam.CameraType="Custom"
  495. end
  496. end
  497. debounce=Instance.new("BoolValue")
  498. debounce.Name="DebounceHit"
  499. debounce.Parent=hit.Parent
  500. debounce.Value=true
  501. game:GetService("Debris"):AddItem(debounce,Delay)
  502. c=Instance.new("ObjectValue")
  503. c.Name="creator"
  504. c.Value=Player
  505. c.Parent=h
  506. game:GetService("Debris"):AddItem(c,.5)
  507. CRIT=false
  508. hitDeb=true
  509. AttackPos=6
  510. end
  511. end
  512.  
  513. showDamage=function(Char,Dealt,du,Color)
  514. m=Instance.new("Model")
  515. m.Name=tostring(Dealt)
  516. h=Instance.new("Humanoid")
  517. h.Health=0
  518. h.MaxHealth=0
  519. h.Parent=m
  520. c=Instance.new("Part")
  521. c.Transparency=0
  522. c.BrickColor=Color
  523. c.Name="Head"
  524. c.TopSurface=0
  525. c.BottomSurface=0
  526. c.formFactor="Plate"
  527. c.Size=Vector3.new(1,.4,1)
  528. ms=Instance.new("CylinderMesh")
  529. ms.Scale=Vector3.new(.8,.8,.8)
  530. if CRIT==true then
  531. ms.Scale=Vector3.new(1,1.25,1)
  532. end
  533. ms.Parent=c
  534. c.Reflectance=0
  535. Instance.new("BodyGyro").Parent=c
  536. c.Parent=m
  537. if Char:findFirstChild("Head")~=nil then
  538. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  539. elseif Char.Parent:findFirstChild("Head")~=nil then
  540. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  541. end
  542. f=Instance.new("BodyPosition")
  543. f.P=2000
  544. f.D=100
  545. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  546. f.position=c.Position+Vector3.new(0,3,0)
  547. f.Parent=c
  548. game:GetService("Debris"):AddItem(m,.5+du)
  549. c.CanCollide=false
  550. m.Parent=workspace
  551. c.CanCollide=false
  552. end
  553.  
  554. HandleA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  555. 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))
  556. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  557. 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))
  558. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  559. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  560. 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))
  561. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  562. 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))
  563. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  564. 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))
  565. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  566. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1, 0.200000003, 1.39999998))
  567. 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))
  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,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  570. 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))
  571. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  572. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000024, 0.400000006, 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.000442504883, -0.910725594, -1.605968, 0.999999702, 0.00027906883, 2.27590908e-006, 2.00013483e-006, 0.000456643, -0.999999642, -0.000279070169, 1, 0.000456642243))
  574. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  575. 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))
  576. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  577. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  578. 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))
  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,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  581. 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))
  582. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  583. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.400000006, 1))
  584. 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))
  585. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  586. 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))
  587. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  588. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.399999976, 1))
  589. 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))
  590. 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))
  591. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  592. 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))
  593. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  594. 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))
  595. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  596. 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))
  597. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  598. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 1))
  599. 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))
  600. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  601. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  602. 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))
  603. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  604. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  605. 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))
  606. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  607. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  608. 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))
  609. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  610. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  611. 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))
  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(1.40000033, 0.400000006, 2))
  614. 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))
  615. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  616. 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))
  617. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  618. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  619. 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))
  620. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  621. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1))
  622. 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))
  623. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  624. 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))
  625. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  626. 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))
  627. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  628. 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))
  629. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  630. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  631. 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))
  632. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  633. 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))
  634. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000036, 0.400000006, 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.000287055969, -0.909729958, 0.394920945, 0.999999642, 0.000218851783, 2.21816663e-006, 2.14913416e-006, 0.000456655747, -0.999999523, -0.000218853063, 1, 0.000456655165))
  636. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  637. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  638. 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))
  639. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  640. 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))
  641. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  642. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  643. 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))
  644. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  645. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  646. 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))
  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.400000006, 0.200000003, 0.399999976))
  649. 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))
  650. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",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.210000008, 0.200000003, 1.01999998))
  652. 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))
  653. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  654. 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))
  655. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  656. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  657. 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))
  658. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  659. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1, 0.800000012))
  660. 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))
  661. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  662. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 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.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))
  664. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  665. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 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.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))
  667. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  668. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  669. 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))
  670. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  671. 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))
  672. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  673. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  674. 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))
  675. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  676. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright red","Part",Vector3.new(1, 0.400000006, 0.99999994))
  677. 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))
  678. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  679. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  680. 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))
  681. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  682. BarrelA2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  683. 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))
  684. mesh("CylinderMesh",BarrelA2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  685. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  686. 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))
  687. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  688. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  689. 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))
  690. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  691. BarrelA1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  692. 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))
  693. mesh("CylinderMesh",BarrelA1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  694. HitboxA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright red","HitboxA",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  695. 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))
  696.  
  697. HandleB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  698. 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))
  699. BarrelB2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  700. 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))
  701. mesh("CylinderMesh",BarrelB2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  702. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  703. 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))
  704. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  705. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  706. 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))
  707. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  708. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  709. 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))
  710. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  711. 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))
  712. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  713. 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))
  714. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  715. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.399999976, 1))
  716. 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))
  717. 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))
  718. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  719. 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))
  720. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  721. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  722. 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))
  723. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  724. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  725. 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))
  726. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  727. 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))
  728. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  729. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  730. 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))
  731. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",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.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))
  734. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  735. 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))
  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,"Light stone grey","Part",Vector3.new(1, 0.200000003, 1.39999998))
  738. 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))
  739. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  740. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  741. 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))
  742. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1, 0.800000012))
  743. 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))
  744. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  745. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  746. 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))
  747. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  748. 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))
  749. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  750. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000024, 0.400000006, 0.200000003))
  751. 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))
  752. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  753. 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))
  754. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  755. 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))
  756. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  757. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  758. 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))
  759. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  760. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  761. 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))
  762. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  763. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  764. 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))
  765. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.200000003))
  766. 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))
  767. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  768. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  769. 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))
  770. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  771. 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))
  772. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  773. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1))
  774. 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))
  775. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.40000033, 0.400000006, 2))
  776. 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))
  777. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  778. 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))
  779. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  780. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  781. 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))
  782. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  783. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  784. 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))
  785. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  786. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  787. 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))
  788. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  789. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(1.00000036, 0.400000006, 0.200000003))
  790. 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))
  791. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  792. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  793. 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))
  794. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  795. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 0.400000006, 1))
  796. 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))
  797. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.22000003, 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.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))
  799. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  800. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  801. 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))
  802. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  803. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  804. 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))
  805. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.599999964, 0.400000006))
  806. 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))
  807. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  808. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.60000002, 0.400000006))
  809. 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))
  810. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  811. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  812. 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))
  813. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  814. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright red","Part",Vector3.new(1, 0.400000006, 0.99999994))
  815. 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))
  816. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  817. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 1))
  818. 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))
  819. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  820. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  821. 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))
  822. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",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.400000006, 1.60000002, 0.200000003))
  824. 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))
  825. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  826. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.400000006, 1))
  827. 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))
  828. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  829. 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))
  830. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  831. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  832. 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))
  833. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  834. BarrelB1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  835. 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))
  836. mesh("CylinderMesh",BarrelB1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  837. HitboxB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright red","HitboxB",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  838. 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))
  839.  
  840. BHandleA=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  841. 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))
  842. mesh("BlockMesh",BHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  843. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  844. 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))
  845. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  846. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  847. 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))
  848. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  849. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  850. 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))
  851. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  852. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  853. 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))
  854. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  855. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  856. 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))
  857. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  858. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  859. 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))
  860. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  861. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  862. 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))
  863. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  864. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  865. 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))
  866. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  867. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  868. 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))
  869. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  870. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  871. 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))
  872. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  873.  
  874. BHandleB=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  875. 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))
  876. mesh("BlockMesh",BHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  877. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  878. 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))
  879. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  880. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  881. 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))
  882. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  883. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  884. 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))
  885. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  886. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  887. 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))
  888. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  889. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  890. 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))
  891. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  892. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  893. 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))
  894. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  895. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  896. 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))
  897. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  898. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  899. 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))
  900. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  901. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  902. 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))
  903. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  904. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,1,"Bright red","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  905. 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))
  906. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  907. local co1 = 15
  908. local co2 = 8
  909. local co3 = 20
  910. local co5 = 30
  911. local co4 = 32
  912. local cooldown1 = 5
  913. local cooldown2 = 7
  914. local cooldown3 = 3
  915. local cooldown4 = 2
  916. local cooldown5 = 0
  917. local skillcolorscheme = BrickColor.new("Pastel light blue").Color
  918. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  919. makeframe = function(par, trans, pos, size, color)
  920.  
  921. local frame = Instance.new("Frame", par)
  922. frame.BackgroundTransparency = trans
  923. frame.BorderSizePixel = 0
  924. frame.Position = pos
  925. frame.Size = size
  926. frame.BackgroundColor3 = color
  927. return frame
  928. end
  929.  
  930. makelabel = function(par, text)
  931.  
  932. local label = Instance.new("TextLabel", par)
  933. label.BackgroundTransparency = 1
  934. label.Size = UDim2.new(1, 0, 1, 0)
  935. label.Position = UDim2.new(0, 0, 0, 0)
  936. label.TextColor3 = Color3.new(255, 250, 190)
  937. label.TextStrokeTransparency = 0
  938. label.FontSize = Enum.FontSize.Size32
  939. label.Font = Enum.Font.SourceSansLight
  940. label.BorderSizePixel = 0
  941. label.TextScaled = true
  942. label.Text = text
  943. end
  944.  
  945. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  946. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  947. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  948. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  949. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  950. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  951. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  952. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  953. text1 = Instance.new("TextLabel", framesk1)
  954. text1.BackgroundTransparency = 1
  955. text1.Size = UDim2.new(1, 0, 1, 0)
  956. text1.Position = UDim2.new(0, 0, 0, 0)
  957. text1.TextColor3 = Color3.new(255, 250, 190)
  958. text1.TextStrokeTransparency = 0
  959. text1.FontSize = Enum.FontSize.Size18
  960. text1.Font = Enum.Font.SourceSansLight
  961. text1.BorderSizePixel = 0
  962. text1.TextScaled = true
  963. text1.Text = "[Z]\n ..."
  964. text2 = Instance.new("TextLabel", framesk2)
  965. text2.BackgroundTransparency = 1
  966. text2.Size = UDim2.new(1, 0, 1, 0)
  967. text2.Position = UDim2.new(0, 0, 0, 0)
  968. text2.TextColor3 = Color3.new(255, 250, 190)
  969. text2.TextStrokeTransparency = 0
  970. text2.FontSize = Enum.FontSize.Size18
  971. text2.Font = Enum.Font.SourceSansLight
  972. text2.BorderSizePixel = 0
  973. text2.TextScaled = true
  974. text2.Text = "[X]\n ..."
  975. text3 = Instance.new("TextLabel", framesk3)
  976. text3.BackgroundTransparency = 1
  977. text3.Size = UDim2.new(1, 0, 1, 0)
  978. text3.Position = UDim2.new(0, 0, 0, 0)
  979. text3.TextColor3 = Color3.new(255, 250, 190)
  980. text3.TextStrokeTransparency = 0
  981. text3.FontSize = Enum.FontSize.Size18
  982. text3.Font = Enum.Font.SourceSansLight
  983. text3.BorderSizePixel = 0
  984. text3.TextScaled = false
  985. text3.Text = "[C]\..."
  986. text4 = Instance.new("TextLabel", framesk4)
  987. text4.BackgroundTransparency = 1
  988. text4.Size = UDim2.new(1, 0, 1, 0)
  989. text4.Position = UDim2.new(0, 0, 0, 0)
  990. text4.TextColor3 = Color3.new(255, 250, 190)
  991. text4.TextStrokeTransparency = 0
  992. text4.FontSize = Enum.FontSize.Size18
  993. text4.Font = Enum.Font.SourceSansLight
  994. text4.BorderSizePixel = 0
  995. text4.TextScaled = true
  996. text4.Text = "[V]\n Change Mode"
  997. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  998. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  999. prt.Anchored=true
  1000. prt.CFrame=cframe
  1001. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1002. game:GetService("Debris"):AddItem(prt,2)
  1003. coroutine.resume(coroutine.create(function(Part,Mesh)
  1004. for i=0,1,delay do
  1005. swait()
  1006. Part.CFrame=Part.CFrame
  1007. Part.Transparency=i
  1008. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1009. end
  1010. Part.Parent=nil
  1011. end),prt,msh)
  1012. end
  1013.  
  1014. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1015. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1016. prt.Anchored=true
  1017. prt.CFrame=cframe
  1018. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1019. game:GetService("Debris"):AddItem(prt,2)
  1020. coroutine.resume(coroutine.create(function(Part,Mesh)
  1021. for i=0,1,delay do
  1022. swait()
  1023. Part.CFrame=Part.CFrame
  1024. Part.Transparency=i
  1025. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1026. end
  1027. Part.Parent=nil
  1028. end),prt,msh)
  1029. end
  1030.  
  1031. function LaserBarrage(Prt,Parent)
  1032. attack=true
  1033. --so("BeamLockon",Prt,1,1)
  1034. local efprt=part(3,Parent,"SmoothPlastic",0,0.5,BrickColor.new("Really red"),"Effect",vt(0.2,0.2,0.2))
  1035. efprt.Anchored=true
  1036. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  1037. 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
  1038. --spread=vt(0,0,0)
  1039. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  1040. game:GetService("Debris"):AddItem(Part,6)
  1041. local TheHit=Mouse.Hit.p
  1042. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  1043. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  1044. so("Elec",Prt,0.2,1)
  1045. local tefprt=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  1046. tefprt.CFrame=cf(pos)
  1047. MagicCircle(BrickColor.new("Really red"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  1048. so("Elec",tefprt,0.3,1)
  1049. game:GetService("Debris"):AddItem(tefprt,3)
  1050. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  1051. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1052. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1053. hit.Parent.Humanoid:TakeDamage(15)
  1054. end
  1055. end
  1056. local mag=(Prt.Position-pos).magnitude
  1057. MagicCylinder(BrickColor.new("Really red"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  1058. Part.Parent=nil
  1059. end),efprt,efmsh,spread)
  1060. end
  1061.  
  1062. function Shoot1()
  1063. attack = true
  1064. for i = 0,1,0.1 do
  1065. swait()
  1066. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-10)),.2)
  1067. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  1068. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1069. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1070. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1071. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-10)),.2)
  1072. end
  1073. so("http://www.roblox.com/asset/?id=169445602",BarrelA1,1,.9)
  1074. so("http://www.roblox.com/asset/?id=169445602",BarrelA2,1,.9)
  1075. for i = 0,1,0.1 do
  1076. swait()
  1077. LaserBarrage(BarrelA1,m)
  1078. LaserBarrage(BarrelA2,m)
  1079. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-5)),.2)
  1080. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(5)),.2)
  1081. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(120), math.rad(20), math.rad(0)),.2)
  1082. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1083. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1084. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1085. end
  1086. attack = false
  1087. end
  1088.  
  1089. function Shoot2()
  1090. attack = true
  1091. for i = 0,1,0.1 do
  1092. swait()
  1093. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.2)
  1094. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.2)
  1095. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.2)
  1096. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(90), math.rad(-20), math.rad(10)),.2)
  1097. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1098. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1099. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1100. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.2)
  1101. end
  1102. so("http://www.roblox.com/asset/?id=169445602",BarrelB1,1,.9)
  1103. so("http://www.roblox.com/asset/?id=169445602",BarrelB2,1,.9)
  1104. for i = 0,1,0.1 do
  1105. swait()
  1106. LaserBarrage(BarrelB1,m)
  1107. LaserBarrage(BarrelB2,m)
  1108. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.2)
  1109. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.2)
  1110. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.2)
  1111. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(120), math.rad(-20), math.rad(10)),.2)
  1112. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1113. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1114. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1115. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.2)
  1116. end
  1117. attack = false
  1118. end
  1119.  
  1120. function PlaySound(id, pitch, parent, volume)
  1121. if volume == nil then volume=tonumber(1) end
  1122. local epicsound = Instance.new("Sound")
  1123. epicsound.Name = "Epicosound"
  1124. epicsound.SoundId = "rbxassetid://"..id
  1125. epicsound.Volume = volume
  1126. epicsound.Pitch = pitch
  1127. epicsound.Looped = false
  1128. epicsound.Parent = parent
  1129. wait()
  1130. epicsound:Play()
  1131. game:service'Debris':AddItem(epicsound, 8)
  1132. end
  1133.  
  1134. Slashes = {200633108, 200633148, 200633196,200633281}
  1135.  
  1136. Slash = function(part)
  1137. local slashes = math.random(1, #Slashes)
  1138. PlaySound(Slashes[slashes], 1, part)
  1139. end
  1140.  
  1141. function attackone()
  1142. attack = true
  1143. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1144. for i = 0,1,0.1 do
  1145. swait()
  1146. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1147. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1148. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.2)
  1149. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1150. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1151. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1152. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1153. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1154. end
  1155. Slash(HitboxA)
  1156. for i = 0,1,0.1 do
  1157. swait()
  1158. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1159. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1160. local h = 5
  1161. 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)
  1162. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1163. 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)
  1164. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1165. scfr = blcf
  1166. elseif not scfr then
  1167. scfr = blcf
  1168. end
  1169. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1170. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1171. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-30)),.2)
  1172. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1173. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.2)
  1174. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.2)
  1175. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1176. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1177. end
  1178. scfr = nil
  1179. attack = false
  1180. con:disconnect()
  1181. end
  1182.  
  1183. function attacktwo()
  1184. attack = true
  1185. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1186. for i = 0,1,0.1 do
  1187. swait()
  1188. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1189. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1190. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.2)
  1191. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(-90)),.2)
  1192. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1193. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1194. end
  1195. Slash(HitboxB)
  1196. for i = 0,1,0.1 do
  1197. swait()
  1198. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1199. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1200. local h = 5
  1201. 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)
  1202. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1203. 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)
  1204. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1205. scfr = blcf
  1206. elseif not scfr then
  1207. scfr = blcf
  1208. end
  1209. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1210. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1211. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.2)
  1212. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-80)),.2)
  1213. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1214. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1215. end
  1216. scfr = nil
  1217. attack = false
  1218. con:disconnect()
  1219. end
  1220.  
  1221. function attackthree()
  1222. attack = true
  1223. local con=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1224. for i = 0,1,0.1 do
  1225. swait()
  1226. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1227. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1228. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)),.2)
  1229. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.2)
  1230. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1231. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1232. end
  1233. Slash(HitboxA)
  1234. for i = 0,1,0.1 do
  1235. swait()
  1236. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1237. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1238. local h = 5
  1239. 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)
  1240. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1241. 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)
  1242. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1243. scfr = blcf
  1244. elseif not scfr then
  1245. scfr = blcf
  1246. end
  1247. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1248. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1249. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(130), math.rad(80)),.2)
  1250. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.2)
  1251. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1252. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1253. end
  1254. scfr = nil
  1255. attack = false
  1256. con:disconnect()
  1257. end
  1258.  
  1259. function attackfour()
  1260. attack = true
  1261. local con=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  1262. for i = 0,1,0.1 do
  1263. swait()
  1264. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.2)
  1265. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.2)
  1266. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(0)),.2)
  1267. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-10), math.rad(0)),.2)
  1268. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.2)
  1269. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.2)
  1270. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.2)
  1271. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.2)
  1272. end
  1273. Slash(HitboxB)
  1274. for i = 0,1,0.1 do
  1275. swait()
  1276. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1277. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1278. local h = 5
  1279. 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)
  1280. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1281. 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)
  1282. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1283. scfr = blcf
  1284. elseif not scfr then
  1285. scfr = blcf
  1286. end
  1287. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.2)
  1288. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.2)
  1289. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-10)),.2)
  1290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(30)),.2)
  1291. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-30)),.2)
  1292. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(10)),.2)
  1293. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.2)
  1294. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.2)
  1295. end
  1296. scfr = nil
  1297. attack = false
  1298. con:disconnect()
  1299. end
  1300.  
  1301. attacktype1 = 1
  1302.  
  1303. Mouse.Button1Down:connect(function()
  1304. if Mode == "GunMode" then
  1305. if attack==false then
  1306. if attacktype1==1 then
  1307. attack=true
  1308. attacktype1=2
  1309. Shoot1()
  1310. elseif attacktype1==2 then
  1311. attack=true
  1312. attacktype1=1
  1313. Shoot2()
  1314. end
  1315. end
  1316. end
  1317. if Mode == "BladeMode" then
  1318. if attack==false then
  1319. if attacktype==1 then
  1320. attack=true
  1321. attacktype=2
  1322. attackone()
  1323. elseif attacktype==2 then
  1324. attack=true
  1325. attacktype=3
  1326. attacktwo()
  1327. elseif attacktype==3 then
  1328. attack=true
  1329. attacktype=4
  1330. attackthree()
  1331. elseif attacktype==4 then
  1332. attack=true
  1333. attacktype=1
  1334. attackfour()
  1335. end
  1336. end
  1337. end
  1338. end)
  1339.  
  1340. function Disappear()
  1341. for _,i in pairs(m2:children()) do
  1342. if i.className=="Part" then
  1343. Part.Transparency = .5
  1344. coroutine.resume(coroutine.create(function(Part)
  1345. for i=0,1,0.1 do
  1346. swait()
  1347. Part.Transparency=i
  1348. end
  1349. Part.Transparency=1
  1350. end),i)
  1351. end
  1352. end
  1353. end
  1354.  
  1355.  
  1356. function Reappear()
  1357. for _,i in pairs(m2:children()) do
  1358. if i.className=="Part" then
  1359. Part.Transparency = 1
  1360. coroutine.resume(coroutine.create(function(Part)
  1361. for i=0,1,0.1 do
  1362. swait()
  1363. Part.Transparency=i
  1364. end
  1365. Part.Transparency=0.5
  1366. end),i)
  1367. end
  1368. end
  1369. end
  1370. local hello = Instance.new("Sound")
  1371. hello.SoundId = "rbxassetid://515593602"
  1372. hello.PlaybackSpeed = 1
  1373. hello.Volume = 2
  1374. hello.Parent = Head
  1375. hello.Looped = true
  1376. hello:Play()
  1377. Mouse.KeyDown:connect(function(k)
  1378. k=k:lower()
  1379. if k=='v' then
  1380. if Mode == "GunMode" then
  1381. Mode = "BladeMode"
  1382. text4.Text = "Change Back"
  1383. Reappear()
  1384.  
  1385.  
  1386. elseif Mode == "BladeMode" then
  1387. Mode = "GunMode"
  1388. text4.Text = "Change Form"
  1389. Disappear()
  1390. end
  1391. end
  1392. end)
  1393. Mouse.KeyDown:connect(function(k)
  1394. k=k:lower()
  1395. if k == "t" then
  1396.  
  1397. CV1="Really black"
  1398. CV2 = BrickColor == BrickColor.new(CV1)
  1399.  
  1400. local txt = Instance.new("BillboardGui", Character)
  1401. txt.Adornee = Character.Head
  1402. txt.Name = "_status"
  1403. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1404. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1405. local text = Instance.new("TextLabel", txt)
  1406. text.Size = UDim2.new(10, 0, 7, 0)
  1407. text.FontSize = "Size24"
  1408. text.TextScaled = true
  1409. text.TextTransparency = 0
  1410. text.BackgroundTransparency = 1
  1411. text.TextTransparency = 0
  1412. text.TextStrokeTransparency = 0
  1413. text.Font = "SciFi"
  1414. text.TextStrokeColor3 = Color3.new(0,0,0)
  1415.  
  1416. v=Instance.new("Part")
  1417. v.Name = "ColorBrick"
  1418. v.Parent=Player.Character
  1419. v.FormFactor="Symmetric"
  1420. v.Anchored=true
  1421. v.CanCollide=false
  1422. v.BottomSurface="Smooth"
  1423. v.TopSurface="Smooth"
  1424. v.Size=Vector3.new(10,5,3)
  1425. v.Transparency=1
  1426. v.CFrame=Character.Torso.CFrame
  1427. v.BrickColor=BrickColor.new(CV1)
  1428. v.Transparency=1
  1429. text.TextColor3 = BrickColor.new("Really black").Color
  1430. v.Shape="Block"
  1431. text.Text = "Had You Had Enough?"
  1432. wait(3)
  1433. text.Text = ""
  1434. end
  1435. end)
  1436.  
  1437. local sine = 0
  1438. local change = 1
  1439. local val = 0
  1440.  
  1441. while true do
  1442. swait()
  1443. sine = sine + change
  1444. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1445. local velderp=RootPart.Velocity.y
  1446. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1447. if equipped==true or equipped==false then
  1448. if attack==false then
  1449. idle=idle+1
  1450. else
  1451. idle=0
  1452. end
  1453. if idle>=500 then
  1454. if attack==false then
  1455. --Sheath()
  1456. end
  1457. end
  1458. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1459. Anim="Jump"
  1460. if attack==false and Mode == "GunMode" then
  1461. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1462. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1463. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.2)
  1464. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.2)
  1465. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.2)
  1466. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30)),.2)
  1467. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1468. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1469. end
  1470. if attack==false and Mode == "BladeMode" then
  1471. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1472. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1473. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.2)
  1474. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.2)
  1475. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.2)
  1476. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-30)),.2)
  1477. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1478. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1479. end
  1480. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1481. Anim="Fall"
  1482. if attack==false and Mode == "GunMode" then
  1483. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1484. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  1485. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.2)
  1486. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.2)
  1487. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.2)
  1488. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.2)
  1489. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1490. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1491. end
  1492. if attack==false and Mode == "BladeMode" then
  1493. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1494. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  1495. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.2)
  1496. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.2)
  1497. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.2)
  1498. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.2)
  1499. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1500. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1501. end
  1502. elseif torvel<1 and hitfloor~=nil then
  1503. Anim="Idle"
  1504. if attack==false and Mode == "GunMode" then
  1505. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-10)),.2)
  1506. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.2)
  1507. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(100), math.rad(10), math.rad(-20)),.2)
  1508. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(100), math.rad(-10), math.rad(20)),.2)
  1509. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.2)
  1510. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.2)
  1511. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1512. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1513. end
  1514. if attack==false and Mode == "BladeMode" then
  1515. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1516. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1517. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)),.2)
  1518. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)),.2)
  1519. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1520. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1521. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1522. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1523. end
  1524. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1525. Anim="Walk"
  1526. if attack==false and Mode == "GunMode" then
  1527. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  1528. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1529. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(10), math.rad(20)),.2)
  1530. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(-10), math.rad(-20)),.2)
  1531. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.2)
  1532. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.2)
  1533. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1534. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1535. end
  1536. if attack==false and Mode == "BladeMode" then
  1537. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1538. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  1539. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(45)),.2)
  1540. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-45)),.2)
  1541. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2)
  1542. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2)
  1543. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1544. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1545. end
  1546. end
  1547. end
  1548. if #Effects>0 then
  1549. --table.insert(Effects,{prt,"Block1",delay})
  1550. for e=1,#Effects do
  1551. if Effects[e]~=nil then
  1552. --for j=1,#Effects[e] do
  1553. local Thing=Effects[e]
  1554. if Thing~=nil then
  1555. local Part=Thing[1]
  1556. local Mode=Thing[2]
  1557. local Delay=Thing[3]
  1558. local IncX=Thing[4]
  1559. local IncY=Thing[5]
  1560. local IncZ=Thing[6]
  1561. if Thing[1].Transparency<=1 then
  1562. if Thing[2]=="Block1" then
  1563. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1564. Mesh=Thing[1].Mesh
  1565. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1566. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1567. elseif Thing[2]=="Cylinder" then
  1568. Mesh=Thing[1].Mesh
  1569. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1570. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1571. elseif Thing[2]=="Blood" then
  1572. Mesh=Thing[7]
  1573. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1574. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1575. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1576. elseif Thing[2]=="Elec" then
  1577. Mesh=Thing[1].Mesh
  1578. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1579. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1580. elseif Thing[2]=="Disappear" then
  1581. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1582. end
  1583. else
  1584. Part.Parent=nil
  1585. table.remove(Effects,e)
  1586. end
  1587. end
  1588. --end
  1589. end
  1590. end
  1591. end
  1592. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement