Advertisement
Guest User

Untitled

a guest
Oct 20th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.03 KB | None | 0 0
  1. Player=game.Players.LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. Mouse=Player:GetMouse()
  9. local m1=Instance.new('Model',Character)
  10. m1.Name="GunModel"
  11. local m2=Instance.new('Model',Character)
  12. m2.Name="BladeModel"
  13. LeftArm=Character["Left Arm"]
  14. LeftLeg=Character["Left Leg"]
  15. RightArm=Character["Right Arm"]
  16. RightLeg=Character["Right Leg"]
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Face = Head.face
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. cloaked=false
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. attackdebounce = false
  41. deb=false
  42. equipped=true
  43. hand=false
  44. MMouse=nil
  45. combo=0
  46. mana=0
  47. trispeed=.2
  48. local Mode = "GunMode"
  49. local idle=0
  50. local Anim="Idle"
  51. local Effects={}
  52. local gun=false
  53. local shoot=false
  54. player=nil
  55. mana=0
  56. --save shoulders
  57. RSH, LSH=nil, nil
  58. --welds
  59. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  60. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  61. LH=Torso["Left Hip"]
  62. RH=Torso["Right Hip"]
  63. TorsoColor=Torso.BrickColor
  64. function NoOutline(Part)
  65. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  66. end
  67. player=Player
  68. ch=Character
  69. RSH=ch.Torso["Right Shoulder"]
  70. LSH=ch.Torso["Left Shoulder"]
  71. --
  72. RSH.Parent=nil
  73. LSH.Parent=nil
  74. --
  75. RW.Name="Right Shoulder"
  76. RW.Part0=ch.Torso
  77. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  78. RW.C1=cf(0, 0.5, 0)
  79. RW.Part1=ch["Right Arm"]
  80. RW.Parent=ch.Torso
  81. --
  82. LW.Name="Left Shoulder"
  83. LW.Part0=ch.Torso
  84. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  85. LW.C1=cf(0, 0.5, 0)
  86. LW.Part1=ch["Left Arm"]
  87. LW.Parent=ch.Torso
  88.  
  89. local function weldBetween(a, b)
  90. local weldd = Instance.new("ManualWeld")
  91. weldd.Part0 = a
  92. weldd.Part1 = b
  93. weldd.C0 = CFrame.new()
  94. weldd.C1 = b.CFrame:inverse() * a.CFrame
  95. weldd.Parent = a
  96. return weldd
  97. end
  98.  
  99. function swait(num)
  100. if num==0 or num==nil then
  101. game:service'RunService'.Stepped:wait(0)
  102. else
  103. for i=0,num do
  104. game:service'RunService'.Stepped:wait(0)
  105. end
  106. end
  107. end
  108.  
  109. function nooutline(part)
  110. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  111. end
  112.  
  113. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  114. local fp = it("Part")
  115. fp.formFactor = formfactor
  116. fp.Parent = parent
  117. fp.Reflectance = reflectance
  118. fp.Transparency = transparency
  119. fp.CanCollide = false
  120. fp.Locked=true
  121. fp.BrickColor = brickcolor
  122. fp.Name = name
  123. fp.Size = size
  124. fp.Position = effectPartA.Position
  125. NoOutline(fp)
  126. fp.Material="Neon"
  127. fp:BreakJoints()
  128. return fp
  129. end
  130.  
  131. function pppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  132. local fp = it("Part")
  133. fp.formFactor = formfactor
  134. fp.Parent = parent
  135. fp.Reflectance = reflectance
  136. fp.Transparency = transparency
  137. fp.CanCollide = false
  138. fp.Locked=true
  139. fp.BrickColor = brickcolor
  140. fp.Name = name
  141. fp.Size = size
  142. fp.Position = effectpartB.Position
  143. NoOutline(fp)
  144. fp.Material="Neon"
  145. fp:BreakJoints()
  146. return fp
  147. end
  148.  
  149. function mmesh(Mesh,part,meshtype,meshid,offset,scale)
  150. local mesh = it(Mesh)
  151. mesh.Parent = part
  152. if Mesh=="SpecialMesh" then
  153. mesh.MeshType = meshtype
  154. mesh.MeshId = meshid
  155. end
  156. mesh.Offset=offset
  157. mesh.Scale=scale
  158. return mesh
  159. end
  160.  
  161. function wweld(parent,part0,part1,c0)
  162. local weld = it("Weld")
  163. weld.Parent = parent
  164. weld.Part0 = part0
  165. weld.Part1 = part1
  166. weld.C0 = c0
  167. return weld
  168. end
  169.  
  170. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  171. local fp=it("Part")
  172. fp.formFactor=formfactor
  173. fp.Parent=parent
  174. fp.Reflectance=reflectance
  175. fp.Transparency=transparency
  176. fp.CanCollide=false
  177. fp.Locked=true
  178. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  179. fp.Name=name
  180. fp.Size=size
  181. fp.Position=Character.Torso.Position
  182. nooutline(fp)
  183. fp.Material=material
  184. fp:BreakJoints()
  185. return fp
  186. end
  187.  
  188. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  189. local mesh=it(Mesh)
  190. mesh.Parent=part
  191. if Mesh=="SpecialMesh" then
  192. mesh.MeshType=meshtype
  193. mesh.MeshId=meshid
  194. end
  195. mesh.Offset=offset
  196. mesh.Scale=scale
  197. return mesh
  198. end
  199.  
  200. function weld(parent,part0,part1,c0,c1)
  201. local weld=it("Weld")
  202. weld.Parent=parent
  203. weld.Part0=part0
  204. weld.Part1=part1
  205. weld.C0=c0
  206. weld.C1=c1
  207. return weld
  208. end
  209.  
  210.  
  211. local function CFrameFromTopBack(at, top, back)
  212. local right = top:Cross(back)
  213. return CFrame.new(at.x, at.y, at.z,
  214. right.x, top.x, back.x,
  215. right.y, top.y, back.y,
  216. right.z, top.z, back.z)
  217. end
  218.  
  219. function Triangle(a, b, c)
  220. local edg1 = (c-a):Dot((b-a).unit)
  221. local edg2 = (a-b):Dot((c-b).unit)
  222. local edg3 = (b-c):Dot((a-c).unit)
  223. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  224. a, b, c = a, b, c
  225. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  226. a, b, c = b, c, a
  227. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  228. a, b, c = c, a, b
  229. else
  230. assert(false, "unreachable")
  231. end
  232.  
  233. local len1 = (c-a):Dot((b-a).unit)
  234. local len2 = (b-a).magnitude - len1
  235. local width = (a + (b-a).unit*len1 - c).magnitude
  236.  
  237. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  238.  
  239. local list = {}
  240.  
  241. local TrailColor = ("Bright blue")
  242.  
  243. if len1 > 0.01 then
  244. local w1 = Instance.new('WedgePart', m)
  245. game:GetService("Debris"):AddItem(w1,5)
  246. w1.Material = "Neon"
  247. w1.FormFactor = 'Custom'
  248. w1.BrickColor = BrickColor.new(TrailColor)
  249. w1.Transparency = 0
  250. w1.Reflectance = 0
  251. w1.Material = "Neon"
  252. w1.CanCollide = false
  253. NoOutline(w1)
  254. local sz = Vector3.new(0.2, width, len1)
  255. w1.Size = sz
  256. local sp = Instance.new("SpecialMesh",w1)
  257. sp.MeshType = "Wedge"
  258. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  259. w1:BreakJoints()
  260. w1.Anchored = true
  261. w1.Parent = workspace
  262. w1.Transparency = 0.7
  263. table.insert(Effects,{w1,"Disappear",.01})
  264. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  265. table.insert(list,w1)
  266. end
  267.  
  268. if len2 > 0.01 then
  269. local w2 = Instance.new('WedgePart', m)
  270. game:GetService("Debris"):AddItem(w2,5)
  271. w2.Material = "Neon"
  272. w2.FormFactor = 'Custom'
  273. w2.BrickColor = BrickColor.new(TrailColor)
  274. w2.Transparency = 0
  275. w2.Reflectance = 0
  276. w2.Material = "Neon"
  277. w2.CanCollide = false
  278. NoOutline(w2)
  279. local sz = Vector3.new(0.2, width, len2)
  280. w2.Size = sz
  281. local sp = Instance.new("SpecialMesh",w2)
  282. sp.MeshType = "Wedge"
  283. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  284. w2:BreakJoints()
  285. w2.Anchored = true
  286. w2.Parent = workspace
  287. w2.Transparency = 0.7
  288. table.insert(Effects,{w2,"Disappear",.01})
  289. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  290. table.insert(list,w2)
  291. end
  292. return unpack(list)
  293. end
  294.  
  295.  
  296. so = function(id,par,vol,pit)
  297. coroutine.resume(coroutine.create(function()
  298. local sou = Instance.new("Sound",par or workspace)
  299. sou.Volume=vol
  300. sou.Pitch=pit or 1
  301. sou.SoundId=id
  302. swait()
  303. sou:play()
  304. game:GetService("Debris"):AddItem(sou,6)
  305. end))
  306. end
  307.  
  308. function clerp(a,b,t)
  309. local qa = {QuaternionFromCFrame(a)}
  310. local qb = {QuaternionFromCFrame(b)}
  311. local ax, ay, az = a.x, a.y, a.z
  312. local bx, by, bz = b.x, b.y, b.z
  313. local _t = 1-t
  314. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  315. end
  316.  
  317. function QuaternionFromCFrame(cf)
  318. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  319. local trace = m00 + m11 + m22
  320. if trace > 0 then
  321. local s = math.sqrt(1 + trace)
  322. local recip = 0.5/s
  323. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  324. else
  325. local i = 0
  326. if m11 > m00 then
  327. i = 1
  328. end
  329. if m22 > (i == 0 and m00 or m11) then
  330. i = 2
  331. end
  332. if i == 0 then
  333. local s = math.sqrt(m00-m11-m22+1)
  334. local recip = 0.5/s
  335. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  336. elseif i == 1 then
  337. local s = math.sqrt(m11-m22-m00+1)
  338. local recip = 0.5/s
  339. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  340. elseif i == 2 then
  341. local s = math.sqrt(m22-m00-m11+1)
  342. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  343. end
  344. end
  345. end
  346.  
  347. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  348. local xs, ys, zs = x + x, y + y, z + z
  349. local wx, wy, wz = w*xs, w*ys, w*zs
  350. local xx = x*xs
  351. local xy = x*ys
  352. local xz = x*zs
  353. local yy = y*ys
  354. local yz = y*zs
  355. local zz = z*zs
  356. 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))
  357. end
  358.  
  359. function QuaternionSlerp(a, b, t)
  360. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  361. local startInterp, finishInterp;
  362. if cosTheta >= 0.0001 then
  363. if (1 - cosTheta) > 0.0001 then
  364. local theta = math.acos(cosTheta)
  365. local invSinTheta = 1/math.sin(theta)
  366. startInterp = math.sin((1-t)*theta)*invSinTheta
  367. finishInterp = math.sin(t*theta)*invSinTheta
  368. else
  369. startInterp = 1-t
  370. finishInterp = t
  371. end
  372. else
  373. if (1+cosTheta) > 0.0001 then
  374. local theta = math.acos(-cosTheta)
  375. local invSinTheta = 1/math.sin(theta)
  376. startInterp = math.sin((t-1)*theta)*invSinTheta
  377. finishInterp = math.sin(t*theta)*invSinTheta
  378. else
  379. startInterp = t-1
  380. finishInterp = t
  381. end
  382. end
  383. 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
  384. end
  385.  
  386. --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)
  387.  
  388.  
  389. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  390. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  391. end
  392.  
  393. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  394. if hit.Parent==nil then
  395. return
  396. end
  397. local h=hit.Parent:FindFirstChild("Humanoid")
  398. for _,v in pairs(hit.Parent:children()) do
  399. if v:IsA("Humanoid") then
  400. h=v
  401. end
  402. end
  403. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  404. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  405. end
  406. if hit.Parent.className=="Hat" then
  407. hit=hit.Parent.Parent:findFirstChild("Head")
  408. end
  409. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  410. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  411. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  412. return
  413. end]]
  414. -- hs(hit,1.2)
  415. local c=Instance.new("ObjectValue")
  416. c.Name="creator"
  417. c.Value=game:service("Players").LocalPlayer
  418. c.Parent=h
  419. game:GetService("Debris"):AddItem(c,.5)
  420. local Damage=math.random(minim,maxim)
  421. -- h:TakeDamage(Damage)
  422. local blocked=false
  423. local block=hit.Parent:findFirstChild("Block")
  424. if block~=nil then
  425. print(block.className)
  426. if block.className=="NumberValue" then
  427. if block.Value>0 then
  428. blocked=true
  429. if decreaseblock==nil then
  430. block.Value=block.Value-1
  431. end
  432. end
  433. end
  434. if block.className=="IntValue" then
  435. if block.Value>0 then
  436. blocked=true
  437. if decreaseblock~=nil then
  438. block.Value=block.Value-1
  439. end
  440. end
  441. end
  442. end
  443. if blocked==false then
  444. -- h:TakeDamage(Damage)
  445. h.Health=h.Health-Damage
  446. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  447. else
  448. h.Health=h.Health-(Damage/2)
  449. 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)
  450. end
  451. if Type=="Knockdown" then
  452. local hum=hit.Parent.Humanoid
  453. hum.PlatformStand=true
  454. coroutine.resume(coroutine.create(function(HHumanoid)
  455. swait(1)
  456. HHumanoid.PlatformStand=false
  457. end),hum)
  458. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  459. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  460. local bodvol=Instance.new("BodyVelocity")
  461. bodvol.velocity=angle*knockback
  462. bodvol.P=5000
  463. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  464. bodvol.Parent=hit
  465. local rl=Instance.new("BodyAngularVelocity")
  466. rl.P=3000
  467. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  468. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  469. rl.Parent=hit
  470. game:GetService("Debris"):AddItem(bodvol,.5)
  471. game:GetService("Debris"):AddItem(rl,.5)
  472. elseif Type=="Normal" then
  473. local vp=Instance.new("BodyVelocity")
  474. vp.P=500
  475. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  476. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  477. if KnockbackType==1 then
  478. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  479. elseif KnockbackType==2 then
  480. vp.velocity=Property.CFrame.lookVector*knockback
  481. end
  482. if knockback>0 then
  483. vp.Parent=hit.Parent.Torso
  484. end
  485. game:GetService("Debris"):AddItem(vp,.5)
  486. elseif Type=="Up" then
  487. local bodyVelocity=Instance.new("BodyVelocity")
  488. bodyVelocity.velocity=vt(0,60,0)
  489. bodyVelocity.P=5000
  490. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  491. bodyVelocity.Parent=hit
  492. game:GetService("Debris"):AddItem(bodyVelocity,1)
  493. local rl=Instance.new("BodyAngularVelocity")
  494. rl.P=3000
  495. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  496. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  497. rl.Parent=hit
  498. game:GetService("Debris"):AddItem(rl,.5)
  499. elseif Type=="Snare" then
  500. local bp=Instance.new("BodyPosition")
  501. bp.P=2000
  502. bp.D=100
  503. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  504. bp.position=hit.Parent.Torso.Position
  505. bp.Parent=hit.Parent.Torso
  506. game:GetService("Debris"):AddItem(bp,1)
  507. elseif Type=="Target" then
  508. local Targetting = false
  509. if Targetting==false then
  510. ZTarget=hit.Parent.Torso
  511. coroutine.resume(coroutine.create(function(Part)
  512. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  513. swait(5)
  514. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  515. end),ZTarget)
  516. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  517. local targetgui=Instance.new("BillboardGui")
  518. targetgui.Parent=ZTarget
  519. targetgui.Size=UDim2.new(10,100,10,100)
  520. local targ=Instance.new("ImageLabel")
  521. targ.Parent=targetgui
  522. targ.BackgroundTransparency=1
  523. targ.Image="rbxassetid://4834067"
  524. targ.Size=UDim2.new(1,0,1,0)
  525. cam.CameraType="Scriptable"
  526. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  527. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  528. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  529. Targetting=true
  530. RocketTarget=ZTarget
  531. for i=1,Property do
  532. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  533. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  534. swait()
  535. end
  536. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  537. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  538. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  539. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  540. end
  541. Targetting=false
  542. RocketTarget=nil
  543. targetgui.Parent=nil
  544. cam.CameraType="Custom"
  545. end
  546. end
  547. local debounce=Instance.new("BoolValue")
  548. debounce.Name="DebounceHit"
  549. debounce.Parent=hit.Parent
  550. debounce.Value=true
  551. game:GetService("Debris"):AddItem(debounce,Delay)
  552. c=Instance.new("ObjectValue")
  553. c.Name="creator"
  554. c.Value=Player
  555. c.Parent=h
  556. game:GetService("Debris"):AddItem(c,.5)
  557. end
  558. end
  559.  
  560.  
  561. function ShowDamage(Pos, Text, Time, Color)
  562. local Rate = (1 / 30)
  563. local Pos = (Pos or Vector3.new(0, 0, 0))
  564. local Text = (Text or "")
  565. local Time = (Time or 2)
  566. local Color = (Color or Color3.new(1, 0, 0))
  567. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  568. EffectPart.Anchored = true
  569. local BillboardGui = Instance.new("BillboardGui")
  570. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  571. BillboardGui.Adornee = EffectPart
  572. local TextLabel = Instance.new("TextLabel")
  573. TextLabel.BackgroundTransparency = 1
  574. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  575. TextLabel.Text = Text
  576. TextLabel.TextColor3 = Color
  577. TextLabel.TextScaled = true
  578. TextLabel.Font = Enum.Font.ArialBold
  579. TextLabel.Parent = BillboardGui
  580. BillboardGui.Parent = EffectPart
  581. game.Debris:AddItem(EffectPart, (Time + 0.1))
  582. EffectPart.Parent = game:GetService("Workspace")
  583. Delay(0, function()
  584. local Frames = (Time / Rate)
  585. for Frame = 1, Frames do
  586. wait(Rate)
  587. local Percent = (Frame / Frames)
  588. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  589. TextLabel.TextTransparency = Percent
  590. end
  591. if EffectPart and EffectPart.Parent then
  592. EffectPart:Destroy()
  593. end
  594. end)
  595. end
  596.  
  597. HandleA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","HandleA",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  598. HandleAweld=weld(m1,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00185775664, 0.949698091, 0.0282095671, 0.00645164261, -0.00234994502, 0.999983549, -0.00174338894, 1.00000298, 0.00236248318, -0.999980927, -0.00175679161, 0.00644207839))
  599. BarrelA2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  600. BarrelA2weld=weld(m1,HandleA,BarrelA2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300408185, 0.692719877, -0.509504676, -1.00001335, -0.000750854961, 0.000798106659, -0.000748435268, 1.00001419, -3.9473729e-005, -0.00078724511, -4.33196656e-005, -1.00000489))
  601. mesh("CylinderMesh",BarrelA2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  602. BarrelA1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelA1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  603. BarrelA1weld=weld(m1,HandleA,BarrelA1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299251944, 0.692616761, -0.509054065, -1.00001335, -0.000750854961, 0.000798106659, -0.000748435268, 1.00001419, -3.9473729e-005, -0.00078724511, -4.33196656e-005, -1.00000489))
  604. mesh("CylinderMesh",BarrelA1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  605. HitboxA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright blue","HitboxA",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  606. HitboxAweld=weld(m1,HandleA,HitboxA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.908759713, 0.703636289, 0.00557135185, -0.000180496834, 0.000492044725, -1.00000596, 0.000569519005, -1.00001502, -0.000495452725, -1.00001419, -0.000572146848, 0.000191209838))
  607. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.03000009, 0.399999976))
  608. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.901965618, -1.12029111, 0.437980235, 0.000185132027, -0.000973253103, 1.00000429, -0.706970394, -0.707261264, -0.000552865677, 0.707258999, -0.706969678, -0.000827515498))
  609. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  610. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.25999999, 0.350000024))
  611. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.917311311, -2.18087292, -0.496138334, 0.00409415131, -0.000555868552, -0.999997079, 0.147052303, 0.989143372, 5.43651404e-005, 0.98913312, -0.147049174, 0.00411992427))
  612. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  613. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.25999999, 0.350000024))
  614. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.914237261, -2.13673234, -0.495460987, -0.00204888126, -0.000182555552, 1.00000429, -0.148186088, 0.988973975, -0.000117671792, -0.988970339, -0.1481888, -0.00204300322))
  615. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  616. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.52999997, 0.220000029))
  617. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.915191054, -2.26471281, 0.461176097, -0.000178989954, 0.000981012825, -1.00000656, 0.00064501632, 1.0000149, 0.000984702026, 1.00001276, -0.000642319908, -0.000190630555))
  618. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  619. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  620. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299252361, 0.0938264728, -0.509284377, -1.00001156, -0.000764549011, 0.00079836743, -0.000762129552, 1.00001478, -3.82986691e-005, -0.000787388068, -4.20836805e-005, -1.00000608))
  621. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  622. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  623. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408528298, -0.0999363661, -0.104618132, 1.00000858, -0.000118796015, -7.11577013e-006, -1.00350007e-006, 0.000979423639, -1.00000298, 0.000120172976, 1.00000751, 0.000981247402))
  624. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  625. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  626. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.906913042, -0.588714898, 0.693582058, 0.00018032873, -0.000970157969, 1.0000056, 1.00001585, 0.000149209984, -0.000191255473, -0.000146431383, 1.00001574, 0.000973635004))
  627. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  628. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  629. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399172843, 0.0989041924, -0.509497404, -1.00001216, -0.000703486381, 0.000799023546, -0.000700912555, 1.00001681, -4.01650286e-005, -0.000787517987, -4.42785422e-005, -1.00000572))
  630. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  631. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright blue","Part",Vector3.new(1, 0.400000006, 0.99999994))
  632. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00031650532, -1.11789143, -0.803969383, 1.0000149, -2.96789221e-006, -6.60819933e-006, 4.14578244e-006, 0.000978108612, -1.00000548, 5.42285852e-006, 1.00001419, 0.000981682679))
  633. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  634. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  635. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299727619, 0.0938428044, -0.50884378, -1.00001335, -0.000750854961, 0.000798106659, -0.000748435268, 1.00001419, -3.9473729e-005, -0.00078724511, -4.33196656e-005, -1.00000489))
  636. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  637. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  638. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907122493, -0.589242876, 0.693980336, -0.000183731318, 0.000967702304, -1.0000056, -1.00001621, -0.000160995871, 0.000194984023, -0.000158196315, 1.0000155, 0.000971427537))
  639. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  640. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  641. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199534744, 0.0988815427, -0.509330392, -1.00001299, -0.000712285866, 0.000798612367, -0.000709696556, 1.00001669, -3.98241609e-005, -0.000786998775, -4.39223732e-005, -1.00000632))
  642. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  643. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.400000006, 1))
  644. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.799303651, -0.908592105, -1.00362706, 1.00001395, 0.000153915258, -4.6310015e-006, 5.23263589e-006, 0.000976487354, -1.00000632, -0.000151688233, 1.00001371, 0.000979222939))
  645. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  646. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00128816999, -1.60201311, -0.4031986, 1.00001562, 0.000636678771, 4.18163836e-007, -0.00063414732, 1.00001526, -1.00536208e-005, -1.13979913e-005, 1.33668163e-005, 1.00000679))
  647. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  648. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199731752, 0.098852694, -0.50908637, -1.00000739, -0.000707935775, 0.000799344387, -0.000706533436, 1.00000858, -4.07520311e-005, -0.000792726409, -4.30105902e-005, -1.00000381))
  649. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  650. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.20000005, 0.400000006, 1))
  651. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0250843167, -0.907747626, -0.504933119, 0.707379878, 0.706851602, -1.55763701e-006, -0.000578321517, 0.000582971668, -1.00000548, -0.706849933, 0.707380116, 0.000828789547))
  652. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.200000003, 1.39999998))
  653. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00026012212, -1.01827812, -0.804019034, 1.00001645, -0.000130573986, -7.21169636e-006, 3.86871397e-006, 0.000980576966, -1.00000584, 0.000133061782, 1.00001562, 0.0009841274))
  654. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  655. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.20000005, 0.400000006, 1))
  656. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0245662332, -0.907603741, -0.505031109, 0.706779003, -0.707449973, -6.0540624e-006, 0.000398267992, 0.000394719682, -1.00000596, 0.707451046, 0.706781209, 0.000556016807))
  657. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.03000009, 0.399999976))
  658. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907289028, -1.12852693, 0.438767374, -0.000183773227, 0.000967266213, -1.00000429, 0.707258582, -0.706969976, -0.00082231313, -0.706970751, -0.707260907, -0.000549581368))
  659. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  660. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  661. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.410218209, -0.101422906, -1.70271611, 1.00001407, -0.000116868643, -7.47013837e-006, 3.59583646e-006, 0.000979712699, -1.00000596, 0.000119374599, 1.0000155, 0.000983219594))
  662. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  663. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.40000033, 0.400000006, 2))
  664. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000263771042, -0.908201456, -0.504464507, 1.00001395, 0.000311617507, -2.92668119e-006, 7.83242285e-006, 0.000973192975, -1.00000572, -0.000309068011, 1.00001466, 0.000976944924))
  665. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.00000024, 0.400000006, 0.200000003))
  666. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00110492157, -0.909371614, -1.60273719, 1.00001264, 0.000279047061, -1.9390136e-006, 8.68085772e-006, 0.000974544266, -1.00000536, -0.000276665669, 1.00001454, 0.000977654592))
  667. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  668. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408359528, 0.0012982809, -1.7021513, -0.00018467661, 0.000160364245, -1.00000656, -1.00001347, -0.000782414572, 0.000195602421, -0.000779847265, 1.00001562, 0.00016403709))
  669. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  670. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  671. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.29961133, 0.098916173, -0.409097791, -1.00001347, -0.00073609408, 0.000798613299, -0.000733784633, 1.00001526, -4.01367579e-005, -0.000788242556, -4.39219111e-005, -1.00000489))
  672. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  673. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  674. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000170575455, -0.205328822, 0.404237509, 1.00001431, -2.93652993e-005, -6.00423664e-006, 3.1858217e-005, 1.00001514, 2.55661689e-006, -4.92343679e-006, 6.93125003e-007, 1.00000715))
  675. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.52999997, 0.280000031))
  676. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.90988028, -2.26712513, 0.43881011, 0.000178916845, -0.000976026698, 1.00000656, 0.000644398155, 1.0000149, 0.00097971526, -1.00001287, 0.000641702907, 0.000190655235))
  677. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  678. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000036, 0.400000006, 0.200000003))
  679. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000301065855, -0.907326341, 0.394113183, 1.00001264, 0.000219119946, -3.99257988e-006, 5.74812293e-006, 0.000974533614, -1.0000056, -0.000216827029, 1.00001323, 0.000977361924))
  680. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  681. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000033, 0.400000006, 1))
  682. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.797973156, -0.908703923, -1.00366509, 1.00001431, 0.00015455368, -4.91179526e-006, 5.94742596e-006, 0.000977468793, -1.00000572, -0.00015201536, 1.00001562, 0.000981114688))
  683. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  684. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299760103, 0.0987362862, -0.608552217, -1.00001216, -0.00074190693, 0.000798386056, -0.000739464769, 1.00001621, -4.01304933e-005, -0.000787522178, -4.40061267e-005, -1.00000489))
  685. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  686. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  687. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.411023796, -0.0998572111, -0.105457783, 1.00000858, -0.000118796015, -7.11577013e-006, -1.00350007e-006, 0.000979423639, -1.00000298, 0.000120172976, 1.00000751, 0.000981247402))
  688. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  689. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1, 0.399999976, 1))
  690. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.805624723, 0.0010347357, -1.11703897, -3.82654835e-005, -1.00001407, 9.31364957e-006, -1.00001085, 3.59397382e-005, 0.00018603541, -0.000175579917, -1.23511036e-005, -1.00000525))
  691. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=47260990 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  692. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  693. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000481864437, -0.509588242, -1.00372601, 1.00001538, -7.28124287e-005, -5.79468906e-006, 4.5937486e-006, 0.00097955449, -1.00000536, 7.51484185e-005, 1.00001335, 0.000982906553))
  694. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.51999998, 0.200000003))
  695. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909217715, -1.32629752, 0.740073442, -0.000506510492, -0.000731322682, 1.00000596, 0.185139328, 0.982726574, 0.000813990133, -0.982724547, 0.185137525, -0.000351377763))
  696. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  697. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  698. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399465621, 0.0988274217, -0.508910418, -1.00001621, -0.00072077557, 0.000798077323, -0.000717836665, 1.00001597, -3.93234986e-005, -0.000785889104, -4.40764561e-005, -1.00000715))
  699. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  700. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  701. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408609033, -3.16346996e-005, -0.104699254, -0.00018467661, 0.000160364245, -1.00000656, -1.00001347, -0.000782414572, 0.000195602421, -0.000779847265, 1.00001562, 0.00016403709))
  702. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  703. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  704. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.26521695e-006, -0.204554379, -0.403393865, 1.00001633, -2.70886812e-005, -5.62751666e-006, 2.96542421e-005, 1.00001633, 2.61275454e-006, -5.64241782e-006, 1.24590406e-006, 1.00000632))
  705. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  706. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.403161108, -1.60239661, 0.000161290169, 1.00001264, 0.000175946392, -2.01677904e-006, -0.000173590612, 1.00001562, -2.89516447e-006, -8.4200874e-006, 6.05697551e-006, 1.00000584))
  707. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  708. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.906871915, -0.598724127, 0.693596721, 0.000180182047, -0.000970262277, 1.00000572, 1.00001156, 0.000159452204, -0.000190960243, -0.000156848924, 1.0000149, 0.000973821094))
  709. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  710. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  711. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299232125, 0.0987557769, -0.609037638, -1.00001407, -0.00073261233, 0.000797974877, -0.000730023719, 1.00001633, -4.03744634e-005, -0.000786357559, -4.43407844e-005, -1.00000703))
  712. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  713. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  714. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907090664, -0.599186718, 0.693642259, -0.000180439558, 0.000969749701, -1.00000298, -1.00000799, -0.000158526702, 0.000185948797, -0.000157029601, 1.00000727, 0.00097168918))
  715. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  716. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  717. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404356569, -0.204966605, 0.100105643, 1.00001252, -5.44940121e-005, -6.89690933e-006, 5.70397824e-005, 1.00001705, 2.57462489e-006, -4.47314233e-006, 1.24017606e-006, 1.00000679))
  718. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  719. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404262483, -0.20504421, 0.100039005, 1.00000858, -3.06568108e-005, -5.42029738e-006, 3.20265535e-005, 1.00000858, 2.40136615e-006, -7.11530447e-007, -5.73248144e-007, 1.00000346))
  720. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  721. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299393892, 0.0989627838, -0.409559727, -1.00000691, -0.000743188779, 0.000797930639, -0.000741921831, 1.00000679, -3.76910502e-005, -0.000792308711, -4.01426187e-005, -1.00000322))
  722. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  723. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  724. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408447564, -0.101475477, -1.70209479, 1.00001419, -0.000134690898, -7.26059079e-006, 3.67872417e-006, 0.0009805765, -1.00000584, 0.000137103489, 1.00001466, 0.000983758247))
  725. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  726. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.73000002, 0.200000003))
  727. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907524228, -1.20503569, 0.798778057, 0.00109311473, 0.000592196069, -1.00000536, -0.162362024, 0.986745417, 0.000412049121, 0.986743271, 0.16236417, 0.00116449408))
  728. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  729. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  730. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.40543744, -1.60244513, 0.000274538994, 1.00001454, 0.000154701062, -4.85824421e-006, -0.000152137829, 1.00001419, -3.30998137e-006, -6.46850094e-006, 6.77695698e-006, 1.00000548))
  731. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  732. Partweld=weld(m1,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0011387947, -1.6027776, 0.40459168, 1.00001073, 0.000616190489, -2.90106982e-007, -0.000613840879, 1.00001478, -1.06864109e-005, -1.02804042e-005, 1.39890017e-005, 1.00000548))
  733. effectPartA=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Lime green","effectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  734. effectPartweldA=weld(m1,HandleA,effectPartA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.887668133, -2.5396328, 0.0243880004, 0.00645164261, -0.00174338894, -0.999980927, -0.00234994525, 1.0000031, -0.00175679184, 0.999983549, 0.00236248318, 0.00644207839))
  735. mesh("BlockMesh",effectPartA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  736.  
  737. HandleB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.01999998, 0.210000008, 0.200000003))
  738. HandleBweld=weld(m1,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0046775816, 0.949686229, 0.0176936388, -0.00645163655, -0.00235004048, -0.999983549, 0.00174336543, 1.00000298, -0.00236257887, 0.999980927, -0.00175676902, -0.00644207001))
  739. BarrelB2=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB2",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  740. BarrelB2weld=weld(m1,HandleB,BarrelB2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300408095, 0.692719996, -0.509504735, -1.00001335, -0.000750854961, 0.000798153225, -0.000748434919, 1.00001419, -3.94737071e-005, -0.000787257683, -4.33192072e-005, -1.00000477))
  741. mesh("CylinderMesh",BarrelB2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  742. BarrelB1=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,2,"Really black","BarrelB1",Vector3.new(0.400000036, 0.400000006, 0.400000036))
  743. BarrelB1weld=weld(m1,HandleB,BarrelB1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299252003, 0.692616761, -0.509054899, -1.00001335, -0.000750854961, 0.000798153225, -0.000748434919, 1.00001419, -3.94737071e-005, -0.000787257683, -4.33192072e-005, -1.00000477))
  744. mesh("CylinderMesh",BarrelB1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  745. HitboxB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Bright blue","HitboxB",Vector3.new(0.400000036, 3.60000014, 2.39999986))
  746. HitboxBweld=weld(m1,HandleB,HitboxB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.908759534, 0.703636348, 0.00557128899, -0.000180528034, 0.000492044725, -1.00000596, 0.000569518423, -1.00001502, -0.000495452434, -1.00001419, -0.000572146848, 0.000191224739))
  747. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.400000006, 1))
  748. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.799303472, -0.908591747, -1.00362718, 1.00001395, 0.000153915724, -4.64590266e-006, 5.19631431e-006, 0.000976487354, -1.00000632, -0.000151687767, 1.00001371, 0.00097922259))
  749. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.20000005, 0.400000006, 1))
  750. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0245668888, -0.907603383, -0.505031884, 0.706778944, -0.707449973, -6.10761344e-006, 0.000398212112, 0.000394719798, -1.00000584, 0.707450986, 0.706781209, 0.000555989332))
  751. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  752. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408528328, -0.099937439, -0.104618132, 1.00000858, -0.000118795549, -7.155817e-006, -1.06124207e-006, 0.000979423639, -1.00000298, 0.000120173208, 1.00000751, 0.000981247285))
  753. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  754. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000033, 0.400000006, 1))
  755. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.797973275, -0.908704698, -1.00366509, 1.00001431, 0.000154554145, -4.88338992e-006, 5.96418977e-006, 0.000977469143, -1.0000056, -0.000152014894, 1.00001562, 0.000981114572))
  756. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1, 0.399999976, 1))
  757. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.805624723, 0.00103469379, -1.11703908, -3.82659491e-005, -1.00001407, 9.31398426e-006, -1.00001085, 3.59397382e-005, 0.000186074059, -0.000175646041, -1.23508289e-005, -1.00000525))
  758. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=47260990 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  759. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  760. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299232066, 0.0987558365, -0.609038413, -1.00001407, -0.00073261233, 0.000798027497, -0.000730023254, 1.00001633, -4.03744416e-005, -0.000786346383, -4.43402678e-005, -1.00000703))
  761. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  762. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.25999999, 0.350000024))
  763. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.91731137, -2.18087292, -0.496139199, 0.00409409357, -0.000555868319, -0.999997139, 0.147052303, 0.989143372, 5.43643837e-005, 0.989133179, -0.147049159, 0.00411988329))
  764. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  765. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  766. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399172783, 0.0989043713, -0.509498179, -1.00001204, -0.000703486265, 0.000799092464, -0.000700912089, 1.00001681, -4.01651232e-005, -0.000787637196, -4.42783348e-005, -1.0000056))
  767. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  768. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.25999999, 0.350000024))
  769. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.914236963, -2.1367321, -0.495460212, -0.00204890687, -0.00018255625, 1.00000417, -0.148186058, 0.988973975, -0.000117666787, -0.988970339, -0.1481888, -0.00204299157))
  770. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  771. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  772. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299252391, 0.093826592, -0.509284258, -1.00001144, -0.000764548895, 0.000798338093, -0.000762129319, 1.00001478, -3.82986473e-005, -0.00078737177, -4.20831566e-005, -1.00000596))
  773. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  774. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.03000009, 0.399999976))
  775. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.901965261, -1.12029111, 0.437979937, 0.000185132958, -0.000973253162, 1.00000429, -0.706970334, -0.707261264, -0.000552919228, 0.70725894, -0.706969678, -0.000827577431))
  776. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  777. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  778. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408359528, 0.00129809976, -1.7021513, -0.000184718519, 0.000160364682, -1.00000656, -1.00001347, -0.000782414223, 0.000195648521, -0.000779846567, 1.00001562, 0.000164036988))
  779. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  780. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  781. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000170605257, -0.205328822, 0.404237509, 1.00001419, -2.93652993e-005, -5.99445775e-006, 3.18586826e-005, 1.00001514, 2.55639861e-006, -4.91691753e-006, 6.92928552e-007, 1.00000715))
  782. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.52999997, 0.220000029))
  783. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.91519177, -2.26471281, 0.461175263, -0.000178966671, 0.000981012941, -1.00000656, 0.000645016553, 1.0000149, 0.00098470191, 1.00001276, -0.000642319443, -0.000190668274))
  784. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  785. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  786. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.906913102, -0.588714838, 0.693581998, 0.000180289615, -0.000970158377, 1.00000548, 1.00001574, 0.000149209984, -0.000191223342, -0.00014643115, 1.00001574, 0.000973634655))
  787. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.24000001, 1, 1))
  788. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  789. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.405437291, -1.60244513, 0.000274419785, 1.00001454, 0.000154701294, -4.88199294e-006, -0.000152137363, 1.00001419, -3.31031515e-006, -6.43962994e-006, 6.77669505e-006, 1.00000548))
  790. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  791. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00113866478, -1.6027776, 0.404592514, 1.00001061, 0.000616190257, -3.46451998e-007, -0.000613840297, 1.00001478, -1.06866237e-005, -1.02417544e-005, 1.39885296e-005, 1.00000536))
  792. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  793. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404262424, -0.20504421, 0.100039959, 1.00000846, -3.0656578e-005, -5.4622069e-006, 3.20267864e-005, 1.00000858, 2.40091322e-006, -6.8731606e-007, -5.73520992e-007, 1.00000346))
  794. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.22000003))
  795. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404356599, -0.204966545, 0.100106478, 1.00001252, -5.44937793e-005, -6.91460446e-006, 5.70402481e-005, 1.00001705, 2.57440661e-006, -4.49735671e-006, 1.23955306e-006, 1.00000668))
  796. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  797. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299393922, 0.0989626646, -0.409559727, -1.00000691, -0.000743188895, 0.00079791341, -0.000741921482, 1.00000679, -3.76913777e-005, -0.000792282633, -4.01421858e-005, -1.00000322))
  798. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  799. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.51999998, 0.200000003))
  800. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.90921855, -1.32629752, 0.740073383, -0.000506497454, -0.000731322798, 1.00000596, 0.185139298, 0.982726574, 0.000813986757, -0.982724547, 0.18513751, -0.000351361465))
  801. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  802. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.52999997, 0.280000031))
  803. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909879923, -2.26712513, 0.438809812, 0.00017895503, -0.00097602664, 1.00000656, 0.000644398388, 1.0000149, 0.00097971491, -1.00001276, 0.000641702674, 0.000190669671))
  804. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  805. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  806. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.23727727e-006, -0.204554379, -0.403393984, 1.00001621, -2.70886812e-005, -5.65685332e-006, 2.96544749e-005, 1.00001633, 2.61206878e-006, -5.59724867e-006, 1.245563e-006, 1.00000632))
  807. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  808. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907090247, -0.599186599, 0.693642378, -0.000180454925, 0.000969750108, -1.00000274, -1.00000799, -0.000158526935, 0.000186014455, -0.000157029135, 1.00000727, 0.000971688889))
  809. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  810. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.00000024, 0.400000006, 0.200000003))
  811. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0011047991, -0.909371316, -1.60273719, 1.00001264, 0.000279047526, -1.98138878e-006, 8.68085772e-006, 0.000974544324, -1.00000525, -0.000276665436, 1.00001454, 0.000977653777))
  812. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.73000002, 0.200000003))
  813. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907524049, -1.20503545, 0.798777163, 0.0010931408, 0.000592196302, -1.00000536, -0.162362009, 0.986745417, 0.000412061694, 0.986743271, 0.16236417, 0.00116454251))
  814. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  815. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  816. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408447713, -0.101475358, -1.70209467, 1.00001419, -0.000134690432, -7.24103302e-006, 3.72249633e-006, 0.000980577082, -1.00000572, 0.000137103954, 1.00001466, 0.000983757665))
  817. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  818. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00000036, 0.400000006, 0.200000003))
  819. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000301009044, -0.907326043, 0.394113243, 1.00001264, 0.000219120178, -4.0223822e-006, 5.73182479e-006, 0.000974533788, -1.00000548, -0.000216826797, 1.00001323, 0.000977361575))
  820. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1.10000002))
  821. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 1.03000009, 0.399999976))
  822. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907289147, -1.12852669, 0.438767374, -0.00018374715, 0.000967266387, -1.00000429, 0.707258463, -0.706969976, -0.000822364353, -0.706970751, -0.707260907, -0.000549584627))
  823. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  824. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.210000008, 0.200000003, 1.01999998))
  825. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.403161228, -1.60239661, 0.00016105175, 1.00001264, 0.000175946858, -2.0400621e-006, -0.000173590379, 1.00001562, -2.89538093e-006, -8.40704888e-006, 6.05655987e-006, 1.00000584))
  826. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.40000033, 0.400000006, 2))
  827. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000263767317, -0.908201516, -0.504464507, 1.00001383, 0.000311617507, -2.98395753e-006, 7.82264397e-006, 0.000973193033, -1.00000572, -0.000309067778, 1.00001466, 0.000976944459))
  828. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  829. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.29961133, 0.0989161134, -0.409097672, -1.00001347, -0.00073609408, 0.000798633322, -0.000733784284, 1.00001526, -4.01372054e-005, -0.00078820996, -4.39214637e-005, -1.00000489))
  830. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  831. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.01999998, 0.400000006, 1.4000001))
  832. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000481768511, -0.509589195, -1.00372601, 1.00001526, -7.28124287e-005, -5.79189509e-006, 4.616566e-006, 0.000979554607, -1.00000536, 7.51484185e-005, 1.00001335, 0.000982906204))
  833. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.200000003, 1.39999998))
  834. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00026005879, -1.01827765, -0.804019034, 1.00001645, -0.00013057352, -7.2340481e-006, 3.8719736e-006, 0.000980577315, -1.00000572, 0.000133062014, 1.00001562, 0.000984127051))
  835. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  836. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.810000002, 0.200000003))
  837. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299760103, 0.0987362266, -0.608553171, -1.00001216, -0.000741907046, 0.000798383728, -0.00073946442, 1.00001621, -4.01305915e-005, -0.000787523109, -4.40057593e-005, -1.00000489))
  838. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.459999979))
  839. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  840. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.906871676, -0.598724127, 0.693596601, 0.000180229079, -0.000970262452, 1.0000056, 1.00001156, 0.000159452669, -0.000190939289, -0.000156848459, 1.0000149, 0.000973820512))
  841. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  842. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  843. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.39946568, 0.0988273621, -0.508911014, -1.00001621, -0.000720775686, 0.000798081979, -0.000717836549, 1.00001597, -3.93237133e-005, -0.000785900746, -4.40758813e-005, -1.00000691))
  844. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  845. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  846. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.41021803, -0.101422787, -1.70271611, 1.00001407, -0.000116868643, -7.4817799e-006, 3.60608101e-006, 0.000979712931, -1.00000584, 0.000119374832, 1.0000155, 0.000983219245))
  847. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  848. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  849. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.907122374, -0.589242816, 0.693980396, -0.000183770433, 0.000967702479, -1.00000548, -1.00001621, -0.000160996104, 0.000194966327, -0.000158196082, 1.0000155, 0.000971427246))
  850. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  851. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000036, 0.800000012, 0.400000036))
  852. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299727648, 0.0938428044, -0.50884366, -1.00001335, -0.000750854961, 0.000798153225, -0.000748434919, 1.00001419, -3.94737071e-005, -0.000787257683, -4.33192072e-005, -1.00000477))
  853. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  854. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.22000003, 0.400000006))
  855. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.411023825, -0.099858284, -0.105457842, 1.00000858, -0.000118795549, -7.155817e-006, -1.06124207e-006, 0.000979423639, -1.00000298, 0.000120173208, 1.00000751, 0.000981247285))
  856. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  857. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.20000005, 0.400000006, 1))
  858. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0250843763, -0.907747686, -0.504933, 0.707379818, 0.706851602, -1.52178109e-006, -0.000578382052, 0.000582971785, -1.00000536, -0.706849813, 0.707380116, 0.000828784425))
  859. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 1.01999998, 0.400000006))
  860. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.408609033, -3.16593796e-005, -0.104699194, -0.000184718519, 0.000160364682, -1.00000656, -1.00001347, -0.000782414223, 0.000195648521, -0.000779846567, 1.00001562, 0.000164036988))
  861. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  862. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  863. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199732736, 0.0988526344, -0.50908637, -1.00000739, -0.000707935542, 0.000799368601, -0.000706533086, 1.00000858, -4.07522421e-005, -0.00079268869, -4.30101354e-005, -1.00000381))
  864. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  865. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.810000002, 0.400000006))
  866. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199534684, 0.0988815427, -0.509331346, -1.00001299, -0.000712285866, 0.000798684079, -0.000709696091, 1.00001669, -3.98242555e-005, -0.000787008554, -4.39219075e-005, -1.0000062))
  867. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 1, 0.459999979))
  868. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.200000003, 0.210000008))
  869. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00128802098, -1.60201311, -0.403198838, 1.00001562, 0.000636678771, 4.25148755e-007, -0.00063414732, 1.00001526, -1.0053951e-005, -1.13518909e-005, 1.33664789e-005, 1.00000679))
  870. Part=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,0.5,"Bright blue","Part",Vector3.new(1, 0.400000006, 0.99999994))
  871. Partweld=weld(m1,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000316445716, -1.11789131, -0.803969443, 1.0000149, -2.96742655e-006, -6.63148239e-006, 4.11458313e-006, 0.000978108728, -1.00000548, 5.42309135e-006, 1.00001419, 0.000981682329))
  872. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  873. effectpartB=part(Enum.FormFactor.Custom,m1,Enum.Material.SmoothPlastic,0,1,"Lime green","effectpart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  874. effectpartBweld=weld(m1,HandleB,effectpartB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.887667835, -2.5396328, 0.0243882407, 0.00645163562, -0.00174338848, -0.999980807, -0.00234994479, 1.0000031, -0.00175679196, 0.99998343, 0.00236248295, 0.00644206908))
  875. mesh("BlockMesh",effectpartB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  876. --blade mode V
  877. BHandleA=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  878. handleAweld=weld(m2,Character["Right Arm"],BHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00464439392, 0.890144825, 2.39763689, -4.9116361e-006, -0.000711855828, -0.999999762, -1, 0.00024034064, 4.74054968e-006, 0.000240337235, 0.999999642, -0.00071185705))
  879. mesh("BlockMesh",BHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  880. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  881. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000851154327, -0.243443489, 1.80064034, -2.58627915e-006, 1, -7.99579266e-006, -1, -2.58638693e-006, -1.35781593e-005, -1.35782175e-005, 7.99576082e-006, 1.00000012))
  882. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  883. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  884. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000863552094, -0.255933762, 1.80045962, 6.18230024e-006, -1, 1.03384036e-005, 1, 6.18252443e-006, 2.16971384e-005, -2.16971966e-005, 1.03382654e-005, 1.00000012))
  885. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  886. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  887. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.71661377e-005, -0.799008369, 1.68085098e-005, -4.94010101e-006, 1, -6.99967222e-006, -1.00000012, -4.93977359e-006, 4.67893551e-005, 4.67892969e-005, 6.99990551e-006, 1.00000012))
  888. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  889. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  890. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00021314621, -0.599427223, -0.400175571, 1.53349902e-008, 1, -1.08373715e-005, 0.999999642, -5.67024472e-009, 0.000891857664, 0.000891857664, -1.08373733e-005, -0.999999702))
  891. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  892. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  893. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000226020813, -0.599549294, 0.400123954, 1.07365395e-007, -1, 6.84314591e-006, -1.00000012, -1.06840616e-007, 7.66707235e-005, -7.66706653e-005, -6.84315637e-006, -1.00000012))
  894. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  895. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  896. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000403881073, -0.69838047, 0.800340712, -2.99596968e-006, 1, -7.89992555e-006, -1, -2.99602061e-006, -6.59289071e-006, -6.59294892e-006, 7.89990372e-006, 1.00000012))
  897. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  898. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  899. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00023317337, -0.598741531, -0.4001562, -6.71329872e-008, -1, 7.83627729e-006, -1, 6.72057467e-008, 9.17859143e-006, -9.17853322e-006, -7.83628093e-006, -1.00000012))
  900. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  901. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  902. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000181674957, -0.59961319, 0.400129855, -2.05418473e-007, 1, -1.10590672e-005, 0.999999642, 2.15461569e-007, 0.000908143935, 0.000908143935, -1.10588726e-005, -0.999999702))
  903. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  904. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  905. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.43186951e-005, -0.799318314, 1.93715096e-005, 4.8664283e-006, -1, 1.09996372e-005, 0.999999642, 4.87616353e-006, 0.00088524021, -0.000885240268, 1.0995318e-005, 0.999999702))
  906. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  907. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  908. Partweld=weld(m2,BHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00043296814, -0.699325562, 0.800350547, 2.85850365e-006, -1, 1.07140386e-005, 0.999999642, 2.8678387e-006, 0.00087142986, -0.00087142986, 1.07115484e-005, 0.999999702))
  909. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  910.  
  911. BHandleB=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Handle",Vector3.new(1.00000036, 0.400000006, 2))
  912. handleBweld=weld(m2,Character["Left Arm"],BHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463676453, -0.909854889, 2.39806938, -4.9116361e-006, -0.000711855828, -0.999999762, -1, 0.00024034064, 4.74054968e-006, 0.000240337235, 0.999999642, -0.00071185705))
  913. mesh("BlockMesh",BHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25, 1))
  914. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.51000005, 1.60000002))
  915. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000851407647, -0.243443489, 1.80064046, -2.58627915e-006, 1, -7.99579266e-006, -1, -2.58638693e-006, -1.35781593e-005, -1.35782175e-005, 7.99576082e-006, 1.00000012))
  916. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  917. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.490000039, 1.60000002))
  918. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00086325407, -0.255933762, 1.80045962, 6.18230024e-006, -1, 1.03384036e-005, 1, 6.18252443e-006, 2.16971384e-005, -2.16971966e-005, 1.03382654e-005, 1.00000012))
  919. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  920. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  921. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.74045563e-005, -0.799009323, 1.68085098e-005, -4.94010101e-006, 1, -6.99967222e-006, -1.00000012, -4.93977359e-006, 4.67893551e-005, 4.67892969e-005, 6.99990551e-006, 1.00000012))
  922. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  923. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  924. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000212922692, -0.59942627, -0.400175571, 1.53349902e-008, 1, -1.08373715e-005, 0.999999642, -5.67024472e-009, 0.000891857664, 0.000891857664, -1.08373733e-005, -0.999999702))
  925. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  926. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  927. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000226154923, -0.59954834, 0.400123894, 1.07365395e-007, -1, 6.84314591e-006, -1.00000012, -1.06840616e-007, 7.66707235e-005, -7.66706653e-005, -6.84315637e-006, -1.00000012))
  928. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  929. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  930. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000403672457, -0.69838047, 0.800340652, -2.99596968e-006, 1, -7.89992555e-006, -1, -2.99602061e-006, -6.59289071e-006, -6.59294892e-006, 7.89990372e-006, 1.00000012))
  931. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  932. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  933. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000233188272, -0.598742485, -0.40015614, -6.71329872e-008, -1, 7.83627729e-006, -1, 6.72057467e-008, 9.17859143e-006, -9.17853322e-006, -7.83628093e-006, -1.00000012))
  934. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  935. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  936. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000182256103, -0.599612236, 0.400129795, -2.05418473e-007, 1, -1.10590672e-005, 0.999999642, 2.15461569e-007, 0.000908143935, 0.000908143935, -1.10588726e-005, -0.999999702))
  937. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  938. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.600000024, 0.399999976))
  939. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.47508287e-005, -0.799318314, 1.93715096e-005, 4.8664283e-006, -1, 1.09996372e-005, 0.999999642, 4.87616353e-006, 0.00088524021, -0.000885240268, 1.0995318e-005, 0.999999702))
  940. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  941. Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,1,"Bright blue","Part",Vector3.new(0.400000006, 0.400000006, 0.399999976))
  942. Partweld=weld(m2,BHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000433221459, -0.699325562, 0.800350487, 2.85850365e-006, -1, 1.07140386e-005, 0.999999642, 2.8678387e-006, 0.00087142986, -0.00087142986, 1.07115484e-005, 0.999999702))
  943. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.239999995, 1, 1))
  944.  
  945. function MagicBlockA(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  946. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  947. if Type~=3 and Type~=4 then
  948. prt.Anchored=true
  949. end
  950. prt.CFrame=cframe
  951. local msh=mmesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  952. game:GetService("Debris"):AddItem(prt,5)
  953. coroutine.resume(coroutine.create(function(Part,Mesh,dur,ceef)
  954. local wld=nil
  955. if dur==3 or dur==4 then
  956. wld=wweld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  957. end
  958. for i=0,1,delay do
  959. swait()
  960. if dur==1 then
  961. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  962. elseif dur==2 then
  963. Part.CFrame=Part.CFrame
  964. elseif dur==3 then
  965. wld.C0=wld.C0*euler(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  966. elseif dur==4 then
  967. wld.C0=ceef
  968. end
  969. Part.Transparency=i
  970. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  971. end
  972. Part.Parent=nil
  973. end),prt,msh,Type,cframe)
  974. end
  975.  
  976. function MagicBlockB(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  977. local prt=pppart(3,workspace,0,0,brickcolor,"Effect",vt())
  978. if Type~=3 and Type~=4 then
  979. prt.Anchored=true
  980. end
  981. prt.CFrame=cframe
  982. local msh=mmesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  983. game:GetService("Debris"):AddItem(prt,5)
  984. coroutine.resume(coroutine.create(function(Part,Mesh,dur,ceef)
  985. local wld=nil
  986. if dur==3 or dur==4 then
  987. wld=wweld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  988. end
  989. for i=0,1,delay do
  990. swait()
  991. if dur==1 then
  992. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  993. elseif dur==2 then
  994. Part.CFrame=Part.CFrame
  995. elseif dur==3 then
  996. wld.C0=wld.C0*euler(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)
  997. elseif dur==4 then
  998. wld.C0=ceef
  999. end
  1000. Part.Transparency=i
  1001. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1002. end
  1003. Part.Parent=nil
  1004. end),prt,msh,Type,cframe)
  1005. end
  1006.  
  1007. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1008. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1009. prt.Anchored=true
  1010. prt.CFrame=cframe
  1011. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1012. game:GetService("Debris"):AddItem(prt,2)
  1013. coroutine.resume(coroutine.create(function(Part,Mesh)
  1014. for i=0,1,delay do
  1015. swait()
  1016. Part.CFrame=Part.CFrame
  1017. Part.Transparency=i
  1018. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1019. end
  1020. Part.Parent=nil
  1021. end),prt,msh)
  1022. end
  1023.  
  1024. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1025. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1026. prt.Anchored=true
  1027. prt.CFrame=cframe
  1028. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1029. game:GetService("Debris"):AddItem(prt,2)
  1030. coroutine.resume(coroutine.create(function(Part,Mesh)
  1031. for i=0,1,delay do
  1032. swait()
  1033. Part.CFrame=Part.CFrame
  1034. Part.Transparency=i
  1035. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1036. end
  1037. Part.Parent=nil
  1038. end),prt,msh)
  1039. end
  1040.  
  1041. function LaserBarrage(Prt,Parent)
  1042. attack=true
  1043. --so("BeamLockon",Prt,1,1)
  1044. local efprt=part(3,Parent,"Neon",0,0.5,BrickColor.new("Bright blue"),"Effect",vt(0.2,0.2,0.2))
  1045. efprt.Anchored=true
  1046. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  1047. spread=vt((math.random(-1,0)+math.random())*2,(math.random(-1,0)+math.random())*2,(math.random(-1,0)+math.random())*2)*(Prt.Position-Mouse.Hit.p).magnitude/100
  1048. --spread=vt(0,0,0)
  1049. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  1050. game:GetService("Debris"):AddItem(Part,6)
  1051. local TheHit=Mouse.Hit.p
  1052. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  1053. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  1054. so("Elec",Prt,0.2,1)
  1055. local tefprt=part(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  1056. tefprt.CFrame=cf(pos)
  1057. MagicCircle(BrickColor.new("Bright blue"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  1058. so("Elec",tefprt,0.3,1)
  1059. game:GetService("Debris"):AddItem(tefprt,3)
  1060. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  1061. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1062. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1063. Damagefunc(efprt,hit,4,13,math.random(40,60),"Normal",RootPart,.2,1)
  1064. end
  1065. end
  1066. local mag=(Prt.Position-pos).magnitude
  1067. MagicCylinder(BrickColor.new("Bright blue"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  1068. Part.Parent=nil
  1069. end),efprt,efmsh,spread)
  1070. end
  1071.  
  1072. function Shoot1()
  1073. attack = true
  1074. for i = 0,1,0.1 do
  1075. swait()
  1076. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-10)),.3)
  1077. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(10)),.3)
  1078. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1079. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1080. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1081. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-10)),.3)
  1082. end
  1083. so("http://www.roblox.com/asset/?id=268192519",BarrelA1,1,.9)
  1084. so("http://www.roblox.com/asset/?id=268192519",BarrelA2,1,.9)
  1085. for i = 0,1,0.1 do
  1086. swait()
  1087. LaserBarrage(BarrelA1,m)
  1088. LaserBarrage(BarrelA2,m)
  1089. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-5)),.3)
  1090. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(5)),.3)
  1091. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(120), math.rad(20), math.rad(0)),.3)
  1092. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1093. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1094. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.3)
  1095. end
  1096. attack = false
  1097. end
  1098.  
  1099. function Shoot2()
  1100. attack = true
  1101. for i = 0,1,0.1 do
  1102. swait()
  1103. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1104. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1105. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.3)
  1106. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(90), math.rad(-20), math.rad(10)),.3)
  1107. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1108. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1109. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1110. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  1111. end
  1112. so("http://www.roblox.com/asset/?id=268192519",BarrelB1,1,.9)
  1113. so("http://www.roblox.com/asset/?id=268192519",BarrelB2,1,.9)
  1114. for i = 0,1,0.1 do
  1115. swait()
  1116. LaserBarrage(BarrelB1,m)
  1117. LaserBarrage(BarrelB2,m)
  1118. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1119. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1120. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(10), math.rad(20)),.3)
  1121. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(120), math.rad(-20), math.rad(10)),.3)
  1122. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1123. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1124. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1125. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  1126. end
  1127. attack = false
  1128. end
  1129.  
  1130. function PlaySound(id, pitch, parent, volume)
  1131. if volume == nil then volume=tonumber(1) end
  1132. local epicsound = Instance.new("Sound")
  1133. epicsound.Name = "Epicosound"
  1134. epicsound.SoundId = "rbxassetid://"..id
  1135. epicsound.Volume = volume
  1136. epicsound.Pitch = pitch
  1137. epicsound.Looped = false
  1138. epicsound.Parent = parent
  1139. wait()
  1140. epicsound:Play()
  1141. end
  1142.  
  1143. Slashes = {200633108, 200633148, 200633196,200633281}
  1144.  
  1145. Slash = function(part)
  1146. local slashes = math.random(1, #Slashes)
  1147. PlaySound(Slashes[slashes], 1, part)
  1148. end
  1149.  
  1150. function attackone()
  1151. attack = true
  1152. local con=HitboxA.Touched:connect(function(hit) Damagefunc(HitboxA,hit,15,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1153. for i = 0,1,0.1 do
  1154. swait()
  1155. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1156. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1157. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.3)
  1158. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.3)
  1159. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1160. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1161. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1162. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1163. end
  1164. Slash(HitboxA)
  1165. for i = 0,1,0.1 do
  1166. swait()
  1167. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1168. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1169. local h = 5
  1170. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1171. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1172. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1173. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1174. scfr = blcf
  1175. elseif not scfr then
  1176. scfr = blcf
  1177. end
  1178. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1179. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1180. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-30)),.3)
  1181. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.3)
  1182. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(90), math.rad(20), math.rad(0)),.3)
  1183. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(-10), math.rad(-20)),.3)
  1184. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1185. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1186. end
  1187. scfr = nil
  1188. attack = false
  1189. con:disconnect()
  1190. end
  1191.  
  1192. function attacktwo()
  1193. attack = true
  1194. local con=HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,15,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1195. for i = 0,1,0.1 do
  1196. swait()
  1197. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1198. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1199. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.3)
  1200. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(-90)),.3)
  1201. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1202. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1203. end
  1204. Slash(HitboxB)
  1205. for i = 0,1,0.1 do
  1206. swait()
  1207. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1208. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1209. local h = 5
  1210. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1211. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1212. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1213. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1214. scfr = blcf
  1215. elseif not scfr then
  1216. scfr = blcf
  1217. end
  1218. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1219. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1220. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(10), math.rad(0)),.3)
  1221. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-80)),.3)
  1222. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1223. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1224. end
  1225. scfr = nil
  1226. attack = false
  1227. con:disconnect()
  1228. end
  1229.  
  1230. function attackthree()
  1231. attack = true
  1232. local con=HitboxA.Touched:connect(function(hit) Damagefunc(HitboxA,hit,15,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1233. for i = 0,1,0.1 do
  1234. swait()
  1235. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1236. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1237. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)),.3)
  1238. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.3)
  1239. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1240. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1241. end
  1242. Slash(HitboxA)
  1243. for i = 0,1,0.1 do
  1244. swait()
  1245. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1246. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1247. local h = 5
  1248. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1249. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1250. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1251. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1252. scfr = blcf
  1253. elseif not scfr then
  1254. scfr = blcf
  1255. end
  1256. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1257. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1258. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(130), math.rad(80)),.3)
  1259. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(30), math.rad(-10), math.rad(-30)),.3)
  1260. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1261. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1262. end
  1263. scfr = nil
  1264. attack = false
  1265. con:disconnect()
  1266. end
  1267.  
  1268. function attackfour()
  1269. attack = true
  1270. local con=HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,15,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1271. for i = 0,1,0.1 do
  1272. swait()
  1273. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1274. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(-40)),.3)
  1275. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(0)),.3)
  1276. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-10), math.rad(0)),.3)
  1277. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(10), math.rad(0)),.3)
  1278. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(10)),.3)
  1279. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),.3)
  1280. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1281. end
  1282. Slash(HitboxB)
  1283. for i = 0,1,0.1 do
  1284. swait()
  1285. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  1286. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  1287. local h = 5
  1288. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1289. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1290. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1291. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1292. scfr = blcf
  1293. elseif not scfr then
  1294. scfr = blcf
  1295. end
  1296. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1297. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(40)),.3)
  1298. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-10)),.3)
  1299. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(30)),.3)
  1300. --RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(20), math.rad(20), math.rad(-30)),.3)
  1301. --LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(10)),.3)
  1302. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1303. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1304. end
  1305. scfr = nil
  1306. attack = false
  1307. con:disconnect()
  1308. end
  1309.  
  1310. function AerialSpin()
  1311. attack = true
  1312. Humanoid.Jump = true
  1313. local con1=HitboxA.Touched:connect(function(hit) Damagefunc(HitboxA,hit,15,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1314. local con2=HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,15,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  1315. for i = 0,1,0.1 do
  1316. swait()
  1317. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1318. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1319. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(-10)),.3)
  1320. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(10)),.3)
  1321. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1322. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1323. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1324. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1325. end
  1326. so("http://www.roblox.com/asset/?id=199145327",HitboxA,1,1)
  1327. so("http://www.roblox.com/asset/?id=199145327",HitboxA,1,1)
  1328. for i=0,0.6,.5 do
  1329. swait()
  1330. --Slash(HitboxA)
  1331. --Slash(HitboxB)
  1332. for i=0,1,0.1 do
  1333. swait()
  1334. local blcf1 = HitboxB.CFrame*CFrame.new(0,.5,0)
  1335. if scfr1 and (HitboxB.Position-scfr1.p).magnitude > .1 then
  1336. local h = 5
  1337. local a,b = Triangle((scfr1*CFrame.new(0,h/2,0)).p,(scfr1*CFrame.new(0,-h/2,0)).p,(blcf1*CFrame.new(0,h/2,0)).p)
  1338. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1339. local a,b = Triangle((blcf1*CFrame.new(0,h/2,0)).p,(blcf1*CFrame.new(0,-h/2,0)).p,(scfr1*CFrame.new(0,-h/2,0)).p)
  1340. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1341. scfr1 = blcf1
  1342. elseif not scfr then
  1343. scfr1 = blcf1
  1344. end
  1345. local blcf2 = HitboxA.CFrame*CFrame.new(0,.5,0)
  1346. if scfr2 and (HitboxA.Position-scfr2.p).magnitude > .1 then
  1347. local h = 5
  1348. local a,b = Triangle((scfr2*CFrame.new(0,h/2,0)).p,(scfr2*CFrame.new(0,-h/2,0)).p,(blcf2*CFrame.new(0,h/2,0)).p)
  1349. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1350. local a,b = Triangle((blcf2*CFrame.new(0,h/2,0)).p,(blcf2*CFrame.new(0,-h/2,0)).p,(scfr2*CFrame.new(0,-h/2,0)).p)
  1351. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1352. scfr2 = blcf2
  1353. elseif not scfr then
  1354. scfr2 = blcf2
  1355. end
  1356. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(6*i,0,0),.2)
  1357. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  1358. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(-10)),.3)
  1359. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(190), math.rad(0), math.rad(10)),.3)
  1360. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1361. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1362. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1363. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1364. end
  1365. end
  1366. con1:disconnect()
  1367. con2:disconnect()
  1368. scfr1 = nil
  1369. scfr2 = nil
  1370. attack = false
  1371. end
  1372.  
  1373. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1374. pmsh = Instance.new('SpecialMesh')
  1375. pmsh.MeshType = 'FileMesh'
  1376. pmsh.Scale = Vector3.new(2,2,2)
  1377. pmsh.MeshId = 'http://www.roblox.com/Asset/?id=9756362'
  1378. S=Instance.new("Part")
  1379. S.Material = "SmoothPlastic"
  1380. S.Name="Effect"
  1381. S.formFactor=0
  1382. S.Size=Vector3.new(2,2,2)
  1383. S.BrickColor=color
  1384. S.Reflectance = 0
  1385. S.TopSurface=0
  1386. S.BottomSurface=0
  1387. S.Transparency=0
  1388. S.Anchored=true
  1389. S.CanCollide=false
  1390. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1391. S.Parent=workspace
  1392. pmsh.Parent = S
  1393. 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)
  1394. end
  1395.  
  1396. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1397. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5))
  1398. prt.Anchored=true
  1399. prt.CFrame=cframe
  1400. prt.Touched:connect(function(hit) end)
  1401. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  1402. coroutine.resume(coroutine.create(function(Part,Mesh)
  1403. for i=0,1,0.03 do
  1404. wait()
  1405. Part.CFrame=Part.CFrame
  1406. Part.Transparency=i
  1407. Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
  1408. end
  1409. Part.Parent=nil
  1410. end),prt,msh)
  1411. end
  1412.  
  1413. function MagniDamage(Part,dmg,knock,Type,base)
  1414. for _,c in pairs(workspace:children()) do
  1415. local hum=c:findFirstChild("Humanoid")
  1416. if hum~=nil then
  1417. local head=c:findFirstChild("Torso")
  1418. if head~=nil then
  1419. local targ=head.Position-Part.Position
  1420. local mag=targ.magnitude
  1421. if mag<=dmg and c.Name~=Character.Name then
  1422. Damagefunc(Part,hum.Parent.Head,dmg,dmg,math.random(20,40),knock,RootPart,.2,1)
  1423. end
  1424. end
  1425. end
  1426. end
  1427. end
  1428.  
  1429. function DashShot()
  1430. attack = true
  1431. for i = 0,1,0.1 do
  1432. swait()
  1433. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1434. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1435. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0) * angles(math.rad(100), math.rad(10), math.rad(90)),.3)
  1436. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(100), math.rad(-10), math.rad(-90)),.3)
  1437. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(20)),.3)
  1438. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1439. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1440. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1441. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1442. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1443. end
  1444. local vel = Instance.new("BodyVelocity")
  1445. vel.Parent = Torso
  1446. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1447. vel.velocity = RootPart.CFrame.lookVector*50
  1448. so("http://roblox.com/asset/?id=200632370",Torso,1,1)
  1449. so("http://roblox.com/asset/?id=203691699",Torso,1,1)
  1450. for i = 0,1,0.1 do
  1451. swait()
  1452. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1453. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1454. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0) * angles(math.rad(100), math.rad(10), math.rad(0)),.3)
  1455. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(100), math.rad(-10), math.rad(0)),.3)
  1456. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1457. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-20)),.3)
  1458. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1459. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1460. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1461. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1462. end
  1463. local prt = Instance.new("Part",workspace)
  1464. prt.Position = BarrelA1.Position
  1465. prt.Anchored = true
  1466. prt.Size = Vector3.new(5,5,5)
  1467. prt.CanCollide = false
  1468. prt.Transparency = 1
  1469. prt.BrickColor=BrickColor.new("Bright blue")
  1470. MagniDamage(prt,10,"Knockdown",prt)
  1471. so("http://roblox.com/asset/?id=203691837",BarrelA1,1,1)
  1472. so("http://roblox.com/asset/?id=203691653",BarrelA2,1,1)
  1473. for i = 0,1,2 do
  1474. MMMAGIC(BarrelA1,1,1,1,0,-1,0,BrickColor.new("Bright blue"))
  1475. MMMAGIC(BarrelA2,1,1,1,0,-1,0,BrickColor.new("Bright blue"))
  1476. MagicRing(BrickColor.new("Bright blue"),BarrelA1.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1477. MagicRing(BrickColor.new("Bright blue"),BarrelA2.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1478. end
  1479. vel.Parent = nil
  1480. local prt2 = Instance.new("Part",workspace)
  1481. prt2.Position = BarrelB1.Position
  1482. prt2.Anchored = true
  1483. prt2.Size = Vector3.new(5,5,5)
  1484. prt2.CanCollide = false
  1485. prt2.Transparency = 1
  1486. MagniDamage(prt2,10,"Knockdown",prt2)
  1487. so("http://roblox.com/asset/?id=203691837",BarrelB1,1,1)
  1488. so("http://roblox.com/asset/?id=203691653",BarrelB2,1,1)
  1489. for i = 0,1,2 do
  1490. MMMAGIC(BarrelB1,1,1,1,0,-1,0,BrickColor.new("Bright blue"))
  1491. MMMAGIC(BarrelB2,1,1,1,0,-1,0,BrickColor.new("Bright blue"))
  1492. MagicRing(BrickColor.new("Bright blue"),BarrelB1.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1493. MagicRing(BrickColor.new("Bright blue"),BarrelB2.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,.5,.5,.5)
  1494. end
  1495. for i = 0,1,0.1 do
  1496. swait()
  1497. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1498. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1499. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0) * angles(math.rad(130), math.rad(10), math.rad(20)),.3)
  1500. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(130), math.rad(-10), math.rad(-20)),.3)
  1501. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1502. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-20)),.3)
  1503. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1504. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1505. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1506. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1507. end
  1508. attack = false
  1509. prt:remove()
  1510. prt2.Parent = nil
  1511. end
  1512. counter=0
  1513. size=1
  1514. --[[
  1515. function ChargeHammer()
  1516. local counter=0
  1517. local size=1
  1518. swait()
  1519. counter=counter+1
  1520. if counter==20 then
  1521. size=2
  1522. --so("http://www.roblox.com/asset/?id=157487812",Value,0.6,0.4)
  1523. elseif counter==60 then
  1524. size=3
  1525. --so("http://www.roblox.com/asset/?id=157487812",Value,0.6,0.5)
  1526. end
  1527. if counter%10==0 then
  1528. --[[if size==1 then
  1529. MagicRing(BrickColor.new("Bright yellow"),prt10.CFrame,1,1,1,0.5,0.5,0.5,0.1,2,prt10)
  1530. elseif size==3 then
  1531. MagicRing(BrickColor.new("Bright red"),prt10.CFrame,1,1,1,1,1,1,0.1,2,prt10)
  1532. end ------
  1533. if size==3 then
  1534. --MagicRing(BrickColor.new("Bright red"),Value.Center.CFrame,1,1,1,1,1,1,0.1,2,Value.Center)
  1535. elseif size==2 then
  1536. --MagicRing(BrickColor.new("Bright yellow"),Value.Center.CFrame,1,1,1,0.5,0.5,0.5,0.1,2,Value.Center)
  1537. end
  1538. end
  1539. if counter%5==0 then
  1540. if size==1 then
  1541. MagicBlock(BrickColor.new("Bright blue"),effectPartA.CFrame,5,5,5,1,1,1,0.1,3,effectPartA)
  1542. MagicBlock(BrickColor.new("Bright blue"),effectpartB.CFrame,5,5,5,1,1,1,0.1,3,effectpartB)
  1543. elseif size==2 then
  1544. MagicBlock(BrickColor.new("Bright blue"),effectPartA.CFrame,7,7,7,1,1,1,0.1,3,effectPartA)
  1545. MagicBlock(BrickColor.new("Bright blue"),effectpartB.CFrame,7,7,7,1,1,1,0.1,3,effectpartB)
  1546. elseif size==3 then
  1547. MagicBlock(BrickColor.new("Bright blue"),effectPartA.CFrame,9,9,9,1,1,1,0.1,3,effectPartA)
  1548. MagicBlock(BrickColor.new("Bright blue"),effectpartB.CFrame,9,9,9,1,1,1,0.1,3,effectpartB)
  1549. end
  1550. end
  1551. end]]
  1552.  
  1553.  
  1554. attacktype1 = 1
  1555.  
  1556. Mouse.Button1Down:connect(function()
  1557. if Mode == "GunMode" then
  1558. if attack==false then
  1559. if attacktype1==1 then
  1560. attack=true
  1561. attacktype1=2
  1562. Shoot1()
  1563. elseif attacktype1==2 then
  1564. attack=true
  1565. attacktype1=1
  1566. Shoot2()
  1567. end
  1568. end
  1569. end
  1570. if Mode == "BladeMode" then
  1571. if attack==false then
  1572. if attacktype==1 then
  1573. attack=true
  1574. attacktype=2
  1575. attackone()
  1576. elseif attacktype==2 then
  1577. attack=true
  1578. attacktype=3
  1579. attacktwo()
  1580. elseif attacktype==3 then
  1581. attack=true
  1582. attacktype=4
  1583. attackthree()
  1584. elseif attacktype==4 then
  1585. attack=true
  1586. attacktype=1
  1587. attackfour()
  1588. end
  1589. end
  1590. end
  1591. end)
  1592.  
  1593. function Disappear()
  1594. for _,i in pairs(m2:children()) do
  1595. if i.className=="Part" then
  1596. Part.Transparency = .5
  1597. coroutine.resume(coroutine.create(function(Part)
  1598. for i=0,1,0.1 do
  1599. swait()
  1600. Part.Transparency=i
  1601. end
  1602. Part.Transparency=1
  1603. end),i)
  1604. end
  1605. end
  1606. end
  1607.  
  1608.  
  1609. function Reappear()
  1610. for _,i in pairs(m2:children()) do
  1611. if i.className=="Part" then
  1612. Part.Transparency = 1
  1613. coroutine.resume(coroutine.create(function(Part)
  1614. for i=0,1,0.1 do
  1615. swait()
  1616. Part.Transparency=i
  1617. end
  1618. Part.Transparency=0.5
  1619. end),i)
  1620. end
  1621. end
  1622. end
  1623.  
  1624. Mouse.KeyDown:connect(function(k)
  1625. k=k:lower()
  1626. if k=='f' then
  1627. if Mode == "GunMode" then
  1628. Mode = "BladeMode"
  1629. Reappear()
  1630. so("http://www.roblox.com/asset/?id=200633077",HitboxA,1,1)
  1631. so("http://www.roblox.com/asset/?id=200633077",HitboxB,1,1)
  1632. elseif Mode == "BladeMode" then
  1633. Mode = "GunMode"
  1634. Disappear()
  1635. so("http://www.roblox.com/asset/?id=200633029",HitboxA,1,1)
  1636. so("http://www.roblox.com/asset/?id=200633029",HitboxB,1,1)
  1637. end
  1638. end
  1639. if k=='q' then
  1640. if attack == false and Mode == "BladeMode" then
  1641. AerialSpin()
  1642. end
  1643.  
  1644. end
  1645. if k=='q' then
  1646. if attack == false and Mode == "GunMode" then
  1647. DashShot()
  1648. end
  1649.  
  1650. end
  1651. end)
  1652.  
  1653.  
  1654. local sine = 0
  1655. local change = 1
  1656. local val = 0
  1657.  
  1658. local function effect()
  1659. swait()
  1660. counter=counter+1
  1661. if counter==20 then
  1662. size=2
  1663. --so("http://www.roblox.com/asset/?id=157487812",Value,0.6,0.4)
  1664. elseif counter==60 then
  1665. size=3
  1666. --so("http://www.roblox.com/asset/?id=157487812",Value,0.6,0.5)
  1667. end
  1668. if counter%10==0 then
  1669. --[[if size==1 then
  1670. MagicRing(BrickColor.new("Bright yellow"),prt10.CFrame,1,1,1,0.5,0.5,0.5,0.1,2,prt10)
  1671. elseif size==3 then
  1672. MagicRing(BrickColor.new("Bright red"),prt10.CFrame,1,1,1,1,1,1,0.1,2,prt10)
  1673. end ]]
  1674. if size==3 then
  1675. --MagicRing(BrickColor.new("Bright red"),Value.Center.CFrame,1,1,1,1,1,1,0.1,2,Value.Center)
  1676. elseif size==2 then
  1677. --MagicRing(BrickColor.new("Bright yellow"),Value.Center.CFrame,1,1,1,0.5,0.5,0.5,0.1,2,Value.Center)
  1678. end
  1679. end
  1680. if counter%5==0 then
  1681. if size==3 then
  1682. MagicBlockA(BrickColor.new("Bright blue"),effectPartA.CFrame,1.5,1.5,1.5,1,1,1,0.2,3,effectPartA)
  1683. MagicBlockB(BrickColor.new("Bright blue"),effectpartB.CFrame,1.5,1.5,1.5,1,1,1,0.2,3,effectpartB)
  1684. end
  1685. end
  1686. end
  1687.  
  1688.  
  1689. while true do
  1690. effect()
  1691. sine = sine + change
  1692. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1693. local velderp=RootPart.Velocity.y
  1694. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1695. if equipped==true or equipped==false then
  1696. if attack==false then
  1697. idle=idle+1
  1698. else
  1699. idle=0
  1700. end
  1701. if idle>=500 then
  1702. if attack==false then
  1703. --Sheath()
  1704. end
  1705. end
  1706. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1707. Anim="Jump"
  1708. if attack==false and Mode == "GunMode" then
  1709. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1710. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1711. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.3)
  1712. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.3)
  1713. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.3)
  1714. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30)),.3)
  1715. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1716. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1717. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1718. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1719. end
  1720. if attack==false and Mode == "BladeMode" then
  1721. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1722. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1723. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(40)),.3)
  1724. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)),.3)
  1725. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(30)),.3)
  1726. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-30)),.3)
  1727. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1728. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1729. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1730. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1731. end
  1732. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1733. Anim="Fall"
  1734. if attack==false and Mode == "GunMode" then
  1735. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1736. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1737. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.3)
  1738. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.3)
  1739. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1740. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1741. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1742. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1743. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1744. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1745. end
  1746. if attack==false and Mode == "BladeMode" then
  1747. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1748. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1749. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)),.3)
  1750. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-50)),.3)
  1751. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30)),.3)
  1752. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(30)),.3)
  1753. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1754. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1755. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1756. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1757. end
  1758. elseif torvel<1 and hitfloor~=nil then
  1759. Anim="Idle"
  1760. if attack==false and Mode == "GunMode" then
  1761. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-10)),.3)
  1762. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.3)
  1763. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -.5) * angles(math.rad(100), math.rad(10), math.rad(-20)),.3)
  1764. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.6, -.5) * angles(math.rad(100), math.rad(-10), math.rad(20)),.3)
  1765. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3)
  1766. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1767. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1768. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1769. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1770. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1771. end
  1772. if attack==false and Mode == "BladeMode" then
  1773. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1774. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1775. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)),.3)
  1776. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)),.3)
  1777. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1778. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.3)
  1779. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1780. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1781. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1782. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1783. end
  1784. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1785. Anim="Walk"
  1786. if attack==false and Mode == "GunMode" then
  1787. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  1788. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1789. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(10), math.rad(20)),.3)
  1790. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(-10), math.rad(-20)),.3)
  1791. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1792. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-10)),.3)
  1793. handleAweld.C0=clerp(handleAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1794. handleBweld.C0=clerp(handleBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1795. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1796. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,3,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1797. end
  1798. if attack==false and Mode == "BladeMode" then
  1799. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1800. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1801. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(45)),.3)
  1802. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-45)),.3)
  1803. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1804. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.3)
  1805. handleAweld.C0=clerp(handleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1806. handleBweld.C0=clerp(handleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1807. HitboxAweld.C0=clerp(HitboxAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1808. HitboxBweld.C0=clerp(HitboxBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1809. end
  1810. end
  1811. end
  1812. if #Effects>0 then
  1813. --table.insert(Effects,{prt,"Block1",delay})
  1814. for e=1,#Effects do
  1815. if Effects[e]~=nil then
  1816. --for j=1,#Effects[e] do
  1817. local Thing=Effects[e]
  1818. if Thing~=nil then
  1819. local Part=Thing[1]
  1820. local Mode=Thing[2]
  1821. local Delay=Thing[3]
  1822. local IncX=Thing[4]
  1823. local IncY=Thing[5]
  1824. local IncZ=Thing[6]
  1825. if Thing[1].Transparency<=1 then
  1826. if Thing[2]=="Block1" then
  1827. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1828. Mesh=Thing[1].Mesh
  1829. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1830. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1831. elseif Thing[2]=="Cylinder" then
  1832. Mesh=Thing[1].Mesh
  1833. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1834. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1835. elseif Thing[2]=="Blood" then
  1836. Mesh=Thing[7]
  1837. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1838. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1839. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1840. elseif Thing[2]=="Elec" then
  1841. Mesh=Thing[1].Mesh
  1842. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1843. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1844. elseif Thing[2]=="Disappear" then
  1845. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1846. end
  1847. else
  1848. Part.Parent=nil
  1849. table.remove(Effects,e)
  1850. end
  1851. end
  1852. --end
  1853. end
  1854. end
  1855. end
  1856. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement