FilthyFrank

Spartacus? script

Mar 2nd, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.91 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'.Stepped:wait(0)
  193. else
  194. for i=0,num do
  195. game:service'RunService'.Stepped: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("Dark grey")
  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("Institutional white")
  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("Institutional white")
  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("Institutional white"))
  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. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.00999999, 0.200000003, 1.01999998))
  695. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00453186035, 0.70298934, -3.81469727e-006, 1, 1.24280923e-005, 3.62450692e-006, -1.24280677e-005, 0.999999881, -7.24993879e-006, -3.62459696e-006, 7.24989241e-006, 1))
  696. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  697. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149917603, 0.00745010376, 2.09010315, -0.000775762834, -0.000198143447, -0.999999762, 0.2587955, -0.965932131, -9.37082677e-006, -0.965931892, -0.25879544, 0.000800612848))
  698. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  699. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  700. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804458618, -1.60124516, 0.200565338, -0.999999702, 1.0424109e-005, 0.00080942869, 1.04258834e-005, 1, 2.18860623e-006, -0.000809428748, 2.19704498e-006, -0.999999762))
  701. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  702. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  703. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149917603, 0.407447815, 2.09008789, -0.000775762834, -0.000198143447, -0.999999762, 0.2587955, -0.965932131, -9.37082677e-006, -0.965931892, -0.25879544, 0.000800612848))
  704. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  705. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  706. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804656982, -0.00149226189, -0.199989319, 1, -1.51996278e-006, -9.00177611e-007, 1.51996414e-006, 1, 1.78407163e-006, 9.0017511e-007, -1.78407345e-006, 1))
  707. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  708. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.8046875, -1.40146065, -0.200000763, 1, -2.53325902e-006, -1.15754142e-006, 2.53326129e-006, 1, 2.29419857e-006, 1.15753573e-006, -2.2942022e-006, 1))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  710. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00104904175, 0.80099535, -0.804374695, -0.00079384027, -2.35535254e-006, 0.999999762, 1.23548616e-005, -1, -2.345545e-006, 0.999999702, 1.23529953e-005, 0.00079384027))
  711. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999981, 0.200000003))
  713. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804840088, -0.701039076, 0.200004578, 1, -1.13247711e-006, -1.65158008e-006, 1.13248279e-006, 1, 3.24646408e-006, 1.65157644e-006, -3.24646635e-006, 1))
  714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  715. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.604995728, -0.198758841, 0.299610138, -0.999999702, 2.38762932e-005, 0.000802349532, -2.38822213e-005, -1, -7.38197605e-006, 0.000802349416, -7.40113637e-006, 0.999999762))
  716. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  717. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  718. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00104904175, 1.20110154, -0.804405212, -0.000794201565, -1.84438341e-006, 0.999999762, 1.33673129e-005, -1, -1.83376733e-006, 0.999999702, 1.33658532e-005, 0.000794201507))
  719. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  720. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  721. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00082183, 0.804695129, 1.14440918e-005, 8.02643353e-006, 1, 8.99688075e-007, -1, 8.02643444e-006, -8.06387561e-008, -8.06460321e-008, -8.99688075e-007, 1))
  722. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  723. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00105285645, 0.207288742, 1.38993073, 0.000767044956, 0.000216024258, -0.999999762, 0.25882411, -0.965924442, -1.01333862e-005, -0.965924203, -0.25882405, -0.000796819746))
  724. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  725. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  726. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00105285645, 0.207288742, 1.38993073, 0.000767044956, 0.000216024258, -0.999999762, 0.25882411, -0.965924442, -1.01333862e-005, -0.965924203, -0.25882405, -0.000796819746))
  727. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  728. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  729. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804832458, -0.00107288361, 0.200008392, 1, 5.06695585e-007, -8.25381449e-007, -5.06694448e-007, 1, 1.62247716e-006, 8.25382358e-007, -1.62247716e-006, 1))
  730. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.5999999, 1))
  731. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.60484314, -0.701060057, 3.81469727e-006, 1, -5.0665119e-007, -1.2858186e-007, 5.06651418e-007, 1, 2.54860879e-007, 1.2858186e-007, -2.54860879e-007, 1))
  732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  733. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.407440186, 1.39002991, 7.62939453e-006, -0.258809745, 0.965928316, 6.25329039e-006, -0.965928316, -0.258809745, 5.92428364e-007, 2.19065578e-006, -5.88690455e-006, 1))
  734. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.200000003, 1.01999998))
  735. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.39966226, -3.81469727e-006, 1, 9.78939152e-014, 0, 9.78939152e-014, 1, -4.54747351e-013, 0, -4.54747351e-013, 1))
  736. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  737. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.20072484, 0.804679871, 1.90734863e-005, 9.54640291e-006, 1, 1.34129095e-007, -1, 9.54640291e-006, -4.66791334e-007, -4.66792699e-007, -1.34125003e-007, 1))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  739. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804832458, -1.40093589, 0.200008392, 1, -6.25846724e-007, -1.52244274e-006, 6.25852408e-007, 1, 2.9908856e-006, 1.52244093e-006, -2.99088697e-006, 1))
  740. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  741. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600740433, 0.804679871, 1.14440918e-005, 9.03974706e-006, 1, 3.89332854e-007, -1, 9.03974797e-006, -3.38003701e-007, -3.38007339e-007, -3.8933058e-007, 1))
  742. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  743. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.807434082, 1.39003754, 7.62939453e-006, -0.258809745, 0.965928316, 6.25329039e-006, -0.965928316, -0.258809745, 5.92428364e-007, 2.19065578e-006, -5.88690455e-006, 1))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999981, 0.200000003))
  745. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804702759, -0.70143795, -0.199996948, 1, -1.01330238e-006, -7.71793339e-007, 1.01330374e-006, 1, 1.5292967e-006, 7.71791974e-007, -1.52929761e-006, 1))
  746. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  747. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149917603, 0.407447815, 2.09008789, -0.000775762834, -0.000198143447, -0.999999762, 0.2587955, -0.965932131, -9.37082677e-006, -0.965931892, -0.25879544, 0.000800612848))
  748. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  749. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  750. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.40093756, 0.804824829, 1.14440918e-005, 3.97891699e-006, 1, 1.40816746e-006, -1, 3.97891699e-006, 7.39107691e-008, 7.39048573e-008, -1.40816837e-006, 1))
  751. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  752. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804832458, -1.60131168, 0.199436188, 0.999999762, -1.39274289e-005, -0.00080996746, 1.3930121e-005, 1, 3.31980937e-006, 0.00080996746, -3.33109165e-006, 0.999999762))
  753. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  754. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  755. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00105285645, -0.192708969, 1.38991547, 0.000767044956, 0.000216024258, -0.999999762, 0.25882411, -0.965924442, -1.01333862e-005, -0.965924203, -0.25882405, -0.000796819746))
  756. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  757. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  758. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604515076, -0.198748827, 0.300395966, 0.999999702, -2.34442468e-005, -0.000810647849, -2.34508079e-005, -1, -8.08337518e-006, -0.000810647791, 8.10238362e-006, -0.999999762))
  759. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  760. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  761. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.604988098, -1.60080338, 0.299423218, -0.999999702, -5.39955295e-007, -0.000795590866, -5.45267824e-007, 1, 6.67714994e-006, 0.000795590866, 6.67758286e-006, -0.999999762))
  762. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  763. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  764. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149917603, 0.807449341, 2.09008789, -0.000775762834, -0.000198143447, -0.999999762, 0.2587955, -0.965932131, -9.37082677e-006, -0.965931892, -0.25879544, 0.000800612848))
  765. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  766. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  767. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000732421875, -1.60110044, -0.704284668, -0.000800467154, 4.59665034e-006, -0.999999762, 3.62008614e-005, 1, 4.56767384e-006, 0.999999702, -3.61971943e-005, -0.000800467213))
  768. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  769. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600747824, 0.804679871, 1.52587891e-005, 9.546402e-006, 1, 1.3412955e-007, -1, 9.546402e-006, -4.66791334e-007, -4.66792699e-007, -1.34125457e-007, 1))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  771. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00105285645, 0.400963783, -0.804359436, -0.000793659594, -2.61081141e-006, 0.999999762, 1.18486341e-005, -1, -2.60140723e-006, 0.999999702, 1.1846565e-005, 0.000793659594))
  772. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  773. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  774. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.80480957, -0.19858551, 0.199443817, -0.999999702, 1.82939402e-005, 0.000809788588, -1.82979911e-005, -1, -4.99458338e-006, 0.000809788529, -5.00940041e-006, 0.999999762))
  775. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  776. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  777. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604515076, -1.60079789, 0.300582886, 0.999999702, 1.07772372e-007, 0.000803890871, -1.13655666e-007, 1, 7.31800083e-006, -0.000803890929, -7.31809041e-006, 0.999999762))
  778. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  779. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  780. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.20727158, 1.39006805, 7.62939453e-006, -0.258811712, 0.96592778, 5.48893058e-006, -0.96592778, -0.258811712, 2.58521823e-007, 1.67031294e-006, -5.23500239e-006, 1))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  782. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00105285645, 0.000962018967, -0.804344177, -0.000793478917, -2.86625254e-006, 0.999999762, 1.13424067e-005, -1, -2.85725355e-006, 0.999999702, 1.13401356e-005, 0.000793478917))
  783. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  785. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.407440186, 1.39002991, 7.62939453e-006, -0.258809745, 0.965928316, 6.25329039e-006, -0.965928316, -0.258809745, 5.92428364e-007, 2.19065578e-006, -5.88690455e-006, 1))
  786. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  787. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00744056702, 1.39002991, 7.62939453e-006, -0.258809745, 0.965928316, 6.25329039e-006, -0.965928316, -0.258809745, 5.92428364e-007, 2.19065578e-006, -5.88690455e-006, 1))
  788. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  789. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149536133, 1.20727921, 2.09011841, -0.000775216671, -0.000198790163, -0.999999762, 0.25879696, -0.965931714, -8.60601904e-006, -0.965931416, -0.258796901, 0.000800252601))
  790. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  792. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00103759766, 0.607286453, 1.38993073, 0.000767044956, 0.000216024258, -0.999999762, 0.25882411, -0.965924442, -1.01333862e-005, -0.965924203, -0.25882405, -0.000796819746))
  793. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  794. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  795. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00105667114, 1.00712585, 1.38998413, 0.000767590303, 0.000215379841, -0.999999762, 0.25882557, -0.965924084, -9.36856759e-006, -0.965923786, -0.258825481, -0.00079717976))
  796. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  798. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804527283, -0.198646307, 0.200569153, 0.999999702, -2.09092341e-005, -0.000810349244, -2.0914762e-005, -1, -6.81511392e-006, -0.000810349185, 6.83206099e-006, -0.999999762))
  799. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  801. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00104904175, 0.400973558, -0.804351807, -0.000793298183, -3.12167685e-006, 0.999999762, 1.08361764e-005, -1, -3.11308122e-006, 0.999999702, 1.08337026e-005, 0.000793298183))
  802. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  804. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000896453857, -0.199022532, -0.704322815, -0.000792575476, -4.14340593e-006, 0.999999762, 8.81127198e-006, -1, -4.13642329e-006, 0.999999702, 8.80799234e-006, 0.000792575534))
  805. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Hitbox",Vector3.new(0.200000003, 2.20000005, 1.4000001))
  806. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00121688843, 0.80096817, -1.60431671, -0.000792575476, -4.14340593e-006, 0.999999762, 8.81127198e-006, -1, -4.13642329e-006, 0.999999702, 8.80799234e-006, 0.000792575534))
  807.  
  808. handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","handle2",Vector3.new(1.00999999, 0.200000003, 1.01999998))
  809. handle2weld=weld(m,Character["Left Arm"],handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00513458252, 0.70298934, 1.14440918e-005, -0.999999881, 1.23995405e-005, -3.60608101e-006, 1.23995096e-005, 0.999999881, 7.30403235e-006, 3.60608101e-006, 7.30398597e-006, -0.999999881))
  810. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  811. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149154663, 0.00744628906, 2.09009552, -0.000775712193, -0.000198143447, -0.999999404, 0.258795381, -0.965932131, -9.35931985e-006, -0.965931594, -0.25879547, 0.00080048875))
  812. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  813. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  814. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804450989, -1.6012454, 0.200557709, -0.999999404, 1.04241026e-005, 0.000809401157, 1.0425887e-005, 1, 2.18860714e-006, -0.000809401216, 2.19704407e-006, -0.999999523))
  815. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  816. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  817. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149536133, 0.407445908, 2.09008026, -0.000775712193, -0.000198143447, -0.999999404, 0.258795381, -0.965932131, -9.35931985e-006, -0.965931594, -0.25879547, 0.00080048875))
  818. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  819. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  820. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804649353, -0.00149226189, -0.199989319, 0.999999762, -1.51995505e-006, -9.53594736e-007, 1.5199704e-006, 1, 1.78407117e-006, 9.53742529e-007, -1.78407345e-006, 0.999999762))
  821. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  822. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.8046875, -1.40146065, -0.199985504, 0.999999881, -2.53325379e-006, -1.10261408e-006, 2.53326675e-006, 1, 2.29419857e-006, 1.10274823e-006, -2.29420129e-006, 0.999999881))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  824. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00106430054, 0.800995588, -0.804374695, -0.000793799583, -2.35535254e-006, 0.999999523, 1.23548516e-005, -1, -2.34554545e-006, 0.999999285, 1.23530035e-005, 0.000793814717))
  825. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  826. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999981, 0.200000003))
  827. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804824829, -0.701039076, 0.200004578, 0.999999762, -1.13247029e-006, -1.57944055e-006, 1.13248814e-006, 1, 3.24646362e-006, 1.57957311e-006, -3.24646453e-006, 0.999999762))
  828. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  829. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.604995728, -0.198758841, 0.299629211, -0.999999344, 2.38762859e-005, 0.00080227846, -2.38822213e-005, -1, -7.38197559e-006, 0.0008022486, -7.40113319e-006, 0.999999464))
  830. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  831. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  832. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00104904175, 1.20110154, -0.804405212, -0.000794097607, -1.84438295e-006, 0.999999344, 1.33673029e-005, -1, -1.83376733e-006, 0.999999285, 1.33658614e-005, 0.000794187246))
  833. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  834. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  835. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00082207, 0.804695129, 2.28881836e-005, 8.02643899e-006, 1, 8.99690349e-007, -0.999999821, 8.02642899e-006, -5.96362497e-008, -5.9525064e-008, -8.99688075e-007, 0.999999821))
  836. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  837. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00106048584, 0.207288742, 1.38993073, 0.00076695031, 0.000216024244, -0.999999344, 0.258824021, -0.965924442, -1.00969737e-005, -0.965923846, -0.25882408, -0.000796826323))
  838. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  839. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  840. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00106048584, 0.207288742, 1.38993073, 0.00076695031, 0.000216024244, -0.999999344, 0.258824021, -0.965924442, -1.00969737e-005, -0.965923846, -0.25882408, -0.000796826323))
  841. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  842. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  843. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804824829, -0.00107336044, 0.200004578, 0.999999762, 5.06703032e-007, -8.49271601e-007, -5.06688139e-007, 1, 1.6224767e-006, 8.49436447e-007, -1.6224767e-006, 0.999999762))
  844. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.5999999, 1))
  845. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604850769, -0.701060057, 1.14440918e-005, 0.999999702, -5.0664346e-007, -7.44187219e-008, 5.06656818e-007, 1, 2.54862243e-007, 7.45928901e-008, -2.54859515e-007, 0.999999702))
  846. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  847. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.407442093, 1.39002228, 2.28881836e-005, -0.258809716, 0.965928316, 6.24499989e-006, -0.965927958, -0.258809775, 6.0929608e-007, 2.17558681e-006, -5.88690318e-006, 0.999999762))
  848. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.200000003, 1.01999998))
  849. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -1.39966226, 3.81469727e-006, 0.999999762, 8.2218659e-012, 9.04947228e-011, 8.2218659e-012, 1, 0, 9.04947228e-011, 0, 0.999999762))
  850. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  851. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.20072484, 0.8046875, 2.28881836e-005, 9.54640745e-006, 1, 1.34130914e-007, -0.999999762, 9.54639836e-006, -5.51363883e-007, -5.51254288e-007, -1.34123638e-007, 0.999999762))
  852. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  853. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804832458, -1.40093589, 0.200016022, 0.999999642, -6.2583922e-007, -1.43042485e-006, 6.25857751e-007, 1, 2.9908856e-006, 1.43056423e-006, -2.99088379e-006, 0.999999642))
  854. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  855. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600740433, 0.8046875, 2.28881836e-005, 9.03975251e-006, 1, 3.89334218e-007, -0.999999702, 9.03974251e-006, -3.72553814e-007, -3.7244331e-007, -3.89329216e-007, 0.999999702))
  856. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  857. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.807434082, 1.39003754, 7.62939453e-006, -0.258809716, 0.965928316, 6.24499989e-006, -0.965927958, -0.258809775, 6.0929608e-007, 2.17558681e-006, -5.88690318e-006, 0.999999762))
  858. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999981, 0.200000003))
  859. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804702759, -0.701437712, -0.200000763, 0.999999583, -1.01329283e-006, -8.34380899e-007, 1.01330909e-006, 1, 1.52929624e-006, 8.3453574e-007, -1.52929624e-006, 0.999999583))
  860. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  861. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149536133, 0.407445908, 2.09008026, -0.000775712193, -0.000198143447, -0.999999404, 0.258795381, -0.965932131, -9.35931985e-006, -0.965931594, -0.25879547, 0.00080048875))
  862. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  863. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  864. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.4009378, 0.804824829, 1.90734863e-005, 3.97892427e-006, 1, 1.40816974e-006, -0.999999702, 3.97890881e-006, 7.44441877e-008, 7.45787929e-008, -1.40816746e-006, 0.999999702))
  865. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  866. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804832458, -1.60131168, 0.199436188, 0.999999583, -1.39274262e-005, -0.000809922698, 1.39301246e-005, 1, 3.31980982e-006, 0.000809922756, -3.33109119e-006, 0.999999583))
  867. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  869. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00105285645, -0.192708969, 1.3899231, 0.00076695031, 0.000216024244, -0.999999344, 0.258824021, -0.965924442, -1.00969737e-005, -0.965923846, -0.25882408, -0.000796826323))
  870. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  871. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  872. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604530334, -0.198748827, 0.300384521, 0.999999464, -2.34442396e-005, -0.000810697617, -2.34508097e-005, -1, -8.08337427e-006, -0.000810682657, 8.10238362e-006, -0.999999523))
  873. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  875. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.604980469, -1.60080361, 0.299423218, -0.999999344, -5.3996223e-007, -0.000795468688, -5.45260718e-007, 1, 6.67715085e-006, 0.000795528176, 6.67758241e-006, -0.999999523))
  876. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  877. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  878. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149536133, 0.807447433, 2.09008026, -0.000775712193, -0.000198143447, -0.999999404, 0.258795381, -0.965932131, -9.35931985e-006, -0.965931594, -0.25879547, 0.00080048875))
  879. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  880. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  881. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000732421875, -1.60110044, -0.704277039, -0.000800460519, 4.59664898e-006, -0.999999523, 3.62008577e-005, 1, 4.56767884e-006, 0.999999404, -3.61971906e-005, -0.000800490438))
  882. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  883. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600747824, 0.8046875, 2.28881836e-005, 9.54640564e-006, 1, 1.3413046e-007, -0.999999762, 9.54639745e-006, -5.51363883e-007, -5.51254288e-007, -1.34124093e-007, 0.999999762))
  884. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  885. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00104904175, 0.400964022, -0.804359436, -0.000793561165, -2.61081141e-006, 0.999999404, 1.18486241e-005, -1, -2.60140678e-006, 0.999999344, 1.18465714e-005, 0.000793650805))
  886. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  887. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  888. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.804824829, -0.19858551, 0.199447632, -0.999999404, 1.82939348e-005, 0.000809729041, -1.82979911e-005, -1, -4.99458383e-006, 0.000809863093, -5.00939996e-006, 0.999999464))
  889. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  890. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  891. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604499817, -1.60079813, 0.300582886, 0.999999464, 1.07776252e-007, 0.000803872943, -1.1364768e-007, 1, 7.31799946e-006, -0.000803872827, -7.31808905e-006, 0.999999464))
  892. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  893. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  894. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.20726967, 1.39008331, 1.90734863e-005, -0.258811593, 0.96592778, 5.47759373e-006, -0.965927541, -0.258811742, 1.62245328e-007, 1.62425158e-006, -5.23499966e-006, 0.999999642))
  895. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  896. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00105285645, 0.000962495804, -0.804344177, -0.000793441955, -2.86625118e-006, 0.999999285, 1.13423985e-005, -1, -2.85725582e-006, 0.999999285, 1.13401438e-005, 0.000793442188))
  897. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  898. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  899. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.407442093, 1.39002228, 2.28881836e-005, -0.258809716, 0.965928316, 6.24499989e-006, -0.965927958, -0.258809775, 6.0929608e-007, 2.17558681e-006, -5.88690318e-006, 0.999999762))
  900. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1, 0.200000003))
  901. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00743865967, 1.39002991, 1.14440918e-005, -0.258809716, 0.965928316, 6.24499989e-006, -0.965927958, -0.258809775, 6.0929608e-007, 2.17558681e-006, -5.88690318e-006, 0.999999762))
  902. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  903. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00149154663, 1.20727921, 2.09011841, -0.000775250257, -0.000198790163, -0.999999583, 0.258796901, -0.965931714, -8.62916477e-006, -0.965931177, -0.25879693, 0.000800175767))
  904. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  905. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  906. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00102996826, 0.607284546, 1.38994598, 0.00076695031, 0.000216024244, -0.999999344, 0.258824021, -0.965924442, -1.00969737e-005, -0.965923846, -0.25882408, -0.000796826323))
  907. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1))
  909. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00105667114, 1.00712585, 1.38998413, 0.00076759106, 0.000215379841, -0.999999523, 0.258825541, -0.965924084, -9.3444678e-006, -0.965923369, -0.258825511, -0.000797079701))
  910. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  911. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  912. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.804527283, -0.198646069, 0.200557709, 0.999999404, -2.09092268e-005, -0.000810235681, -2.09147638e-005, -1, -6.81511347e-006, -0.000810235622, 6.83205735e-006, -0.999999404))
  913. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  914. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  915. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00104904175, 0.400973797, -0.804351807, -0.000793233339, -3.1216764e-006, 0.999999344, 1.08361692e-005, -1, -3.11308213e-006, 0.999999225, 1.08337117e-005, 0.000793263374))
  916. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  917. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  918. Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000907897949, -0.19902277, -0.704322815, -0.0007927267, -4.1434032e-006, 0.999999464, 8.81126653e-006, -1, -4.13642329e-006, 0.999999464, 8.8079978e-006, 0.000792726933))
  919. Hitbox2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Hitbox2",Vector3.new(0.200000003, 2.20000005, 1.4000001))
  920. Hitbox2weld=weld(m,handle2,Hitbox2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00121688843, 0.80096817, -1.60432434, -0.0007927267, -4.1434032e-006, 0.999999464, 8.81126653e-006, -1, -4.13642329e-006, 0.999999464, 8.8079978e-006, 0.000792726933))
  921.  
  922. function attackone()
  923. attack=true
  924. con1=Hitbox2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,5),"Normal",RootPart,.2,1) end)
  925. for i=0,1,0.1 do
  926. swait()
  927. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  928. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(80)),.3)
  929. RW.C0=clerp(RW.C0,cf(1.3,0.5,-0.3)*angles(math.rad(70),math.rad(0),math.rad(-60)),.3)
  930. LW.C0=clerp(LW.C0,cf(-1,0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  931. end
  932. so("http://roblox.com/asset/?id=200632136",Torso,1,1)
  933. for i=0,0.6,0.1 do
  934. swait()
  935. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  936. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(80)),.3)
  937. RW.C0=clerp(RW.C0,cf(1.3,0.5,-0.3)*angles(math.rad(70),math.rad(0),math.rad(-60)),.3)
  938. LW.C0=clerp(LW.C0,cf(-1,0.5,-.8)*angles(math.rad(80),math.rad(0),math.rad(60)),.3)
  939. end
  940. attack=false
  941. con1:disconnect()
  942. end
  943.  
  944. function attacktwo()
  945. attack=true
  946. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,5),"Normal",RootPart,.2,1) end)
  947. for i=0,1,0.1 do
  948. swait()
  949. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  950. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(-80)),.3)
  951. RW.C0=clerp(RW.C0,cf(1.3,0.5,-0.3)*angles(math.rad(70),math.rad(0),math.rad(60)),.3)
  952. LW.C0=clerp(LW.C0,cf(-1,0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  953. end
  954. so("http://roblox.com/asset/?id=200632136",Torso,1,1.2)
  955. for i=0,0.6,0.1 do
  956. swait()
  957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(120)),.3)
  958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(-80)),.3)
  959. RW.C0=clerp(RW.C0,cf(1.3,0.5,-0.3)*angles(math.rad(70),math.rad(0),math.rad(-60)),.3)
  960. LW.C0=clerp(LW.C0,cf(-1,0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(10)),.3)
  961. end
  962. attack=false
  963. con1:disconnect()
  964. end
  965.  
  966. function attackthree()
  967. attack=true
  968. con1=Hitbox2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,5),"Normal",RootPart,.2,1) end)
  969. con2=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,5),"Normal",RootPart,.2,1) end)
  970. for i=0,1,0.1 do
  971. swait()
  972. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  973. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(0)),.3)
  974. RW.C0=clerp(RW.C0,cf(1.3,0.5,-0.3)*angles(math.rad(70),math.rad(0),math.rad(60)),.3)
  975. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-0.3)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  976. end
  977. so("http://roblox.com/asset/?id=200632136",Torso,1,1)
  978. so("http://roblox.com/asset/?id=200632136",Torso,1,1.2)
  979. for i=0,0.6,0.1 do
  980. swait()
  981. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  982. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(0)),.3)
  983. RW.C0=clerp(RW.C0,cf(1,0.5,-.8)*angles(math.rad(70),math.rad(0),math.rad(-120)),.3)
  984. LW.C0=clerp(LW.C0,cf(-1,0.5,-.8)*angles(math.rad(80),math.rad(0),math.rad(120)),.3)
  985. end
  986. attack=false
  987. con1:disconnect()
  988. con2:disconnect()
  989. end
  990.  
  991. mouse.Button1Down:connect(function()
  992. if attack==false then
  993. if attacktype==1 then
  994. attack=true
  995. attacktype=2
  996. attackone()
  997. elseif attacktype==2 then
  998. attack=true
  999. attacktype=3
  1000. attacktwo()
  1001. elseif attacktype==3 then
  1002. attack=true
  1003. attacktype=1
  1004. attackthree()
  1005. end
  1006. end
  1007. end)
  1008.  
  1009. mouse.KeyDown:connect(function(k)
  1010. k=k:lower()
  1011.  
  1012. end)
  1013.  
  1014.  
  1015. local sine = 0
  1016. local change = 1
  1017. local val = 0
  1018.  
  1019. while true do
  1020. swait()
  1021. sine = sine + change
  1022. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1023. local velderp=RootPart.Velocity.y
  1024. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1025. if equipped==true or equipped==false then
  1026. if attack==false then
  1027. idle=idle+1
  1028. else
  1029. idle=0
  1030. end
  1031. if idle>=500 then
  1032. if attack==false then
  1033. --Sheath()
  1034. end
  1035. end
  1036. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1037. Anim="Jump"
  1038. if attack==false then
  1039. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-8),math.rad(0),math.rad(0)),.3)
  1041. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.3)
  1042. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.3)
  1043. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.3)
  1044. end
  1045. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1046. Anim="Fall"
  1047. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1048. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(0)),.3)
  1049. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(20)),.3)
  1050. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  1051. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.3)
  1052. if attack==false then
  1053. end
  1054. elseif torvel<1 and hitfloor~=nil then
  1055. Anim="Idle"
  1056. if attack==false then
  1057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1058. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(8),math.rad(0),math.rad(40)),.3)
  1059. RW.C0=clerp(RW.C0,cf(1.3,0.5,-0.3)*angles(math.rad(70),math.rad(0),math.rad(-30)),.3)
  1060. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  1061. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.3)
  1062. end
  1063. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1064. Anim="Walk"
  1065. if attack==false then
  1066. change=3
  1067. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1068. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.3)
  1069. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),.3)
  1070. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  1071. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1072. end
  1073. elseif torvel>=22 and hitfloor~=nil then
  1074. Anim="Run"
  1075. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1076. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.3)
  1077. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),.3)
  1078. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  1079. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1080. if attack==false then
  1081. end
  1082. end
  1083. end
  1084. end
Add Comment
Please, Sign In to add comment