Advertisement
D0MiN0_FX

Hei Shooter [ RARE ]

Oct 19th, 2016
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 105.54 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. Character=Player.Character
  17. PlayerGui=Player.PlayerGui
  18. Backpack=Player.Backpack
  19. Torso=Character.Torso
  20. Head=Character.Head
  21. Humanoid=Character.Humanoid
  22. m=Instance.new('Model',Character)
  23. LeftArm=Character["Left Arm"]
  24. LeftLeg=Character["Left Leg"]
  25. RightArm=Character["Right Arm"]
  26. RightLeg=Character["Right Leg"]
  27. LS=Torso["Left Shoulder"]
  28. LH=Torso["Left Hip"]
  29. RS=Torso["Right Shoulder"]
  30. RH=Torso["Right Hip"]
  31. Face = Head.face
  32. Neck=Torso.Neck
  33. it=Instance.new
  34. attacktype=1
  35. vt=Vector3.new
  36. cf=CFrame.new
  37. euler=CFrame.fromEulerAnglesXYZ
  38. angles=CFrame.Angles
  39. cloaked=false
  40. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  41. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  42. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  43. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  44. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  45. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  46. RootPart=Character.HumanoidRootPart
  47. RootJoint=RootPart.RootJoint
  48. RootCF=euler(-1.57,0,3.14)
  49. attack = false
  50. attackdebounce = false
  51. deb=false
  52. equipped=true
  53. hand=false
  54. Mouse=nil
  55. combo=0
  56. mana=0
  57. trispeed=.2
  58. attackmode='none'
  59. local idle=0
  60. local Anim="Idle"
  61. local Effects={}
  62. local gun=false
  63. local shoot=false
  64. player=nil
  65. mana=0
  66. Mouse=Player:GetMouse()
  67. --save shoulders
  68. RSH, LSH=nil, nil
  69. --welds
  70. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  71. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  72. LH=Torso["Left Hip"]
  73. RH=Torso["Right Hip"]
  74. TorsoColor=Torso.BrickColor
  75. function NoOutline(Part)
  76. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  77. end
  78. player=Player
  79. ch=Character
  80. RSH=ch.Torso["Right Shoulder"]
  81. LSH=ch.Torso["Left Shoulder"]
  82. --
  83. RSH.Parent=nil
  84. LSH.Parent=nil
  85. --
  86. RW.Name="Right Shoulder"
  87. RW.Part0=ch.Torso
  88. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  89. RW.C1=cf(0, 0.5, 0)
  90. RW.Part1=ch["Right Arm"]
  91. RW.Parent=ch.Torso
  92. --
  93. LW.Name="Left Shoulder"
  94. LW.Part0=ch.Torso
  95. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  96. LW.C1=cf(0, 0.5, 0)
  97. LW.Part1=ch["Left Arm"]
  98. LW.Parent=ch.Torso
  99.  
  100.  
  101.  
  102. local function weldBetween(a, b)
  103. local weldd = Instance.new("ManualWeld")
  104. weldd.Part0 = a
  105. weldd.Part1 = b
  106. weldd.C0 = CFrame.new()
  107. weldd.C1 = b.CFrame:inverse() * a.CFrame
  108. weldd.Parent = a
  109. return weldd
  110. end
  111.  
  112. function swait(num)
  113. if num==0 or num==nil then
  114. game:service'RunService'.Heartbeat:wait(0)
  115. else
  116. for i=0,num do
  117. game:service'RunService'.Heartbeat:wait(0)
  118. end
  119. end
  120. end
  121.  
  122. function nooutline(part)
  123. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  124. end
  125.  
  126. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  127. local fp=it("Part")
  128. fp.formFactor=formfactor
  129. fp.Parent=parent
  130. fp.Reflectance=reflectance
  131. fp.Transparency=transparency
  132. fp.CanCollide=false
  133. fp.Locked=true
  134. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  135. fp.Name=name
  136. fp.Size=size
  137. fp.Position=Character.Torso.Position
  138. nooutline(fp)
  139. fp.Material=material
  140. fp:BreakJoints()
  141. return fp
  142. end
  143.  
  144. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  145. local mesh=it(Mesh)
  146. mesh.Parent=part
  147. if Mesh=="SpecialMesh" then
  148. mesh.MeshType=meshtype
  149. mesh.MeshId=meshid
  150. end
  151. mesh.Offset=offset
  152. mesh.Scale=scale
  153. return mesh
  154. end
  155.  
  156. function weld(parent,part0,part1,c0,c1)
  157. local weld=it("Weld")
  158. weld.Parent=parent
  159. weld.Part0=part0
  160. weld.Part1=part1
  161. weld.C0=c0
  162. weld.C1=c1
  163. return weld
  164. end
  165.  
  166.  
  167. local function CFrameFromTopBack(at, top, back)
  168. local right = top:Cross(back)
  169. return CFrame.new(at.x, at.y, at.z,
  170. right.x, top.x, back.x,
  171. right.y, top.y, back.y,
  172. right.z, top.z, back.z)
  173. end
  174.  
  175. function Triangle(a, b, c)
  176. local edg1 = (c-a):Dot((b-a).unit)
  177. local edg2 = (a-b):Dot((c-b).unit)
  178. local edg3 = (b-c):Dot((a-c).unit)
  179. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  180. a, b, c = a, b, c
  181. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  182. a, b, c = b, c, a
  183. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  184. a, b, c = c, a, b
  185. else
  186. assert(false, "unreachable")
  187. end
  188.  
  189. local len1 = (c-a):Dot((b-a).unit)
  190. local len2 = (b-a).magnitude - len1
  191. local width = (a + (b-a).unit*len1 - c).magnitude
  192.  
  193. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  194.  
  195. local list = {}
  196.  
  197. local Color = BrickColor.new("Dark grey")
  198.  
  199. if len1 > 0.01 then
  200. local w1 = Instance.new('WedgePart', m)
  201. game:GetService("Debris"):AddItem(w1,5)
  202. w1.Material = "SmoothPlastic"
  203. w1.FormFactor = 'Custom'
  204. w1.BrickColor = BrickColor.new(Color)
  205. w1.Transparency = 0
  206. w1.Reflectance = 0
  207. w1.Material = "SmoothPlastic"
  208. w1.CanCollide = false
  209. NoOutline(w1)
  210. local sz = Vector3.new(0.2, width, len1)
  211. w1.Size = sz
  212. local sp = Instance.new("SpecialMesh",w1)
  213. sp.MeshType = "Wedge"
  214. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  215. w1:BreakJoints()
  216. w1.Anchored = true
  217. w1.Parent = workspace
  218. w1.Transparency = 0.7
  219. table.insert(Effects,{w1,"Disappear",.01})
  220. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  221. table.insert(list,w1)
  222. end
  223.  
  224. if len2 > 0.01 then
  225. local w2 = Instance.new('WedgePart', m)
  226. game:GetService("Debris"):AddItem(w2,5)
  227. w2.Material = "SmoothPlastic"
  228. w2.FormFactor = 'Custom'
  229. w2.BrickColor = BrickColor.new(Color)
  230. w2.Transparency = 0
  231. w2.Reflectance = 0
  232. w2.Material = "SmoothPlastic"
  233. w2.CanCollide = false
  234. NoOutline(w2)
  235. local sz = Vector3.new(0.2, width, len2)
  236. w2.Size = sz
  237. local sp = Instance.new("SpecialMesh",w2)
  238. sp.MeshType = "Wedge"
  239. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  240. w2:BreakJoints()
  241. w2.Anchored = true
  242. w2.Parent = workspace
  243. w2.Transparency = 0.7
  244. table.insert(Effects,{w2,"Disappear",.01})
  245. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  246. table.insert(list,w2)
  247. end
  248. return unpack(list)
  249. end
  250.  
  251.  
  252. so = function(id,par,vol,pit)
  253. coroutine.resume(coroutine.create(function()
  254. local sou = Instance.new("Sound",par or workspace)
  255. sou.Volume=vol
  256. sou.Pitch=pit or 1
  257. sou.SoundId=id
  258. swait()
  259. sou:play()
  260. game:GetService("Debris"):AddItem(sou,6)
  261. end))
  262. end
  263.  
  264. function clerp(a,b,t)
  265. local qa = {QuaternionFromCFrame(a)}
  266. local qb = {QuaternionFromCFrame(b)}
  267. local ax, ay, az = a.x, a.y, a.z
  268. local bx, by, bz = b.x, b.y, b.z
  269. local _t = 1-t
  270. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  271. end
  272.  
  273. function QuaternionFromCFrame(cf)
  274. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  275. local trace = m00 + m11 + m22
  276. if trace > 0 then
  277. local s = math.sqrt(1 + trace)
  278. local recip = 0.5/s
  279. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  280. else
  281. local i = 0
  282. if m11 > m00 then
  283. i = 1
  284. end
  285. if m22 > (i == 0 and m00 or m11) then
  286. i = 2
  287. end
  288. if i == 0 then
  289. local s = math.sqrt(m00-m11-m22+1)
  290. local recip = 0.5/s
  291. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  292. elseif i == 1 then
  293. local s = math.sqrt(m11-m22-m00+1)
  294. local recip = 0.5/s
  295. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  296. elseif i == 2 then
  297. local s = math.sqrt(m22-m00-m11+1)
  298. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  299. end
  300. end
  301. end
  302.  
  303. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  304. local xs, ys, zs = x + x, y + y, z + z
  305. local wx, wy, wz = w*xs, w*ys, w*zs
  306. local xx = x*xs
  307. local xy = x*ys
  308. local xz = x*zs
  309. local yy = y*ys
  310. local yz = y*zs
  311. local zz = z*zs
  312. 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))
  313. end
  314.  
  315. function QuaternionSlerp(a, b, t)
  316. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  317. local startInterp, finishInterp;
  318. if cosTheta >= 0.0001 then
  319. if (1 - cosTheta) > 0.0001 then
  320. local theta = math.acos(cosTheta)
  321. local invSinTheta = 1/math.sin(theta)
  322. startInterp = math.sin((1-t)*theta)*invSinTheta
  323. finishInterp = math.sin(t*theta)*invSinTheta
  324. else
  325. startInterp = 1-t
  326. finishInterp = t
  327. end
  328. else
  329. if (1+cosTheta) > 0.0001 then
  330. local theta = math.acos(-cosTheta)
  331. local invSinTheta = 1/math.sin(theta)
  332. startInterp = math.sin((t-1)*theta)*invSinTheta
  333. finishInterp = math.sin(t*theta)*invSinTheta
  334. else
  335. startInterp = t-1
  336. finishInterp = t
  337. end
  338. end
  339. 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
  340. end
  341.  
  342. --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)
  343.  
  344.  
  345. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  346. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  347. end
  348.  
  349. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  350. if hit.Parent==nil then
  351. return
  352. end
  353. local h=hit.Parent:FindFirstChild("Humanoid")
  354. for _,v in pairs(hit.Parent:children()) do
  355. if v:IsA("Humanoid") then
  356. h=v
  357. end
  358. end
  359. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  360. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  361. end
  362. if hit.Parent.className=="Hat" then
  363. hit=hit.Parent.Parent:findFirstChild("Head")
  364. end
  365. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  366. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  367. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  368. return
  369. end]]
  370. -- hs(hit,1.2)
  371. local c=Instance.new("ObjectValue")
  372. c.Name="creator"
  373. c.Value=game:service("Players").LocalPlayer
  374. c.Parent=h
  375. game:GetService("Debris"):AddItem(c,.5)
  376. local Damage=math.random(minim,maxim)
  377. -- h:TakeDamage(Damage)
  378. local blocked=false
  379. local block=hit.Parent:findFirstChild("Block")
  380. if block~=nil then
  381. print(block.className)
  382. if block.className=="NumberValue" then
  383. if block.Value>0 then
  384. blocked=true
  385. if decreaseblock==nil then
  386. block.Value=block.Value-1
  387. end
  388. end
  389. end
  390. if block.className=="IntValue" then
  391. if block.Value>0 then
  392. blocked=true
  393. if decreaseblock~=nil then
  394. block.Value=block.Value-1
  395. end
  396. end
  397. end
  398. end
  399. if blocked==false then
  400. -- h:TakeDamage(Damage)
  401. h.Health=h.Health-Damage
  402. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  403. else
  404. h.Health=h.Health-(Damage/2)
  405. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  406. end
  407. if Type=="Knockdown" then
  408. local hum=hit.Parent.Humanoid
  409. hum.PlatformStand=true
  410. coroutine.resume(coroutine.create(function(HHumanoid)
  411. swait(1)
  412. HHumanoid.PlatformStand=false
  413. end),hum)
  414. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  415. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  416. local bodvol=Instance.new("BodyVelocity")
  417. bodvol.velocity=angle*knockback
  418. bodvol.P=5000
  419. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  420. bodvol.Parent=hit
  421. local rl=Instance.new("BodyAngularVelocity")
  422. rl.P=3000
  423. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  424. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  425. rl.Parent=hit
  426. game:GetService("Debris"):AddItem(bodvol,.5)
  427. game:GetService("Debris"):AddItem(rl,.5)
  428. elseif Type=="Normal" then
  429. local vp=Instance.new("BodyVelocity")
  430. vp.P=500
  431. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  432. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  433. if KnockbackType==1 then
  434. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  435. elseif KnockbackType==2 then
  436. vp.velocity=Property.CFrame.lookVector*knockback
  437. end
  438. if knockback>0 then
  439. vp.Parent=hit.Parent.Torso
  440. end
  441. game:GetService("Debris"):AddItem(vp,.5)
  442. elseif Type=="Up" then
  443. local bodyVelocity=Instance.new("BodyVelocity")
  444. bodyVelocity.velocity=vt(0,60,0)
  445. bodyVelocity.P=5000
  446. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  447. bodyVelocity.Parent=hit
  448. game:GetService("Debris"):AddItem(bodyVelocity,1)
  449. local rl=Instance.new("BodyAngularVelocity")
  450. rl.P=3000
  451. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  452. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  453. rl.Parent=hit
  454. game:GetService("Debris"):AddItem(rl,.5)
  455. elseif Type=="Snare" then
  456. local bp=Instance.new("BodyPosition")
  457. bp.P=2000
  458. bp.D=100
  459. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  460. bp.position=hit.Parent.Torso.Position
  461. bp.Parent=hit.Parent.Torso
  462. game:GetService("Debris"):AddItem(bp,1)
  463. elseif Type=="Target" then
  464. local Targetting = false
  465. if Targetting==false then
  466. ZTarget=hit.Parent.Torso
  467. coroutine.resume(coroutine.create(function(Part)
  468. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  469. swait(5)
  470. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  471. end),ZTarget)
  472. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  473. local targetgui=Instance.new("BillboardGui")
  474. targetgui.Parent=ZTarget
  475. targetgui.Size=UDim2.new(10,100,10,100)
  476. local targ=Instance.new("ImageLabel")
  477. targ.Parent=targetgui
  478. targ.BackgroundTransparency=1
  479. targ.Image="rbxassetid://4834067"
  480. targ.Size=UDim2.new(1,0,1,0)
  481. cam.CameraType="Scriptable"
  482. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  483. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  484. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  485. Targetting=true
  486. RocketTarget=ZTarget
  487. for i=1,Property do
  488. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  489. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  490. swait()
  491. end
  492. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  493. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  494. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  495. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  496. end
  497. Targetting=false
  498. RocketTarget=nil
  499. targetgui.Parent=nil
  500. cam.CameraType="Custom"
  501. end
  502. end
  503. local debounce=Instance.new("BoolValue")
  504. debounce.Name="DebounceHit"
  505. debounce.Parent=hit.Parent
  506. debounce.Value=true
  507. game:GetService("Debris"):AddItem(debounce,Delay)
  508. c=Instance.new("ObjectValue")
  509. c.Name="creator"
  510. c.Value=Player
  511. c.Parent=h
  512. game:GetService("Debris"):AddItem(c,.5)
  513. end
  514. end
  515.  
  516.  
  517. function ShowDamage(Pos, Text, Time, Color)
  518. local Rate = (1 / 30)
  519. local Pos = (Pos or Vector3.new(0, 0, 0))
  520. local Text = (Text or "")
  521. local Time = (Time or 2)
  522. local Color = (Color or Color3.new(1, 0, 0))
  523. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  524. EffectPart.Anchored = true
  525. local BillboardGui = Instance.new("BillboardGui")
  526. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  527. BillboardGui.Adornee = EffectPart
  528. local TextLabel = Instance.new("TextLabel")
  529. TextLabel.BackgroundTransparency = 1
  530. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  531. TextLabel.Text = Text
  532. TextLabel.TextColor3 = Color
  533. TextLabel.TextScaled = true
  534. TextLabel.Font = Enum.Font.ArialBold
  535. TextLabel.Parent = BillboardGui
  536. BillboardGui.Parent = EffectPart
  537. game.Debris:AddItem(EffectPart, (Time + 0.1))
  538. EffectPart.Parent = game:GetService("Workspace")
  539. Delay(0, function()
  540. local Frames = (Time / Rate)
  541. for Frame = 1, Frames do
  542. wait(Rate)
  543. local Percent = (Frame / Frames)
  544. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  545. TextLabel.TextTransparency = Percent
  546. end
  547. if EffectPart and EffectPart.Parent then
  548. EffectPart:Destroy()
  549. end
  550. end)
  551. end
  552.  
  553. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleA",Vector3.new(0.643124044, 0.528849244, 0.33483085))
  554. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),CFrame.new(-0.302037239, 1.13491917, 0.0633850098, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  555. mesh("SpecialMesh",HandleA,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.767890096, 0.677984893, 1.58654785))
  556. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 1.05769861, 0.423079342))
  557. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.792768478, -1.00496542, 6.86645508e-005, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  558. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  559. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.740389049, 0.423079342))
  560. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.739868879, -0.422421455, 4.57763672e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  561. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 1, 1))
  562. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.900373757, 0.33483085, 0.423079431))
  563. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.422917843, -0.898515701, 0.000144958496, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  564. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780922, 1))
  565. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 0.528849244, 0.423079342))
  566. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.792847633, -1.79799962, 3.05175781e-005, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  567. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  568. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.514498889, 0.33483085, 0.423079342))
  569. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.0530853271, -1.90571821, 0.00899505615, 0.000554000319, -0.0390400179, 0.999237478, 0.000312999764, -0.999237657, -0.0390402004, 0.999999881, 0.00033438942, -0.000541358488))
  570. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.315890431, 1))
  571. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.80074716, 0.33483085, 0.423079342))
  572. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.793262243, -0.370123863, 8.39233398e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  573. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780922, 1))
  574. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.643123567, 0.33483085, 0.423079342))
  575. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-1.79820776, -0.687247276, 0.000122070313, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  576. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780922, 1))
  577. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.33483085, 0.33483085))
  578. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-2.00977206, -0.951371193, 0.00379180908, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  579. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 0.947671354, 0.315890372))
  580. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.90037334, 0.528849244, 0.423079342))
  581. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.739778519, -0.211923122, 6.86645508e-005, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  582. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  583. BarrelA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BarrelA",Vector3.new(0.40718168, 0.33483085, 0.528849244))
  584. BarrelAweld=weld(m,HandleA,BarrelA,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.794412613, -2.03565645, -0.000961303711, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  585. mesh("CylinderMesh",BarrelA,"","",Vector3.new(0, 0, 0),Vector3.new(0.631780028, 0.315890431, 1))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.528849244, 0.423079342))
  587. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.528548241, -1.79802394, 0, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  588. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.9476704, 1, 1))
  589. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.900373161, 0.33483085, 0.423079342))
  590. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.317192316, -0.370129585, 6.10351563e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  591. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780863, 1))
  592. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.33483085, 0.33483085))
  593. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.528745651, -1.0571909, 0.193084717, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  594. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 0.315890431, 0.315890372))
  595. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 0.740389049, 0.423079342))
  596. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.792585373, 0.422561169, 0.000106811523, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  597. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.70112109, 0.33483085, 0.423079342))
  599. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.423124075, -0.634524345, 9.15527344e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  600. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.947671354, 1))
  601. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.33483085, 0.33483085))
  602. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.528696537, -1.05713558, -0.1927948, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  603. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 0.315890431, 0.315890372))
  604. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.514498711, 1.79808784, 0.423079342))
  605. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.566490889, 0.483553886, 1.52587891e-005, 0.000675000367, -0.884886444, 0.465806216, -0.00033200052, -0.465806544, -0.884886563, 0.999999762, 0.000442650868, -0.000608202419))
  606. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.40718168, 1.58654821, 0.401925266))
  607. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.249182701, 0.589561462, -3.05175781e-005, 0.000675000367, -0.884886444, 0.465806216, -0.00033200052, -0.465806544, -0.884886563, 0.999999762, 0.000442650868, -0.000608202419))
  608. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.631780922, 1, 1))
  609. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.514498889, 0.33483085, 0.33483085))
  610. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.79453373, -2.03396177, -0.000968933105, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  611. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.315890431, 0.947671294))
  612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.15762305, 0.528849244, 0.423079342))
  613. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-1.05768561, -7.62939453e-006, 1.52587891e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.900373161, 0.33483085, 0.423079342))
  615. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.211681366, -0.158632278, 1.52587891e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  616. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780863, 1))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.771748424, 0.33483085, 0.423079342))
  618. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.0529289246, 1.58654892, -4.57763672e-005, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  619. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.315890431, 1))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.423079431, 0.33483085))
  621. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.0471153259, -1.13056707, 0.000175476074, -0.000147999992, -0.678980947, -0.734155953, -0.00070499978, 0.734155834, -0.678980708, 0.999999762, 0.000417090632, -0.000587336428))
  622. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.631780982, 1, 0.631780863))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.514498889, 0.433656245, 0.33483085))
  624. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(1.11001766, 4.57763672e-005, 0.211352348, -0.000323000102, 0.999237359, 0.0390480161, -0.999999881, -0.000344035943, 0.000531998521, 0.000545026618, -0.0390478335, 0.999237239))
  625. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.947670996))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.643123627, 0.951928794, 0.634619057))
  627. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.105716705, 1.05751443, -6.10351563e-005, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  628. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 0.33483085, 0.528849244))
  630. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.0530967712, 1.79791343, 0.00257110596, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  631. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.947671354, 1))
  632.  
  633. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleB",Vector3.new(0.643124044, 0.528849244, 0.33483085))
  634. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),CFrame.new(-0.302037239, 1.13491917, 0.0633850098, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  635. mesh("SpecialMesh",HandleB,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.767890096, 0.677984893, 1.58654785))
  636. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 1.05769861, 0.423079342))
  637. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.792768478, -1.00496542, 6.86645508e-005, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  638. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  639. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.740389049, 0.423079342))
  640. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.739868879, -0.422421455, 4.57763672e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  641. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 1, 1))
  642. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.900373757, 0.33483085, 0.423079431))
  643. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.422917843, -0.898515701, 0.000144958496, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  644. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780922, 1))
  645. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 0.528849244, 0.423079342))
  646. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.792847633, -1.79799962, 3.05175781e-005, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  647. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  648. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.514498889, 0.33483085, 0.423079342))
  649. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.0530853271, -1.90571821, 0.00899505615, 0.000554000319, -0.0390400179, 0.999237478, 0.000312999764, -0.999237657, -0.0390402004, 0.999999881, 0.00033438942, -0.000541358488))
  650. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.315890431, 1))
  651. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.80074716, 0.33483085, 0.423079342))
  652. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.793262243, -0.370123863, 8.39233398e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  653. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780922, 1))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.643123567, 0.33483085, 0.423079342))
  655. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-1.79820776, -0.687247276, 0.000122070313, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  656. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780922, 1))
  657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.33483085, 0.33483085))
  658. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-2.00977206, -0.951371193, 0.00379180908, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  659. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 0.947671354, 0.315890372))
  660. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.90037334, 0.528849244, 0.423079342))
  661. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.739778519, -0.211923122, 6.86645508e-005, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  662. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  663. BarrelB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BarrelB",Vector3.new(0.40718168, 0.33483085, 0.528849244))
  664. BarrelBweld=weld(m,HandleB,BarrelB,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.794412613, -2.03565645, -0.000961303711, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  665. mesh("CylinderMesh",BarrelB,"","",Vector3.new(0, 0, 0),Vector3.new(0.631780028, 0.315890431, 1))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.528849244, 0.423079342))
  667. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.528548241, -1.79802394, 0, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  668. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.9476704, 1, 1))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.900373161, 0.33483085, 0.423079342))
  670. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.317192316, -0.370129585, 6.10351563e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  671. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780863, 1))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.33483085, 0.33483085))
  673. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.528745651, -1.0571909, 0.193084717, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  674. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 0.315890431, 0.315890372))
  675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 0.740389049, 0.423079342))
  676. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.792585373, 0.422561169, 0.000106811523, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  677. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.70112109, 0.33483085, 0.423079342))
  679. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.423124075, -0.634524345, 9.15527344e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  680. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.947671354, 1))
  681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.33483085, 0.33483085))
  682. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.528696537, -1.05713558, -0.1927948, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  683. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.315890461, 0.315890431, 0.315890372))
  684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.514498711, 1.79808784, 0.423079342))
  685. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.566490889, 0.483553886, 1.52587891e-005, 0.000675000367, -0.884886444, 0.465806216, -0.00033200052, -0.465806544, -0.884886563, 0.999999762, 0.000442650868, -0.000608202419))
  686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.40718168, 1.58654821, 0.401925266))
  687. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.249182701, 0.589561462, -3.05175781e-005, 0.000675000367, -0.884886444, 0.465806216, -0.00033200052, -0.465806544, -0.884886563, 0.999999762, 0.000442650868, -0.000608202419))
  688. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.631780922, 1, 1))
  689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.514498889, 0.33483085, 0.33483085))
  690. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.79453373, -2.03396177, -0.000968933105, 0.000639999693, -0.0390379801, 0.999237537, 0.000399000332, -0.999237657, -0.0390382409, 0.999999762, 0.000423680583, -0.000623935601))
  691. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.315890431, 0.947671294))
  692. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.15762305, 0.528849244, 0.423079342))
  693. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-1.05768561, -7.62939453e-006, 1.52587891e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.900373161, 0.33483085, 0.423079342))
  695. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.211681366, -0.158632278, 1.52587891e-005, 0.000447000057, -0.99923712, -0.0390520021, -0.000607999857, 0.0390517265, -0.999237001, 0.999999762, 0.000470402621, -0.00059007993))
  696. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.631780863, 1))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.771748424, 0.33483085, 0.423079342))
  698. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.0529289246, 1.58654892, -4.57763672e-005, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  699. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.315890431, 1))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.40718168, 0.423079431, 0.33483085))
  701. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.0471153259, -1.13056707, 0.000175476074, -0.000147999992, -0.678980947, -0.734155953, -0.00070499978, 0.734155834, -0.678980708, 0.999999762, 0.000417090632, -0.000587336428))
  702. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.631780982, 1, 0.631780863))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.514498889, 0.433656245, 0.33483085))
  704. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(1.11001766, 4.57763672e-005, 0.211352348, -0.000323000102, 0.999237359, 0.0390480161, -0.999999881, -0.000344035943, 0.000531998521, 0.000545026618, -0.0390478335, 0.999237239))
  705. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.947670996))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.643123627, 0.951928794, 0.634619057))
  707. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(0.105716705, 1.05751443, -6.10351563e-005, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  708. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.02899826, 0.33483085, 0.528849244))
  710. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932),CFrame.new(-0.0530967712, 1.79791343, 0.00257110596, -0.000575000304, 0.0390400179, -0.999237478, -0.000399000215, 0.999237537, 0.0390402526, 0.999999762, 0.000421144156, -0.000558984932))
  711. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.947671354, 1))
  712.  
  713. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","Handle",Vector3.new(1.02999997, 0.400000155, 0.200000003))
  714. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00482177734, 0.60084343, -0.0100822449, -1, -5.36894822e-006, -5.1169021e-008, 5.36895095e-006, -0.999999881, 1.86432862e-005, -5.12691187e-008, 1.86432844e-005, 1))
  715. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.620000005, 0.400000155, 0.200000003))
  716. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00501251221, -0.19991076, 0.419974327, 1, -1.13095666e-009, -5.73407988e-012, 1.11867848e-009, 0.999999523, 3.83415433e-009, 5.75184345e-012, -3.82015308e-009, 1))
  717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000033, 0.400000006))
  718. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300132751, -0.900682688, 0.714515686, -5.12854363e-008, 1.86433699e-005, 1, 5.42855059e-006, 0.999999464, -1.86432771e-005, -0.999999881, 5.38385166e-006, -5.12693887e-008))
  719. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.306000054, 0.363999993, 0.298000067))
  720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.230000004, 0.400000155, 0.819999993))
  721. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400024414, -0.199884892, 0.110021591, 1, -3.18856428e-006, 1.63091372e-008, 3.18855382e-006, 0.999999523, -5.47489981e-006, -1.62916685e-008, 5.47491254e-006, 1))
  722. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.02999997, 0.400000155, 0.200000003))
  723. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.19998908, -0.400001526, 1, -1.97815098e-010, -9.73443548e-013, 1.85536919e-010, 0.999999523, 6.65474897e-010, 9.87654403e-013, -6.51473486e-010, 1))
  724. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.819999993))
  725. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.414840698, -0.19992125, 0.110017776, 1, -3.18842308e-006, 1.63098086e-008, 3.18841262e-006, 0.999999523, -5.47535274e-006, -1.62923364e-008, 5.47536456e-006, 1))
  726. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000033, 0.400000006))
  727. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299860954, -0.900682688, 0.714515686, -5.12854363e-008, 1.86433699e-005, 1, 5.42855059e-006, 0.999999464, -1.86432771e-005, -0.999999881, 5.38385166e-006, -5.12693887e-008))
  728. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.306000054, 0.363999993, 0.298000067))
  729. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  730. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.714614868, -0.200629354, -0.299841881, 1, -3.18785192e-006, 1.63125939e-008, 3.18784146e-006, 0.999999523, -5.47723175e-006, -1.62951217e-008, 5.47724358e-006, 1))
  731. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.420000017, 0.400000006, 0.420000017))
  733. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.724590302, -0.200787902, -0.299805641, 1, -3.18777597e-006, 1.63129918e-008, 3.18776574e-006, 0.999999523, -5.47749551e-006, -1.62955196e-008, 5.47750733e-006, 1))
  734. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  735. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.420000017, 0.400000006, 0.420000017))
  736. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.72461319, -0.200729728, 0.300173759, 1, -3.18789807e-006, 1.63124518e-008, 3.18788466e-006, 0.999999523, -5.4771408e-006, -1.62949796e-008, 5.47715263e-006, 1))
  737. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  739. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.714599609, -0.200613737, 0.300151825, 1, -3.18753905e-006, 1.63145231e-008, 3.18753473e-006, 0.999999762, -5.47841591e-006, -1.62970544e-008, 5.47842228e-006, 1))
  740. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  741.  
  742. BackHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BackHandle",Vector3.new(1.19999981, 1.4000001, 0.600000024))
  743. BackHandleweld=weld(m,Character["Torso"],BackHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0196533203, 0.400322199, 0.810890198, 0.99999994, -0.000393598049, 9.99395779e-005, -0.000393594615, -1, -3.4742352e-005, 9.99532422e-005, 3.47030109e-005, -1))
  744. JointConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnector1A",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  745. JointConnectorAweld=weld(m,BackHandle,JointConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.500391722, -1.09958172, 0.000106811523, -0.000134849091, 1.00000036, 0.000244120281, 1.00000012, 0.00013480286, 0.0001889009, 0.000188868027, 0.000244145835, -1))
  746. mesh("CylinderMesh",JointConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  747. JointConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnector2A",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  748. JointConnectorBweld=weld(m,BackHandle,JointConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499224424, 1.10042953, 0.000389099121, -0.000142050441, 1.00000048, 0.00024563272, 1, 0.000142004006, 0.000189126484, 0.000189091646, 0.00024565967, -1))
  749. mesh("CylinderMesh",JointConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  750. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,"Medium stone grey","Part",Vector3.new(0.999999821, 0.810000002, 1))
  751. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000204086304, -0.114334106, 0.11003828, 0.99999994, -0.000434145943, 0.000135086244, 0.000135075781, -2.41484304e-005, -1, 0.000434149173, 1, -2.40897843e-005))
  752. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  753. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  754. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699985504, 0.299962997, 0.000106811523, 1, 2.8545157e-005, 2.01498915e-006, -2.85451333e-005, 1.00000048, -1.65976708e-005, -2.01549119e-006, 1.65976235e-005, 1))
  755. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  756. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.70017767, 0.900276184, 2.28881836e-005, 7.87207955e-006, 1.0000006, 0.000218146262, 1, -7.91228922e-006, 0.000184381133, 0.000184382894, 0.000218144967, -1))
  757. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  759. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700681448, -0.899713516, -0.000160217285, -4.77653066e-006, 1.00000036, 0.000233566359, 1.00000012, 4.73343016e-006, 0.000184065444, 0.000184064382, 0.000233567349, -1))
  760. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  762. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699317455, -0.900104523, -0.000503540039, -2.19041112e-006, 1.00000048, 0.000229374593, 1, 2.14808301e-006, 0.000184186967, 0.000184186516, 0.000229375117, -1))
  763. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.600000083, 0.600000024))
  765. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000160217285, -0.999997377, 0.299993515, 3.70928319e-008, -2.55422492e-008, 0.999995828, 5.12266354e-007, 1.00000048, -4.77502908e-007, -0.999994159, -3.52497096e-007, -7.4505806e-009))
  766. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.600000083, 0.600000024))
  768. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -1.00000215, 0.300003052, 1.37202733e-007, -1.36241215e-006, -0.99999845, 2.17364732e-006, 1.00000036, -1.53008295e-006, 0.999997973, -1.88537808e-006, 1.7232378e-007))
  769. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  771. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700035095, -0.299979925, -3.05175781e-005, 1, 2.56532749e-005, 1.77198672e-006, -2.56533112e-005, 1.00000048, -1.4922125e-005, -1.772416e-006, 1.49220887e-005, 1))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999998, 0.600000024))
  773. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.899816513, 8.86917114e-005, -8.39233398e-005, 1.00000012, -6.77646894e-005, 1.9375002e-006, 6.77645876e-005, 1.00000036, -1.50834312e-005, -1.93650339e-006, 1.50835713e-005, 1))
  774. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  775. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699826002, 0.899929047, -0.000267028809, 5.00179112e-006, 1.00000036, 0.000227865909, 1, -5.04371428e-006, 0.00018396313, 0.000183964323, 0.000227865065, -1))
  776. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  777. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  778. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699979782, -0.300032854, 8.39233398e-005, 1, 2.33540086e-005, 1.59936462e-006, -2.33540104e-005, 1.00000036, -1.3580393e-005, -1.59972114e-006, 1.35803584e-005, 1))
  779. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.999999821, 0.210000008, 0.800000012))
  780. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000158309937, 0.204177856, -0.100054502, 0.99999994, -0.000365686341, -1.8454848e-005, 1.84939854e-005, 0.000107020081, 1, -0.000365684333, -1, 0.000107026826))
  781. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  782. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999998, 0.600000024))
  783. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.899957657, -5.14984131e-005, 1.52587891e-005, 1, 4.35386755e-005, 1.46304228e-006, -4.3538701e-005, 1.00000048, -2.5323272e-005, -1.46418461e-006, 2.53232211e-005, 1))
  784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  785. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000169754028, -0.110027075, -0.289321899, 0.99999994, -0.000429946143, -6.52186136e-005, -0.000429945881, -1, 3.28611713e-006, -6.52200033e-005, -3.25807923e-006, -1))
  786. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=47260990 ",Vector3.new(0, 0, 0),Vector3.new(0.786000013, 0.828000009, 1.5))
  787. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  788. Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700004578, 0.300017357, -7.62939453e-006, 1.00000012, 1.98868911e-005, 1.39452459e-006, -1.98869839e-005, 1.00000036, -1.15688927e-005, -1.39477197e-006, 1.15688727e-005, 1))
  789.  
  790. JointHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleA",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  791. JointHandleAweld=weld(m,JointConnectorA,JointHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.83582306e-005, 1.71661377e-005, 4.57763672e-005, 1.00002372, 9.22270647e-006, -2.51305755e-006, -9.21489027e-006, 1.00000823, 7.3468982e-007, 2.52091559e-006, -7.32572516e-007, 1.00000691))
  792. mesh("CylinderMesh",JointHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  793. GunConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","GunConnectorA",Vector3.new(0.600000024, 0.200000003, 0.600000024))
  794. GunConnectorAweld=weld(m,JointHandleA,GunConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700202465, -0.199803352, 0.000106811523, 1.00002193, 0.000155094516, 5.12073166e-006, -0.000155089874, 1.00000751, 3.48285539e-006, -5.11290273e-006, -3.48169851e-006, 1.00000632))
  795. mesh("CylinderMesh",GunConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  796. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  797. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800303221, 0.000170707703, -0.000518798828, 1.00002372, 0.000125587932, -9.87216481e-006, -0.000125582214, 1.00000823, 4.54029941e-006, 9.88075044e-006, -4.53696703e-006, 1.00000691))
  798. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  799. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.799999952, 0.600000024))
  800. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000982284546, 0.400094986, 0.000297546387, -0.000799572212, 1.00000811, 0.000185435987, 1.00002396, 0.000799589267, -0.000116516225, -0.00011667455, 0.000185340876, -1.00000703))
  801.  
  802. JointHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleB",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  803. JointHandleBweld=weld(m,JointConnectorB,JointHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00079536438, -1.71661377e-005, -0.000114440918, 1.00001121, 4.23926722e-005, 1.41100318e-005, -4.24169266e-005, 1.00001359, 5.81741915e-007, -1.41142809e-005, -5.79668267e-007, 1.00001562))
  804. mesh("CylinderMesh",JointHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  805. GunConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","GunConnectorB",Vector3.new(0.600000024, 0.200000003, 0.600000024))
  806. GunConnectorBweld=weld(m,JointHandleB,GunConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699269533, 0.20022583, 0.00025177002, 1.00001144, 9.48040179e-005, -7.13363988e-006, -9.48246816e-005, 1.00001168, 3.8729122e-006, 7.1307586e-006, -3.8698272e-006, 1.00001419))
  807. mesh("CylinderMesh",GunConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  808. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024))
  809. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.799968004, 0.000133514404, -9.91821289e-005, 1.00001144, 5.51939411e-005, -3.30700714e-005, -5.5215256e-005, 1.00001216, 4.67001519e-006, 3.30667535e-005, -4.66570054e-006, 1.00001454))
  810. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  811. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.600000024))
  812. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699347496, 0.000215530396, 0.000228881836, 1.00001144, 5.07884397e-005, -3.28006863e-005, -5.08106859e-005, 1.00001264, 3.4170007e-006, 3.27970192e-005, -3.41280975e-006, 1.0000149))
  813. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  814. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.799999952, 0.600000024))
  815. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000913619995, 0.399995565, 0, -0.000859739492, 1.00001156, 0.000185929675, 1.00001097, 0.000859755091, -0.000195633038, -0.000195788627, 0.000185758545, -1.00001454))
  816.  
  817. GunHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","GunHandleA",Vector3.new(0.600000024, 0.200000003, 0.600000024))
  818. GunHandleAweld=weld(m,GunConnectorA,GunHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.81333923e-005, -2.38418579e-005, 0.000122070313, 1.000018, 4.40606818e-005, 1.71461434e-005, -4.40589392e-005, 1.00000608, 1.96720066e-007, -1.71404681e-005, -1.95868779e-007, 1.00000525))
  819. mesh("CylinderMesh",GunHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  820. Barrel1A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel1A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  821. Barrel1Aweld=weld(m,GunHandleA,Barrel1A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301003456, -3.01091766, -0.120499134, -0.000310220959, 1.00001049, 9.32219409e-005, 0.000273376325, 9.33043921e-005, -1.00000513, -1.00002241, -0.000310193369, -0.000273406797))
  822. Barrel2A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel2A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  823. Barrel2Aweld=weld(m,GunHandleA,Barrel2A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301006317, -3.0109787, 0.0795035362, -0.000310228672, 1.00001585, 9.32240582e-005, 0.000273379992, 9.33051051e-005, -1.00001037, -1.0000397, -0.000310198491, -0.000273412472))
  824. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 1.60000038, 0.400000036))
  825. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300701141, 2.10153961, 0.0998549461, 0.000387485576, -1.00000918, -0.000205141594, -0.000205789169, -0.000205219141, 1.00000775, -1.00002742, -0.0003874377, -0.000205873075))
  826. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  827. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000033))
  828. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300693512, -0.201332092, 0.400040627, 9.76964366e-005, -1.00000644, -0.000465032994, 4.45076148e-006, 0.000465032208, -1.00000525, 1.00001907, 9.7693628e-005, 4.50210064e-006))
  829. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  830. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.439999849, 0.80000037, 0.420000046))
  831. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300717354, 2.10094452, -0.100504875, 0.00039939204, -1.00000322, -0.000207646197, -0.000303345674, -0.000207766599, 1.00000262, -1.00000942, -0.000399326789, -0.000303429551))
  832. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  833. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.210000008, 0.200000003))
  834. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300693512, 2.8059845, -0.120531559, 0.000406712177, -1.00001085, -0.000207314544, -0.000303088542, -0.000207436562, 1.00000262, -1.00001705, -0.000406647741, -0.000303172885))
  835. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  836. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.439999849, 0.80000037, 0.420000046))
  837. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300697327, 2.10094452, 0.0994949341, 0.00039939204, -1.00000322, -0.000207646197, -0.000303345674, -0.000207766599, 1.00000262, -1.00000942, -0.000399326789, -0.000303429551))
  838. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  839. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.599999964, 0.200000003))
  840. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300806046, -0.000413894653, -1.20135498, -0.000731348409, 1.0000062, 0.000186127727, 1.00001884, 0.000731338456, 7.23669655e-006, 7.09466985e-006, 0.000186131423, -1.00000536))
  841. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000036, 0.599999964, 0.600000024))
  842. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300823212, -0.000389099121, -0.801322937, -0.000736263755, 1.0000062, 0.000186091289, 1.00001884, 0.000736255257, -1.30245462e-006, -1.44549995e-006, 0.000186088728, -1.00000536))
  843. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 1.60000038, 0.400000036))
  844. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300709724, 2.1015625, -0.100152969, 0.000389917404, -1.00000632, -0.000204981858, -0.000204947049, -0.000205060263, 1.00000525, -1.00001884, -0.000389870926, -0.000205030199))
  845. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  846. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.600000024))
  847. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000589847565, 0.605097771, -0.000411987305, -1.00001907, -7.11746543e-005, -1.00177131e-005, 7.11750472e-005, -1.00000632, -7.65992445e-006, -1.00113102e-005, -7.65892764e-006, 1.00000536))
  848. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  849. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.599999964, 0.799999893))
  850. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300902367, -0.000275611877, -0.101234436, -0.000714223599, 1.00000596, 0.000186143894, 1.0000186, 0.000714214111, 5.40760811e-006, 5.26869553e-006, 0.000186146179, -1.00000536))
  851. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.600000024))
  852. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000121593475, -0.600021362, -0.000122070313, 1.00001884, 1.95363464e-005, -1.17676973e-005, -1.95360717e-005, 1.00000632, 8.09086487e-008, 1.17738964e-005, -7.8965968e-008, 1.00000536))
  853. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  854. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  855. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.301052094, -0.398658752, 0.0996770859, 0.000168173574, -1.0000062, -0.000469181949, 0.000192342239, -0.000469148305, 1.00000525, -1.00001884, -0.000168262224, 0.000192254665))
  856. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  857. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.210000008, 0.200000003))
  858. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300667763, 2.80599976, 0.129474163, 0.000401809055, -1.00000453, -0.000207350764, -0.000300242304, -0.000207470555, 1.00000262, -1.00001073, -0.000401744619, -0.000300326414))
  859. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  860. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  861. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.30081749, 0.198722839, 0.500051975, 9.52785049e-005, -1.00000632, -0.000465142744, 2.44280091e-006, 0.000465141784, -1.00000525, 1.00001884, 9.5276635e-005, 2.49309232e-006))
  862. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  863. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.200000003, 0.200000033))
  864. Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301048279, -0.398727417, 0.200325489, -0.000165666483, 1.0000062, 0.000465443503, 0.000190699473, -0.000465410732, 1.00000525, 1.00001884, 0.000165753692, -0.000190613733))
  865. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  866.  
  867. GunHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","GunHandleB",Vector3.new(0.600000024, 0.200000003, 0.600000024))
  868. GunHandleBweld=weld(m,GunConnectorB,GunHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000673770905, -8.39233398e-005, -1.52587891e-005, 1.00000942, 5.44717441e-005, 1.94212189e-005, -5.44843424e-005, 1.00000739, 1.13752321e-007, -1.94224704e-005, -1.13155693e-007, 1.00000906))
  869. mesh("CylinderMesh",GunHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  870. Barrel1B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel1B",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  871. Barrel1Bweld=weld(m,GunHandleB,Barrel1B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299085617, -3.01102448, -0.119781017, -0.000329221628, 1.00001323, 9.33345873e-005, 0.000268255244, 9.34198906e-005, -1.00001228, -1.00001538, -0.000329178496, -0.000268283795))
  872. Barrel2B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel2B",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  873. Barrel2Bweld=weld(m,GunHandleB,Barrel2B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299085617, -3.01103973, 0.0802307129, -0.00032922221, 1.00001645, 9.33356132e-005, 0.000268258213, 9.34203417e-005, -1.0000124, -1.00001836, -0.000329179165, -0.000268286414))
  874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.210000008, 0.200000003))
  875. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299430847, 2.80601501, 0.130136967, 0.000420811819, -1.00000989, -0.00020746683, -0.000295129896, -0.000207588339, 1.00001204, -1.00001252, -0.000420732453, -0.000295215374))
  876. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  877. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.210000008, 0.200000003))
  878. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299409866, 2.80599976, -0.119864464, 0.000420814817, -1.00001657, -0.000207468634, -0.000295128761, -0.000207589677, 1.00001252, -1.00001824, -0.000420735218, -0.000295213307))
  879. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  880. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.439999849, 0.80000037, 0.420000046))
  881. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299398422, 2.10095215, 0.100156307, 0.000418395415, -1.00000989, -0.000207762394, -0.000298228057, -0.000207884499, 1.00001204, -1.00001252, -0.000418315292, -0.000298313156))
  882. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  883. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.439999849, 0.80000037, 0.420000046))
  884. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299377441, 2.10095215, -0.099843502, 0.000418395415, -1.00000989, -0.000207762394, -0.000298228057, -0.000207884499, 1.00001204, -1.00001252, -0.000418315292, -0.000298313156))
  885. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.599999964, 0.200000003))
  887. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299085617, -0.000154495239, -1.20111847, -0.000798207242, 1.00001216, 0.000186916441, 1.0000155, 0.000798188092, -2.47909629e-005, -2.49380828e-005, 0.000186893303, -1.00001514))
  888. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000036, 0.599999964, 0.600000024))
  889. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299261093, -0.000652313232, -0.801330566, -0.000765027537, 1.00000477, 0.000186326899, 1.00000608, 0.000765017117, 4.95283166e-006, 4.81112511e-006, 0.000186329329, -1.00000596))
  890. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 1.60000038, 0.400000036))
  891. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299259186, 2.10105133, 0.100150585, 0.000449428364, -1.00000989, -0.000205993856, -0.000232496488, -0.000206095719, 1.00001204, -1.00001252, -0.00044936224, -0.000232587248))
  892. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  893. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 1.60000038, 0.400000036))
  894. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.29924202, 2.10101318, -0.099852562, 0.000439619296, -1.00000465, -0.00020606746, -0.000235352476, -0.0002061696, 1.00000608, -1.00000608, -0.000439561845, -0.000235442218))
  895. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  896. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000033))
  897. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300058365, -0.200164795, 0.39960289, 0.00014546531, -1.00000942, -0.000465339806, 2.72641191e-005, 0.000465340447, -1.00001204, 1.0000124, 0.000145435566, 2.73301266e-005))
  898. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  899. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  900. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299087524, 0.198875427, 0.499901295, 0.000138242394, -1.00001395, -0.000465639692, 2.61189853e-005, 0.000465638208, -1.00001812, 1.0000186, 0.000138204938, 2.61808163e-005))
  901. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  902. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.600000024))
  903. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000405311584, 0.604974747, -0.000221252441, 1.00001872, 0.000124336628, 3.06558795e-005, -0.000124361904, 1.00001407, 2.04929529e-006, -3.06582078e-005, -2.04989192e-006, 1.00001824))
  904. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  905. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.599999964, 0.799999893))
  906. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.29914093, -0.000112533569, -0.101150513, -0.000767017948, 1.00001383, 0.000186496531, 1.00001836, 0.000766996061, -3.24900029e-005, -3.26305162e-005, 0.000186467601, -1.00001824))
  907. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.600000024))
  908. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000385761261, 0.599992752, -4.57763672e-005, 1.00001872, 8.64388567e-005, 3.8362341e-006, -8.64641042e-005, 1.00001431, 1.160377e-006, -3.83867882e-006, -1.15746661e-006, 1.00001824))
  909. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  910. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  911. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299236298, -0.398200989, 0.100030422, 0.00025981167, -1.00001419, -0.000468346872, 0.000176015252, -0.000468296057, 1.00001812, -1.0000186, -0.00025986816, 0.000175895984))
  912. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  913. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.200000003, 0.200000033))
  914. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299167633, -0.3984375, 0.199965, -0.000250084035, 1.00001419, 0.000464713085, 0.000173949171, -0.000464664481, 1.00001812, 1.0000186, 0.000250138983, -0.000173835404))
  915. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  916.  
  917. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  918. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  919. prt.Anchored=true
  920. prt.CFrame=cframe
  921. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  922. game:GetService("Debris"):AddItem(prt,2)
  923. coroutine.resume(coroutine.create(function(Part,Mesh)
  924. for i=0,1,delay do
  925. swait()
  926. Part.CFrame=Part.CFrame
  927. Part.Transparency=i
  928. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  929. end
  930. Part.Parent=nil
  931. end),prt,msh)
  932. end
  933.  
  934. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  935. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  936. prt.Anchored=true
  937. prt.CFrame=cframe
  938. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  939. game:GetService("Debris"):AddItem(prt,2)
  940. coroutine.resume(coroutine.create(function(Part,Mesh)
  941. for i=0,1,delay do
  942. swait()
  943. Part.CFrame=Part.CFrame
  944. Part.Transparency=i
  945. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  946. end
  947. Part.Parent=nil
  948. end),prt,msh)
  949. end
  950.  
  951. function LaserBarrage(Prt,Parent)
  952. attack=true
  953. --so("BeamLockon",Prt,1,1)
  954. local efprt=part(3,Parent,"SmoothPlastic",0,0.5,BrickColor.new("Really red"),"Effect",vt(0.2,0.2,0.2))
  955. efprt.Anchored=true
  956. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  957. local spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-Mouse.Hit.p).magnitude/100
  958. --spread=vt(0,0,0)
  959. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  960. game:GetService("Debris"):AddItem(Part,6)
  961. local TheHit=Mouse.Hit.p
  962. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  963. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  964. so("Elec",Prt,0.2,1)
  965. local tefprt=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  966. tefprt.CFrame=cf(pos)
  967. MagicCircle(BrickColor.new("Really red"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  968. so("Elec",tefprt,0.3,1)
  969. game:GetService("Debris"):AddItem(tefprt,3)
  970. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  971. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  972. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  973. hit.Parent.Humanoid:TakeDamage(15)
  974. MagniDamage(efprt,hit,1,1,1,1,"Normal")
  975. end
  976. end
  977. local mag=(Prt.Position-pos).magnitude
  978. MagicCylinder(BrickColor.new("Really red"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  979. Part.Parent=nil
  980. end),efprt,efmsh,spread)
  981. end
  982.  
  983. function attackone()
  984. attack=true
  985. for i=0,1,0.1 do
  986. swait()
  987. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  988. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  989. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3)
  990. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(-30)), 0.3)
  991. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(00)),.3)
  992. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(00)),.3)
  993. end
  994. so("http://www.roblox.com/asset/?id=169445602",BarrelA,1,.8)
  995. so("http://www.roblox.com/asset/?id=138083993",BarrelA,1,1)
  996. for i = 1,20 do
  997. LaserBarrage(BarrelA,m)
  998. end
  999. for i=0,1,0.1 do
  1000. swait()
  1001. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1002. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1003. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(50), math.rad(40)), 0.3)
  1004. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(-30)), 0.3)
  1005. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(00)),.3)
  1006. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(00)),.3)
  1007. end
  1008. attack=false
  1009. end
  1010.  
  1011. function attacktwo()
  1012. attack=true
  1013. for i=0,1,0.1 do
  1014. swait()
  1015. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1016. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1017. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1018. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(30)), 0.3)
  1019. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(00)),.3)
  1020. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(00)),.3)
  1021. end
  1022. so("http://www.roblox.com/asset/?id=169445602",BarrelB,1,.8)
  1023. so("http://www.roblox.com/asset/?id=138083993",BarrelB,1,1)
  1024. for i = 1,20 do
  1025. LaserBarrage(BarrelB,m)
  1026. end
  1027. for i=0,1,0.1 do
  1028. swait()
  1029. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1030. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1031. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(130), math.rad(-50), math.rad(-40)), 0.3)
  1032. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(30)), 0.3)
  1033. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(00)),.3)
  1034. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(00)),.3)
  1035. end
  1036. attack=false
  1037. end
  1038.  
  1039. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1040. local pmsh = Instance.new('SpecialMesh')
  1041. pmsh.MeshType = 'FileMesh'
  1042. pmsh.Scale = Vector3.new(5,5,5)
  1043. pmsh.MeshId = 'http://www.roblox.com/Asset/?id=9756362'
  1044. local S=Instance.new("Part")
  1045. S.Material = "SmoothPlastic"
  1046. S.Name="Effect"
  1047. S.formFactor=0
  1048. S.Size=Vector3.new(5,5,5)
  1049. S.BrickColor=color
  1050. S.Reflectance = 0
  1051. S.TopSurface=0
  1052. S.BottomSurface=0
  1053. S.Transparency=0
  1054. S.Anchored=true
  1055. S.CanCollide=false
  1056. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1057. S.Parent=workspace
  1058. pmsh.Parent = S
  1059. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1060. end
  1061.  
  1062. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  1063. for _,c in pairs(workspace:children()) do
  1064. local hum=c:findFirstChild("Humanoid")
  1065. if hum~=nil then
  1066. local head=c:findFirstChild("Torso")
  1067. if head~=nil then
  1068. local targ=head.Position-Part.Position
  1069. local mag=targ.magnitude
  1070. if mag<=magni and c.Name~=Player.Name then
  1071. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  1072. end
  1073. end
  1074. end
  1075. end
  1076. end
  1077.  
  1078. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1079. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5))
  1080. prt.Anchored=true
  1081. prt.CFrame=cframe
  1082. prt.Touched:connect(function(hit) end)
  1083. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  1084. coroutine.resume(coroutine.create(function(Part,Mesh)
  1085. for i=0,1,0.03 do
  1086. wait()
  1087. Part.CFrame=Part.CFrame
  1088. Part.Transparency=i
  1089. Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
  1090. end
  1091. Part.Parent=nil
  1092. end),prt,msh)
  1093. end
  1094.  
  1095. function Test()
  1096. attack = true
  1097. for i=0,1,0.1 do
  1098. swait()
  1099. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(50)),.3)
  1100. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  1101. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1102. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(-20), math.rad(-90)), 0.3)
  1103. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1104. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1105. end
  1106. local vel = Instance.new("BodyVelocity")
  1107. vel.Parent = Torso
  1108. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1109. vel.velocity = RootPart.CFrame.lookVector*50
  1110. so("http://roblox.com/asset/?id=200632370",LeftArm,1,1)
  1111. so("http://roblox.com/asset/?id=203691699",LeftArm,1,1)
  1112. for i=0,1,0.1 do
  1113. swait()
  1114. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(-50)),.3)
  1115. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(40)),.3)
  1116. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1117. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(00), math.rad(-40)), 0.3)
  1118. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1119. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1120. end
  1121. vel.Parent = nil
  1122. local vel2 = Instance.new("BodyVelocity")
  1123. vel2.Parent = Torso
  1124. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1125. vel2.velocity = RootPart.CFrame.lookVector*-90
  1126. Humanoid.Jump = true
  1127. local prt = Instance.new("Part",workspace)
  1128. prt.Position = BarrelB.Position
  1129. prt.BrickColor = BrickColor.new("Really red")
  1130. prt.Anchored = true
  1131. prt.Size = Vector3.new(5,5,5)
  1132. prt.CanCollide = false
  1133. prt.Transparency = 1
  1134. MagniDamage(prt,prt,10,15,30,1,"Normal")
  1135. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Really red"))
  1136. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Really red"))
  1137. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Really red"))
  1138. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Really red"))
  1139. MagicRing(BrickColor.new("Really red"),BarrelB.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,1)
  1140. MagicRing(BrickColor.new("Really red"),BarrelB.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,1)
  1141. so("http://roblox.com/asset/?id=203691837",BarrelB,1,1)
  1142. so("http://roblox.com/asset/?id=203691653",BarrelB,1,1)
  1143. for i=0,1,0.1 do
  1144. swait()
  1145. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1146. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(40)),.3)
  1147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  1149. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1150. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1151. end
  1152. attack = false
  1153. vel2.Parent = nil
  1154. prt.Parent = nil
  1155. end
  1156.  
  1157. local Effects={}
  1158. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1159. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  1160. prt.Anchored=true
  1161. prt.CFrame=cframe
  1162. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1163. game:GetService("Debris"):AddItem(prt,5)
  1164. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  1165. end
  1166.  
  1167. function MagicCylinder2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1168. local prt=part(3,Character,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1169. prt.Anchored=true
  1170. prt.CFrame=cframe
  1171. msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1172. game:GetService("Debris"):AddItem(prt,5)
  1173. --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1174. Effects[#Effects+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  1175. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  1176. for i=0,1,delay do
  1177. wait()
  1178. Part.CFrame=Part.CFrame
  1179. Part.Transparency=i
  1180. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1181. end
  1182. Part.Parent=nil
  1183. end),prt,msh)]]
  1184. end
  1185.  
  1186. RocketTarget = RootPart
  1187. function ShootCannon(asd)
  1188. so("rbxassetid://263623156",asd,.5,1)
  1189. so("rbxassetid://263610152",asd,.5,1)
  1190. so("rbxassetid://263623139",asd,.5,1)
  1191. local MainPos=asd.Position
  1192. local MainPos2=Mouse.Hit.p
  1193. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  1194. --[[local mag=(MainPos-pos).magnitude
  1195. MagicCylinder(BrickColor.new("Bright blue"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  1196. num=30
  1197. coroutine.resume(coroutine.create(function()
  1198. repeat
  1199. wait()
  1200. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  1201. local mag=(MainPos-pos).magnitude
  1202. MagicCylinder2(BrickColor.new("Really red"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  1203. MainPos=MainPos+(MouseLook.lookVector*10)
  1204. num=num-1
  1205. if hit~=nil then
  1206. num=0
  1207. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really red"),"Reference",vt())
  1208. ref.Anchored=true
  1209. ref.CFrame=cf(pos)
  1210. MagniDamage(ref,hit,1,30,50,1,"Normal")
  1211. so("rbxassetid://263610039",ref,1,1)
  1212. so("rbxassetid://263610111",ref,1,1)
  1213. MagicBlock(BrickColor.new("Really red"),cf(pos),20,20,20,5,5,5,0.05)
  1214. game:GetService("Debris"):AddItem(ref,1)
  1215. MagniDamage(ref,ref,15,10,20,0,"Knockdown")
  1216. end
  1217. until num<=0
  1218. end))
  1219. end
  1220.  
  1221. function QuadShot()
  1222. attack = true
  1223. for i = 0,1,0.05 do
  1224. swait()
  1225. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(00)),.3)
  1226. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1227. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  1228. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1229. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1230. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1231. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1232. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1233. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.3)
  1234. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.3)
  1235. end
  1236. ShootCannon(Barrel1A)
  1237. ShootCannon(Barrel2A)
  1238. ShootCannon(Barrel1B)
  1239. ShootCannon(Barrel2B)
  1240. for i = 0,1,0.1 do
  1241. swait()
  1242. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(00)),.3)
  1243. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1244. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  1245. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1246. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1247. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1248. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1249. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1250. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(20),math.rad(0)),.3)
  1251. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(20),math.rad(0)),.3)
  1252. end
  1253. attack = false
  1254. end
  1255.  
  1256. Mouse.Button1Down:connect(function()
  1257. if attack==false then
  1258. if attacktype==1 then
  1259. attack=true
  1260. attacktype=2
  1261. attackone()
  1262. elseif attacktype==2 then
  1263. attack=true
  1264. attacktype=1
  1265. attacktwo()
  1266. end
  1267. end
  1268. end)
  1269.  
  1270. Mouse.KeyDown:connect(function(k)
  1271. k=k:lower()
  1272. if attack == false and k == 'q' then
  1273. Test()
  1274. elseif attack == false and k == 'e' then
  1275. QuadShot()
  1276. end
  1277. end)
  1278.  
  1279.  
  1280. local sine = 0
  1281. local change = 1
  1282. local val = 0
  1283.  
  1284. while true do
  1285. swait()
  1286. sine = sine + change
  1287. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1288. local velderp=RootPart.Velocity.y
  1289. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1290. if equipped==true or equipped==false then
  1291. if attack==false then
  1292. idle=idle+1
  1293. else
  1294. idle=0
  1295. end
  1296. if idle>=500 then
  1297. if attack==false then
  1298. --Sheath()
  1299. end
  1300. end
  1301. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1302. Anim="Jump"
  1303. if attack==false then
  1304. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1305. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1306. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.3)
  1307. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1308. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(20),math.rad(90),math.rad(-20)),.3)
  1309. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(20)),.3)
  1310. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1311. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1312. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1313. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1314. end
  1315. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1316. Anim="Fall"
  1317. if attack==false then
  1318. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1319. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1320. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  1321. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1322. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(10),math.rad(90),math.rad(20)),.3)
  1323. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(-20)),.3)
  1324. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1325. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1326. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1327. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1328. end
  1329. elseif torvel<1 and hitfloor~=nil then
  1330. Anim="Idle"
  1331. if attack==false then
  1332. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(-10)),.3)
  1333. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.3)
  1334. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1335. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(-20), math.rad(30)), 0.3)
  1336. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1337. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1338. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1339. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1340. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1341. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1342. end
  1343. elseif torvel>2 and hitfloor~=nil then
  1344. Anim="Walk"
  1345. if attack==false then
  1346. change=3
  1347. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(00)),.3)
  1348. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1349. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1350. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  1351. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.3)
  1352. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  1353. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1354. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1355. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1356. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1357. end
  1358. end
  1359. end
  1360. if #Effects>0 then
  1361. --table.insert(Effects,{prt,"Block1",delay})
  1362. for e=1,#Effects do
  1363. if Effects[e]~=nil then
  1364. --for j=1,#Effects[e] do
  1365. local Thing=Effects[e]
  1366. if Thing~=nil then
  1367. local Part=Thing[1]
  1368. local Mode=Thing[2]
  1369. local Delay=Thing[3]
  1370. local IncX=Thing[4]
  1371. local IncY=Thing[5]
  1372. local IncZ=Thing[6]
  1373. if Thing[1].Transparency<=1 then
  1374. if Thing[2]=="Block1" then
  1375. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1376. Mesh=Thing[1].Mesh
  1377. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1378. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1379. elseif Thing[2]=="Cylinder" then
  1380. --local TheCF=Thing[1].CFrame
  1381. --Thing[1].CFrame=TheCF
  1382. Mesh=Thing[1].Mesh
  1383. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1384. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1385. elseif Thing[2]=="Elec" then
  1386. Mesh=Thing[1].Mesh
  1387. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1388. --Thing[3]=Thing[3]+Delay
  1389. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1390. --print(Thing[1].Transparency)
  1391.  
  1392. --[[local prt=part(3,workspace,0,0,BrickColor.new("White"),"Part",vt(1,1,1))
  1393. prt.Anchored=true
  1394. game:GetService("Debris"):AddItem(prt,2)
  1395. xval=math.random()
  1396. yval=math.random()
  1397. zval=math.random()
  1398. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(xval,yval,zval))
  1399. Effects[#Effects+1]={prt,"Elec",0.05,x,y,z,xval,yval,zval}]]
  1400. --[[coroutine.resume(coroutine.create(function(Part,Mesh,Frame,xvaal,yvaal,zvaal)
  1401. Part.CFrame=cf(Frame)*cf(math.random(-x,x),math.random(-y,y),math.random(-z,z))
  1402. for i=0,1,0.05 do
  1403. swait()
  1404. xvaal=xvaal-0.1
  1405. yvaal=yvaal-0.1
  1406. zvaal=zvaal-0.1
  1407. Mesh.Scale=vt(xvaal,yvaal,zvaal)
  1408. Part.Transparency=i
  1409. end
  1410. Part.Parent=nil
  1411. end),prt,msh,cff,xval,yval,zval)]]
  1412. end
  1413. else
  1414. Part.Parent=nil
  1415. table.remove(Effects,e)
  1416. end
  1417. end
  1418. --end
  1419. end
  1420. end
  1421. end
  1422. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement