nicholasXPG

Untitled

Oct 10th, 2016
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.31 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. if len1 > 0.01 then
  189. local w1 = Instance.new('WedgePart', m)
  190. game:GetService("Debris"):AddItem(w1,5)
  191. w1.Material = "SmoothPlastic"
  192. w1.FormFactor = 'Custom'
  193. w1.BrickColor = BrickColor.new("Really red")
  194. w1.Transparency = 0
  195. w1.Reflectance = 0
  196. w1.Material = "SmoothPlastic"
  197. w1.CanCollide = false
  198. NoOutline(w1)
  199. local sz = Vector3.new(0.2, width, len1)
  200. w1.Size = sz
  201. local sp = Instance.new("SpecialMesh",w1)
  202. sp.MeshType = "Wedge"
  203. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  204. w1:BreakJoints()
  205. w1.Anchored = true
  206. w1.Parent = workspace
  207. w1.Transparency = 0.7
  208. table.insert(Effects,{w1,"Disappear",.01})
  209. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  210. table.insert(list,w1)
  211. end
  212.  
  213. if len2 > 0.01 then
  214. local w2 = Instance.new('WedgePart', m)
  215. game:GetService("Debris"):AddItem(w2,5)
  216. w2.Material = "SmoothPlastic"
  217. w2.FormFactor = 'Custom'
  218. w2.BrickColor = BrickColor.new("Really red")
  219. w2.Transparency = 0
  220. w2.Reflectance = 0
  221. w2.Material = "SmoothPlastic"
  222. w2.CanCollide = false
  223. NoOutline(w2)
  224. local sz = Vector3.new(0.2, width, len2)
  225. w2.Size = sz
  226. local sp = Instance.new("SpecialMesh",w2)
  227. sp.MeshType = "Wedge"
  228. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  229. w2:BreakJoints()
  230. w2.Anchored = true
  231. w2.Parent = workspace
  232. w2.Transparency = 0.7
  233. table.insert(Effects,{w2,"Disappear",.01})
  234. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  235. table.insert(list,w2)
  236. end
  237. return unpack(list)
  238. end
  239.  
  240.  
  241. so = function(id,par,vol,pit)
  242. coroutine.resume(coroutine.create(function()
  243. local sou = Instance.new("Sound",par or workspace)
  244. sou.Volume=vol
  245. sou.Pitch=pit or 1
  246. sou.SoundId=id
  247. swait()
  248. sou:play()
  249. game:GetService("Debris"):AddItem(sou,6)
  250. end))
  251. end
  252.  
  253. function clerp(a,b,t)
  254. local qa = {QuaternionFromCFrame(a)}
  255. local qb = {QuaternionFromCFrame(b)}
  256. local ax, ay, az = a.x, a.y, a.z
  257. local bx, by, bz = b.x, b.y, b.z
  258. local _t = 1-t
  259. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  260. end
  261.  
  262. function QuaternionFromCFrame(cf)
  263. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  264. local trace = m00 + m11 + m22
  265. if trace > 0 then
  266. local s = math.sqrt(1 + trace)
  267. local recip = 0.5/s
  268. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  269. else
  270. local i = 0
  271. if m11 > m00 then
  272. i = 1
  273. end
  274. if m22 > (i == 0 and m00 or m11) then
  275. i = 2
  276. end
  277. if i == 0 then
  278. local s = math.sqrt(m00-m11-m22+1)
  279. local recip = 0.5/s
  280. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  281. elseif i == 1 then
  282. local s = math.sqrt(m11-m22-m00+1)
  283. local recip = 0.5/s
  284. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  285. elseif i == 2 then
  286. local s = math.sqrt(m22-m00-m11+1)
  287. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  288. end
  289. end
  290. end
  291.  
  292. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  293. local xs, ys, zs = x + x, y + y, z + z
  294. local wx, wy, wz = w*xs, w*ys, w*zs
  295. local xx = x*xs
  296. local xy = x*ys
  297. local xz = x*zs
  298. local yy = y*ys
  299. local yz = y*zs
  300. local zz = z*zs
  301. 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))
  302. end
  303.  
  304. function QuaternionSlerp(a, b, t)
  305. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  306. local startInterp, finishInterp;
  307. if cosTheta >= 0.0001 then
  308. if (1 - cosTheta) > 0.0001 then
  309. local theta = math.acos(cosTheta)
  310. local invSinTheta = 1/math.sin(theta)
  311. startInterp = math.sin((1-t)*theta)*invSinTheta
  312. finishInterp = math.sin(t*theta)*invSinTheta
  313. else
  314. startInterp = 1-t
  315. finishInterp = t
  316. end
  317. else
  318. if (1+cosTheta) > 0.0001 then
  319. local theta = math.acos(-cosTheta)
  320. local invSinTheta = 1/math.sin(theta)
  321. startInterp = math.sin((t-1)*theta)*invSinTheta
  322. finishInterp = math.sin(t*theta)*invSinTheta
  323. else
  324. startInterp = t-1
  325. finishInterp = t
  326. end
  327. end
  328. 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
  329. end
  330.  
  331. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  332. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  333. end
  334.  
  335. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  336. if hit.Parent==nil then
  337. return
  338. end
  339. h=hit.Parent:FindFirstChild("Humanoid")
  340. for _,v in pairs(hit.Parent:children()) do
  341. if v:IsA("Humanoid") then
  342. h=v
  343. end
  344. end
  345. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  346. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  347. end
  348. if hit.Parent.className=="Hat" then
  349. hit=hit.Parent.Parent:findFirstChild("Head")
  350. end
  351. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  352. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  353. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  354. return
  355. end]]
  356. -- hs(hit,1.2)
  357. c=Instance.new("ObjectValue")
  358. c.Name="creator"
  359. c.Value=game:service("Players").LocalPlayer
  360. c.Parent=h
  361. game:GetService("Debris"):AddItem(c,.5)
  362. Damage=math.random(minim,maxim)
  363. -- h:TakeDamage(Damage)
  364. blocked=false
  365. block=hit.Parent:findFirstChild("Block")
  366. if block~=nil then
  367. print(block.className)
  368. if block.className=="NumberValue" then
  369. if block.Value>0 then
  370. blocked=true
  371. if decreaseblock==nil then
  372. block.Value=block.Value-1
  373. end
  374. end
  375. end
  376. if block.className=="IntValue" then
  377. if block.Value>0 then
  378. blocked=true
  379. if decreaseblock~=nil then
  380. block.Value=block.Value-1
  381. end
  382. end
  383. end
  384. end
  385. if blocked==false then
  386. -- h:TakeDamage(Damage)
  387. h.Health=h.Health-Damage
  388. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  389. else
  390. h.Health=h.Health-(Damage/2)
  391. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  392. end
  393. if Type=="Knockdown" then
  394. hum=hit.Parent.Humanoid
  395. hum.PlatformStand=true
  396. coroutine.resume(coroutine.create(function(HHumanoid)
  397. swait(1)
  398. HHumanoid.PlatformStand=false
  399. end),hum)
  400. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  401. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  402. local bodvol=Instance.new("BodyVelocity")
  403. bodvol.velocity=angle*knockback
  404. bodvol.P=5000
  405. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  406. bodvol.Parent=hit
  407. rl=Instance.new("BodyAngularVelocity")
  408. rl.P=3000
  409. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  410. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  411. rl.Parent=hit
  412. game:GetService("Debris"):AddItem(bodvol,.5)
  413. game:GetService("Debris"):AddItem(rl,.5)
  414. elseif Type=="Normal" then
  415. vp=Instance.new("BodyVelocity")
  416. vp.P=500
  417. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  418. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  419. if KnockbackType==1 then
  420. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  421. elseif KnockbackType==2 then
  422. vp.velocity=Property.CFrame.lookVector*knockback
  423. end
  424. if knockback>0 then
  425. vp.Parent=hit.Parent.Torso
  426. end
  427. game:GetService("Debris"):AddItem(vp,.5)
  428. elseif Type=="Up" then
  429. local bodyVelocity=Instance.new("BodyVelocity")
  430. bodyVelocity.velocity=vt(0,60,0)
  431. bodyVelocity.P=5000
  432. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  433. bodyVelocity.Parent=hit
  434. game:GetService("Debris"):AddItem(bodyVelocity,1)
  435. rl=Instance.new("BodyAngularVelocity")
  436. rl.P=3000
  437. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  438. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  439. rl.Parent=hit
  440. game:GetService("Debris"):AddItem(rl,.5)
  441. elseif Type=="Snare" then
  442. bp=Instance.new("BodyPosition")
  443. bp.P=2000
  444. bp.D=100
  445. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  446. bp.position=hit.Parent.Torso.Position
  447. bp.Parent=hit.Parent.Torso
  448. game:GetService("Debris"):AddItem(bp,1)
  449. elseif Type=="Target" then
  450. if Targetting==false then
  451. ZTarget=hit.Parent.Torso
  452. coroutine.resume(coroutine.create(function(Part)
  453. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  454. swait(5)
  455. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  456. end),ZTarget)
  457. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  458. targetgui=Instance.new("BillboardGui")
  459. targetgui.Parent=ZTarget
  460. targetgui.Size=UDim2.new(10,100,10,100)
  461. targ=Instance.new("ImageLabel")
  462. targ.Parent=targetgui
  463. targ.BackgroundTransparency=1
  464. targ.Image="rbxassetid://4834067"
  465. targ.Size=UDim2.new(1,0,1,0)
  466. cam.CameraType="Scriptable"
  467. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  468. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  469. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  470. Targetting=true
  471. RocketTarget=ZTarget
  472. for i=1,Property do
  473. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  474. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  475. swait()
  476. end
  477. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  478. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  479. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  480. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  481. end
  482. Targetting=false
  483. RocketTarget=nil
  484. targetgui.Parent=nil
  485. cam.CameraType="Custom"
  486. end
  487. end
  488. debounce=Instance.new("BoolValue")
  489. debounce.Name="DebounceHit"
  490. debounce.Parent=hit.Parent
  491. debounce.Value=true
  492. game:GetService("Debris"):AddItem(debounce,Delay)
  493. c=Instance.new("ObjectValue")
  494. c.Name="creator"
  495. c.Value=Player
  496. c.Parent=h
  497. game:GetService("Debris"):AddItem(c,.5)
  498. CRIT=false
  499. hitDeb=true
  500. AttackPos=6
  501. end
  502. end
  503.  
  504. showDamage=function(Char,Dealt,du,Color)
  505. m=Instance.new("Model")
  506. m.Name=tostring(Dealt)
  507. h=Instance.new("Humanoid")
  508. h.Health=0
  509. h.MaxHealth=0
  510. h.Parent=m
  511. c=Instance.new("Part")
  512. c.Transparency=0
  513. c.BrickColor=Color
  514. c.Name="Head"
  515. c.TopSurface=0
  516. c.BottomSurface=0
  517. c.formFactor="Plate"
  518. c.Size=Vector3.new(1,.4,1)
  519. ms=Instance.new("CylinderMesh")
  520. ms.Scale=Vector3.new(.8,.8,.8)
  521. if CRIT==true then
  522. ms.Scale=Vector3.new(1,1.25,1)
  523. end
  524. ms.Parent=c
  525. c.Reflectance=0
  526. Instance.new("BodyGyro").Parent=c
  527. c.Parent=m
  528. if Char:findFirstChild("Head")~=nil then
  529. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  530. elseif Char.Parent:findFirstChild("Head")~=nil then
  531. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  532. end
  533. f=Instance.new("BodyPosition")
  534. f.P=2000
  535. f.D=100
  536. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  537. f.position=c.Position+Vector3.new(0,3,0)
  538. f.Parent=c
  539. game:GetService("Debris"):AddItem(m,.5+du)
  540. c.CanCollide=false
  541. m.Parent=workspace
  542. c.CanCollide=false
  543. end
  544.  
  545. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Handle",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  546. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00026011, -0.0521850586, -0.0998001099, -5.62780248e-012, -0.999994159, 8.61053451e-011, 6.25571693e-006, -8.51336709e-011, -0.999999702, 0.999994278, -5.45101074e-012, 6.15144063e-006))
  547. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  548. Pivot=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","PivotPoint",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  549. Pivotweld=weld(m,Pivot,handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 0, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  550. mesh("CylinderMesh",Pivot,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  551. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","Hitbox",Vector3.new(0.794361949, 5.42814064, 0.228264928))
  552. Hitboxweld=weld(m,Pivot,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000121355057, -3.97163391, 0.000564575195, -0.999988556, -6.44826557e-008, 7.45072555e-008, -6.44840412e-008, 0.999999404, -1.69622808e-006, -7.45068007e-008, -1.90473202e-006, -0.999988556))
  553. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.0753999949))
  554. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  555. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289678574, -0.00057220459, 2.44920349, 0.999988556, 7.54901697e-012, -4.10401964e-013, 3.94173084e-014, 1.7724592e-006, 0.999988556, 9.50216988e-012, -0.999999404, 1.56395663e-006))
  556. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  557. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  558. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157165527, 3.89822388, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  559. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  560. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  561. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157165527, 2.44197083, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  562. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  563. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  564. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 6.10351563e-005, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  565. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  566. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.529574633))
  567. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.264739156, -0.992874146, -1.19210654e-007, 1.81748965e-006, 0.999988556, 0.999988556, 2.97863192e-008, 1.19210256e-007, -2.97877225e-008, 0.999999404, -1.60898662e-006))
  568. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  569. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.264787287, 0.291266054, 0.228264928))
  570. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.397107601, 7.62939453e-005, 1.12538147, 0.999988556, 2.44770038e-011, 2.39862232e-012, -2.73521852e-012, 4.90159709e-006, 0.999988556, 2.64299485e-011, -0.999999404, 4.69305996e-006))
  571. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.580000103))
  572. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  573. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157928467, 4.56016541, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  574. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  575. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  576. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000579833984, -0.198605895, -3.17730713, 7.45035109e-008, 4.83197618e-006, 0.999988556, 0.999988556, -1.29257643e-007, -7.4503248e-008, 1.29253934e-007, 0.999999404, -4.62343996e-006))
  577. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  579. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-005, 0.926803589, -7.62939453e-006, 0.999994278, -7.0863454e-012, -3.11010159e-012, 6.11415085e-012, 0.999999702, 1.56474334e-006, 2.9338307e-012, -1.46050888e-006, 0.999994278))
  580. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  581. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  582. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.661941528, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  583. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  584. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  585. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, 0.00291454792, 5.42793274, -1.4897843e-008, -5.32471859e-006, -0.999988556, 0.999988556, 1.89769338e-007, -1.48991601e-008, 1.8976931e-007, -0.999999404, 5.11617782e-006))
  586. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.619961977, 0.0788800046, 0.579999983))
  587. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.228264928, 4.10420322, 0.228264928))
  588. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000655412674, -3.30970764, -0.000549316406, 0.999988556, -1.78267123e-011, -1.76189293e-012, 1.58809008e-011, 0.999999404, 1.66868676e-006, 1.41555561e-012, -1.46021921e-006, 0.999988556))
  589. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0927999765, 1, 0.643799961))
  590. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  591. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00012254715, 0.397171021, 0.000152587891, 0.999994278, 8.02827874e-011, 4.46345478e-012, -8.12544892e-011, 0.999999702, -5.63018284e-006, -4.6401741e-012, 5.73445595e-006, 0.999994278))
  592. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  593. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  594. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00057220459, 0.198636889, 3.17730713, -1.48984096e-008, -4.90732282e-006, -0.999988556, 0.999988556, 1.89766411e-007, -1.4899638e-008, 1.89766382e-007, -0.999999404, 4.69878569e-006))
  595. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.264787316, 4.10420322, 0.228264928))
  597. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -3.30970764, -0.000556945801, 0.999988556, 1.00572398e-011, 5.68523906e-013, -1.20103788e-011, 0.999999404, -5.21206857e-007, -9.05002581e-013, 7.29698513e-007, 0.999988556))
  598. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  599. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 4.10420322, 0.228264928))
  600. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000655412674, -3.30970764, -0.000556945801, 0.999988556, -1.55080948e-011, -1.44081687e-012, 1.3569007e-011, 0.999999404, 1.46001821e-006, 1.09498456e-012, -1.25154929e-006, 0.999988556))
  601. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.638000011))
  602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 1.45633042, 0.228264928))
  603. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198545456, -4.6335907, 0.000564575195, -0.999988556, -6.44841407e-008, 7.45042641e-008, -6.44856755e-008, 0.999999404, -3.57331942e-006, -7.45036957e-008, -3.78184404e-006, -0.999988556))
  604. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  605. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.397180915, 0.228264928, 0.228264928))
  606. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, 0.00157165527, 3.10389709, 0.999988556, 1.73189796e-011, -3.22475174e-013, 2.69746451e-014, 2.50190601e-006, 0.999988556, 1.92578592e-011, -0.999999404, 2.2933973e-006))
  607. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.724999964, 0.579999983))
  608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.397180974))
  609. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.397184253, 1.3238678, -8.66994356e-013, 7.2984767e-007, 0.999988556, -0.999988556, 2.97975333e-008, -5.46056039e-013, -2.97952614e-008, -0.999999404, 5.21356014e-007))
  610. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  611. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.529574752, 0.228264928))
  612. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -3.50830078, -0.000556945801, 0.999988556, 9.05206465e-013, -2.54105032e-013, -2.85843571e-012, 0.999999404, 3.13056717e-007, -8.23664935e-014, -1.04574156e-007, 0.999988556))
  613. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  615. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 0.132415771, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  616. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  618. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.132369995, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  619. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.529574752, 0.228264928))
  621. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198545456, -3.50830078, 0.00057220459, -0.999988556, -6.44943157e-008, 7.45042641e-008, -6.44958789e-008, 0.999999404, -3.99032433e-006, -7.45036743e-008, -4.19885328e-006, -0.999988556))
  622. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 1.05914927))
  624. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.330823541, 1.78723145, 6.10958182e-007, -3.42968951e-006, -0.999988556, 0.999988556, -5.96426233e-008, 6.10958011e-007, -5.96421188e-008, -0.999999404, 3.22116875e-006))
  625. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  627. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000136852264, 0.794342041, 0.000152587891, 0.999994278, 7.73779651e-011, 3.83846947e-012, -7.83496809e-011, 0.999999702, -5.31696378e-006, -4.01514759e-012, 5.42123507e-006, 0.999994278))
  628. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.397180974))
  630. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, 0.00291454792, 5.56033325, -1.4897843e-008, -5.32470767e-006, -0.999988556, 0.999988556, 1.89769338e-007, -1.48991601e-008, 1.8976931e-007, -0.999999404, 5.1161669e-006))
  631. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.608999968, 0.579999983, 1))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 1.85351133, 0.228264928))
  633. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -2.18438721, -0.000564575195, 0.999988556, 3.15054927e-012, -2.55032594e-013, -5.10375076e-012, 0.999999404, 4.17415777e-007, -8.1437671e-014, -2.0893458e-007, 0.999988556))
  634. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  636. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.794265747, 7.62939453e-006, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  637. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.264787316, 0.397181034))
  639. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 1.12527466, 0.330884576, 1.23933859e-008, -2.48817855e-006, -0.999988556, -8.93814445e-008, -0.999999404, 2.27966848e-006, -0.999988556, 8.93843222e-008, -1.23932553e-008))
  640. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 0.529574633, 0.926755607))
  642. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000564575195, 1.41859055e-005, 5.82516479, -1.48992925e-008, -4.07267999e-006, -0.999988556, 0.999988556, 1.89761536e-007, -1.49003663e-008, 1.89761494e-007, -0.999999404, 3.86415286e-006))
  643. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787287, 0.264787316, 0.264787316))
  645. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -1.1252594, 0, 0.999988556, 4.40398412e-012, 5.13825466e-014, -6.34955977e-012, 0.999999404, -1.04301307e-007, -3.97694058e-013, 3.12787961e-007, 0.999988556))
  646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  647. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000556945801, 0.198605895, 3.17730713, 7.45035109e-008, -6.0443972e-007, 0.999988556, -0.999988556, 1.2527542e-007, 7.45039443e-008, -1.2527218e-007, -0.999999404, -8.12916369e-007))
  648. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  650. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.926681519, 0.264770508, -2.98031857e-008, 1.01280739e-006, 0.999988556, 1.12257634e-011, -0.999999404, 8.04313459e-007, 0.999988556, 9.31174582e-012, 2.98028446e-008))
  651. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  653. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000136852264, 0.661987305, 0.000152587891, 0.999994278, 7.73779651e-011, 3.83846947e-012, -7.83496809e-011, 0.999999702, -5.31696378e-006, -4.01514759e-012, 5.42123507e-006, 0.999994278))
  654. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 0.264787316))
  656. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.926651001, 0, 0.999988556, -4.84995377e-012, -9.15214844e-013, 2.90560631e-012, 0.999999404, 5.21180482e-007, 5.75119433e-013, -3.12700649e-007, 0.999988556))
  657. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180974, 0.264787316, 0.264787316))
  659. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.19151306, 0.000122666359, 0.000152587891, -7.45914832e-008, 0.999999344, -6.14994906e-006, -0.999993742, 8.93218015e-008, -4.60346039e-010, 1.08532996e-008, 6.21200343e-006, 0.99999392))
  660. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.406448454, 0.415716171, 1.64962482))
  661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 1.85351133, 0.228264928))
  662. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198545337, -2.18438721, 0.000579833984, -0.999988556, -6.44912532e-008, 7.45045128e-008, -6.44928022e-008, 0.999999404, -3.78169307e-006, -7.45039372e-008, -3.99021974e-006, -0.999988556))
  663. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  664. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,"Really red","Part",Vector3.new(0.794361949, 4.10420322, 0.228264928))
  665. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000121355057, -3.30970764, 0.000564575195, -0.999988556, -6.44826557e-008, 7.45072555e-008, -6.44840412e-008, 0.999999404, -1.69622808e-006, -7.45068007e-008, -1.90473202e-006, -0.999988556))
  666. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.0753999949))
  667. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.264787316, 0.264787316, 0.228264928))
  668. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00012254715, -0.000152587891, -1.19151306, -0.999994278, -8.51336779e-011, -5.45101117e-012, 5.62780248e-012, -6.25571693e-006, -0.999994278, 8.61053451e-011, -0.999999702, 6.15144063e-006))
  669. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0820840672, 0.160196364, 0.293913841))
  670. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  671. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000579833984, 0.198638082, -3.83926392, -1.4901973e-008, 5.15458805e-006, 0.999988556, 0.999988556, -1.89712992e-007, 1.49025752e-008, 1.8970907e-007, 0.999999404, -4.94604819e-006))
  672. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  673. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  674. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000213384628, -0.000465393066, 4.56745911, 0.999988556, 5.46740847e-011, 3.63929373e-012, -3.9153277e-012, 5.73503667e-006, 0.999988556, 5.66128359e-011, -0.999999404, 5.52649362e-006))
  675. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  676. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  677. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000556945801, -0.198636889, -3.17730713, 1.49022661e-008, 5.28972123e-007, -0.999988556, -0.999988556, -1.93748591e-007, -1.49020707e-008, -1.93748448e-007, 0.999999404, 7.37449682e-007))
  678. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.264787316))
  680. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -1.19145203, 0, 0.999988556, 4.56099047e-012, 2.15499859e-013, -6.51418502e-012, 0.999999404, -2.08553502e-007, -5.51973723e-013, 4.17041974e-007, 0.999988556))
  681. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 1))
  682. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  683. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289678574, -0.000564575195, 3.11112976, 0.999988556, 7.08313269e-012, -4.74432505e-013, 1.42207643e-013, 1.56400847e-006, 0.999988556, 9.03584846e-012, -0.999999404, 1.35550772e-006))
  684. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 1.45633042, 0.228264928))
  686. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.198561192, -4.6335907, -0.000549316406, 0.999988556, 1.10660647e-011, 2.55782618e-013, -1.30191968e-011, 0.999999404, -1.03957063e-007, -5.92255845e-013, 3.12444172e-007, 0.999988556))
  687. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
  688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.264787316, 0.397180974, 0.264787316))
  689. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, -0.397171021, 0, 0.999988556, -9.72159853e-013, -1.76260767e-013, -9.72159853e-013, 0.999999404, 1.0424219e-007, -1.76260767e-013, 1.0424219e-007, 0.999988556))
  690. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  692. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000549316406, 0.198607206, -3.83921814, -7.45035109e-008, 8.51709956e-007, -0.999988556, -0.999988556, -2.54212353e-007, 7.45035749e-008, -2.54211557e-007, 0.999999404, 1.06018433e-006))
  693. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787316, 0.228264928, 1.05914927))
  695. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.198409438, 1.78721619, -5.51345352e-007, 8.14446503e-006, 0.999988556, -0.999988556, -5.97869629e-008, -5.51344556e-007, 5.97837868e-008, -0.999999404, 7.93589334e-006))
  696. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.5,"Really red","Part",Vector3.new(0.228264928, 0.794361949, 1.32393658))
  698. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00057220459, 5.85317612e-005, 6.02371216, -1.48981627e-008, -4.80272593e-006, -0.999988556, 0.999988556, 1.89769253e-007, -1.48993715e-008, 1.89769224e-007, -0.999999404, 4.59419061e-006))
  699. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0951199755, 1, 1))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397180915, 0.228264928, 0.264787316))
  701. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289678574, -0.000564575195, 3.9054718, 0.999988556, 8.04947081e-012, -3.74962919e-013, 4.27410792e-014, 1.45970671e-006, 0.999988556, 1.00015135e-011, -0.999999404, 1.25120732e-006))
  702. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.69599998, 1))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.264787287, 0.27802667, 0.264787316))
  704. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.397167683, 7.62939453e-006, 1.1252594, 0.999988556, 1.21773217e-011, 9.9635133e-013, -1.33575789e-012, 2.08566325e-006, 0.999988556, 1.41199344e-011, -0.999999404, 1.8771575e-006))
  705. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  707. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000549316406, -0.198638082, 3.83926392, 1.48984016e-008, -4.93167136e-007, 0.999988556, -0.999988556, 1.93695911e-007, 1.48988741e-008, -1.93691861e-007, -0.999999404, -7.01645149e-007))
  708. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.228264928, 0.228264928, 0.228264928))
  710. Partweld=weld(m,Pivot,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000579833984, -0.198607206, 3.83921814, -7.45035109e-008, -4.79617029e-006, -0.999988556, 0.999988556, 2.58195314e-007, -7.45050315e-008, 2.58194859e-007, -0.999999404, 4.58763498e-006))
  711. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
  712.  
  713. function attackone()
  714. attack=true
  715. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,19,20,math.random(10,20),"Normal",RootPart,.2,1) end)
  716. for i=0,1,0.2 do
  717. swait()
  718. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  719. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(20)),.3)
  720. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.5)
  721. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-90)),.3)
  722. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-60),math.rad(0)),.3)
  723. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(10)),.3)
  724. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.5)
  725. end
  726. so("http://roblox.com/asset/?id=199146359",Hitbox,1,1)
  727. for i=0,1,0.2 do
  728. swait()
  729. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  730. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  731. local h = 5
  732. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  733. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  734. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  735. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  736. scfr = blcf
  737. elseif not scfr then
  738. scfr = blcf
  739. end
  740. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  741. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  742. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(10),math.rad(0),math.rad(-10)),.5)
  743. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.3)
  744. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0)),.3)
  745. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(10)),.3)
  746. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  747. end
  748. attack=false
  749. con1:disconnect()
  750. end
  751.  
  752. function attacktwo()
  753. attack=true
  754. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,19,20,math.random(10,20),"Normal",RootPart,.2,1) end)
  755. for i=0,1,0.2 do
  756. swait()
  757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  758. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  759. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.5)
  760. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.3)
  761. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0)),.3)
  762. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  763. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  764. end
  765. so("http://roblox.com/asset/?id=199150686",Hitbox,1,1)
  766. for i=0,1,0.2 do
  767. swait()
  768. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  769. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  770. local h = 5
  771. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  772. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  773. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  774. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  775. scfr = blcf
  776. elseif not scfr then
  777. scfr = blcf
  778. end
  779. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  780. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.3)
  781. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(90)),.5)
  782. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  783. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-60),math.rad(0)),.3)
  784. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(10)),.3)
  785. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  786. end
  787. attack=false
  788. con1:disconnect()
  789. end
  790.  
  791.  
  792.  
  793. function Spin()
  794. attack=true
  795. for i=0,1,0.1 do
  796. swait()
  797. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  798. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  799. local h = 5
  800. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  801. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  802. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  803. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  804. scfr = blcf
  805. elseif not scfr then
  806. scfr = blcf
  807. end
  808. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(20)),.3)
  810. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(20)),.5)
  811. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-30)),.3)
  812. Pivotweld.C0=cf(0,0,0)*euler(0,0,0+10*i)
  813. end
  814.  
  815. for i=0,1,0.1 do
  816. swait()
  817. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  818. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  819. local h = 5
  820. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  821. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  822. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  823. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  824. scfr = blcf
  825. elseif not scfr then
  826. scfr = blcf
  827. end
  828. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  829. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-20)),.3)
  830. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.5)
  831. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  832. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  833. end
  834.  
  835.  
  836. attack = false
  837. end
  838.  
  839. mouse.Button1Down:connect(function()
  840. if attack==false then
  841. if attacktype==1 then
  842. attack=true
  843. attacktype=2
  844. attackone()
  845. elseif attacktype==2 then
  846. attack=true
  847. attacktype=1
  848. attacktwo()
  849. end
  850. end
  851. end)
  852.  
  853. mouse.KeyDown:connect(function(k)
  854. k=k:lower()
  855. if k=='q' then
  856. if attack==false then
  857. Spin()
  858. end
  859. end
  860. end)
  861.  
  862. local sine = 0
  863. local change = 1
  864. local val = 0
  865.  
  866. while true do
  867. swait()
  868. sine = sine + change
  869. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  870. local velderp=RootPart.Velocity.y
  871. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  872. if equipped==true or equipped==false then
  873. if attack==false then
  874. idle=idle+1
  875. else
  876. idle=0
  877. end
  878. if idle>=500 then
  879. if attack==false then
  880. --Sheath()
  881. end
  882. end
  883. if RootPart.Velocity.y > 1 and hitfloor==nil then
  884. Anim="Jump"
  885. if attack==false then
  886. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  887. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  888. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(40)),.3)
  889. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-40)),.3)
  890. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(0)),.3)
  891. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.3)
  892. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  893. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  894. end
  895. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  896. Anim="Fall"
  897. if attack==false then
  898. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  899. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  900. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(50)),.3)
  901. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  902. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  903. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.3)
  904. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  905. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  906. end
  907. elseif torvel<1 and hitfloor~=nil then
  908. Anim="Idle"
  909. if attack==false then
  910. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  911. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  912. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  913. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-10)),.3)
  914. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-70),math.rad(0)),.3)
  915. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(10)),.3)
  916. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  917. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  918. end
  919. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  920. Anim="Walk"
  921. if attack==false then
  922. change=3
  923. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  924. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  925. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(20)),.3)
  926. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),.3)
  927. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0)),.3)
  928. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.3)
  929. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  930. Pivotweld.C0=clerp(Pivotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  931. end
  932. elseif torvel>=22 and hitfloor~=nil then
  933. Anim="Run"
  934. if attack==false then
  935. end
  936. end
  937. end
  938. if #Effects>0 then
  939. --table.insert(Effects,{prt,"Block1",delay})
  940. for e=1,#Effects do
  941. if Effects[e]~=nil then
  942. --for j=1,#Effects[e] do
  943. local Thing=Effects[e]
  944. if Thing~=nil then
  945. local Part=Thing[1]
  946. local Mode=Thing[2]
  947. local Delay=Thing[3]
  948. local IncX=Thing[4]
  949. local IncY=Thing[5]
  950. local IncZ=Thing[6]
  951. if Thing[1].Transparency<=1 then
  952. if Thing[2]=="Block1" then
  953. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  954. Mesh=Thing[1].Mesh
  955. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  956. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  957. elseif Thing[2]=="Cylinder" then
  958. Mesh=Thing[1].Mesh
  959. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  960. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  961. elseif Thing[2]=="Blood" then
  962. Mesh=Thing[7]
  963. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  964. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  965. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  966. elseif Thing[2]=="Elec" then
  967. Mesh=Thing[1].Mesh
  968. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  969. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  970. elseif Thing[2]=="Disappear" then
  971. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  972. end
  973. else
  974. Part.Parent=nil
  975. table.remove(Effects,e)
  976. end
  977. end
  978. --end
  979. end
  980. end
  981. end
  982. end
Add Comment
Please, Sign In to add comment