zEE1222

Untitled

Oct 11th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.46 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"] Player=game:GetService("Players").LocalPlayer
  16. Character=Player.Character
  17. PlayerGui=Player.PlayerGui
  18. Backpack=Player.Backpack
  19. Torso=Character.Torso
  20. Head=Character.Head
  21. Humanoid=Character.Humanoid
  22. m=Instance.new('Model',Character)
  23. LeftArm=Character["Left Arm"]
  24. LeftLeg=Character["Left Leg"]
  25. RightArm=Character["Right Arm"]
  26. RightLeg=Character["Right Leg"]
  27. LS=Torso["Left Shoulder"]
  28. LH=Torso["Left Hip"]
  29. RS=Torso["Right Shoulder"]
  30. RH=Torso["Right Hip"]
  31. Face = Head.face
  32. Neck=Torso.Neck
  33. it=Instance.new
  34. attacktype=1
  35. vt=Vector3.new
  36. cf=CFrame.new
  37. euler=CFrame.fromEulerAnglesXYZ
  38. angles=CFrame.Angles
  39. cloaked=false
  40. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  41. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  42. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  43. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  44. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  45. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  46. RootPart=Character.HumanoidRootPart
  47. RootJoint=RootPart.RootJoint
  48. RootCF=euler(-1.57,0,3.14)
  49. attack = false
  50. attackdebounce = false
  51. deb=false
  52. equipped=true
  53. hand=false
  54. Mouse=nil
  55. combo=0
  56. mana=0
  57. trispeed=.2
  58. attackmode='none'
  59. local idle=0
  60. local Anim="Idle"
  61. local Effects={}
  62. local gun=false
  63. local shoot=false
  64. player=nil
  65. mana=0
  66.  
  67. mouse=Player:GetMouse()
  68. --save shoulders
  69. RSH, LSH=nil, nil
  70. --welds
  71. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  72. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  73. LH=Torso["Left Hip"]
  74. RH=Torso["Right Hip"]
  75. TorsoColor=Torso.BrickColor
  76. function NoOutline(Part)
  77. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  78. end
  79. player=Player
  80. ch=Character
  81. RSH=ch.Torso["Right Shoulder"]
  82. LSH=ch.Torso["Left Shoulder"]
  83. --
  84. RSH.Parent=nil
  85. LSH.Parent=nil
  86. --
  87. RW.Name="Right Shoulder"
  88. RW.Part0=ch.Torso
  89. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  90. RW.C1=cf(0, 0.5, 0)
  91. RW.Part1=ch["Right Arm"]
  92. RW.Parent=ch.Torso
  93. --
  94. LW.Name="Left Shoulder"
  95. LW.Part0=ch.Torso
  96. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  97. LW.C1=cf(0, 0.5, 0)
  98. LW.Part1=ch["Left Arm"]
  99. LW.Parent=ch.Torso
  100.  
  101. Player=game:GetService('Players').LocalPlayer
  102. Character=Player.Character
  103. Mouse=Player:GetMouse()
  104. m=Instance.new('Model',Character)
  105.  
  106.  
  107. local function weldBetween(a, b)
  108. local weldd = Instance.new("ManualWeld")
  109. weldd.Part0 = a
  110. weldd.Part1 = b
  111. weldd.C0 = CFrame.new()
  112. weldd.C1 = b.CFrame:inverse() * a.CFrame
  113. weldd.Parent = a
  114. return weldd
  115. end
  116.  
  117. function swait(num)
  118. if num==0 or num==nil then
  119. game:service'RunService'.Stepped:wait(0)
  120. else
  121. for i=0,num do
  122. game:service'RunService'.Stepped:wait(0)
  123. end
  124. end
  125. end
  126.  
  127. function nooutline(part)
  128. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  129. end
  130.  
  131. function part(formfactor,parent,material,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.new(tostring(brickcolor))
  140. fp.Name=name
  141. fp.Size=size
  142. fp.Position=Character.Torso.Position
  143. nooutline(fp)
  144. fp.Material=material
  145. fp:BreakJoints()
  146. return fp
  147. end
  148.  
  149. function mesh(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 weld(parent,part0,part1,c0,c1)
  162. local weld=it("Weld")
  163. weld.Parent=parent
  164. weld.Part0=part0
  165. weld.Part1=part1
  166. weld.C0=c0
  167. weld.C1=c1
  168. return weld
  169. end
  170.  
  171.  
  172. local function CFrameFromTopBack(at, top, back)
  173. local right = top:Cross(back)
  174. return CFrame.new(at.x, at.y, at.z,
  175. right.x, top.x, back.x,
  176. right.y, top.y, back.y,
  177. right.z, top.z, back.z)
  178. end
  179.  
  180. function Triangle(a, b, c)
  181. local edg1 = (c-a):Dot((b-a).unit)
  182. local edg2 = (a-b):Dot((c-b).unit)
  183. local edg3 = (b-c):Dot((a-c).unit)
  184. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  185. a, b, c = a, b, c
  186. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  187. a, b, c = b, c, a
  188. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  189. a, b, c = c, a, b
  190. else
  191. assert(false, "unreachable")
  192. end
  193.  
  194. local len1 = (c-a):Dot((b-a).unit)
  195. local len2 = (b-a).magnitude - len1
  196. local width = (a + (b-a).unit*len1 - c).magnitude
  197.  
  198. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  199.  
  200. local list = {}
  201.  
  202. local Color = BrickColor.new("Dark grey")
  203.  
  204. if len1 > 0.01 then
  205. local w1 = Instance.new('WedgePart', m)
  206. game:GetService("Debris"):AddItem(w1,5)
  207. w1.Material = "SmoothPlastic"
  208. w1.FormFactor = 'Custom'
  209. w1.BrickColor = BrickColor.new(Color)
  210. w1.Transparency = 0
  211. w1.Reflectance = 0
  212. w1.Material = "SmoothPlastic"
  213. w1.CanCollide = false
  214. NoOutline(w1)
  215. local sz = Vector3.new(0.2, width, len1)
  216. w1.Size = sz
  217. local sp = Instance.new("SpecialMesh",w1)
  218. sp.MeshType = "Wedge"
  219. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  220. w1:BreakJoints()
  221. w1.Anchored = true
  222. w1.Parent = workspace
  223. w1.Transparency = 0.7
  224. table.insert(Effects,{w1,"Disappear",.01})
  225. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  226. table.insert(list,w1)
  227. end
  228.  
  229. if len2 > 0.01 then
  230. local w2 = Instance.new('WedgePart', m)
  231. game:GetService("Debris"):AddItem(w2,5)
  232. w2.Material = "SmoothPlastic"
  233. w2.FormFactor = 'Custom'
  234. w2.BrickColor = BrickColor.new(Color)
  235. w2.Transparency = 0
  236. w2.Reflectance = 0
  237. w2.Material = "SmoothPlastic"
  238. w2.CanCollide = false
  239. NoOutline(w2)
  240. local sz = Vector3.new(0.2, width, len2)
  241. w2.Size = sz
  242. local sp = Instance.new("SpecialMesh",w2)
  243. sp.MeshType = "Wedge"
  244. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  245. w2:BreakJoints()
  246. w2.Anchored = true
  247. w2.Parent = workspace
  248. w2.Transparency = 0.7
  249. table.insert(Effects,{w2,"Disappear",.01})
  250. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  251. table.insert(list,w2)
  252. end
  253. return unpack(list)
  254. end
  255.  
  256.  
  257. so = function(id,par,vol,pit)
  258. coroutine.resume(coroutine.create(function()
  259. local sou = Instance.new("Sound",par or workspace)
  260. sou.Volume=vol
  261. sou.Pitch=pit or 1
  262. sou.SoundId=id
  263. swait()
  264. sou:play()
  265. game:GetService("Debris"):AddItem(sou,6)
  266. end))
  267. end
  268.  
  269. function clerp(a,b,t)
  270. local qa = {QuaternionFromCFrame(a)}
  271. local qb = {QuaternionFromCFrame(b)}
  272. local ax, ay, az = a.x, a.y, a.z
  273. local bx, by, bz = b.x, b.y, b.z
  274. local _t = 1-t
  275. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  276. end
  277.  
  278. function QuaternionFromCFrame(cf)
  279. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  280. local trace = m00 + m11 + m22
  281. if trace > 0 then
  282. local s = math.sqrt(1 + trace)
  283. local recip = 0.5/s
  284. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  285. else
  286. local i = 0
  287. if m11 > m00 then
  288. i = 1
  289. end
  290. if m22 > (i == 0 and m00 or m11) then
  291. i = 2
  292. end
  293. if i == 0 then
  294. local s = math.sqrt(m00-m11-m22+1)
  295. local recip = 0.5/s
  296. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  297. elseif i == 1 then
  298. local s = math.sqrt(m11-m22-m00+1)
  299. local recip = 0.5/s
  300. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  301. elseif i == 2 then
  302. local s = math.sqrt(m22-m00-m11+1)
  303. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  304. end
  305. end
  306. end
  307.  
  308. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  309. local xs, ys, zs = x + x, y + y, z + z
  310. local wx, wy, wz = w*xs, w*ys, w*zs
  311. local xx = x*xs
  312. local xy = x*ys
  313. local xz = x*zs
  314. local yy = y*ys
  315. local yz = y*zs
  316. local zz = z*zs
  317. 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))
  318. end
  319.  
  320. function QuaternionSlerp(a, b, t)
  321. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  322. local startInterp, finishInterp;
  323. if cosTheta >= 0.0001 then
  324. if (1 - cosTheta) > 0.0001 then
  325. local theta = math.acos(cosTheta)
  326. local invSinTheta = 1/math.sin(theta)
  327. startInterp = math.sin((1-t)*theta)*invSinTheta
  328. finishInterp = math.sin(t*theta)*invSinTheta
  329. else
  330. startInterp = 1-t
  331. finishInterp = t
  332. end
  333. else
  334. if (1+cosTheta) > 0.0001 then
  335. local theta = math.acos(-cosTheta)
  336. local invSinTheta = 1/math.sin(theta)
  337. startInterp = math.sin((t-1)*theta)*invSinTheta
  338. finishInterp = math.sin(t*theta)*invSinTheta
  339. else
  340. startInterp = t-1
  341. finishInterp = t
  342. end
  343. end
  344. 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
  345. end
  346.  
  347. --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)
  348.  
  349.  
  350. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  351. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  352. end
  353.  
  354. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  355. if hit.Parent==nil then
  356. return
  357. end
  358. h=hit.Parent:FindFirstChild("Humanoid")
  359. for _,v in pairs(hit.Parent:children()) do
  360. if v:IsA("Humanoid") then
  361. h=v
  362. end
  363. end
  364. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  365. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  366. end
  367. if hit.Parent.className=="Hat" then
  368. hit=hit.Parent.Parent:findFirstChild("Head")
  369. end
  370. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  371. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  372. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  373. return
  374. end]]
  375. -- hs(hit,1.2)
  376. c=Instance.new("ObjectValue")
  377. c.Name="creator"
  378. c.Value=game:service("Players").LocalPlayer
  379. c.Parent=h
  380. game:GetService("Debris"):AddItem(c,.5)
  381. Damage=math.random(minim,maxim)
  382. -- h:TakeDamage(Damage)
  383. blocked=false
  384. block=hit.Parent:findFirstChild("Block")
  385. if block~=nil then
  386. print(block.className)
  387. if block.className=="NumberValue" then
  388. if block.Value>0 then
  389. blocked=true
  390. if decreaseblock==nil then
  391. block.Value=block.Value-1
  392. end
  393. end
  394. end
  395. if block.className=="IntValue" then
  396. if block.Value>0 then
  397. blocked=true
  398. if decreaseblock~=nil then
  399. block.Value=block.Value-1
  400. end
  401. end
  402. end
  403. end
  404. if blocked==false then
  405. -- h:TakeDamage(Damage)
  406. h.Health=h.Health-Damage
  407. showDamage(hit.Parent,Damage,.5,BrickColor.new("Cyan"))
  408. else
  409. h.Health=h.Health-(Damage/2)
  410. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  411. end
  412. if Type=="Knockdown" then
  413. hum=hit.Parent.Humanoid
  414. hum.PlatformStand=true
  415. coroutine.resume(coroutine.create(function(HHumanoid)
  416. swait(1)
  417. HHumanoid.PlatformStand=false
  418. end),hum)
  419. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  420. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  421. local bodvol=Instance.new("BodyVelocity")
  422. bodvol.velocity=angle*knockback
  423. bodvol.P=5000
  424. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  425. bodvol.Parent=hit
  426. rl=Instance.new("BodyAngularVelocity")
  427. rl.P=3000
  428. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  429. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  430. rl.Parent=hit
  431. game:GetService("Debris"):AddItem(bodvol,.5)
  432. game:GetService("Debris"):AddItem(rl,.5)
  433. elseif Type=="Normal" then
  434. vp=Instance.new("BodyVelocity")
  435. vp.P=500
  436. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  437. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  438. if KnockbackType==1 then
  439. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  440. elseif KnockbackType==2 then
  441. vp.velocity=Property.CFrame.lookVector*knockback
  442. end
  443. if knockback>0 then
  444. vp.Parent=hit.Parent.Torso
  445. end
  446. game:GetService("Debris"):AddItem(vp,.5)
  447. elseif Type=="Up" then
  448. local bodyVelocity=Instance.new("BodyVelocity")
  449. bodyVelocity.velocity=vt(0,60,0)
  450. bodyVelocity.P=5000
  451. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  452. bodyVelocity.Parent=hit
  453. game:GetService("Debris"):AddItem(bodyVelocity,1)
  454. rl=Instance.new("BodyAngularVelocity")
  455. rl.P=3000
  456. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  457. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  458. rl.Parent=hit
  459. game:GetService("Debris"):AddItem(rl,.5)
  460. elseif Type=="Snare" then
  461. bp=Instance.new("BodyPosition")
  462. bp.P=2000
  463. bp.D=100
  464. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  465. bp.position=hit.Parent.Torso.Position
  466. bp.Parent=hit.Parent.Torso
  467. game:GetService("Debris"):AddItem(bp,1)
  468. elseif Type=="Target" then
  469. if Targetting==false then
  470. ZTarget=hit.Parent.Torso
  471. coroutine.resume(coroutine.create(function(Part)
  472. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  473. swait(5)
  474. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  475. end),ZTarget)
  476. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  477. targetgui=Instance.new("BillboardGui")
  478. targetgui.Parent=ZTarget
  479. targetgui.Size=UDim2.new(10,100,10,100)
  480. targ=Instance.new("ImageLabel")
  481. targ.Parent=targetgui
  482. targ.BackgroundTransparency=1
  483. targ.Image="rbxassetid://4834067"
  484. targ.Size=UDim2.new(1,0,1,0)
  485. cam.CameraType="Scriptable"
  486. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  487. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  488. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  489. Targetting=true
  490. RocketTarget=ZTarget
  491. for i=1,Property do
  492. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  493. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  494. swait()
  495. end
  496. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  497. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  498. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  499. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  500. end
  501. Targetting=false
  502. RocketTarget=nil
  503. targetgui.Parent=nil
  504. cam.CameraType="Custom"
  505. end
  506. end
  507. debounce=Instance.new("BoolValue")
  508. debounce.Name="DebounceHit"
  509. debounce.Parent=hit.Parent
  510. debounce.Value=true
  511. game:GetService("Debris"):AddItem(debounce,Delay)
  512. c=Instance.new("ObjectValue")
  513. c.Name="creator"
  514. c.Value=Player
  515. c.Parent=h
  516. game:GetService("Debris"):AddItem(c,.5)
  517. CRIT=false
  518. hitDeb=true
  519. AttackPos=6
  520. end
  521. end
  522.  
  523. showDamage=function(Char,Dealt,du,Color)
  524. m=Instance.new("Model")
  525. m.Name=tostring(Dealt)
  526. h=Instance.new("Humanoid")
  527. h.Health=0
  528. h.MaxHealth=0
  529. h.Parent=m
  530. c=Instance.new("Part")
  531. c.Transparency=0
  532. c.BrickColor=Color
  533. c.Name="Head"
  534. c.TopSurface=0
  535. c.BottomSurface=0
  536. c.formFactor="Plate"
  537. c.Size=Vector3.new(1,.4,1)
  538. ms=Instance.new("CylinderMesh")
  539. ms.Scale=Vector3.new(.8,.8,.8)
  540. if CRIT==true then
  541. ms.Scale=Vector3.new(1,1.25,1)
  542. end
  543. ms.Parent=c
  544. c.Reflectance=0
  545. Instance.new("BodyGyro").Parent=c
  546. c.Parent=m
  547. if Char:findFirstChild("Head")~=nil then
  548. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  549. elseif Char.Parent:findFirstChild("Head")~=nil then
  550. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  551. end
  552. f=Instance.new("BodyPosition")
  553. f.P=2000
  554. f.D=100
  555. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  556. f.position=c.Position+Vector3.new(0,3,0)
  557. f.Parent=c
  558. game:GetService("Debris"):AddItem(m,.5+du)
  559. c.CanCollide=false
  560. m.Parent=workspace
  561. c.CanCollide=false
  562. end
  563.  
  564. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","HandleA",Vector3.new(1, 0.400000155, 1.00999999))
  565. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164518356, 0.00421309471, -0.0148162842, 5.15770964e-008, 1.96895758e-006, -1, 9.63642469e-006, -0.999999881, -1.96895735e-006, -1, -9.63642469e-006, -5.1596075e-008))
  566. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,"Medium stone grey","Part",Vector3.new(0.999999821, 0.810000002, 1))
  567. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00934314728, 0.909656525, 0.200021029, 0.99999994, 3.21264488e-005, -1.37204424e-007, 1.34436931e-007, 4.68630387e-005, 0.999998927, 3.18748207e-005, -0.999999523, 4.64304903e-005))
  568. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  569. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  570. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.400030136, 0.599991322, -0.000213623047, 0.999999881, 2.39058409e-006, 3.46028912e-008, -1.21625908e-006, 0.999999523, 4.10883877e-006, -4.06064622e-008, -2.09040309e-006, 0.999994993))
  571. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  572. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419909477, -0.599978447, 0.099822998, 0.99999994, 7.54928487e-006, 1.76214101e-008, -7.29764179e-006, 0.999999046, 1.29754881e-005, -1.88143972e-008, -1.25429769e-005, 0.999998927))
  573. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  574. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.24012661, -2.51009035, 0.804786682, 1, 2.18087189e-006, 4.50439437e-008, -2.18087166e-006, 0.999999762, 3.74836827e-006, -4.50357653e-008, -3.74837009e-006, 1))
  575. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  576. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000143, 0.600000024))
  577. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00945472717, -1.29999971, 0.804782867, 0.99999994, 1.8873352e-006, 3.71787934e-008, -1.7195739e-006, 0.999999523, 3.24379926e-006, -3.80317147e-008, -2.95545533e-006, 0.999999285))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  579. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804782867, -1.2998786, 0.611018181, -2.1469468e-008, 2.95687141e-006, -0.999999285, -1.68529607e-006, 0.999999523, 3.24521534e-006, 0.99999994, 1.8530576e-006, -2.23224497e-008))
  580. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  581. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  582. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00987052917, 0.599969149, -0.405174255, 0.999991298, 3.5646633e-006, 5.82853446e-008, -3.64854418e-006, 0.999993682, 1.23275922e-005, -2.84389419e-008, -1.24717717e-005, 0.999994874))
  583. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  584. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804782867, -1.29987872, 0.588165283, -2.31810962e-008, -2.95748578e-006, 0.999999285, -1.69982729e-006, 0.999999523, 3.2458297e-006, -0.99999994, -1.86758859e-006, -2.23281198e-008))
  585. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  587. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419827461, 0.599992752, 0.0997886658, 0.999999762, 2.43251839e-006, 3.43970825e-008, -1.17431364e-006, 0.999999523, 4.18092532e-006, -4.08298391e-008, -2.01831517e-006, 0.999994636))
  588. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  589. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00995731354, -0.599978447, -0.40517807, 0.999999702, 8.59777992e-006, 1.22682096e-008, -6.24913537e-006, 0.999998569, 1.47776454e-005, -2.41907241e-008, -1.07407013e-005, 0.999989986))
  590. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.999999821, 0.210000008, 0.800000012))
  591. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0093460083, 1.00976944, 0.199998856, 0.999999404, 2.3486723e-006, 4.91613505e-009, -1.04903428e-008, -2.16248964e-006, 0.999995112, 1.25822874e-006, -0.999999523, -4.03675222e-006))
  592. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  593. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.999999821, 0.800000131, 0.600000024))
  594. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00878238678, -0.600002289, 0.804782867, 0.99999994, 1.88724323e-006, 3.71787934e-008, -1.71948193e-006, 0.999999523, 3.24379926e-006, -3.80317182e-008, -2.95545533e-006, 0.999999285))
  595. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  596. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399893761, -0.599973679, -0.00016784668, 0.99999994, 5.4103275e-006, 2.85357231e-008, -5.15868305e-006, 0.999999046, 9.29907037e-006, -2.97754301e-008, -8.86655653e-006, 0.999998927))
  597. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  598. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.190833092, -1.80008459, 0.804786682, 0.99999994, 1.88724869e-006, 3.71787934e-008, -1.71948739e-006, 0.999999523, 3.24379926e-006, -3.80317182e-008, -2.95545533e-006, 0.999999285))
  599. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  600. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036))
  601. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00928020477, 0.199999332, 1.1047821, -1, -5.1769365e-007, 2.49673747e-007, 5.17688477e-007, -0.999999762, -1.79347444e-005, 2.49683012e-007, -1.79347426e-005, 1))
  602. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=47260990 ",Vector3.new(0, 0, 0),Vector3.new(0.786000013, 0.828000009, 1.5))
  603. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  604. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.208971024, -1.80008447, 0.804786682, 0.99999994, 1.8872571e-006, 3.71787934e-008, -1.7194958e-006, 0.999999523, 3.24379926e-006, -3.80317182e-008, -2.95545533e-006, 0.999999285))
  605. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  606. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  607. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199191093, -2.51008964, 0.804786682, 1, 2.3486466e-006, 4.41860522e-008, -2.3486466e-006, 0.999999762, 4.03671083e-006, -4.41765664e-008, -4.03671311e-006, 1))
  608. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  609. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  610. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804782867, -0.599880934, 0.59105587, -2.2917293e-008, -3.02957324e-006, 0.999999642, -1.74180502e-006, 0.999999523, 3.1737427e-006, -0.99999994, -1.82568601e-006, -2.24935697e-008))
  611. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  613. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804779053, -0.599861383, 0.608938217, 6.80476333e-008, 2.88217461e-006, -0.999998927, -1.64423193e-006, 0.999999523, 3.31469255e-006, 0.99999994, 1.89587342e-006, 6.67653168e-008))
  614. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.39999986, 1.00000012, 0.600000024))
  616. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00850009918, 0.299923658, 0.804782867, 1, 1.8033528e-006, 3.76067852e-008, -1.80335189e-006, 0.999999523, 3.0996257e-006, -3.76011862e-008, -3.09963116e-006, 1))
  617. BarrelA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","BarrelA",Vector3.new(0.799999833, 0.200000003, 0.600000024))
  618. BarrelAweld=weld(m,HandleA,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00080871582, -2.51008987, 0.804786682, 1, 2.3486466e-006, 4.41860522e-008, -2.3486466e-006, 0.999999762, 4.03671083e-006, -4.41765664e-008, -4.03671311e-006, 1))
  619. mesh("CylinderMesh",BarrelA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  620.  
  621. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","Handle",Vector3.new(1, 0.400000155, 1.00999999))
  622. handleweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00640583038, 0.00421285629, -0.014667511, 1.58720503e-008, 1.9694528e-006, 0.999999642, -9.65550043e-006, -0.999999881, 1.96945234e-006, 0.999999642, -9.65550225e-006, -1.58504996e-008))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,"Medium stone grey","Part",Vector3.new(0.999999821, 0.810000002, 1))
  624. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00934314728, 0.909656525, 0.200021029, 0.999999225, 3.21264451e-005, -1.37201809e-007, 1.34439375e-007, 4.6863046e-005, 0.999998212, 3.18748025e-005, -0.999999523, 4.64304467e-005))
  625. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  627. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.400030136, 0.599991083, -0.000217437744, 0.999999166, 2.39058249e-006, 3.46053923e-008, -1.21625988e-006, 0.999999523, 4.10884059e-006, -4.06039042e-008, -2.09039763e-006, 0.999994278))
  628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  629. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419908524, -0.599978447, 0.0998191833, 0.99999851, 7.54928033e-006, 1.76264301e-008, -7.2976386e-006, 0.999999046, 1.29754835e-005, -1.88093008e-008, -1.25429642e-005, 0.999997497))
  630. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  631. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.240127563, -2.51008964, 0.804779053, 0.999999285, 2.1808703e-006, 4.37561702e-008, -2.18087166e-006, 0.999999762, 3.748371e-006, -4.37442083e-008, -3.74836372e-006, 0.999999285))
  632. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  633. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000143, 0.600000024))
  634. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00945472717, -1.29999995, 0.804779053, 0.999999225, 1.88733361e-006, 3.71812945e-008, -1.71957424e-006, 0.999999523, 3.24380198e-006, -3.80291532e-008, -2.95545078e-006, 0.999998569))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  636. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804771423, -1.2998786, 0.611018181, -2.14719833e-008, 2.95686687e-006, -0.999998569, -1.68529652e-006, 0.999999523, 3.24521807e-006, 0.999999225, 1.85305612e-006, -2.23199095e-008))
  637. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  639. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00987434387, 0.599969625, -0.405162811, 0.99999094, 3.56466239e-006, -9.33802369e-010, -3.64854304e-006, 0.999993682, 1.23275886e-005, 1.05284457e-007, -1.24717662e-005, 0.999994278))
  640. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  641. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804779053, -1.29987884, 0.588165283, -2.31785435e-008, -2.95748123e-006, 0.999998569, -1.69982752e-006, 0.999999523, 3.24583243e-006, -0.999999225, -1.86758712e-006, -2.23306316e-008))
  642. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  643. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  644. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419827461, 0.599992752, 0.0997886658, 0.999999046, 2.43251679e-006, 3.43995836e-008, -1.17431432e-006, 0.999999523, 4.18092714e-006, -4.0827274e-008, -2.01830971e-006, 0.99999392))
  645. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  646. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00995731354, -0.599978209, -0.405181885, 0.999997556, 8.59777447e-006, 1.22757626e-008, -6.24913037e-006, 0.999998569, 1.47776336e-005, -2.41830644e-008, -1.0740685e-005, 0.999987841))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.999999821, 0.210000008, 0.800000012))
  648. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0093460083, 1.00976181, 0.199999094, 0.999998689, 2.34867071e-006, 4.91866103e-009, -1.0487808e-008, -2.16248418e-006, 0.999994397, 1.25822942e-006, -0.999999523, -4.03675404e-006))
  649. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  650. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.999999821, 0.800000131, 0.600000024))
  651. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00878238678, -0.600002289, 0.804779053, 0.999999225, 1.88724164e-006, 3.71812945e-008, -1.71948216e-006, 0.999999523, 3.24380198e-006, -3.80291567e-008, -2.95545078e-006, 0.999998569))
  652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  653. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399893761, -0.599973917, -0.000171661377, 0.99999851, 5.41032341e-006, 2.85407094e-008, -5.15868396e-006, 0.999999046, 9.29906673e-006, -2.97703142e-008, -8.86654379e-006, 0.999997497))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  655. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.190833092, -1.80008471, 0.804779053, 0.999999225, 1.88724709e-006, 3.71812945e-008, -1.71948773e-006, 0.999999523, 3.24380198e-006, -3.80291567e-008, -2.95545078e-006, 0.999998569))
  656. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036))
  658. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00928020477, 0.199999094, 1.10477829, -0.999999225, -5.17692001e-007, 2.84085331e-007, 5.17688704e-007, -0.999999762, -1.79347389e-005, 2.84109177e-007, -1.79347371e-005, 0.999999225))
  659. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=47260990 ",Vector3.new(0, 0, 0),Vector3.new(0.786000013, 0.828000009, 1.5))
  660. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  661. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.208971024, -1.80008459, 0.804779053, 0.999999225, 1.88725551e-006, 3.71812945e-008, -1.71949614e-006, 0.999999523, 3.24380198e-006, -3.80291567e-008, -2.95545078e-006, 0.999998569))
  662. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  664. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199184418, -2.5100894, 0.804786682, 0.999999285, 2.34864501e-006, 4.37577903e-008, -2.34864569e-006, 0.999999762, 4.03671356e-006, -4.37436398e-008, -4.03670674e-006, 0.999999285))
  665. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  667. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804779053, -0.599881411, 0.59105587, -2.29147439e-008, -3.02956778e-006, 0.999998927, -1.74180525e-006, 0.999999523, 3.17374543e-006, -0.999999225, -1.82568454e-006, -2.24960832e-008))
  668. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  670. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804775238, -0.599861383, 0.608938217, 6.8045054e-008, 2.88216916e-006, -0.999998212, -1.64423227e-006, 0.999999523, 3.31469528e-006, 0.999999225, 1.89587183e-006, 6.67677966e-008))
  671. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.39999986, 1.00000012, 0.600000024))
  673. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00850009918, 0.299923658, 0.804779053, 0.999999285, 1.80335121e-006, 3.76092864e-008, -1.80335212e-006, 0.999999523, 3.09962843e-006, -3.75986247e-008, -3.0996257e-006, 0.999999285))
  674. BarrelB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","BarrelB",Vector3.new(0.799999833, 0.200000003, 0.600000024))
  675. BarrelBweld=weld(m,HandleB,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000818252563, -2.5100894, 0.804779053, 0.999999285, 2.34864501e-006, 4.37577903e-008, -2.34864569e-006, 0.999999762, 4.03671356e-006, -4.37436398e-008, -4.03670674e-006, 0.999999285))
  676. mesh("CylinderMesh",BarrelB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  677.  
  678. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","Handle",Vector3.new(1.02999997, 0.400000155, 0.200000003))
  679. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00482177734, 0.60084343, -0.0100822449, -1, -5.36894822e-006, -5.1169021e-008, 5.36895095e-006, -0.999999881, 1.86432862e-005, -5.12691187e-008, 1.86432844e-005, 1))
  680. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.620000005, 0.400000155, 0.200000003))
  681. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00501251221, -0.19991076, 0.419974327, 1, -1.13095666e-009, -5.73407988e-012, 1.11867848e-009, 0.999999523, 3.83415433e-009, 5.75184345e-012, -3.82015308e-009, 1))
  682. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000033, 0.400000006))
  683. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300132751, -0.900682688, 0.714515686, -5.12854363e-008, 1.86433699e-005, 1, 5.42855059e-006, 0.999999464, -1.86432771e-005, -0.999999881, 5.38385166e-006, -5.12693887e-008))
  684. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.306000054, 0.363999993, 0.298000067))
  685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.230000004, 0.400000155, 0.819999993))
  686. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400024414, -0.199884892, 0.110021591, 1, -3.18856428e-006, 1.63091372e-008, 3.18855382e-006, 0.999999523, -5.47489981e-006, -1.62916685e-008, 5.47491254e-006, 1))
  687. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.02999997, 0.400000155, 0.200000003))
  688. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.19998908, -0.400001526, 1, -1.97815098e-010, -9.73443548e-013, 1.85536919e-010, 0.999999523, 6.65474897e-010, 9.87654403e-013, -6.51473486e-010, 1))
  689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.819999993))
  690. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.414840698, -0.19992125, 0.110017776, 1, -3.18842308e-006, 1.63098086e-008, 3.18841262e-006, 0.999999523, -5.47535274e-006, -1.62923364e-008, 5.47536456e-006, 1))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000033, 0.400000006))
  692. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299860954, -0.900682688, 0.714515686, -5.12854363e-008, 1.86433699e-005, 1, 5.42855059e-006, 0.999999464, -1.86432771e-005, -0.999999881, 5.38385166e-006, -5.12693887e-008))
  693. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.306000054, 0.363999993, 0.298000067))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  695. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.714614868, -0.200629354, -0.299841881, 1, -3.18785192e-006, 1.63125939e-008, 3.18784146e-006, 0.999999523, -5.47723175e-006, -1.62951217e-008, 5.47724358e-006, 1))
  696. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.420000017, 0.400000006, 0.420000017))
  698. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.724590302, -0.200787902, -0.299805641, 1, -3.18777597e-006, 1.63129918e-008, 3.18776574e-006, 0.999999523, -5.47749551e-006, -1.62955196e-008, 5.47750733e-006, 1))
  699. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.420000017, 0.400000006, 0.420000017))
  701. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.72461319, -0.200729728, 0.300173759, 1, -3.18789807e-006, 1.63124518e-008, 3.18788466e-006, 0.999999523, -5.4771408e-006, -1.62949796e-008, 5.47715263e-006, 1))
  702. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  704. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.714599609, -0.200613737, 0.300151825, 1, -3.18753905e-006, 1.63145231e-008, 3.18753473e-006, 0.999999762, -5.47841591e-006, -1.62970544e-008, 5.47842228e-006, 1))
  705. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  706.  
  707. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  708. local fp = it("Part")
  709. fp.formFactor = formfactor
  710. fp.Parent = parent
  711. fp.Reflectance = reflectance
  712. fp.Transparency = transparency
  713. fp.CanCollide = false
  714. fp.Locked=true
  715. fp.BrickColor = brickcolor
  716. fp.Name = name
  717. fp.Size = size
  718. fp.Position = Torso.Position
  719. NoOutline(fp)
  720. fp.Material="SmoothPlastic"
  721. fp:BreakJoints()
  722. return fp
  723. end
  724.  
  725. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  726. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  727. prt.Anchored=true
  728. prt.CFrame=cframe
  729. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  730. game:GetService("Debris"):AddItem(prt,2)
  731. coroutine.resume(coroutine.create(function(Part,Mesh)
  732. for i=0,1,delay do
  733. swait()
  734. Part.CFrame=Part.CFrame
  735. Part.Transparency=i
  736. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  737. end
  738. Part.Parent=nil
  739. end),prt,msh)
  740. end
  741.  
  742. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  743. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  744. prt.Anchored=true
  745. prt.CFrame=cframe
  746. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  747. game:GetService("Debris"):AddItem(prt,2)
  748. coroutine.resume(coroutine.create(function(Part,Mesh)
  749. for i=0,1,delay do
  750. swait()
  751. Part.CFrame=Part.CFrame
  752. Part.Transparency=i
  753. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  754. end
  755. Part.Parent=nil
  756. end),prt,msh)
  757. end
  758.  
  759. function LaserBarrage(Prt,Parent)
  760. attack=true
  761. --so("BeamLockon",Prt,1,1)
  762. local efprt=part(3,Parent,0,0.5,BrickColor.new("Cyan"),"Effect",vt(0.2,0.2,0.2))
  763. efprt.Anchored=true
  764. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  765. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-Mouse.Hit.p).magnitude/100
  766. --spread=vt(0,0,0)
  767. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  768. game:GetService("Debris"):AddItem(Part,6)
  769. local TheHit=Mouse.Hit.p
  770. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  771. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  772. so("Elec",Prt,0.2,1)
  773. local tefprt=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  774. tefprt.CFrame=cf(pos)
  775. MagicCircle(BrickColor.new("Cyan"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  776. so("Elec",tefprt,0.3,1)
  777. game:GetService("Debris"):AddItem(tefprt,3)
  778. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  779. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  780. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  781. hit.Parent.Humanoid:TakeDamage(15)
  782. end
  783. end
  784. local mag=(Prt.Position-pos).magnitude
  785. MagicCylinder(BrickColor.new("Cyan"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  786. Part.Parent=nil
  787. end),efprt,efmsh,spread)
  788. end
  789.  
  790. function attackone()
  791. attack=true
  792. for i=0,1,0.1 do
  793. swait()
  794. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  795. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  796. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3)
  797. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(-30)), 0.3)
  798. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(00)),.3)
  799. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(00)),.3)
  800. end
  801. so("http://www.roblox.com/asset/?id=169445602",BarrelA,1,1)
  802. for i=0,1,0.1 do
  803. swait()
  804. LaserBarrage(BarrelA,m)
  805. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  806. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  807. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(50), math.rad(40)), 0.3)
  808. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(-30)), 0.3)
  809. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(00)),.3)
  810. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(00)),.3)
  811. end
  812. attack=false
  813. end
  814.  
  815. function attacktwo()
  816. attack=true
  817. for i=0,1,0.1 do
  818. swait()
  819. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  820. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  821. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  822. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(30)), 0.3)
  823. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(00)),.3)
  824. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(00)),.3)
  825. end
  826. so("http://www.roblox.com/asset/?id=169445602",BarrelB,1,1)
  827. for i=0,1,0.1 do
  828. swait()
  829. LaserBarrage(BarrelB,m)
  830. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  831. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  832. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(130), math.rad(-50), math.rad(-40)), 0.3)
  833. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(30)), 0.3)
  834. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(00)),.3)
  835. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(00)),.3)
  836. end
  837. attack=false
  838. end
  839.  
  840. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  841. pmsh = Instance.new('SpecialMesh')
  842. pmsh.MeshType = 'FileMesh'
  843. pmsh.Scale = Vector3.new(5,5,5)
  844. pmsh.MeshId = 'http://www.roblox.com/Asset/?id=9756362'
  845. S=Instance.new("Part")
  846. S.Material = "SmoothPlastic"
  847. S.Name="Effect"
  848. S.formFactor=0
  849. S.Size=Vector3.new(5,5,5)
  850. S.BrickColor=color
  851. S.Reflectance = 0
  852. S.TopSurface=0
  853. S.BottomSurface=0
  854. S.Transparency=0
  855. S.Anchored=true
  856. S.CanCollide=false
  857. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  858. S.Parent=workspace
  859. pmsh.Parent = S
  860. 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)
  861. end
  862.  
  863. function MagniDamage(Part,dmg,knock,Type,base)
  864.  
  865. for _,c in pairs(workspace:children()) do
  866.  
  867. local hum=c:findFirstChild("Humanoid")
  868.  
  869. if hum~=nil then
  870.  
  871. local head=c:findFirstChild("Torso")
  872.  
  873. if head~=nil then
  874.  
  875. local targ=head.Position-Part.Position
  876.  
  877. local mag=targ.magnitude
  878.  
  879. if mag<=dmg and c.Name~=Character.Name then
  880.  
  881. hum:TakeDamage(dmg)
  882.  
  883. end
  884.  
  885. end
  886.  
  887. end
  888.  
  889. end
  890.  
  891. end
  892.  
  893. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  894. local prt=part(3,workspace,0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5))
  895. prt.Anchored=true
  896. prt.CFrame=cframe
  897. prt.Touched:connect(function(hit) end)
  898. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  899. coroutine.resume(coroutine.create(function(Part,Mesh)
  900. for i=0,1,0.03 do
  901. wait()
  902. Part.CFrame=Part.CFrame
  903. Part.Transparency=i
  904. Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
  905. end
  906. Part.Parent=nil
  907. end),prt,msh)
  908. end
  909.  
  910. function Test()
  911. attack = true
  912. for i=0,1,0.1 do
  913. swait()
  914. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(50)),.3)
  915. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  916. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  917. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(-20), math.rad(-90)), 0.3)
  918. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  919. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  920. end
  921. local vel = Instance.new("BodyVelocity")
  922. vel.Parent = Torso
  923. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  924. vel.velocity = RootPart.CFrame.lookVector*50
  925. so("http://roblox.com/asset/?id=200632370",LeftArm,1,1)
  926. so("http://roblox.com/asset/?id=203691699",LeftArm,1,1)
  927. for i=0,1,0.1 do
  928. swait()
  929. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(-50)),.3)
  930. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(40)),.3)
  931. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  932. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(00), math.rad(-40)), 0.3)
  933. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  934. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  935. end
  936. vel.Parent = nil
  937. local vel2 = Instance.new("BodyVelocity")
  938. vel2.Parent = Torso
  939. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  940. vel2.velocity = RootPart.CFrame.lookVector*-90
  941. Humanoid.Jump = true
  942. local prt = Instance.new("Part",workspace)
  943. prt.Position = BarrelB.Position
  944. prt.Anchored = true
  945. prt.Size = Vector3.new(5,5,5)
  946. prt.CanCollide = false
  947. prt.Transparency = 1
  948. MagniDamage(prt,30,"Knockdown",prt)
  949. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  950. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  951. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  952. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  953. MagicRing(BrickColor.new("Cyan"),BarrelB.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,1)
  954. MagicRing(BrickColor.new("Cyan"),BarrelB.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,1)
  955. so("http://roblox.com/asset/?id=203691837",BarrelB,1,1)
  956. so("http://roblox.com/asset/?id=203691653",BarrelB,1,1)
  957. for i=0,1,0.1 do
  958. swait()
  959. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  960. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(40)),.3)
  961. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  962. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  963. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  964. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  965. end
  966. attack = false
  967. vel2.Parent = nil
  968. prt.Parent = nil
  969. end
  970.  
  971. mouse.Button1Down:connect(function()
  972. if attack==false then
  973. if attacktype==1 then
  974. attack=true
  975. attacktype=2
  976. attackone()
  977. elseif attacktype==2 then
  978. attack=true
  979. attacktype=1
  980. attacktwo()
  981. end
  982. end
  983. end)
  984. mouse.KeyDown:connect(function(k)
  985. k=k:lower()
  986. if k=='q' then
  987. if attack==false then
  988. Test()
  989. end
  990. end
  991. end)
  992.  
  993.  
  994. local sine = 0
  995. local change = 1
  996. local val = 0
  997.  
  998. while true do
  999. swait()
  1000. sine = sine + change
  1001. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1002. local velderp=RootPart.Velocity.y
  1003. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1004. if equipped==true or equipped==false then
  1005. if attack==false then
  1006. idle=idle+1
  1007. else
  1008. idle=0
  1009. end
  1010. if idle>=500 then
  1011. if attack==false then
  1012. --Sheath()
  1013. end
  1014. end
  1015. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1016. Anim="Jump"
  1017. if attack==false then
  1018. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1019. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1020. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.3)
  1021. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1022. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(20),math.rad(90),math.rad(-20)),.3)
  1023. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(20)),.3)
  1024. end
  1025. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1026. Anim="Fall"
  1027. if attack==false then
  1028. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1029. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1030. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  1031. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1032. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(10),math.rad(90),math.rad(20)),.3)
  1033. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(-20)),.3)
  1034. end
  1035. elseif torvel<1 and hitfloor~=nil then
  1036. Anim="Idle"
  1037. if attack==false then
  1038. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(-10)),.3)
  1039. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.3)
  1040. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1041. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(-20), math.rad(30)), 0.3)
  1042. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1043. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1044. end
  1045. elseif torvel>2 and hitfloor~=nil then
  1046. Anim="Walk"
  1047. if attack==false then
  1048. change=3
  1049. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(00)),.3)
  1050. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1051. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1052. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  1053. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.3)
  1054. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  1055. end
  1056. end
  1057. end
  1058. end
  1059. RH=Torso["Right Hip"]
  1060. Face = Head.face
  1061. Neck=Torso.Neck
  1062. it=Instance.new
  1063. attacktype=1
  1064. vt=Vector3.new
  1065. cf=CFrame.new
  1066. euler=CFrame.fromEulerAnglesXYZ
  1067. angles=CFrame.Angles
  1068. cloaked=false
  1069. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1070. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1071. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1072. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1073. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1074. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1075. RootPart=Character.HumanoidRootPart
  1076. RootJoint=RootPart.RootJoint
  1077. RootCF=euler(-1.57,0,3.14)
  1078. attack = false
  1079. attackdebounce = false
  1080. deb=false
  1081. equipped=true
  1082. hand=false
  1083. Mouse=nil
  1084. combo=0
  1085. mana=0
  1086. trispeed=.2
  1087. attackmode='none'
  1088. local idle=0
  1089. local Anim="Idle"
  1090. local Effects={}
  1091. local gun=false
  1092. local shoot=false
  1093. player=nil
  1094. mana=0
  1095.  
  1096. mouse=Player:GetMouse()
  1097. --save shoulders
  1098. RSH, LSH=nil, nil
  1099. --welds
  1100. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1101. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1102. LH=Torso["Left Hip"]
  1103. RH=Torso["Right Hip"]
  1104. TorsoColor=Torso.BrickColor
  1105. function NoOutline(Part)
  1106. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1107. end
  1108. player=Player
  1109. ch=Character
  1110. RSH=ch.Torso["Right Shoulder"]
  1111. LSH=ch.Torso["Left Shoulder"]
  1112. --
  1113. RSH.Parent=nil
  1114. LSH.Parent=nil
  1115. --
  1116. RW.Name="Right Shoulder"
  1117. RW.Part0=ch.Torso
  1118. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1119. RW.C1=cf(0, 0.5, 0)
  1120. RW.Part1=ch["Right Arm"]
  1121. RW.Parent=ch.Torso
  1122. --
  1123. LW.Name="Left Shoulder"
  1124. LW.Part0=ch.Torso
  1125. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1126. LW.C1=cf(0, 0.5, 0)
  1127. LW.Part1=ch["Left Arm"]
  1128. LW.Parent=ch.Torso
  1129.  
  1130. Player=game:GetService('Players').LocalPlayer
  1131. Character=Player.Character
  1132. Mouse=Player:GetMouse()
  1133. m=Instance.new('Model',Character)
  1134.  
  1135.  
  1136. local function weldBetween(a, b)
  1137. local weldd = Instance.new("ManualWeld")
  1138. weldd.Part0 = a
  1139. weldd.Part1 = b
  1140. weldd.C0 = CFrame.new()
  1141. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1142. weldd.Parent = a
  1143. return weldd
  1144. end
  1145.  
  1146. function swait(num)
  1147. if num==0 or num==nil then
  1148. game:service'RunService'.Stepped:wait(0)
  1149. else
  1150. for i=0,num do
  1151. game:service'RunService'.Stepped:wait(0)
  1152. end
  1153. end
  1154. end
  1155.  
  1156. function nooutline(part)
  1157. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1158. end
  1159.  
  1160. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1161. local fp=it("Part")
  1162. fp.formFactor=formfactor
  1163. fp.Parent=parent
  1164. fp.Reflectance=reflectance
  1165. fp.Transparency=transparency
  1166. fp.CanCollide=false
  1167. fp.Locked=true
  1168. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1169. fp.Name=name
  1170. fp.Size=size
  1171. fp.Position=Character.Torso.Position
  1172. nooutline(fp)
  1173. fp.Material=material
  1174. fp:BreakJoints()
  1175. return fp
  1176. end
  1177.  
  1178. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1179. local mesh=it(Mesh)
  1180. mesh.Parent=part
  1181. if Mesh=="SpecialMesh" then
  1182. mesh.MeshType=meshtype
  1183. mesh.MeshId=meshid
  1184. end
  1185. mesh.Offset=offset
  1186. mesh.Scale=scale
  1187. return mesh
  1188. end
  1189.  
  1190. function weld(parent,part0,part1,c0,c1)
  1191. local weld=it("Weld")
  1192. weld.Parent=parent
  1193. weld.Part0=part0
  1194. weld.Part1=part1
  1195. weld.C0=c0
  1196. weld.C1=c1
  1197. return weld
  1198. end
  1199.  
  1200.  
  1201. local function CFrameFromTopBack(at, top, back)
  1202. local right = top:Cross(back)
  1203. return CFrame.new(at.x, at.y, at.z,
  1204. right.x, top.x, back.x,
  1205. right.y, top.y, back.y,
  1206. right.z, top.z, back.z)
  1207. end
  1208.  
  1209. function Triangle(a, b, c)
  1210. local edg1 = (c-a):Dot((b-a).unit)
  1211. local edg2 = (a-b):Dot((c-b).unit)
  1212. local edg3 = (b-c):Dot((a-c).unit)
  1213. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1214. a, b, c = a, b, c
  1215. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1216. a, b, c = b, c, a
  1217. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1218. a, b, c = c, a, b
  1219. else
  1220. assert(false, "unreachable")
  1221. end
  1222.  
  1223. local len1 = (c-a):Dot((b-a).unit)
  1224. local len2 = (b-a).magnitude - len1
  1225. local width = (a + (b-a).unit*len1 - c).magnitude
  1226.  
  1227. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1228.  
  1229. local list = {}
  1230.  
  1231. local Color = BrickColor.new("Dark grey")
  1232.  
  1233. if len1 > 0.01 then
  1234. local w1 = Instance.new('WedgePart', m)
  1235. game:GetService("Debris"):AddItem(w1,5)
  1236. w1.Material = "SmoothPlastic"
  1237. w1.FormFactor = 'Custom'
  1238. w1.BrickColor = BrickColor.new(Color)
  1239. w1.Transparency = 0
  1240. w1.Reflectance = 0
  1241. w1.Material = "SmoothPlastic"
  1242. w1.CanCollide = false
  1243. NoOutline(w1)
  1244. local sz = Vector3.new(0.2, width, len1)
  1245. w1.Size = sz
  1246. local sp = Instance.new("SpecialMesh",w1)
  1247. sp.MeshType = "Wedge"
  1248. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1249. w1:BreakJoints()
  1250. w1.Anchored = true
  1251. w1.Parent = workspace
  1252. w1.Transparency = 0.7
  1253. table.insert(Effects,{w1,"Disappear",.01})
  1254. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1255. table.insert(list,w1)
  1256. end
  1257.  
  1258. if len2 > 0.01 then
  1259. local w2 = Instance.new('WedgePart', m)
  1260. game:GetService("Debris"):AddItem(w2,5)
  1261. w2.Material = "SmoothPlastic"
  1262. w2.FormFactor = 'Custom'
  1263. w2.BrickColor = BrickColor.new(Color)
  1264. w2.Transparency = 0
  1265. w2.Reflectance = 0
  1266. w2.Material = "SmoothPlastic"
  1267. w2.CanCollide = false
  1268. NoOutline(w2)
  1269. local sz = Vector3.new(0.2, width, len2)
  1270. w2.Size = sz
  1271. local sp = Instance.new("SpecialMesh",w2)
  1272. sp.MeshType = "Wedge"
  1273. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1274. w2:BreakJoints()
  1275. w2.Anchored = true
  1276. w2.Parent = workspace
  1277. w2.Transparency = 0.7
  1278. table.insert(Effects,{w2,"Disappear",.01})
  1279. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1280. table.insert(list,w2)
  1281. end
  1282. return unpack(list)
  1283. end
  1284.  
  1285.  
  1286. so = function(id,par,vol,pit)
  1287. coroutine.resume(coroutine.create(function()
  1288. local sou = Instance.new("Sound",par or workspace)
  1289. sou.Volume=vol
  1290. sou.Pitch=pit or 1
  1291. sou.SoundId=id
  1292. swait()
  1293. sou:play()
  1294. game:GetService("Debris"):AddItem(sou,6)
  1295. end))
  1296. end
  1297.  
  1298. function clerp(a,b,t)
  1299. local qa = {QuaternionFromCFrame(a)}
  1300. local qb = {QuaternionFromCFrame(b)}
  1301. local ax, ay, az = a.x, a.y, a.z
  1302. local bx, by, bz = b.x, b.y, b.z
  1303. local _t = 1-t
  1304. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1305. end
  1306.  
  1307. function QuaternionFromCFrame(cf)
  1308. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1309. local trace = m00 + m11 + m22
  1310. if trace > 0 then
  1311. local s = math.sqrt(1 + trace)
  1312. local recip = 0.5/s
  1313. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1314. else
  1315. local i = 0
  1316. if m11 > m00 then
  1317. i = 1
  1318. end
  1319. if m22 > (i == 0 and m00 or m11) then
  1320. i = 2
  1321. end
  1322. if i == 0 then
  1323. local s = math.sqrt(m00-m11-m22+1)
  1324. local recip = 0.5/s
  1325. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1326. elseif i == 1 then
  1327. local s = math.sqrt(m11-m22-m00+1)
  1328. local recip = 0.5/s
  1329. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1330. elseif i == 2 then
  1331. local s = math.sqrt(m22-m00-m11+1)
  1332. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1333. end
  1334. end
  1335. end
  1336.  
  1337. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1338. local xs, ys, zs = x + x, y + y, z + z
  1339. local wx, wy, wz = w*xs, w*ys, w*zs
  1340. local xx = x*xs
  1341. local xy = x*ys
  1342. local xz = x*zs
  1343. local yy = y*ys
  1344. local yz = y*zs
  1345. local zz = z*zs
  1346. 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))
  1347. end
  1348.  
  1349. function QuaternionSlerp(a, b, t)
  1350. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1351. local startInterp, finishInterp;
  1352. if cosTheta >= 0.0001 then
  1353. if (1 - cosTheta) > 0.0001 then
  1354. local theta = math.acos(cosTheta)
  1355. local invSinTheta = 1/math.sin(theta)
  1356. startInterp = math.sin((1-t)*theta)*invSinTheta
  1357. finishInterp = math.sin(t*theta)*invSinTheta
  1358. else
  1359. startInterp = 1-t
  1360. finishInterp = t
  1361. end
  1362. else
  1363. if (1+cosTheta) > 0.0001 then
  1364. local theta = math.acos(-cosTheta)
  1365. local invSinTheta = 1/math.sin(theta)
  1366. startInterp = math.sin((t-1)*theta)*invSinTheta
  1367. finishInterp = math.sin(t*theta)*invSinTheta
  1368. else
  1369. startInterp = t-1
  1370. finishInterp = t
  1371. end
  1372. end
  1373. 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
  1374. end
  1375.  
  1376. --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)
  1377.  
  1378.  
  1379. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1380. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1381. end
  1382.  
  1383. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1384. if hit.Parent==nil then
  1385. return
  1386. end
  1387. h=hit.Parent:FindFirstChild("Humanoid")
  1388. for _,v in pairs(hit.Parent:children()) do
  1389. if v:IsA("Humanoid") then
  1390. h=v
  1391. end
  1392. end
  1393. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1394. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1395. end
  1396. if hit.Parent.className=="Hat" then
  1397. hit=hit.Parent.Parent:findFirstChild("Head")
  1398. end
  1399. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1400. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1401. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1402. return
  1403. end]]
  1404. -- hs(hit,1.2)
  1405. c=Instance.new("ObjectValue")
  1406. c.Name="creator"
  1407. c.Value=game:service("Players").LocalPlayer
  1408. c.Parent=h
  1409. game:GetService("Debris"):AddItem(c,.5)
  1410. Damage=math.random(minim,maxim)
  1411. -- h:TakeDamage(Damage)
  1412. blocked=false
  1413. block=hit.Parent:findFirstChild("Block")
  1414. if block~=nil then
  1415. print(block.className)
  1416. if block.className=="NumberValue" then
  1417. if block.Value>0 then
  1418. blocked=true
  1419. if decreaseblock==nil then
  1420. block.Value=block.Value-1
  1421. end
  1422. end
  1423. end
  1424. if block.className=="IntValue" then
  1425. if block.Value>0 then
  1426. blocked=true
  1427. if decreaseblock~=nil then
  1428. block.Value=block.Value-1
  1429. end
  1430. end
  1431. end
  1432. end
  1433. if blocked==false then
  1434. -- h:TakeDamage(Damage)
  1435. h.Health=h.Health-Damage
  1436. showDamage(hit.Parent,Damage,.5,BrickColor.new("Cyan"))
  1437. else
  1438. h.Health=h.Health-(Damage/2)
  1439. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1440. end
  1441. if Type=="Knockdown" then
  1442. hum=hit.Parent.Humanoid
  1443. hum.PlatformStand=true
  1444. coroutine.resume(coroutine.create(function(HHumanoid)
  1445. swait(1)
  1446. HHumanoid.PlatformStand=false
  1447. end),hum)
  1448. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1449. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1450. local bodvol=Instance.new("BodyVelocity")
  1451. bodvol.velocity=angle*knockback
  1452. bodvol.P=5000
  1453. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1454. bodvol.Parent=hit
  1455. rl=Instance.new("BodyAngularVelocity")
  1456. rl.P=3000
  1457. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1458. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1459. rl.Parent=hit
  1460. game:GetService("Debris"):AddItem(bodvol,.5)
  1461. game:GetService("Debris"):AddItem(rl,.5)
  1462. elseif Type=="Normal" then
  1463. vp=Instance.new("BodyVelocity")
  1464. vp.P=500
  1465. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1466. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1467. if KnockbackType==1 then
  1468. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1469. elseif KnockbackType==2 then
  1470. vp.velocity=Property.CFrame.lookVector*knockback
  1471. end
  1472. if knockback>0 then
  1473. vp.Parent=hit.Parent.Torso
  1474. end
  1475. game:GetService("Debris"):AddItem(vp,.5)
  1476. elseif Type=="Up" then
  1477. local bodyVelocity=Instance.new("BodyVelocity")
  1478. bodyVelocity.velocity=vt(0,60,0)
  1479. bodyVelocity.P=5000
  1480. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1481. bodyVelocity.Parent=hit
  1482. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1483. rl=Instance.new("BodyAngularVelocity")
  1484. rl.P=3000
  1485. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1486. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1487. rl.Parent=hit
  1488. game:GetService("Debris"):AddItem(rl,.5)
  1489. elseif Type=="Snare" then
  1490. bp=Instance.new("BodyPosition")
  1491. bp.P=2000
  1492. bp.D=100
  1493. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1494. bp.position=hit.Parent.Torso.Position
  1495. bp.Parent=hit.Parent.Torso
  1496. game:GetService("Debris"):AddItem(bp,1)
  1497. elseif Type=="Target" then
  1498. if Targetting==false then
  1499. ZTarget=hit.Parent.Torso
  1500. coroutine.resume(coroutine.create(function(Part)
  1501. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1502. swait(5)
  1503. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1504. end),ZTarget)
  1505. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1506. targetgui=Instance.new("BillboardGui")
  1507. targetgui.Parent=ZTarget
  1508. targetgui.Size=UDim2.new(10,100,10,100)
  1509. targ=Instance.new("ImageLabel")
  1510. targ.Parent=targetgui
  1511. targ.BackgroundTransparency=1
  1512. targ.Image="rbxassetid://4834067"
  1513. targ.Size=UDim2.new(1,0,1,0)
  1514. cam.CameraType="Scriptable"
  1515. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1516. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1517. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1518. Targetting=true
  1519. RocketTarget=ZTarget
  1520. for i=1,Property do
  1521. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1522. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1523. swait()
  1524. end
  1525. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1526. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1527. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1528. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1529. end
  1530. Targetting=false
  1531. RocketTarget=nil
  1532. targetgui.Parent=nil
  1533. cam.CameraType="Custom"
  1534. end
  1535. end
  1536. debounce=Instance.new("BoolValue")
  1537. debounce.Name="DebounceHit"
  1538. debounce.Parent=hit.Parent
  1539. debounce.Value=true
  1540. game:GetService("Debris"):AddItem(debounce,Delay)
  1541. c=Instance.new("ObjectValue")
  1542. c.Name="creator"
  1543. c.Value=Player
  1544. c.Parent=h
  1545. game:GetService("Debris"):AddItem(c,.5)
  1546. CRIT=false
  1547. hitDeb=true
  1548. AttackPos=6
  1549. end
  1550. end
  1551.  
  1552. showDamage=function(Char,Dealt,du,Color)
  1553. m=Instance.new("Model")
  1554. m.Name=tostring(Dealt)
  1555. h=Instance.new("Humanoid")
  1556. h.Health=0
  1557. h.MaxHealth=0
  1558. h.Parent=m
  1559. c=Instance.new("Part")
  1560. c.Transparency=0
  1561. c.BrickColor=Color
  1562. c.Name="Head"
  1563. c.TopSurface=0
  1564. c.BottomSurface=0
  1565. c.formFactor="Plate"
  1566. c.Size=Vector3.new(1,.4,1)
  1567. ms=Instance.new("CylinderMesh")
  1568. ms.Scale=Vector3.new(.8,.8,.8)
  1569. if CRIT==true then
  1570. ms.Scale=Vector3.new(1,1.25,1)
  1571. end
  1572. ms.Parent=c
  1573. c.Reflectance=0
  1574. Instance.new("BodyGyro").Parent=c
  1575. c.Parent=m
  1576. if Char:findFirstChild("Head")~=nil then
  1577. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1578. elseif Char.Parent:findFirstChild("Head")~=nil then
  1579. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1580. end
  1581. f=Instance.new("BodyPosition")
  1582. f.P=2000
  1583. f.D=100
  1584. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1585. f.position=c.Position+Vector3.new(0,3,0)
  1586. f.Parent=c
  1587. game:GetService("Debris"):AddItem(m,.5+du)
  1588. c.CanCollide=false
  1589. m.Parent=workspace
  1590. c.CanCollide=false
  1591. end
  1592.  
  1593. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","HandleA",Vector3.new(1, 0.400000155, 1.00999999))
  1594. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164518356, 0.00421309471, -0.0148162842, 5.15770964e-008, 1.96895758e-006, -1, 9.63642469e-006, -0.999999881, -1.96895735e-006, -1, -9.63642469e-006, -5.1596075e-008))
  1595. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,"Medium stone grey","Part",Vector3.new(0.999999821, 0.810000002, 1))
  1596. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00934314728, 0.909656525, 0.200021029, 0.99999994, 3.21264488e-005, -1.37204424e-007, 1.34436931e-007, 4.68630387e-005, 0.999998927, 3.18748207e-005, -0.999999523, 4.64304903e-005))
  1597. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  1599. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.400030136, 0.599991322, -0.000213623047, 0.999999881, 2.39058409e-006, 3.46028912e-008, -1.21625908e-006, 0.999999523, 4.10883877e-006, -4.06064622e-008, -2.09040309e-006, 0.999994993))
  1600. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  1601. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419909477, -0.599978447, 0.099822998, 0.99999994, 7.54928487e-006, 1.76214101e-008, -7.29764179e-006, 0.999999046, 1.29754881e-005, -1.88143972e-008, -1.25429769e-005, 0.999998927))
  1602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  1603. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.24012661, -2.51009035, 0.804786682, 1, 2.18087189e-006, 4.50439437e-008, -2.18087166e-006, 0.999999762, 3.74836827e-006, -4.50357653e-008, -3.74837009e-006, 1))
  1604. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1605. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000143, 0.600000024))
  1606. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00945472717, -1.29999971, 0.804782867, 0.99999994, 1.8873352e-006, 3.71787934e-008, -1.7195739e-006, 0.999999523, 3.24379926e-006, -3.80317147e-008, -2.95545533e-006, 0.999999285))
  1607. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1608. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804782867, -1.2998786, 0.611018181, -2.1469468e-008, 2.95687141e-006, -0.999999285, -1.68529607e-006, 0.999999523, 3.24521534e-006, 0.99999994, 1.8530576e-006, -2.23224497e-008))
  1609. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  1611. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00987052917, 0.599969149, -0.405174255, 0.999991298, 3.5646633e-006, 5.82853446e-008, -3.64854418e-006, 0.999993682, 1.23275922e-005, -2.84389419e-008, -1.24717717e-005, 0.999994874))
  1612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1613. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804782867, -1.29987872, 0.588165283, -2.31810962e-008, -2.95748578e-006, 0.999999285, -1.69982729e-006, 0.999999523, 3.2458297e-006, -0.99999994, -1.86758859e-006, -2.23281198e-008))
  1614. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  1616. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419827461, 0.599992752, 0.0997886658, 0.999999762, 2.43251839e-006, 3.43970825e-008, -1.17431364e-006, 0.999999523, 4.18092532e-006, -4.08298391e-008, -2.01831517e-006, 0.999994636))
  1617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  1618. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00995731354, -0.599978447, -0.40517807, 0.999999702, 8.59777992e-006, 1.22682096e-008, -6.24913537e-006, 0.999998569, 1.47776454e-005, -2.41907241e-008, -1.07407013e-005, 0.999989986))
  1619. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.999999821, 0.210000008, 0.800000012))
  1620. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0093460083, 1.00976944, 0.199998856, 0.999999404, 2.3486723e-006, 4.91613505e-009, -1.04903428e-008, -2.16248964e-006, 0.999995112, 1.25822874e-006, -0.999999523, -4.03675222e-006))
  1621. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1622. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.999999821, 0.800000131, 0.600000024))
  1623. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00878238678, -0.600002289, 0.804782867, 0.99999994, 1.88724323e-006, 3.71787934e-008, -1.71948193e-006, 0.999999523, 3.24379926e-006, -3.80317182e-008, -2.95545533e-006, 0.999999285))
  1624. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  1625. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399893761, -0.599973679, -0.00016784668, 0.99999994, 5.4103275e-006, 2.85357231e-008, -5.15868305e-006, 0.999999046, 9.29907037e-006, -2.97754301e-008, -8.86655653e-006, 0.999998927))
  1626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  1627. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.190833092, -1.80008459, 0.804786682, 0.99999994, 1.88724869e-006, 3.71787934e-008, -1.71948739e-006, 0.999999523, 3.24379926e-006, -3.80317182e-008, -2.95545533e-006, 0.999999285))
  1628. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036))
  1630. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00928020477, 0.199999332, 1.1047821, -1, -5.1769365e-007, 2.49673747e-007, 5.17688477e-007, -0.999999762, -1.79347444e-005, 2.49683012e-007, -1.79347426e-005, 1))
  1631. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=47260990 ",Vector3.new(0, 0, 0),Vector3.new(0.786000013, 0.828000009, 1.5))
  1632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  1633. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.208971024, -1.80008447, 0.804786682, 0.99999994, 1.8872571e-006, 3.71787934e-008, -1.7194958e-006, 0.999999523, 3.24379926e-006, -3.80317182e-008, -2.95545533e-006, 0.999999285))
  1634. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  1636. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199191093, -2.51008964, 0.804786682, 1, 2.3486466e-006, 4.41860522e-008, -2.3486466e-006, 0.999999762, 4.03671083e-006, -4.41765664e-008, -4.03671311e-006, 1))
  1637. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  1639. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804782867, -0.599880934, 0.59105587, -2.2917293e-008, -3.02957324e-006, 0.999999642, -1.74180502e-006, 0.999999523, 3.1737427e-006, -0.99999994, -1.82568601e-006, -2.24935697e-008))
  1640. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  1642. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804779053, -0.599861383, 0.608938217, 6.80476333e-008, 2.88217461e-006, -0.999998927, -1.64423193e-006, 0.999999523, 3.31469255e-006, 0.99999994, 1.89587342e-006, 6.67653168e-008))
  1643. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.39999986, 1.00000012, 0.600000024))
  1645. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00850009918, 0.299923658, 0.804782867, 1, 1.8033528e-006, 3.76067852e-008, -1.80335189e-006, 0.999999523, 3.0996257e-006, -3.76011862e-008, -3.09963116e-006, 1))
  1646. BarrelA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","BarrelA",Vector3.new(0.799999833, 0.200000003, 0.600000024))
  1647. BarrelAweld=weld(m,HandleA,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00080871582, -2.51008987, 0.804786682, 1, 2.3486466e-006, 4.41860522e-008, -2.3486466e-006, 0.999999762, 4.03671083e-006, -4.41765664e-008, -4.03671311e-006, 1))
  1648. mesh("CylinderMesh",BarrelA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1649.  
  1650. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","Handle",Vector3.new(1, 0.400000155, 1.00999999))
  1651. handleweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00640583038, 0.00421285629, -0.014667511, 1.58720503e-008, 1.9694528e-006, 0.999999642, -9.65550043e-006, -0.999999881, 1.96945234e-006, 0.999999642, -9.65550225e-006, -1.58504996e-008))
  1652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,"Medium stone grey","Part",Vector3.new(0.999999821, 0.810000002, 1))
  1653. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00934314728, 0.909656525, 0.200021029, 0.999999225, 3.21264451e-005, -1.37201809e-007, 1.34439375e-007, 4.6863046e-005, 0.999998212, 3.18748025e-005, -0.999999523, 4.64304467e-005))
  1654. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  1656. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.400030136, 0.599991083, -0.000217437744, 0.999999166, 2.39058249e-006, 3.46053923e-008, -1.21625988e-006, 0.999999523, 4.10884059e-006, -4.06039042e-008, -2.09039763e-006, 0.999994278))
  1657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  1658. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419908524, -0.599978447, 0.0998191833, 0.99999851, 7.54928033e-006, 1.76264301e-008, -7.2976386e-006, 0.999999046, 1.29754835e-005, -1.88093008e-008, -1.25429642e-005, 0.999997497))
  1659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  1660. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.240127563, -2.51008964, 0.804779053, 0.999999285, 2.1808703e-006, 4.37561702e-008, -2.18087166e-006, 0.999999762, 3.748371e-006, -4.37442083e-008, -3.74836372e-006, 0.999999285))
  1661. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1662. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000143, 0.600000024))
  1663. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00945472717, -1.29999995, 0.804779053, 0.999999225, 1.88733361e-006, 3.71812945e-008, -1.71957424e-006, 0.999999523, 3.24380198e-006, -3.80291532e-008, -2.95545078e-006, 0.999998569))
  1664. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1665. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804771423, -1.2998786, 0.611018181, -2.14719833e-008, 2.95686687e-006, -0.999998569, -1.68529652e-006, 0.999999523, 3.24521807e-006, 0.999999225, 1.85305612e-006, -2.23199095e-008))
  1666. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1667. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  1668. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00987434387, 0.599969625, -0.405162811, 0.99999094, 3.56466239e-006, -9.33802369e-010, -3.64854304e-006, 0.999993682, 1.23275886e-005, 1.05284457e-007, -1.24717662e-005, 0.999994278))
  1669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.600000024, 0.600000024))
  1670. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804779053, -1.29987884, 0.588165283, -2.31785435e-008, -2.95748123e-006, 0.999998569, -1.69982752e-006, 0.999999523, 3.24583243e-006, -0.999999225, -1.86758712e-006, -2.23306316e-008))
  1671. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.810000002))
  1673. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419827461, 0.599992752, 0.0997886658, 0.999999046, 2.43251679e-006, 3.43995836e-008, -1.17431432e-006, 0.999999523, 4.18092714e-006, -4.0827274e-008, -2.01830971e-006, 0.99999392))
  1674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.01999998, 0.400000155, 0.200000003))
  1675. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00995731354, -0.599978209, -0.405181885, 0.999997556, 8.59777447e-006, 1.22757626e-008, -6.24913037e-006, 0.999998569, 1.47776336e-005, -2.41830644e-008, -1.0740685e-005, 0.999987841))
  1676. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.999999821, 0.210000008, 0.800000012))
  1677. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0093460083, 1.00976181, 0.199999094, 0.999998689, 2.34867071e-006, 4.91866103e-009, -1.0487808e-008, -2.16248418e-006, 0.999994397, 1.25822942e-006, -0.999999523, -4.03675404e-006))
  1678. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.999999821, 0.800000131, 0.600000024))
  1680. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00878238678, -0.600002289, 0.804779053, 0.999999225, 1.88724164e-006, 3.71812945e-008, -1.71948216e-006, 0.999999523, 3.24380198e-006, -3.80291567e-008, -2.95545078e-006, 0.999998569))
  1681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 1.00999999))
  1682. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399893761, -0.599973917, -0.000171661377, 0.99999851, 5.41032341e-006, 2.85407094e-008, -5.15868396e-006, 0.999999046, 9.29906673e-006, -2.97703142e-008, -8.86654379e-006, 0.999997497))
  1683. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  1684. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.190833092, -1.80008471, 0.804779053, 0.999999225, 1.88724709e-006, 3.71812945e-008, -1.71948773e-006, 0.999999523, 3.24380198e-006, -3.80291567e-008, -2.95545078e-006, 0.999998569))
  1685. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036))
  1687. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00928020477, 0.199999094, 1.10477829, -0.999999225, -5.17692001e-007, 2.84085331e-007, 5.17688704e-007, -0.999999762, -1.79347389e-005, 2.84109177e-007, -1.79347371e-005, 0.999999225))
  1688. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=47260990 ",Vector3.new(0, 0, 0),Vector3.new(0.786000013, 0.828000009, 1.5))
  1689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.599999845, 1.60000038, 0.600000024))
  1690. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.208971024, -1.80008459, 0.804779053, 0.999999225, 1.88725551e-006, 3.71812945e-008, -1.71949614e-006, 0.999999523, 3.24380198e-006, -3.80291567e-008, -2.95545078e-006, 0.999998569))
  1691. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1692. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999857, 0.200000003, 0.600000024))
  1693. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199184418, -2.5100894, 0.804786682, 0.999999285, 2.34864501e-006, 4.37577903e-008, -2.34864569e-006, 0.999999762, 4.03671356e-006, -4.37436398e-008, -4.03670674e-006, 0.999999285))
  1694. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1695. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  1696. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804779053, -0.599881411, 0.59105587, -2.29147439e-008, -3.02956778e-006, 0.999998927, -1.74180525e-006, 0.999999523, 3.17374543e-006, -0.999999225, -1.82568454e-006, -2.24960832e-008))
  1697. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1698. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 0.800000131, 0.200000003))
  1699. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804775238, -0.599861383, 0.608938217, 6.8045054e-008, 2.88216916e-006, -0.999998212, -1.64423227e-006, 0.999999523, 3.31469528e-006, 0.999999225, 1.89587183e-006, 6.67677966e-008))
  1700. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1701. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.39999986, 1.00000012, 0.600000024))
  1702. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00850009918, 0.299923658, 0.804779053, 0.999999285, 1.80335121e-006, 3.76092864e-008, -1.80335212e-006, 0.999999523, 3.09962843e-006, -3.75986247e-008, -3.0996257e-006, 0.999999285))
  1703. BarrelB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","BarrelB",Vector3.new(0.799999833, 0.200000003, 0.600000024))
  1704. BarrelBweld=weld(m,HandleB,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000818252563, -2.5100894, 0.804779053, 0.999999285, 2.34864501e-006, 4.37577903e-008, -2.34864569e-006, 0.999999762, 4.03671356e-006, -4.37436398e-008, -4.03670674e-006, 0.999999285))
  1705. mesh("CylinderMesh",BarrelB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1706.  
  1707. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","Handle",Vector3.new(1.02999997, 0.400000155, 0.200000003))
  1708. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00482177734, 0.60084343, -0.0100822449, -1, -5.36894822e-006, -5.1169021e-008, 5.36895095e-006, -0.999999881, 1.86432862e-005, -5.12691187e-008, 1.86432844e-005, 1))
  1709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.620000005, 0.400000155, 0.200000003))
  1710. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00501251221, -0.19991076, 0.419974327, 1, -1.13095666e-009, -5.73407988e-012, 1.11867848e-009, 0.999999523, 3.83415433e-009, 5.75184345e-012, -3.82015308e-009, 1))
  1711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000033, 0.400000006))
  1712. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300132751, -0.900682688, 0.714515686, -5.12854363e-008, 1.86433699e-005, 1, 5.42855059e-006, 0.999999464, -1.86432771e-005, -0.999999881, 5.38385166e-006, -5.12693887e-008))
  1713. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.306000054, 0.363999993, 0.298000067))
  1714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.230000004, 0.400000155, 0.819999993))
  1715. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400024414, -0.199884892, 0.110021591, 1, -3.18856428e-006, 1.63091372e-008, 3.18855382e-006, 0.999999523, -5.47489981e-006, -1.62916685e-008, 5.47491254e-006, 1))
  1716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1.02999997, 0.400000155, 0.200000003))
  1717. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.19998908, -0.400001526, 1, -1.97815098e-010, -9.73443548e-013, 1.85536919e-010, 0.999999523, 6.65474897e-010, 9.87654403e-013, -6.51473486e-010, 1))
  1718. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.819999993))
  1719. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.414840698, -0.19992125, 0.110017776, 1, -3.18842308e-006, 1.63098086e-008, 3.18841262e-006, 0.999999523, -5.47535274e-006, -1.62923364e-008, 5.47536456e-006, 1))
  1720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.200000033, 0.400000006))
  1721. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299860954, -0.900682688, 0.714515686, -5.12854363e-008, 1.86433699e-005, 1, 5.42855059e-006, 0.999999464, -1.86432771e-005, -0.999999881, 5.38385166e-006, -5.12693887e-008))
  1722. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.306000054, 0.363999993, 0.298000067))
  1723. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  1724. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.714614868, -0.200629354, -0.299841881, 1, -3.18785192e-006, 1.63125939e-008, 3.18784146e-006, 0.999999523, -5.47723175e-006, -1.62951217e-008, 5.47724358e-006, 1))
  1725. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1726. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.420000017, 0.400000006, 0.420000017))
  1727. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.724590302, -0.200787902, -0.299805641, 1, -3.18777597e-006, 1.63129918e-008, 3.18776574e-006, 0.999999523, -5.47749551e-006, -1.62955196e-008, 5.47750733e-006, 1))
  1728. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1729. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.420000017, 0.400000006, 0.420000017))
  1730. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.72461319, -0.200729728, 0.300173759, 1, -3.18789807e-006, 1.63124518e-008, 3.18788466e-006, 0.999999523, -5.4771408e-006, -1.62949796e-008, 5.47715263e-006, 1))
  1731. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.400000006, 0.800000012, 0.400000006))
  1733. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.714599609, -0.200613737, 0.300151825, 1, -3.18753905e-006, 1.63145231e-008, 3.18753473e-006, 0.999999762, -5.47841591e-006, -1.62970544e-008, 5.47842228e-006, 1))
  1734. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1735.  
  1736. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1737. local fp = it("Part")
  1738. fp.formFactor = formfactor
  1739. fp.Parent = parent
  1740. fp.Reflectance = reflectance
  1741. fp.Transparency = transparency
  1742. fp.CanCollide = false
  1743. fp.Locked=true
  1744. fp.BrickColor = brickcolor
  1745. fp.Name = name
  1746. fp.Size = size
  1747. fp.Position = Torso.Position
  1748. NoOutline(fp)
  1749. fp.Material="SmoothPlastic"
  1750. fp:BreakJoints()
  1751. return fp
  1752. end
  1753.  
  1754. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1755. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1756. prt.Anchored=true
  1757. prt.CFrame=cframe
  1758. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1759. game:GetService("Debris"):AddItem(prt,2)
  1760. coroutine.resume(coroutine.create(function(Part,Mesh)
  1761. for i=0,1,delay do
  1762. swait()
  1763. Part.CFrame=Part.CFrame
  1764. Part.Transparency=i
  1765. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1766. end
  1767. Part.Parent=nil
  1768. end),prt,msh)
  1769. end
  1770.  
  1771. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1772. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1773. prt.Anchored=true
  1774. prt.CFrame=cframe
  1775. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1776. game:GetService("Debris"):AddItem(prt,2)
  1777. coroutine.resume(coroutine.create(function(Part,Mesh)
  1778. for i=0,1,delay do
  1779. swait()
  1780. Part.CFrame=Part.CFrame
  1781. Part.Transparency=i
  1782. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1783. end
  1784. Part.Parent=nil
  1785. end),prt,msh)
  1786. end
  1787.  
  1788. function LaserBarrage(Prt,Parent)
  1789. attack=true
  1790. --so("BeamLockon",Prt,1,1)
  1791. local efprt=part(3,Parent,0,0.5,BrickColor.new("Cyan"),"Effect",vt(0.2,0.2,0.2))
  1792. efprt.Anchored=true
  1793. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  1794. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-Mouse.Hit.p).magnitude/100
  1795. --spread=vt(0,0,0)
  1796. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  1797. game:GetService("Debris"):AddItem(Part,6)
  1798. local TheHit=Mouse.Hit.p
  1799. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  1800. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  1801. so("Elec",Prt,0.2,1)
  1802. local tefprt=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  1803. tefprt.CFrame=cf(pos)
  1804. MagicCircle(BrickColor.new("Cyan"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  1805. so("Elec",tefprt,0.3,1)
  1806. game:GetService("Debris"):AddItem(tefprt,3)
  1807. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  1808. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1809. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1810. hit.Parent.Humanoid:TakeDamage(15)
  1811. end
  1812. end
  1813. local mag=(Prt.Position-pos).magnitude
  1814. MagicCylinder(BrickColor.new("Cyan"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  1815. Part.Parent=nil
  1816. end),efprt,efmsh,spread)
  1817. end
  1818.  
  1819. function attackone()
  1820. attack=true
  1821. for i=0,1,0.1 do
  1822. swait()
  1823. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1824. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1825. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3)
  1826. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(-30)), 0.3)
  1827. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(00)),.3)
  1828. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(00)),.3)
  1829. end
  1830. so("http://www.roblox.com/asset/?id=169445602",BarrelA,1,1)
  1831. for i=0,1,0.1 do
  1832. swait()
  1833. LaserBarrage(BarrelA,m)
  1834. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1835. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1836. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(50), math.rad(40)), 0.3)
  1837. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(-30)), 0.3)
  1838. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(00)),.3)
  1839. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(00)),.3)
  1840. end
  1841. attack=false
  1842. end
  1843.  
  1844. function attacktwo()
  1845. attack=true
  1846. for i=0,1,0.1 do
  1847. swait()
  1848. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1849. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1850. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1851. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(30)), 0.3)
  1852. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(00)),.3)
  1853. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(00)),.3)
  1854. end
  1855. so("http://www.roblox.com/asset/?id=169445602",BarrelB,1,1)
  1856. for i=0,1,0.1 do
  1857. swait()
  1858. LaserBarrage(BarrelB,m)
  1859. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1860. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1861. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(130), math.rad(-50), math.rad(-40)), 0.3)
  1862. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-20), math.rad(30)), 0.3)
  1863. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(00)),.3)
  1864. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(00)),.3)
  1865. end
  1866. attack=false
  1867. end
  1868.  
  1869. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1870. pmsh = Instance.new('SpecialMesh')
  1871. pmsh.MeshType = 'FileMesh'
  1872. pmsh.Scale = Vector3.new(5,5,5)
  1873. pmsh.MeshId = 'http://www.roblox.com/Asset/?id=9756362'
  1874. S=Instance.new("Part")
  1875. S.Material = "SmoothPlastic"
  1876. S.Name="Effect"
  1877. S.formFactor=0
  1878. S.Size=Vector3.new(5,5,5)
  1879. S.BrickColor=color
  1880. S.Reflectance = 0
  1881. S.TopSurface=0
  1882. S.BottomSurface=0
  1883. S.Transparency=0
  1884. S.Anchored=true
  1885. S.CanCollide=false
  1886. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1887. S.Parent=workspace
  1888. pmsh.Parent = S
  1889. 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)
  1890. end
  1891.  
  1892. function MagniDamage(Part,dmg,knock,Type,base)
  1893.  
  1894. for _,c in pairs(workspace:children()) do
  1895.  
  1896. local hum=c:findFirstChild("Humanoid")
  1897.  
  1898. if hum~=nil then
  1899.  
  1900. local head=c:findFirstChild("Torso")
  1901.  
  1902. if head~=nil then
  1903.  
  1904. local targ=head.Position-Part.Position
  1905.  
  1906. local mag=targ.magnitude
  1907.  
  1908. if mag<=dmg and c.Name~=Character.Name then
  1909.  
  1910. hum:TakeDamage(dmg)
  1911.  
  1912. end
  1913.  
  1914. end
  1915.  
  1916. end
  1917.  
  1918. end
  1919.  
  1920. end
  1921.  
  1922. function Test()
  1923. attack = true
  1924. for i=0,1,0.1 do
  1925. swait()
  1926. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(50)),.3)
  1927. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  1928. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1929. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(-20), math.rad(-90)), 0.3)
  1930. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1931. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1932. end
  1933. local vel = Instance.new("BodyVelocity")
  1934. vel.Parent = Torso
  1935. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1936. vel.velocity = RootPart.CFrame.lookVector*50
  1937. so("http://roblox.com/asset/?id=200632370",LeftArm,1,1)
  1938. so("http://roblox.com/asset/?id=203691699",LeftArm,1,1)
  1939. for i=0,1,0.1 do
  1940. swait()
  1941. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(-50)),.3)
  1942. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(40)),.3)
  1943. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1944. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(00), math.rad(-40)), 0.3)
  1945. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1946. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1947. end
  1948. vel.Parent = nil
  1949. local vel2 = Instance.new("BodyVelocity")
  1950. vel2.Parent = Torso
  1951. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1952. vel2.velocity = RootPart.CFrame.lookVector*-90
  1953. Humanoid.Jump = true
  1954. local prt = Instance.new("Part",workspace)
  1955. prt.Position = BarrelB.Position
  1956. prt.Anchored = true
  1957. prt.Size = Vector3.new(5,5,5)
  1958. prt.CanCollide = false
  1959. prt.Transparency = 1
  1960. MagniDamage(prt,30,"Knockdown",prt)
  1961. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  1962. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  1963. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  1964. MMMAGIC(BarrelB,5,5,5,0,-1,0,BrickColor.new("Cyan"))
  1965. so("http://roblox.com/asset/?id=203691837",BarrelB,1,1)
  1966. so("http://roblox.com/asset/?id=203691653",BarrelB,1,1)
  1967. for i=0,1,0.1 do
  1968. swait()
  1969. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1970. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(40)),.3)
  1971. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1972. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  1973. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  1974. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  1975. end
  1976. attack = false
  1977. vel2.Parent = nil
  1978. prt.Parent = nil
  1979. end
  1980.  
  1981. mouse.Button1Down:connect(function()
  1982. if attack==false then
  1983. if attacktype==1 then
  1984. attack=true
  1985. attacktype=2
  1986. attackone()
  1987. elseif attacktype==2 then
  1988. attack=true
  1989. attacktype=1
  1990. attacktwo()
  1991. end
  1992. end
  1993. end)
  1994. mouse.KeyDown:connect(function(k)
  1995. k=k:lower()
  1996. if k=='q' then
  1997. if attack==false then
  1998. Test()
  1999. end
  2000. end
  2001. end)
  2002.  
  2003.  
  2004. local sine = 0
  2005. local change = 1
  2006. local val = 0
  2007.  
  2008. while true do
  2009. swait()
  2010. sine = sine + change
  2011. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2012. local velderp=RootPart.Velocity.y
  2013. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2014. if equipped==true or equipped==false then
  2015. if attack==false then
  2016. idle=idle+1
  2017. else
  2018. idle=0
  2019. end
  2020. if idle>=500 then
  2021. if attack==false then
  2022. --Sheath()
  2023. end
  2024. end
  2025. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2026. Anim="Jump"
  2027. if attack==false then
  2028. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2029. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2030. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.3)
  2031. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  2032. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(20),math.rad(90),math.rad(-20)),.3)
  2033. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(20)),.3)
  2034. end
  2035. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2036. Anim="Fall"
  2037. if attack==false then
  2038. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2039. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2040. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  2041. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  2042. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(10),math.rad(90),math.rad(20)),.3)
  2043. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(-20)),.3)
  2044. end
  2045. elseif torvel<1 and hitfloor~=nil then
  2046. Anim="Idle"
  2047. if attack==false then
  2048. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(15),math.rad(0),math.rad(-10)),.3)
  2049. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(10)),.3)
  2050. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  2051. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(-20), math.rad(30)), 0.3)
  2052. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  2053. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-20)),.3)
  2054. end
  2055. elseif torvel>2 and hitfloor~=nil then
  2056. Anim="Walk"
  2057. if attack==false then
  2058. change=3
  2059. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(00)),.3)
  2060. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2061. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  2062. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  2063. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.3)
  2064. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  2065. end
  2066. end
  2067. end
  2068. end
Add Comment
Please, Sign In to add comment