zEE1222

122343453456

Aug 18th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.32 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. function swait(num)
  104. if num==0 or num==nil then
  105. game:service'RunService'.Stepped:wait(0)
  106. else
  107. for i=0,num do
  108. game:service'RunService'.Stepped:wait(0)
  109. end
  110. end
  111. end
  112.  
  113. function nooutline(part)
  114. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  115. end
  116.  
  117. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  118. local fp=it("Part")
  119. fp.formFactor=formfactor
  120. fp.Parent=parent
  121. fp.Reflectance=reflectance
  122. fp.Transparency=transparency
  123. fp.CanCollide=false
  124. fp.Locked=true
  125. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  126. fp.Name=name
  127. fp.Size=size
  128. fp.Position=Character.Torso.Position
  129. nooutline(fp)
  130. fp.Material=material
  131. fp:BreakJoints()
  132. return fp
  133. end
  134.  
  135. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  136. local mesh=it(Mesh)
  137. mesh.Parent=part
  138. if Mesh=="SpecialMesh" then
  139. mesh.MeshType=meshtype
  140. mesh.MeshId=meshid
  141. end
  142. mesh.Offset=offset
  143. mesh.Scale=scale
  144. return mesh
  145. end
  146.  
  147. function weld(parent,part0,part1,c0,c1)
  148. local weld=it("Weld")
  149. weld.Parent=parent
  150. weld.Part0=part0
  151. weld.Part1=part1
  152. weld.C0=c0
  153. weld.C1=c1
  154. return weld
  155. end
  156.  
  157.  
  158. local function CFrameFromTopBack(at, top, back)
  159. local right = top:Cross(back)
  160. return CFrame.new(at.x, at.y, at.z,
  161. right.x, top.x, back.x,
  162. right.y, top.y, back.y,
  163. right.z, top.z, back.z)
  164. end
  165.  
  166. function Triangle(a, b, c)
  167. local edg1 = (c-a):Dot((b-a).unit)
  168. local edg2 = (a-b):Dot((c-b).unit)
  169. local edg3 = (b-c):Dot((a-c).unit)
  170. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  171. a, b, c = a, b, c
  172. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  173. a, b, c = b, c, a
  174. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  175. a, b, c = c, a, b
  176. else
  177. assert(false, "unreachable")
  178. end
  179.  
  180. local len1 = (c-a):Dot((b-a).unit)
  181. local len2 = (b-a).magnitude - len1
  182. local width = (a + (b-a).unit*len1 - c).magnitude
  183.  
  184. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  185.  
  186. local list = {}
  187.  
  188. local Color = BrickColor.new("Dark grey")
  189.  
  190. if len1 > 0.01 then
  191. local w1 = Instance.new('WedgePart', m)
  192. game:GetService("Debris"):AddItem(w1,5)
  193. w1.Material = "SmoothPlastic"
  194. w1.FormFactor = 'Custom'
  195. w1.BrickColor = BrickColor.new(Color)
  196. w1.Transparency = 0
  197. w1.Reflectance = 0
  198. w1.Material = "SmoothPlastic"
  199. w1.CanCollide = false
  200. NoOutline(w1)
  201. local sz = Vector3.new(0.2, width, len1)
  202. w1.Size = sz
  203. local sp = Instance.new("SpecialMesh",w1)
  204. sp.MeshType = "Wedge"
  205. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  206. w1:BreakJoints()
  207. w1.Anchored = true
  208. w1.Parent = workspace
  209. w1.Transparency = 0.7
  210. table.insert(Effects,{w1,"Disappear",.01})
  211. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  212. table.insert(list,w1)
  213. end
  214.  
  215. if len2 > 0.01 then
  216. local w2 = Instance.new('WedgePart', m)
  217. game:GetService("Debris"):AddItem(w2,5)
  218. w2.Material = "SmoothPlastic"
  219. w2.FormFactor = 'Custom'
  220. w2.BrickColor = BrickColor.new(Color)
  221. w2.Transparency = 0
  222. w2.Reflectance = 0
  223. w2.Material = "SmoothPlastic"
  224. w2.CanCollide = false
  225. NoOutline(w2)
  226. local sz = Vector3.new(0.2, width, len2)
  227. w2.Size = sz
  228. local sp = Instance.new("SpecialMesh",w2)
  229. sp.MeshType = "Wedge"
  230. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  231. w2:BreakJoints()
  232. w2.Anchored = true
  233. w2.Parent = workspace
  234. w2.Transparency = 0.7
  235. table.insert(Effects,{w2,"Disappear",.01})
  236. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  237. table.insert(list,w2)
  238. end
  239. return unpack(list)
  240. end
  241.  
  242.  
  243. so = function(id,par,vol,pit)
  244. coroutine.resume(coroutine.create(function()
  245. local sou = Instance.new("Sound",par or workspace)
  246. sou.Volume=vol
  247. sou.Pitch=pit or 1
  248. sou.SoundId=id
  249. swait()
  250. sou:play()
  251. game:GetService("Debris"):AddItem(sou,6)
  252. end))
  253. end
  254.  
  255. function clerp(a,b,t)
  256. local qa = {QuaternionFromCFrame(a)}
  257. local qb = {QuaternionFromCFrame(b)}
  258. local ax, ay, az = a.x, a.y, a.z
  259. local bx, by, bz = b.x, b.y, b.z
  260. local _t = 1-t
  261. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  262. end
  263.  
  264. function QuaternionFromCFrame(cf)
  265. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  266. local trace = m00 + m11 + m22
  267. if trace > 0 then
  268. local s = math.sqrt(1 + trace)
  269. local recip = 0.5/s
  270. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  271. else
  272. local i = 0
  273. if m11 > m00 then
  274. i = 1
  275. end
  276. if m22 > (i == 0 and m00 or m11) then
  277. i = 2
  278. end
  279. if i == 0 then
  280. local s = math.sqrt(m00-m11-m22+1)
  281. local recip = 0.5/s
  282. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  283. elseif i == 1 then
  284. local s = math.sqrt(m11-m22-m00+1)
  285. local recip = 0.5/s
  286. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  287. elseif i == 2 then
  288. local s = math.sqrt(m22-m00-m11+1)
  289. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  290. end
  291. end
  292. end
  293.  
  294. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  295. local xs, ys, zs = x + x, y + y, z + z
  296. local wx, wy, wz = w*xs, w*ys, w*zs
  297. local xx = x*xs
  298. local xy = x*ys
  299. local xz = x*zs
  300. local yy = y*ys
  301. local yz = y*zs
  302. local zz = z*zs
  303. 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))
  304. end
  305.  
  306. function QuaternionSlerp(a, b, t)
  307. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  308. local startInterp, finishInterp;
  309. if cosTheta >= 0.0001 then
  310. if (1 - cosTheta) > 0.0001 then
  311. local theta = math.acos(cosTheta)
  312. local invSinTheta = 1/math.sin(theta)
  313. startInterp = math.sin((1-t)*theta)*invSinTheta
  314. finishInterp = math.sin(t*theta)*invSinTheta
  315. else
  316. startInterp = 1-t
  317. finishInterp = t
  318. end
  319. else
  320. if (1+cosTheta) > 0.0001 then
  321. local theta = math.acos(-cosTheta)
  322. local invSinTheta = 1/math.sin(theta)
  323. startInterp = math.sin((t-1)*theta)*invSinTheta
  324. finishInterp = math.sin(t*theta)*invSinTheta
  325. else
  326. startInterp = t-1
  327. finishInterp = t
  328. end
  329. end
  330. 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
  331. end
  332.  
  333. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  334. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  335. end
  336.  
  337. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  338. if hit.Parent==nil then
  339. return
  340. end
  341. h=hit.Parent:FindFirstChild("Humanoid")
  342. for _,v in pairs(hit.Parent:children()) do
  343. if v:IsA("Humanoid") then
  344. h=v
  345. end
  346. end
  347. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  348. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  349. end
  350. if hit.Parent.className=="Hat" then
  351. hit=hit.Parent.Parent:findFirstChild("Head")
  352. end
  353. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  354. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  355. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  356. return
  357. end]]
  358. -- hs(hit,1.2)
  359. c=Instance.new("ObjectValue")
  360. c.Name="creator"
  361. c.Value=game:service("Players").LocalPlayer
  362. c.Parent=h
  363. game:GetService("Debris"):AddItem(c,.5)
  364. Damage=math.random(minim,maxim)
  365. -- h:TakeDamage(Damage)
  366. blocked=false
  367. block=hit.Parent:findFirstChild("Block")
  368. if block~=nil then
  369. print(block.className)
  370. if block.className=="NumberValue" then
  371. if block.Value>0 then
  372. blocked=true
  373. if decreaseblock==nil then
  374. block.Value=block.Value-1
  375. end
  376. end
  377. end
  378. if block.className=="IntValue" then
  379. if block.Value>0 then
  380. blocked=true
  381. if decreaseblock~=nil then
  382. block.Value=block.Value-1
  383. end
  384. end
  385. end
  386. end
  387. if blocked==false then
  388. -- h:TakeDamage(Damage)
  389. h.Health=h.Health-Damage
  390. showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark stone grey"))
  391. else
  392. h.Health=h.Health-(Damage/2)
  393. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  394. end
  395. if Type=="Knockdown" then
  396. hum=hit.Parent.Humanoid
  397. hum.PlatformStand=true
  398. coroutine.resume(coroutine.create(function(HHumanoid)
  399. swait(1)
  400. HHumanoid.PlatformStand=false
  401. end),hum)
  402. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  403. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  404. local bodvol=Instance.new("BodyVelocity")
  405. bodvol.velocity=angle*knockback
  406. bodvol.P=5000
  407. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  408. bodvol.Parent=hit
  409. rl=Instance.new("BodyAngularVelocity")
  410. rl.P=3000
  411. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  412. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  413. rl.Parent=hit
  414. game:GetService("Debris"):AddItem(bodvol,.5)
  415. game:GetService("Debris"):AddItem(rl,.5)
  416. elseif Type=="Normal" then
  417. vp=Instance.new("BodyVelocity")
  418. vp.P=500
  419. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  420. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  421. if KnockbackType==1 then
  422. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  423. elseif KnockbackType==2 then
  424. vp.velocity=Property.CFrame.lookVector*knockback
  425. end
  426. if knockback>0 then
  427. vp.Parent=hit.Parent.Torso
  428. end
  429. game:GetService("Debris"):AddItem(vp,.5)
  430. elseif Type=="Up" then
  431. local bodyVelocity=Instance.new("BodyVelocity")
  432. bodyVelocity.velocity=vt(0,60,0)
  433. bodyVelocity.P=5000
  434. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  435. bodyVelocity.Parent=hit
  436. game:GetService("Debris"):AddItem(bodyVelocity,1)
  437. rl=Instance.new("BodyAngularVelocity")
  438. rl.P=3000
  439. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  440. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  441. rl.Parent=hit
  442. game:GetService("Debris"):AddItem(rl,.5)
  443. elseif Type=="Snare" then
  444. bp=Instance.new("BodyPosition")
  445. bp.P=2000
  446. bp.D=100
  447. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  448. bp.position=hit.Parent.Torso.Position
  449. bp.Parent=hit.Parent.Torso
  450. game:GetService("Debris"):AddItem(bp,1)
  451. elseif Type=="Target" then
  452. if Targetting==false then
  453. ZTarget=hit.Parent.Torso
  454. coroutine.resume(coroutine.create(function(Part)
  455. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  456. swait(5)
  457. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  458. end),ZTarget)
  459. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  460. targetgui=Instance.new("BillboardGui")
  461. targetgui.Parent=ZTarget
  462. targetgui.Size=UDim2.new(10,100,10,100)
  463. targ=Instance.new("ImageLabel")
  464. targ.Parent=targetgui
  465. targ.BackgroundTransparency=1
  466. targ.Image="rbxassetid://4834067"
  467. targ.Size=UDim2.new(1,0,1,0)
  468. cam.CameraType="Scriptable"
  469. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  470. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  471. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  472. Targetting=true
  473. RocketTarget=ZTarget
  474. for i=1,Property do
  475. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  476. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  477. swait()
  478. end
  479. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  480. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  481. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  482. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  483. end
  484. Targetting=false
  485. RocketTarget=nil
  486. targetgui.Parent=nil
  487. cam.CameraType="Custom"
  488. end
  489. end
  490. debounce=Instance.new("BoolValue")
  491. debounce.Name="DebounceHit"
  492. debounce.Parent=hit.Parent
  493. debounce.Value=true
  494. game:GetService("Debris"):AddItem(debounce,Delay)
  495. c=Instance.new("ObjectValue")
  496. c.Name="creator"
  497. c.Value=Player
  498. c.Parent=h
  499. game:GetService("Debris"):AddItem(c,.5)
  500. CRIT=false
  501. hitDeb=true
  502. AttackPos=6
  503. end
  504. end
  505.  
  506. showDamage=function(Char,Dealt,du,Color)
  507. m=Instance.new("Model")
  508. m.Name=tostring(Dealt)
  509. h=Instance.new("Humanoid")
  510. h.Health=0
  511. h.MaxHealth=0
  512. h.Parent=m
  513. c=Instance.new("Part")
  514. c.Transparency=0
  515. c.BrickColor=Color
  516. c.Name="Head"
  517. c.TopSurface=0
  518. c.BottomSurface=0
  519. c.formFactor="Plate"
  520. c.Size=Vector3.new(1,.4,1)
  521. ms=Instance.new("CylinderMesh")
  522. ms.Scale=Vector3.new(.8,.8,.8)
  523. if CRIT==true then
  524. ms.Scale=Vector3.new(1,1.25,1)
  525. end
  526. ms.Parent=c
  527. c.Reflectance=0
  528. Instance.new("BodyGyro").Parent=c
  529. c.Parent=m
  530. if Char:findFirstChild("Head")~=nil then
  531. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  532. elseif Char.Parent:findFirstChild("Head")~=nil then
  533. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  534. end
  535. f=Instance.new("BodyPosition")
  536. f.P=2000
  537. f.D=100
  538. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  539. f.position=c.Position+Vector3.new(0,3,0)
  540. f.Parent=c
  541. game:GetService("Debris"):AddItem(m,.5+du)
  542. c.CanCollide=false
  543. m.Parent=workspace
  544. c.CanCollide=false
  545. end
  546.  
  547. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Handle",Vector3.new(1, 1, 1))
  548. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0513458252, 0.944534302, -0.0811920166, -0.0102198571, 2.38630419e-005, 0.99994725, -0.0168640614, 0.999856949, -0.00019622338, -0.999805093, -0.0168651734, -0.010218041))
  549. mesh("SpecialMesh",handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(3.25959849, 0.115999997, 0.127599999))
  550. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Hitbox",Vector3.new(1.20000005, 4.60000038, 0.599999905))
  551. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.143112063, 6.22692871, 0.000343322754, 5.96191967e-008, -0.999998391, -5.91157914e-008, 0.999998569, -1.40746124e-007, -3.35276127e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  552. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  553. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000175476074, 3.18406296, -0.584589601, 3.1106174e-007, 6.65961124e-007, -0.999999225, 0.999999166, -1.99390342e-007, -1.13621354e-007, -1.67652615e-007, -0.999998629, -8.76443437e-007))
  554. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  555. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  556. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.120494246, 2.55163956, -0.000389099121, -3.57540557e-008, -0.999990582, 5.21094989e-009, 0.999991, 2.26864358e-008, -3.91155481e-007, -3.53902578e-008, 3.06140464e-008, 0.999999106))
  557. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.116000019, 0.928000033, 0.115999997))
  558. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  559. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00465834141, 3.12642288, 7.62939453e-005, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  560. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.232000083, 0.115999997))
  561. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  562. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.111386776, 2.55165863, -0.00040435791, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  563. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.116000019, 0.928000033, 0.115999997))
  564. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
  565. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000587463379, -0.243011996, 5.85134125, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  566. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.34799999, 0.34799999))
  567. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  568. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00432050228, 0.00595855713, -2.7840004, -1.717126e-009, -0.999998748, 3.23392669e-007, 1.09896064e-007, -4.16195462e-007, -0.999998689, 0.999998868, -1.03391358e-007, -9.68575478e-008))
  569. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  570. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1, 1, 1))
  571. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.105027676, 4.11227417, -6.10351563e-005, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  572. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.34799999, 0.115999997, 0.115999997))
  573. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  574. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00470271707, -0.00584411621, -2.78356171, -1.717126e-009, -0.999998748, 3.23392669e-007, 1.09896064e-007, -4.16195462e-007, -0.999998689, 0.999998868, -1.03391358e-007, -9.68575478e-008))
  575. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  576. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  577. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.242508203, 0.00611114502, -3.01623917, -1.717126e-009, -0.999998748, 3.23392669e-007, 7.91624188e-008, -3.93838491e-007, -0.999999166, 0.999999166, -7.20319804e-009, -2.05822289e-007))
  578. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  579. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
  580. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213623047, -0.185208023, 5.03872681, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  581. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 1.27600014))
  582. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  583. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0046286881, -2.95814514, -0.000267028809, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  584. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.812000036, 0.579999328, 0.115999997))
  585. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  586. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00436702371, 1.68229294, 0, 5.23868948e-008, -0.999998212, -6.46300578e-008, 0.999998629, -1.38839823e-007, -1.68569386e-007, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  587. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.371199876, 0.115999997, 0.127599999))
  588. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
  589. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, -0.12708354, 6.31524658, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  590. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.579999983))
  591. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  592. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213623047, 3.18397141, 0.574902952, 3.1106174e-007, 6.65961124e-007, -0.999999225, 0.999999166, -1.99390342e-007, -1.13621354e-007, -1.67652615e-007, -0.999998629, -8.76443437e-007))
  593. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  594. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  595. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.278891832, -0.00566101074, -3.01582718, -1.717126e-009, -0.999998748, 3.23392669e-007, 1.09896064e-007, -4.16195462e-007, -0.999998689, 0.999998868, -1.03391358e-007, -9.68575478e-008))
  596. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  597. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  598. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107699931, -1.68196869, -0.000175476074, 5.96191967e-008, -0.999998391, -5.91157914e-008, 0.999998569, -1.40746124e-007, -3.35276127e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  599. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.371199876, 0.115999997, 0.127599999))
  600. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  601. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.242888302, -0.00568389893, -3.01576233, 7.65430741e-008, -0.999989688, 4.04575758e-007, 1.50874257e-007, -3.28659098e-007, -0.999998748, 0.999990165, 4.10364009e-009, -6.64964318e-007))
  602. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  603. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  604. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00480416417, 3.29995346, -0.000221252441, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  605. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.50800014, 0.116000086, 0.34799999))
  606. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
  607. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, -0.359012485, 6.3152504, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  608. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.579999983))
  609. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
  610. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000343322754, -0.243116915, 4.22694016, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  611. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.34799999, 0.34799999))
  612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 1, 1))
  613. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.279274791, 0.0061340332, -3.01628494, -1.717126e-009, -0.999998748, 3.23392669e-007, 1.09896064e-007, -4.16195462e-007, -0.999998689, 0.999998868, -1.03391358e-007, -9.68575478e-008))
  614. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.116000086, 0.115999997, 0.115999997))
  615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1, 1, 1))
  616. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.105817497, 6.08304977, 0.000411987305, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  617. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.34799999, 3.3640008, 0.115999997))
  618. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(1, 1, 1))
  619. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0469200611, 4.28580093, -0.000289916992, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  620. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.232000008, 0.232000008, 0.115999997))
  621. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  622. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00452938676, -0.290000916, -0.000190734863, -3.57540557e-008, -0.999990582, 5.21094989e-009, 0.999991, 2.26864358e-008, -3.91155481e-007, -3.53902578e-008, 3.06140464e-008, 0.999999106))
  623. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.34799999, 4.75599861, 0.115999997))
  624. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
  625. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000389099121, -0.243107885, 6.8951149, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  626. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.34799999, 0.579999983))
  627. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1, 1))
  628. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0110196769, 3.70596313, -0.000228881836, 5.00731403e-008, -0.999998569, 1.17693162e-008, 0.999998868, -4.27971827e-008, -3.81842256e-008, -3.91155481e-008, 1.38509222e-008, 0.999999106))
  629. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.696000159, 0.115999997))
  630. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(1, 1, 1))
  631. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.15527344e-005, -0.463034034, 3.18950272, 3.66009772e-007, 3.67927669e-007, -0.999998808, -2.63535185e-008, -0.999998331, -2.25892563e-007, -0.999998569, 1.69544364e-007, -2.70083547e-008))
  632. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.115999997))
  633. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  634. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000259399414, -0.41691938, -5.61992645, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  635. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  636. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  637. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.416832209, -4.69216156, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  638. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  639. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  640. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000244140625, -0.416903526, -5.38799667, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  641. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  642. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  643. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000129699707, -0.4168396, -4.80811691, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  644. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  645. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Wedge",Vector3.new(1, 1, 1))
  646. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00032043457, -0.243157327, 7.47495651, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  647. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.34799999, 0.579999983))
  648. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  649. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.416823983, -4.57619095, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  650. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  651. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Wedge",Vector3.new(1, 1, 1))
  652. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.39233398e-005, 0.105633855, 8.17050552, -2.32830644e-008, -5.20732101e-007, 0.999998748, -1.06962398e-006, -0.999998808, -6.41822908e-007, 0.999998927, -1.1564116e-006, -4.96394932e-007))
  653. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.34799999, 0.812000036))
  654. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  655. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213623047, -0.416888744, -5.27204895, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  656. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  657. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  658. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00025177002, -0.416909486, -5.50397873, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  659. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  660. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(1, 1, 1))
  661. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, -0.231011301, -2.95853806, 3.1106174e-007, -3.8456983e-007, -0.999998748, 1.58806506e-006, -0.999998331, 2.64302571e-007, -0.99999851, -1.49989501e-006, 1.64844096e-007))
  662. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.115999997))
  663. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(1, 1, 1))
  664. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, -0.453143001, 3.18961334, -1.24797225e-007, 6.04331944e-008, 0.999998748, 1.42914359e-007, 0.999998629, 4.88716978e-009, -0.999998868, 2.25860276e-007, 2.88709998e-007))
  665. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.115999997))
  666. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(1, 1, 1))
  667. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000221252441, -0.227434039, -2.95796967, -9.12696123e-008, 7.16026989e-008, 0.999998927, 1.42914359e-007, 0.999998629, 4.88716978e-009, -0.999998569, 1.40746124e-007, 3.35276127e-008))
  668. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.115999997))
  669. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(1, 1, 1))
  670. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -0.459308267, -2.89977646, 3.91155481e-008, -1.38509222e-008, -0.999999106, 1.42914359e-007, 0.999998629, 4.88716978e-009, 0.999998987, -1.54643203e-007, -9.68575478e-008))
  671. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.463999897))
  672. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  673. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.416811109, -4.46023178, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  674. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  675. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  676. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, -0.416853666, -4.92411804, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  677. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  678. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(1, 1, 1))
  679. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000205993652, -0.358892858, -3.70598602, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  680. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.116000019, 0.69599998))
  681. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  682. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000190734863, -0.416883975, -5.15605545, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  683. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  684. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Wedge",Vector3.new(1, 1, 1))
  685. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, -0.416860819, -5.04009247, -2.71014869e-007, -5.63268941e-007, -0.999998331, 1.12816633e-006, -0.999998331, 4.66463234e-007, -0.999998331, -8.77334969e-007, 4.06056643e-007))
  686. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.232000008, 0.116000019))
  687. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(1, 1, 1))
  688. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -0.468275398, -2.89972687, -1.43423676e-007, 1.66607379e-007, 0.999998629, 5.2532414e-009, -0.999998569, 1.05023901e-009, 0.999998987, -1.54643203e-007, -9.68575478e-008))
  689. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.115999997, 0.115999997, 0.463999897))
  690.  
  691. TrailDeb = false
  692.  
  693. function attackone()
  694. attack=true
  695. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  696. if TrailDeb == false then
  697. TrailDeb = true
  698. end
  699.  
  700.  
  701. coroutine.wrap(function()
  702. local Old = Hitbox.CFrame.p
  703. while wait()do
  704. if not TrailDeb then break end
  705. local New = Hitbox.CFrame.p
  706. local Mag =(Old -New).magnitude
  707. local Dis =(Old +New)/2
  708. local Trail = Instance.new("Part",Character)
  709. Trail.Material = "SmoothPlastic"
  710. Trail.Anchored = true
  711. Trail.CanCollide = false
  712. Trail.BrickColor = BrickColor.new("Dark stone grey")
  713. Trail.Size = Vector3.new(0.2,Mag,0.2)
  714. Trail.TopSurface = 0
  715. Trail.BottomSurface = 0
  716. Trail.formFactor = "Custom"
  717. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  718. local ms = Instance.new("BlockMesh",Trail)
  719. ms.Scale = Vector3.new(1,1,1)
  720. local TM = Instance.new("CylinderMesh",Trail)
  721. TM.Scale = Vector3.new(1,1,1)
  722. Old = New
  723. coroutine.wrap(function()
  724. for i = 1,0,-0.1 do
  725. wait()
  726. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  727. end
  728. Trail:remove()
  729. end)()
  730. coroutine.wrap(function()
  731. for i = 1,10 do
  732. wait()
  733. Trail.Transparency = Trail.Transparency +0.1
  734. end end)()end end)()
  735. for i=0,1,0.1 do
  736. swait()
  737. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  738. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  739. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(0),math.rad(30)),.3)
  740. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(10),math.rad(0),math.rad(-30)),.3)
  741. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  742. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  743. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  744. end
  745. so("http://roblox.com/asset/?id=199145095",Hitbox,1,1)
  746. for i=0,1,0.1 do
  747. swait()
  748. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  749. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  750. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(30)),.5)
  751. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  752. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  753. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  754. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(-20),math.rad(0)),.5)
  755. end
  756. attack=false
  757. if TrailDeb == true then
  758. TrailDeb = false
  759. end
  760. con1:disconnect()
  761. end
  762.  
  763. function attacktwo()
  764. attack=true
  765. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  766. if TrailDeb == false then
  767. TrailDeb = true
  768. end
  769.  
  770.  
  771. coroutine.wrap(function()
  772. local Old = Hitbox.CFrame.p
  773. while wait()do
  774. if not TrailDeb then break end
  775. local New = Hitbox.CFrame.p
  776. local Mag =(Old -New).magnitude
  777. local Dis =(Old +New)/2
  778. local Trail = Instance.new("Part",Character)
  779. Trail.Material = "SmoothPlastic"
  780. Trail.Anchored = true
  781. Trail.CanCollide = false
  782. Trail.BrickColor = BrickColor.new("Dark stone grey")
  783. Trail.Size = Vector3.new(0.2,Mag,0.2)
  784. Trail.TopSurface = 0
  785. Trail.BottomSurface = 0
  786. Trail.formFactor = "Custom"
  787. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  788. local ms = Instance.new("BlockMesh",Trail)
  789. ms.Scale = Vector3.new(1,1,1)
  790. local TM = Instance.new("CylinderMesh",Trail)
  791. TM.Scale = Vector3.new(1,1,1)
  792. Old = New
  793. coroutine.wrap(function()
  794. for i = 1,0,-0.1 do
  795. wait()
  796. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  797. end
  798. Trail:remove()
  799. end)()
  800. coroutine.wrap(function()
  801. for i = 1,10 do
  802. wait()
  803. Trail.Transparency = Trail.Transparency +0.1
  804. end end)()end end)()
  805. for i=0,1,0.1 do
  806. swait()
  807. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  808. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  809. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-60),math.rad(0),math.rad(50)),.3)
  810. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(10),math.rad(0),math.rad(-30)),.3)
  811. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  812. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  813. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.3)
  814. end
  815. so("http://roblox.com/asset/?id=199145146",Hitbox,1,1)
  816. for i=0,1,0.1 do
  817. swait()
  818. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  819. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  820. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  821. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(10),math.rad(0),math.rad(-30)),.3)
  822. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  823. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  824. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  825. end
  826. attack=false
  827. if TrailDeb == true then
  828. TrailDeb = false
  829. end
  830. con1:disconnect()
  831. end
  832.  
  833. function attackthree()
  834. attack=true
  835. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  836. if TrailDeb == false then
  837. TrailDeb = true
  838. end
  839.  
  840.  
  841. coroutine.wrap(function()
  842. local Old = Hitbox.CFrame.p
  843. while wait()do
  844. if not TrailDeb then break end
  845. local New = Hitbox.CFrame.p
  846. local Mag =(Old -New).magnitude
  847. local Dis =(Old +New)/2
  848. local Trail = Instance.new("Part",Character)
  849. Trail.Material = "SmoothPlastic"
  850. Trail.Anchored = true
  851. Trail.CanCollide = false
  852. Trail.BrickColor = BrickColor.new("Dark stone grey")
  853. Trail.Size = Vector3.new(0.2,Mag,0.2)
  854. Trail.TopSurface = 0
  855. Trail.BottomSurface = 0
  856. Trail.formFactor = "Custom"
  857. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  858. local ms = Instance.new("BlockMesh",Trail)
  859. ms.Scale = Vector3.new(1,1,1)
  860. local TM = Instance.new("CylinderMesh",Trail)
  861. TM.Scale = Vector3.new(1,1,1)
  862. Old = New
  863. coroutine.wrap(function()
  864. for i = 1,0,-0.1 do
  865. wait()
  866. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  867. end
  868. Trail:remove()
  869. end)()
  870. coroutine.wrap(function()
  871. for i = 1,10 do
  872. wait()
  873. Trail.Transparency = Trail.Transparency +0.1
  874. end end)()end end)()
  875. for i=0,1,0.1 do
  876. swait()
  877. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  878. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  879. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  880. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(10),math.rad(0),math.rad(-30)),.3)
  881. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  882. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  883. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  884. end
  885. so("http://roblox.com/asset/?id=199145204",Hitbox,1,1)
  886. for i=0,1,0.1 do
  887. swait()
  888. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  889. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  890. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-40),math.rad(90)),.3)
  891. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(10),math.rad(0),math.rad(-30)),.3)
  892. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  893. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  894. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  895. end
  896. attack=false
  897. if TrailDeb == true then
  898. TrailDeb = false
  899. end
  900. con1:disconnect()
  901. end
  902.  
  903. mouse.Button1Down:connect(function()
  904. if attack==false then
  905. if attacktype==1 then
  906. attack=true
  907. attacktype=2
  908. attackone()
  909. elseif attacktype==2 then
  910. attack=true
  911. attacktype=3
  912. attacktwo()
  913. elseif attacktype==3 then
  914. attack=true
  915. attacktype=1
  916. attackthree()
  917. end
  918. end
  919. end)
  920.  
  921.  
  922. mouse.KeyDown:connect(function(k)
  923. k=k:lower()
  924.  
  925. end)
  926.  
  927.  
  928. local sine = 0
  929. local change = 1
  930. local val = 0
  931.  
  932. while true do
  933. swait()
  934. sine = sine + change
  935. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  936. local velderp=RootPart.Velocity.y
  937. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  938. if equipped==true or equipped==false then
  939. if attack==false then
  940. idle=idle+1
  941. else
  942. idle=0
  943. end
  944. if idle>=500 then
  945. if attack==false then
  946. --Sheath()
  947. end
  948. end
  949. if RootPart.Velocity.y > 1 and hitfloor==nil then
  950. Anim="Jump"
  951. if attack==false then
  952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  954. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  955. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-20)),.3)
  956. RH.C0=clerp(RH.C0,cf(1,-.8,-.5)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  957. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  958. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  959. end
  960. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  961. Anim="Fall"
  962. if attack==false then
  963. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  964. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  965. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(40)),.3)
  966. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  967. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(20),math.rad(90),math.rad(0)),.3)
  968. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  969. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  970. end
  971. elseif torvel<1 and hitfloor~=nil then
  972. Anim="Idle"
  973. if attack==false then
  974. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*angles(math.rad(10),math.rad(0),math.rad(-30)),.3)
  975. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-5),math.rad(30)),.3)
  976. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),.3)
  977. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(10),math.rad(0),math.rad(-20)),.3)
  978. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(10),math.rad(90),math.rad(0)),.3)
  979. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(-50),math.rad(-90),math.rad(0)),.3)
  980. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.3)
  981. end
  982. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  983. Anim="Walk"
  984. if attack==false then
  985. change=3
  986. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  987. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  988. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  989. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(math.rad(100),math.rad(15),math.rad(50)),.3)
  990. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  991. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  992. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(-20),math.rad(0)),.3)
  993. end
  994. elseif torvel>=22 and hitfloor~=nil then
  995. Anim="Run"
  996. if attack==false then
  997. end
  998. end
  999. end
  1000. end
Add Comment
Please, Sign In to add comment