SonicrixLP

Untitled

Mar 5th, 2017
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.60 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=.2
  44. attackmode='none'
  45. local idle=0
  46. local Anim="Idle"
  47. local Effects={}
  48. local gun=false
  49. local shoot=false
  50. player=nil
  51. mana=0
  52.  
  53. mouse=Player:GetMouse()
  54. --save shoulders
  55. RSH, LSH=nil, nil
  56. --welds
  57. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  58. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  59. LH=Torso["Left Hip"]
  60. RH=Torso["Right Hip"]
  61. TorsoColor=Torso.BrickColor
  62. function NoOutline(Part)
  63. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  64. end
  65. player=Player
  66. ch=Character
  67. RSH=ch.Torso["Right Shoulder"]
  68. LSH=ch.Torso["Left Shoulder"]
  69. --
  70. RSH.Parent=nil
  71. LSH.Parent=nil
  72. --
  73. RW.Name="Right Shoulder"
  74. RW.Part0=ch.Torso
  75. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  76. RW.C1=cf(0, 0.5, 0)
  77. RW.Part1=ch["Right Arm"]
  78. RW.Parent=ch.Torso
  79. --
  80. LW.Name="Left Shoulder"
  81. LW.Part0=ch.Torso
  82. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  83. LW.C1=cf(0, 0.5, 0)
  84. LW.Part1=ch["Left Arm"]
  85. LW.Parent=ch.Torso
  86.  
  87. Player=game:GetService('Players').LocalPlayer
  88. Character=Player.Character
  89. Mouse=Player:GetMouse()
  90. m=Instance.new('Model',Character)
  91.  
  92.  
  93. local function weldBetween(a, b)
  94. local weldd = Instance.new("ManualWeld")
  95. weldd.Part0 = a
  96. weldd.Part1 = b
  97. weldd.C0 = CFrame.new()
  98. weldd.C1 = b.CFrame:inverse() * a.CFrame
  99. weldd.Parent = a
  100. return weldd
  101. end
  102.  
  103. it=Instance.new
  104.  
  105. function nooutline(part)
  106. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  107. end
  108.  
  109. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  110. local fp=it("Part")
  111. fp.formFactor=formfactor
  112. fp.Parent=parent
  113. fp.Reflectance=reflectance
  114. fp.Transparency=transparency
  115. fp.CanCollide=false
  116. fp.Locked=true
  117. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  118. fp.Name=name
  119. fp.Size=size
  120. fp.Position=Character.Torso.Position
  121. nooutline(fp)
  122. fp.Material=material
  123. fp:BreakJoints()
  124. return fp
  125. end
  126.  
  127. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  128. local mesh=it(Mesh)
  129. mesh.Parent=part
  130. if Mesh=="SpecialMesh" then
  131. mesh.MeshType=meshtype
  132. mesh.MeshId=meshid
  133. end
  134. mesh.Offset=offset
  135. mesh.Scale=scale
  136. return mesh
  137. end
  138.  
  139. function weld(parent,part0,part1,c0,c1)
  140. local weld=it("Weld")
  141. weld.Parent=parent
  142. weld.Part0=part0
  143. weld.Part1=part1
  144. weld.C0=c0
  145. weld.C1=c1
  146. return weld
  147. end
  148.  
  149.  
  150. Player=game:GetService('Players').LocalPlayer
  151. Character=Player.Character
  152. Mouse=Player:GetMouse()
  153. m=Instance.new('Model',Character)
  154.  
  155.  
  156. local function weldBetween(a, b)
  157. local weldd = Instance.new("ManualWeld")
  158. weldd.Part0 = a
  159. weldd.Part1 = b
  160. weldd.C0 = CFrame.new()
  161. weldd.C1 = b.CFrame:inverse() * a.CFrame
  162. weldd.Parent = a
  163. return weldd
  164. end
  165.  
  166. it=Instance.new
  167.  
  168. function nooutline(part)
  169. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  170. end
  171.  
  172. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  173. local fp=it("Part")
  174. fp.formFactor=formfactor
  175. fp.Parent=parent
  176. fp.Reflectance=reflectance
  177. fp.Transparency=transparency
  178. fp.CanCollide=false
  179. fp.Locked=true
  180. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  181. fp.Name=name
  182. fp.Size=size
  183. fp.Position=Character.Torso.Position
  184. nooutline(fp)
  185. fp.Material=material
  186. fp:BreakJoints()
  187. return fp
  188. end
  189.  
  190. function swait(num)
  191. if num==0 or num==nil then
  192. game:service'RunService'.Heartbeat:wait(0)
  193. else
  194. for i=0,num do
  195. game:service'RunService'.Heartbeat:wait(0)
  196. end
  197. end
  198. end
  199.  
  200. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  201. local mesh=it(Mesh)
  202. mesh.Parent=part
  203. if Mesh=="SpecialMesh" then
  204. mesh.MeshType=meshtype
  205. mesh.MeshId=meshid
  206. end
  207. mesh.Offset=offset
  208. mesh.Scale=scale
  209. return mesh
  210. end
  211.  
  212. function weld(parent,part0,part1,c0,c1)
  213. local weld=it("Weld")
  214. weld.Parent=parent
  215. weld.Part0=part0
  216. weld.Part1=part1
  217. weld.C0=c0
  218. weld.C1=c1
  219. return weld
  220. end
  221.  
  222.  
  223. local function CFrameFromTopBack(at, top, back)
  224. local right = top:Cross(back)
  225. return CFrame.new(at.x, at.y, at.z,
  226. right.x, top.x, back.x,
  227. right.y, top.y, back.y,
  228. right.z, top.z, back.z)
  229. end
  230.  
  231. function Triangle(a, b, c)
  232. local edg1 = (c-a):Dot((b-a).unit)
  233. local edg2 = (a-b):Dot((c-b).unit)
  234. local edg3 = (b-c):Dot((a-c).unit)
  235. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  236. a, b, c = a, b, c
  237. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  238. a, b, c = b, c, a
  239. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  240. a, b, c = c, a, b
  241. else
  242. assert(false, "unreachable")
  243. end
  244.  
  245. local len1 = (c-a):Dot((b-a).unit)
  246. local len2 = (b-a).magnitude - len1
  247. local width = (a + (b-a).unit*len1 - c).magnitude
  248.  
  249. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  250.  
  251. local list = {}
  252.  
  253. local Color = BrickColor.new("Really black")
  254.  
  255. if len1 > 0.01 then
  256. local w1 = Instance.new('WedgePart', m)
  257. game:GetService("Debris"):AddItem(w1,5)
  258. w1.Material = "SmoothPlastic"
  259. w1.FormFactor = 'Custom'
  260. w1.BrickColor = BrickColor.new(Color)
  261. w1.Transparency = 0
  262. w1.Reflectance = 0
  263. w1.Material = "SmoothPlastic"
  264. w1.CanCollide = false
  265. NoOutline(w1)
  266. local sz = Vector3.new(0.2, width, len1)
  267. w1.Size = sz
  268. local sp = Instance.new("SpecialMesh",w1)
  269. sp.MeshType = "Wedge"
  270. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  271. w1:BreakJoints()
  272. w1.Anchored = true
  273. w1.Parent = workspace
  274. w1.Transparency = 0.7
  275. table.insert(Effects,{w1,"Disappear",.01})
  276. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  277. table.insert(list,w1)
  278. end
  279.  
  280. if len2 > 0.01 then
  281. local w2 = Instance.new('WedgePart', m)
  282. game:GetService("Debris"):AddItem(w2,5)
  283. w2.Material = "SmoothPlastic"
  284. w2.FormFactor = 'Custom'
  285. w2.BrickColor = BrickColor.new(Color)
  286. w2.Transparency = 0
  287. w2.Reflectance = 0
  288. w2.Material = "SmoothPlastic"
  289. w2.CanCollide = false
  290. NoOutline(w2)
  291. local sz = Vector3.new(0.2, width, len2)
  292. w2.Size = sz
  293. local sp = Instance.new("SpecialMesh",w2)
  294. sp.MeshType = "Wedge"
  295. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  296. w2:BreakJoints()
  297. w2.Anchored = true
  298. w2.Parent = workspace
  299. w2.Transparency = 0.7
  300. table.insert(Effects,{w2,"Disappear",.01})
  301. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  302. table.insert(list,w2)
  303. end
  304. return unpack(list)
  305. end
  306.  
  307.  
  308. so = function(id,par,vol,pit)
  309. coroutine.resume(coroutine.create(function()
  310. local sou = Instance.new("Sound",par or workspace)
  311. sou.Volume=vol
  312. sou.Pitch=pit or 1
  313. sou.SoundId=id
  314. swait()
  315. sou:play()
  316. game:GetService("Debris"):AddItem(sou,6)
  317. end))
  318. end
  319.  
  320. function clerp(a,b,t)
  321. local qa = {QuaternionFromCFrame(a)}
  322. local qb = {QuaternionFromCFrame(b)}
  323. local ax, ay, az = a.x, a.y, a.z
  324. local bx, by, bz = b.x, b.y, b.z
  325. local _t = 1-t
  326. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  327. end
  328.  
  329. function QuaternionFromCFrame(cf)
  330. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  331. local trace = m00 + m11 + m22
  332. if trace > 0 then
  333. local s = math.sqrt(1 + trace)
  334. local recip = 0.5/s
  335. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  336. else
  337. local i = 0
  338. if m11 > m00 then
  339. i = 1
  340. end
  341. if m22 > (i == 0 and m00 or m11) then
  342. i = 2
  343. end
  344. if i == 0 then
  345. local s = math.sqrt(m00-m11-m22+1)
  346. local recip = 0.5/s
  347. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  348. elseif i == 1 then
  349. local s = math.sqrt(m11-m22-m00+1)
  350. local recip = 0.5/s
  351. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  352. elseif i == 2 then
  353. local s = math.sqrt(m22-m00-m11+1)
  354. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  355. end
  356. end
  357. end
  358.  
  359. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  360. local xs, ys, zs = x + x, y + y, z + z
  361. local wx, wy, wz = w*xs, w*ys, w*zs
  362. local xx = x*xs
  363. local xy = x*ys
  364. local xz = x*zs
  365. local yy = y*ys
  366. local yz = y*zs
  367. local zz = z*zs
  368. 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))
  369. end
  370.  
  371. function QuaternionSlerp(a, b, t)
  372. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  373. local startInterp, finishInterp;
  374. if cosTheta >= 0.0001 then
  375. if (1 - cosTheta) > 0.0001 then
  376. local theta = math.acos(cosTheta)
  377. local invSinTheta = 1/math.sin(theta)
  378. startInterp = math.sin((1-t)*theta)*invSinTheta
  379. finishInterp = math.sin(t*theta)*invSinTheta
  380. else
  381. startInterp = 1-t
  382. finishInterp = t
  383. end
  384. else
  385. if (1+cosTheta) > 0.0001 then
  386. local theta = math.acos(-cosTheta)
  387. local invSinTheta = 1/math.sin(theta)
  388. startInterp = math.sin((t-1)*theta)*invSinTheta
  389. finishInterp = math.sin(t*theta)*invSinTheta
  390. else
  391. startInterp = t-1
  392. finishInterp = t
  393. end
  394. end
  395. 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
  396. end
  397.  
  398. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  399. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  400. end
  401.  
  402. local function CFrameFromTopBack(at, top, back)
  403. local right = top:Cross(back)
  404. return CFrame.new(at.x, at.y, at.z,
  405. right.x, top.x, back.x,
  406. right.y, top.y, back.y,
  407. right.z, top.z, back.z)
  408. end
  409.  
  410. function Triangle(a, b, c)
  411. local edg1 = (c-a):Dot((b-a).unit)
  412. local edg2 = (a-b):Dot((c-b).unit)
  413. local edg3 = (b-c):Dot((a-c).unit)
  414. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  415. a, b, c = a, b, c
  416. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  417. a, b, c = b, c, a
  418. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  419. a, b, c = c, a, b
  420. else
  421. assert(false, "unreachable")
  422. end
  423.  
  424. local len1 = (c-a):Dot((b-a).unit)
  425. local len2 = (b-a).magnitude - len1
  426. local width = (a + (b-a).unit*len1 - c).magnitude
  427.  
  428. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  429.  
  430. local list = {}
  431.  
  432. if len1 > 0.01 then
  433. local w1 = Instance.new('WedgePart', m)
  434. game:GetService("Debris"):AddItem(w1,5)
  435. w1.Material = "SmoothPlastic"
  436. w1.FormFactor = 'Custom'
  437. w1.BrickColor = BrickColor.new("Dark stone grey")
  438. w1.Transparency = 0
  439. w1.Reflectance = 0
  440. w1.Material = "SmoothPlastic"
  441. w1.CanCollide = false
  442. NoOutline(w1)
  443. local sz = Vector3.new(0.2, width, len1)
  444. w1.Size = sz
  445. local sp = Instance.new("SpecialMesh",w1)
  446. sp.MeshType = "Wedge"
  447. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  448. w1:BreakJoints()
  449. w1.Anchored = true
  450. w1.Parent = workspace
  451. w1.Transparency = 0.7
  452. table.insert(Effects,{w1,"Disappear",.01})
  453. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  454. table.insert(list,w1)
  455. end
  456.  
  457. if len2 > 0.01 then
  458. local w2 = Instance.new('WedgePart', m)
  459. game:GetService("Debris"):AddItem(w2,5)
  460. w2.Material = "SmoothPlastic"
  461. w2.FormFactor = 'Custom'
  462. w2.BrickColor = BrickColor.new("Dark stone grey")
  463. w2.Transparency = 0
  464. w2.Reflectance = 0
  465. w2.Material = "SmoothPlastic"
  466. w2.CanCollide = false
  467. NoOutline(w2)
  468. local sz = Vector3.new(0.2, width, len2)
  469. w2.Size = sz
  470. local sp = Instance.new("SpecialMesh",w2)
  471. sp.MeshType = "Wedge"
  472. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  473. w2:BreakJoints()
  474. w2.Anchored = true
  475. w2.Parent = workspace
  476. w2.Transparency = 0.7
  477. table.insert(Effects,{w2,"Disappear",.01})
  478. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  479. table.insert(list,w2)
  480. end
  481. return unpack(list)
  482. end
  483.  
  484. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  485. if hit.Parent==nil then
  486. return
  487. end
  488. h=hit.Parent:FindFirstChild("Humanoid")
  489. for _,v in pairs(hit.Parent:children()) do
  490. if v:IsA("Humanoid") then
  491. h=v
  492. end
  493. end
  494. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  495. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  496. end
  497. if hit.Parent.className=="Hat" then
  498. hit=hit.Parent.Parent:findFirstChild("Head")
  499. end
  500. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  501. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  502. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  503. return
  504. end]]
  505. -- hs(hit,1.2)
  506. c=Instance.new("ObjectValue")
  507. c.Name="creator"
  508. c.Value=game:service("Players").LocalPlayer
  509. c.Parent=h
  510. game:GetService("Debris"):AddItem(c,.5)
  511. Damage=math.random(minim,maxim)
  512. -- h:TakeDamage(Damage)
  513. blocked=false
  514. block=hit.Parent:findFirstChild("Block")
  515. if block~=nil then
  516. print(block.className)
  517. if block.className=="NumberValue" then
  518. if block.Value>0 then
  519. blocked=true
  520. if decreaseblock==nil then
  521. block.Value=block.Value-1
  522. end
  523. end
  524. end
  525. if block.className=="IntValue" then
  526. if block.Value>0 then
  527. blocked=true
  528. if decreaseblock~=nil then
  529. block.Value=block.Value-1
  530. end
  531. end
  532. end
  533. end
  534. if blocked==false then
  535. -- h:TakeDamage(Damage)
  536. h.Health=h.Health-Damage
  537. showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark stone grey"))
  538. else
  539. h.Health=h.Health-(Damage/2)
  540. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  541. end
  542. if Type=="Knockdown" then
  543. hum=hit.Parent.Humanoid
  544. hum.PlatformStand=true
  545. coroutine.resume(coroutine.create(function(HHumanoid)
  546. swait(1)
  547. HHumanoid.PlatformStand=false
  548. end),hum)
  549. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  550. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  551. local bodvol=Instance.new("BodyVelocity")
  552. bodvol.velocity=angle*knockback
  553. bodvol.P=5000
  554. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  555. bodvol.Parent=hit
  556. rl=Instance.new("BodyAngularVelocity")
  557. rl.P=3000
  558. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  559. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  560. rl.Parent=hit
  561. game:GetService("Debris"):AddItem(bodvol,.5)
  562. game:GetService("Debris"):AddItem(rl,.5)
  563. elseif Type=="Normal" then
  564. vp=Instance.new("BodyVelocity")
  565. vp.P=500
  566. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  567. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  568. if KnockbackType==1 then
  569. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  570. elseif KnockbackType==2 then
  571. vp.velocity=Property.CFrame.lookVector*knockback
  572. end
  573. if knockback>0 then
  574. vp.Parent=hit.Parent.Torso
  575. end
  576. game:GetService("Debris"):AddItem(vp,.5)
  577. elseif Type=="Up" then
  578. local bodyVelocity=Instance.new("BodyVelocity")
  579. bodyVelocity.velocity=vt(0,60,0)
  580. bodyVelocity.P=5000
  581. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  582. bodyVelocity.Parent=hit
  583. game:GetService("Debris"):AddItem(bodyVelocity,1)
  584. rl=Instance.new("BodyAngularVelocity")
  585. rl.P=3000
  586. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  587. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  588. rl.Parent=hit
  589. game:GetService("Debris"):AddItem(rl,.5)
  590. elseif Type=="Snare" then
  591. bp=Instance.new("BodyPosition")
  592. bp.P=2000
  593. bp.D=100
  594. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  595. bp.position=hit.Parent.Torso.Position
  596. bp.Parent=hit.Parent.Torso
  597. game:GetService("Debris"):AddItem(bp,1)
  598. elseif Type=="Target" then
  599. if Targetting==false then
  600. ZTarget=hit.Parent.Torso
  601. coroutine.resume(coroutine.create(function(Part)
  602. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  603. swait(5)
  604. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  605. end),ZTarget)
  606. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  607. targetgui=Instance.new("BillboardGui")
  608. targetgui.Parent=ZTarget
  609. targetgui.Size=UDim2.new(10,100,10,100)
  610. targ=Instance.new("ImageLabel")
  611. targ.Parent=targetgui
  612. targ.BackgroundTransparency=1
  613. targ.Image="rbxassetid://4834067"
  614. targ.Size=UDim2.new(1,0,1,0)
  615. cam.CameraType="Scriptable"
  616. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  617. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  618. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  619. Targetting=true
  620. RocketTarget=ZTarget
  621. for i=1,Property do
  622. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  623. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  624. swait()
  625. end
  626. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  627. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  628. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  629. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  630. end
  631. Targetting=false
  632. RocketTarget=nil
  633. targetgui.Parent=nil
  634. cam.CameraType="Custom"
  635. end
  636. end
  637. debounce=Instance.new("BoolValue")
  638. debounce.Name="DebounceHit"
  639. debounce.Parent=hit.Parent
  640. debounce.Value=true
  641. game:GetService("Debris"):AddItem(debounce,Delay)
  642. c=Instance.new("ObjectValue")
  643. c.Name="creator"
  644. c.Value=Player
  645. c.Parent=h
  646. game:GetService("Debris"):AddItem(c,.5)
  647. CRIT=false
  648. hitDeb=true
  649. AttackPos=6
  650. end
  651. end
  652.  
  653. showDamage=function(Char,Dealt,du,Color)
  654. m=Instance.new("Model")
  655. m.Name=tostring(Dealt)
  656. h=Instance.new("Humanoid")
  657. h.Health=0
  658. h.MaxHealth=0
  659. h.Parent=m
  660. c=Instance.new("Part")
  661. c.Transparency=0
  662. c.BrickColor=Color
  663. c.Name="Head"
  664. c.TopSurface=0
  665. c.BottomSurface=0
  666. c.formFactor="Plate"
  667. c.Size=Vector3.new(1,.4,1)
  668. ms=Instance.new("CylinderMesh")
  669. ms.Scale=Vector3.new(.8,.8,.8)
  670. if CRIT==true then
  671. ms.Scale=Vector3.new(1,1.25,1)
  672. end
  673. ms.Parent=c
  674. c.Reflectance=0
  675. Instance.new("BodyGyro").Parent=c
  676. c.Parent=m
  677. if Char:findFirstChild("Head")~=nil then
  678. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  679. elseif Char.Parent:findFirstChild("Head")~=nil then
  680. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  681. end
  682. f=Instance.new("BodyPosition")
  683. f.P=2000
  684. f.D=100
  685. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  686. f.position=c.Position+Vector3.new(0,3,0)
  687. f.Parent=c
  688. game:GetService("Debris"):AddItem(m,.5+du)
  689. c.CanCollide=false
  690. m.Parent=workspace
  691. c.CanCollide=false
  692. end
  693.  
  694.  
  695. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleA",Vector3.new(0.232000008, 1.39199996, 0.34799996))
  696. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100307465, -0.216758728, 1.08003342, 0.999992609, 1.92794141e-005, -1.27899834e-013, -1.27899698e-013, -1.6931045e-018, -0.999993682, -1.90170867e-005, 0.999996662, 7.72975777e-019))
  697. HitboxA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HitboxA",Vector3.new(0.200000003, 4.75600147, 1.04399991))
  698. HitboxAweld=weld(m,HandleA,HitboxA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296401978, -3.18984985, -0.000101566315, 0.999985218, 2.71050543e-019, 3.93541995e-007, 2.71050543e-019, 0.999987364, -3.39068571e-020, 1.31274646e-007, -3.36740574e-020, 0.999993563))
  699. mesh("BlockMesh",HitboxA,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  701. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321960449, -0.348061442, -2.95758057, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  702. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  704. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321960449, -0.348061562, -3.07357788, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  705. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  707. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00325012207, 0.347918868, 5.39352417, -0.999994516, -1.38814103e-005, -0.000781116833, 0.000780851231, -5.96042696e-007, -0.999998093, 1.38811838e-005, -0.999996781, 5.65978326e-007))
  708. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  710. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032043457, -0.348060846, -1.91357803, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  711. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  713. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032081604, -0.348061085, -2.26158524, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  714. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  715. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  716. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032081604, -0.348061085, -2.37757492, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  717. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  718. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  719. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00320053101, -0.348060846, -1.79758072, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  720. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  721. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  722. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032081604, -0.348060966, -2.14558029, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  723. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  724. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  725. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032119751, -0.348061323, -2.60959625, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  726. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  727. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  728. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032043457, -0.348060966, -2.02959061, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  729. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  730. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  731. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032119751, -0.348061204, -2.49358749, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  732. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  733. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  734. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321578979, -0.348061442, -2.84157562, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  735. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  736. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  737. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321578979, -0.348061323, -2.72557068, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  738. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  739. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  740. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00319671631, -0.348060608, -1.56557083, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  741. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  742. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  743. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00320053101, -0.348060727, -1.68157578, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  744. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  745. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.69599998))
  746. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00297546387, -0.116066098, 4.871521, -0.999994516, -1.38814103e-005, -0.000781116833, 0.000780851231, -5.96042696e-007, -0.999998093, 1.38811838e-005, -0.999996781, 5.65978326e-007))
  747. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  748. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.24939996, 0.200000003, 0.359599888))
  749. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00284576416, 0.289573669, 0.000145435333, 0.999990463, -1.27899427e-013, -1.89733364e-005, 1.27899603e-013, 0.999991894, -7.73013207e-019, 1.93231062e-005, -1.69873233e-018, 0.999995708))
  750. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  751. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.237799957, 0.200000003))
  752. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.744922638, 6.48498535e-005, 6.24656677e-005, -2.9801754e-008, 0.999987185, 3.5961357e-013, -0.999985039, -2.98018179e-008, 1.20666537e-005, 1.25913684e-005, -8.31761384e-019, 0.999993563))
  753. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  754. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.232000008))
  755. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296783447, -1.21779633, -0.289975643, 0.999985218, -1.2789757e-013, -5.02773673e-006, 1.27897842e-013, 0.999987364, -8.52495958e-019, 5.55250699e-006, 1.4187069e-019, 0.999993563))
  756. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  757. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.69600153, 0.579999864))
  758. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296020508, -1.15990829, 0.115901113, 0.999985218, 2.71050543e-019, 3.93541995e-007, 2.71050543e-019, 0.999987364, -3.39068571e-020, 1.31274646e-007, -3.36740574e-020, 0.999993563))
  759. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  760. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39200163, 0.579999864))
  761. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00303268433, -3.82756042, 0.116035104, 0.999985218, -2.71050543e-019, -5.02709827e-006, 8.13151629e-019, 0.999987364, 4.46583439e-020, 5.55186853e-006, -1.12240021e-019, 0.999993563))
  762. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  763. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.232000008, 0.34799999))
  764. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296783447, -0.927848816, -0.347965479, 0.999985218, -1.27897286e-013, -4.76533569e-006, 1.27897557e-013, 0.999987364, -8.52723381e-019, 5.29010867e-006, 1.75660036e-019, 0.999993563))
  765. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  766. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.24940002, 0.463999897, 0.200000003))
  767. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296401978, -0.000411987305, 0.000145435333, 0.999990463, -1.27899427e-013, -1.89733364e-005, 1.27899603e-013, 0.999991894, -7.73013207e-019, 1.93231062e-005, -1.69873233e-018, 0.999995708))
  768. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  769. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.243599623, 0.200000003, 0.376999944))
  770. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.48498535e-005, -0.290370941, 0.00304746628, 0.999990463, -1.27899427e-013, -1.89733364e-005, 1.27899603e-013, 0.999991894, -7.73013207e-019, 1.93231062e-005, -1.69873233e-018, 0.999995708))
  771. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.237799957, 0.200000003))
  773. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.976894379, 6.48498535e-005, -0.115817547, -2.98019636e-008, 0.999993145, 5.66752374e-013, -0.999992073, -2.98019955e-008, 1.90170758e-005, 1.92794159e-005, -1.69310471e-018, 0.999996781))
  774. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999599, 0.200000003, 1.04400003))
  776. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.753929138, 4.76837158e-007, 0.999985218, 2.71050543e-019, 7.86980308e-007, 2.71050543e-019, 0.999987364, -3.42563409e-020, -2.62161848e-007, -3.33247287e-020, 0.999993563))
  777. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.231999993))
  779. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.348060369, -0.579917908, -7.62939453e-006, -2.62161848e-007, 2.98019245e-008, 0.999993026, 8.70145427e-015, 0.99998647, -2.98021199e-008, -0.999984145, 8.87893817e-016, -8.30688805e-007))
  780. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.237799957, 0.200000003))
  782. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.976894379, 6.48498535e-005, 0.116117477, -2.98019636e-008, 0.999993145, 5.66752374e-013, -0.999992073, -2.98019955e-008, 1.90170758e-005, 1.92794159e-005, -1.69310471e-018, 0.999996781))
  783. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.231999993))
  785. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.34796536, -0.579917908, 7.62939453e-006, -2.62161848e-007, 2.98019245e-008, 0.999993026, 8.70145427e-015, 0.99998647, -2.98021199e-008, -0.999984145, 8.87893817e-016, -8.30688805e-007))
  786. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  787. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 3.82800055, 0.34799999))
  788. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296783447, -3.30554581, -0.347965479, 0.999985218, -5.42101086e-019, -3.45368062e-006, 1.08420217e-018, 0.999987364, 7.01750046e-020, 3.9784627e-006, -1.3775716e-019, 0.999993563))
  789. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  790. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.463999897, 0.579999924))
  791. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.928001404, 4.76837158e-007, 0.999985218, 2.71050543e-019, 2.62407411e-007, 2.71050543e-019, 0.999987364, -3.37904314e-020, 2.62407411e-007, -3.37904314e-020, 0.999993563))
  792. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.62400162, 0.347999901))
  793. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00303268433, -2.31979752, 6.2584877e-005, 0.999985218, 0, -3.01626824e-006, 5.42101086e-019, 0.999987364, 2.67851422e-021, 3.54105578e-006, -7.02591444e-020, 0.999993563))
  794. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  795. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  796. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000217437744, -0.348090053, -0.869998932, -0.99999404, -1.39324975e-005, 0.000813946885, -0.000814205792, 5.27501379e-006, -0.999998093, 1.37386678e-005, -0.999996662, -5.24543884e-006))
  797. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  798. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
  799. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000217437744, -0.348093748, 1.10200882, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  800. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
  801. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  802. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000312805176, -0.347890496, -0.869995117, 0.99999392, -1.39324975e-005, -0.000813827617, 0.000814101484, 5.27501379e-006, 0.999997854, -1.37386651e-005, -0.999996662, 5.2454352e-006))
  803. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  804. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
  805. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -0.34789443, 1.10200882, -0.99999404, 1.3977201e-005, 0.000819162233, 0.000819376437, 5.95969937e-007, 0.999997735, 1.37685583e-005, 0.999996781, -5.66503445e-007))
  806. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
  807.  
  808. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleB",Vector3.new(0.232000008, 1.39199996, 0.34799996))
  809. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996818542, -0.216758728, 1.08003712, 0.999992609, 1.92794141e-005, -1.27899834e-013, -1.27899698e-013, -1.6931045e-018, -0.999993682, -1.90170867e-005, 0.999996662, 7.72975777e-019))
  810. HitboxB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HitboxB",Vector3.new(0.200000003, 4.75600147, 1.04399991))
  811. HitboxBweld=weld(m,HandleB,HitboxB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296401978, -3.18984985, -0.000101447105, 0.999985218, 2.71050543e-019, 3.93541995e-007, 2.71050543e-019, 0.999987364, -3.39068571e-020, 1.31274646e-007, -3.36740574e-020, 0.999993563))
  812. mesh("BlockMesh",HitboxB,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  813. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  814. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321960449, -0.348061323, -2.95758057, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  815. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  816. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  817. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321960449, -0.348061442, -3.07357788, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  818. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  819. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  820. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00325012207, 0.347918868, 5.39352417, -0.999994516, -1.38814103e-005, -0.000781116833, 0.000780851231, -5.96042696e-007, -0.999998093, 1.38811838e-005, -0.999996781, 5.65978326e-007))
  821. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  822. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  823. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032043457, -0.348060727, -1.91357803, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  824. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  825. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  826. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032081604, -0.348060966, -2.26158524, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  827. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  828. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  829. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032081604, -0.348060966, -2.37757492, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  830. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  831. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  832. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00320053101, -0.348060727, -1.79758072, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  833. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  834. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  835. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032081604, -0.348060846, -2.14558029, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  836. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  837. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  838. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032119751, -0.348061204, -2.60959625, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  839. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  840. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  841. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032043457, -0.348060846, -2.02959061, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  842. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  843. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  844. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0032119751, -0.348061085, -2.49358749, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  845. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  846. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  847. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321578979, -0.348061323, -2.84157562, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  848. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  849. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  850. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00321578979, -0.348061204, -2.72557068, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  851. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  852. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  853. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00319671631, -0.348060489, -1.56557083, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  854. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  855. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.200000003))
  856. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00320053101, -0.348060608, -1.68157578, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  857. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  858. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.69599998))
  859. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00297546387, -0.116066098, 4.871521, -0.999994516, -1.38814103e-005, -0.000781116833, 0.000780851231, -5.96042696e-007, -0.999998093, 1.38811838e-005, -0.999996781, 5.65978326e-007))
  860. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  861. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.24939996, 0.200000003, 0.359599888))
  862. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00284576416, 0.289573669, 0.000145435333, 0.999990463, -1.27899427e-013, -1.89733364e-005, 1.27899603e-013, 0.999991894, -7.73013207e-019, 1.93231062e-005, -1.69873233e-018, 0.999995708))
  863. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  864. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.237799957, 0.200000003))
  865. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.744922638, 6.48498535e-005, 6.24656677e-005, -2.9801754e-008, 0.999987185, 3.5961357e-013, -0.999985039, -2.98018179e-008, 1.20666537e-005, 1.25913684e-005, -8.31761384e-019, 0.999993563))
  866. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  867. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.232000008))
  868. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296783447, -1.21779633, -0.289975524, 0.999985218, -1.2789757e-013, -5.02773673e-006, 1.27897842e-013, 0.999987364, -8.52495958e-019, 5.55250699e-006, 1.4187069e-019, 0.999993563))
  869. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  870. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.69600153, 0.579999864))
  871. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296020508, -1.15990829, 0.115901232, 0.999985218, 2.71050543e-019, 3.93541995e-007, 2.71050543e-019, 0.999987364, -3.39068571e-020, 1.31274646e-007, -3.36740574e-020, 0.999993563))
  872. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  873. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39200163, 0.579999864))
  874. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00303268433, -3.82756042, 0.116035104, 0.999985218, -2.71050543e-019, -5.02709827e-006, 8.13151629e-019, 0.999987364, 4.46583439e-020, 5.55186853e-006, -1.12240021e-019, 0.999993563))
  875. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  876. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.232000008, 0.34799999))
  877. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296783447, -0.927848816, -0.347965479, 0.999985218, -1.27897286e-013, -4.76533569e-006, 1.27897557e-013, 0.999987364, -8.52723381e-019, 5.29010867e-006, 1.75660036e-019, 0.999993563))
  878. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  879. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.24940002, 0.463999897, 0.200000003))
  880. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296401978, -0.000411987305, 0.000145435333, 0.999990463, -1.27899427e-013, -1.89733364e-005, 1.27899603e-013, 0.999991894, -7.73013207e-019, 1.93231062e-005, -1.69873233e-018, 0.999995708))
  881. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  882. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.243599623, 0.200000003, 0.376999944))
  883. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.48498535e-005, -0.290370941, 0.00304746628, 0.999990463, -1.27899427e-013, -1.89733364e-005, 1.27899603e-013, 0.999991894, -7.73013207e-019, 1.93231062e-005, -1.69873233e-018, 0.999995708))
  884. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  885. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.237799957, 0.200000003))
  886. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.976894379, 6.48498535e-005, -0.115817547, -2.98019636e-008, 0.999993145, 5.66752374e-013, -0.999992073, -2.98019955e-008, 1.90170758e-005, 1.92794159e-005, -1.69310471e-018, 0.999996781))
  887. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  888. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999599, 0.200000003, 1.04400003))
  889. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.753929138, 4.76837158e-007, 0.999985218, 2.71050543e-019, 7.86980308e-007, 2.71050543e-019, 0.999987364, -3.42563409e-020, -2.62161848e-007, -3.33247287e-020, 0.999993563))
  890. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  891. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.231999993))
  892. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.348060369, -0.579917908, -7.62939453e-006, -2.62161848e-007, 2.98019245e-008, 0.999993026, 8.70145427e-015, 0.99998647, -2.98021199e-008, -0.999984145, 8.87893817e-016, -8.30688805e-007))
  893. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  894. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.237799957, 0.200000003))
  895. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.976894379, 6.48498535e-005, 0.116117477, -2.98019636e-008, 0.999993145, 5.66752374e-013, -0.999992073, -2.98019955e-008, 1.90170758e-005, 1.92794159e-005, -1.69310471e-018, 0.999996781))
  896. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  897. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.231999993))
  898. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347965479, -0.579917908, 7.62939453e-006, -2.62161848e-007, 2.98019245e-008, 0.999993026, 8.70145427e-015, 0.99998647, -2.98021199e-008, -0.999984145, 8.87893817e-016, -8.30688805e-007))
  899. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  900. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 3.82800055, 0.34799999))
  901. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00296783447, -3.30554581, -0.347965479, 0.999985218, -5.42101086e-019, -3.45368062e-006, 1.08420217e-018, 0.999987364, 7.01750046e-020, 3.9784627e-006, -1.3775716e-019, 0.999993563))
  902. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  903. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.463999897, 0.579999924))
  904. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.928001404, 4.76837158e-007, 0.999985218, 2.71050543e-019, 2.62407411e-007, 2.71050543e-019, 0.999987364, -3.37904314e-020, 2.62407411e-007, -3.37904314e-020, 0.999993563))
  905. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.62400162, 0.347999901))
  906. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00303268433, -2.31979752, 6.24656677e-005, 0.999985218, 0, -3.01626824e-006, 5.42101086e-019, 0.999987364, 2.67851422e-021, 3.54105578e-006, -7.02591444e-020, 0.999993563))
  907. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  909. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000217437744, -0.348089933, -0.869995117, -0.99999404, -1.39324975e-005, 0.000813946885, -0.000814205792, 5.27501379e-006, -0.999998093, 1.37386678e-005, -0.999996662, -5.24543884e-006))
  910. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  911. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
  912. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000217437744, -0.348093748, 1.10200882, 0.999994278, 1.3977201e-005, -0.000819151115, -0.000819409906, 5.95969937e-007, -0.999998093, -1.37685602e-005, 0.999996781, 5.66504127e-007))
  913. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
  914. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  915. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000312805176, -0.347890377, -0.869995117, 0.99999392, -1.39324975e-005, -0.000813827617, 0.000814101484, 5.27501379e-006, 0.999997854, -1.37386651e-005, -0.999996662, 5.2454352e-006))
  916. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  917. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
  918. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -0.347894311, 1.10200882, -0.99999404, 1.3977201e-005, 0.000819162233, 0.000819376437, 5.95969937e-007, 0.999997735, 1.37685583e-005, 0.999996781, -5.66503445e-007))
  919. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
  920.  
  921. function attackone()
  922. attack=true
  923. con1=HitboxA.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  924. for i=0,1,0.1 do
  925. swait()
  926. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(20)),.3)
  927. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  928. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  929. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  930. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  931. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  932. end
  933. so("http://www.roblox.com/asset/?id=233856140",HitboxA,1,1)
  934. so("http://www.roblox.com/asset/?id=234365549",HitboxA,1,1)
  935. for i=0,1,0.1 do
  936. swait()
  937. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  938. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  939. local h = 5
  940. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  941. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  942. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  943. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  944. scfr = blcf
  945. elseif not scfr then
  946. scfr = blcf
  947. end
  948. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  949. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(80)),.3)
  951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(10),math.rad(-80)),.3)
  952. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(-30),math.rad(0)),.3)
  953. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  954. end
  955. attack=false
  956. con1:disconnect()
  957. end
  958.  
  959. function attacktwo()
  960. attack=true
  961. con1=HitboxB.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  962. for i=0,1,0.1 do
  963. swait()
  964. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  965. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-20)),.3)
  966. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  967. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  968. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  969. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  970. end
  971. so("http://www.roblox.com/asset/?id=233856146",HitboxB,1,1)
  972. so("http://www.roblox.com/asset/?id=234365573",HitboxB,1,1)
  973. for i=0,1,0.1 do
  974. swait()
  975. local blcf = HitboxB.CFrame*CFrame.new(0,.5,0)
  976. if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then
  977. local h = 5
  978. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  979. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  980. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  981. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  982. scfr = blcf
  983. elseif not scfr then
  984. scfr = blcf
  985. end
  986. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  987. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  988. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(-10),math.rad(80)),.3)
  990. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(30),math.rad(-30),math.rad(0)),.3)
  991. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  992. end
  993. attack=false
  994. con1:disconnect()
  995. end
  996.  
  997. function spin()
  998. attack=true
  999. con1=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1000. con2=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1001. for i=0,1,0.2 do
  1002. swait()
  1003. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1004. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1005. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1006. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1007. end
  1008. for i=0,1,1 do
  1009. so("http://roblox.com/asset/?id=231917987",Torso,1,1)
  1010. swait()
  1011. for i=0,1,0.1 do
  1012. swait()
  1013. local blcf = HitboxA.CFrame*CFrame.new(0,.5,0)
  1014. if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then
  1015. local h = 5
  1016. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1017. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1018. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1019. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1020. scfr = blcf
  1021. elseif not scfr then
  1022. scfr = blcf
  1023. end
  1024. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1025. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1026. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,-1,-1)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1027. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,-1,-1)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(0,-1.5,6*i),.3)
  1029. end
  1030. end
  1031. con1:disconnect()
  1032. con2:disconnect()
  1033. attack=false
  1034. end
  1035.  
  1036. function kick()
  1037. attack=true
  1038. con1=LeftLeg.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1039. Humanoid.WalkSpeed = 0
  1040. for i=0,1,0.2 do
  1041. swait()
  1042. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(30)),.3)
  1043. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-30)),.3)
  1044. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1045. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1046. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-90),math.rad(-90),math.rad(0)),.3)
  1047. end
  1048. so("http://roblox.com/asset/?id=200632211",LeftLeg,1,1)
  1049. for i=0,1,0.1 do
  1050. swait()
  1051. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-60),math.rad(0),math.rad(30)),.3)
  1052. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-60),math.rad(0),math.rad(-30)),.3)
  1053. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1055. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),math.rad(-90),math.rad(0)),.3)
  1056. end
  1057. attack=false
  1058. Humanoid.WalkSpeed = 16
  1059. con1:disconnect()
  1060. end
  1061.  
  1062. function DualStab()
  1063. attack=true
  1064. con1=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1065. con2=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1066. for i=0,1,0.2 do
  1067. swait()
  1068. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1069. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1070. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1071. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1072. end
  1073. so("http://www.roblox.com/asset/?id=233856146",HitboxA,1,1)
  1074. so("http://www.roblox.com/asset/?id=234365573",HitboxB,1,1)
  1075. for i=0,1,0.1 do
  1076. swait()
  1077. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(130),math.rad(90)),.3)
  1078. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-130),math.rad(-90)),.3)
  1079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1080. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1081. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,-1,-1)*angles(math.rad(-120),math.rad(0),math.rad(0)),.3)
  1082. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,-1,-1)*angles(math.rad(-120),math.rad(0),math.rad(0)),.3)
  1083. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1084. Torso.Velocity=Head.CFrame.lookVector*50
  1085. end
  1086. con1:disconnect()
  1087. con2:disconnect()
  1088. attack=false
  1089. end
  1090.  
  1091. function DualSlash()
  1092. attack=true
  1093. for i=0,1,0.1 do
  1094. swait()
  1095. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(50),math.rad(0)),.3)
  1096. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(-50),math.rad(0)),.3)
  1097. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1099. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1100. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1101. end
  1102. con1=HitboxA.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1103. con2=HitboxB.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1104. so("http://www.roblox.com/asset/?id=233856146",HitboxA,1,1)
  1105. so("http://www.roblox.com/asset/?id=234365573",HitboxB,1,1)
  1106. for i=0,1,0.1 do
  1107. swait()
  1108. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(60)),.3)
  1109. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-60)),.3)
  1110. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1111. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1112. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,-1,-1)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1113. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,-1,-1)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1114. end
  1115. con1:disconnect()
  1116. con2:disconnect()
  1117. attack=false
  1118. end
  1119.  
  1120. mouse.Button1Down:connect(function()
  1121. if attack==false then
  1122. if attacktype==1 then
  1123. attack=true
  1124. attacktype=2
  1125. attackone()
  1126. elseif attacktype==2 then
  1127. attack=true
  1128. attacktype=1
  1129. attacktwo()
  1130. end
  1131. end
  1132. end)
  1133.  
  1134. mouse.KeyDown:connect(function(k)
  1135. k=k:lower()
  1136. if k=='q' then
  1137. if attack==false then
  1138. spin()
  1139. end
  1140. elseif k=='e' then
  1141. if attack==false then
  1142. kick()
  1143. end
  1144. elseif k=='r' then
  1145. if attack==false then
  1146. DualStab()
  1147. end
  1148. elseif k=='f' then
  1149. if attack==false then
  1150. DualSlash()
  1151. end
  1152. end
  1153. end)
  1154.  
  1155. local sine = 0
  1156. local change = 1
  1157. local val = 0
  1158.  
  1159. while true do
  1160. swait()
  1161. sine = sine + change
  1162. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1163. local velderp=RootPart.Velocity.y
  1164. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1165. if equipped==true or equipped==false then
  1166. if attack==false then
  1167. idle=idle+1
  1168. else
  1169. idle=0
  1170. end
  1171. if idle>=500 then
  1172. if attack==false then
  1173. --Sheath()
  1174. end
  1175. end
  1176. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1177. Anim="Jump"
  1178. if attack==false then
  1179. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1180. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1181. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(20),math.rad(0),math.rad(30)),.3)
  1182. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(20),math.rad(0),math.rad(-30)),.3)
  1183. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1184. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1185. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1186. end
  1187. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1188. Anim="Fall"
  1189. if attack==false then
  1190. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1191. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1192. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-50),math.rad(0),math.rad(30)),.3)
  1193. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-50),math.rad(0),math.rad(-30)),.3)
  1194. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1195. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1196. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1197. end
  1198. elseif torvel<1 and hitfloor~=nil then
  1199. Anim="Idle"
  1200. if attack==false then
  1201. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1202. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(40)),.3)
  1203. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-20),math.rad(0),math.rad(20)),.3)
  1204. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(10),math.rad(20),math.rad(-30)),.3)
  1205. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.3)
  1206. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1207. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1208. end
  1209. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1210. Anim="Walk"
  1211. if attack==false then
  1212. change=3
  1213. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1214. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1215. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-20),math.rad(0),math.rad(30)),.3)
  1216. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-20),math.rad(0),math.rad(-30)),.3)
  1217. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1218. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1219. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1220. end
  1221. elseif torvel>=22 and hitfloor~=nil then
  1222. Anim="Run"
  1223. if attack==false then
  1224. end
  1225. end
  1226. end
  1227. end
Add Comment
Please, Sign In to add comment