silykev12

Untitled

Oct 24th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 126.15 KB | None | 0 0
  1. --Ravenger Leak By IceScripter/OurM1neTeam
  2. --Dont kill me for editing this to make it look better ok fellow v3rmies?
  3.  
  4.  
  5. Player=game:GetService("Players").LocalPlayer
  6. Character=Player.Character
  7. PlayerGui=Player.PlayerGui
  8. Backpack=Player.Backpack
  9. Torso=Character.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. m=Instance.new('Model',Character)
  13. LeftArm=Character["Left Arm"]
  14. LeftLeg=Character["Left Leg"]
  15. RightArm=Character["Right Arm"]
  16. RightLeg=Character["Right Leg"]
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Face = Head.face
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. cloaked=false
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. attackdebounce = false
  41. deb=false
  42. equipped=true
  43. hand=false
  44. MMouse=nil
  45. combo=0
  46. mana=0
  47. trispeed=1
  48. pathtrans=.7
  49. attackmode='none'
  50. local idle=0
  51. local Anim="Idle"
  52. local Effects={}
  53. local gun=false
  54. local shoot=false
  55. player=nil
  56. cloak=false
  57. lightcolor='Really red'
  58.  
  59. local Color1=Torso.BrickColor
  60.  
  61. local fengui=it("GuiMain")
  62. fengui.Parent=Player.PlayerGui
  63. fengui.Name="WeaponGUI"
  64. local fenframe=it("Frame")
  65. fenframe.Parent=fengui
  66. fenframe.BackgroundColor3=Color3.new(88,1,228)
  67. fenframe.BackgroundTransparency=1
  68. fenframe.BorderColor3=Color3.new(88,1,228)
  69. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  70. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  71. local fenbarmana1=it("TextLabel")
  72. fenbarmana1.Parent=fenframe
  73. fenbarmana1.Text=" "
  74. fenbarmana1.BackgroundTransparency=0
  75. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  76. fenbarmana1.SizeConstraint="RelativeXY"
  77. fenbarmana1.TextXAlignment="Center"
  78. fenbarmana1.TextYAlignment="Center"
  79. fenbarmana1.Position=UDim2.new(0,0,0,0)
  80. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  81. local fenbarmana2=it("TextLabel")
  82. fenbarmana2.Parent=fenframe
  83. fenbarmana2.Text=" "
  84. fenbarmana2.BackgroundTransparency=0
  85. fenbarmana2.BackgroundColor3=Torso.Color
  86. fenbarmana2.SizeConstraint="RelativeXY"
  87. fenbarmana2.TextXAlignment="Center"
  88. fenbarmana2.TextYAlignment="Center"
  89. fenbarmana2.Position=UDim2.new(0,0,0,0)
  90. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  91. local fenbarmana3=it("TextLabel")
  92. fenbarmana3.Parent=fenframe
  93. fenbarmana3.Text=" "
  94. fenbarmana3.BackgroundTransparency=0
  95. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  96. fenbarmana3.SizeConstraint="RelativeXY"
  97. fenbarmana3.TextXAlignment="Center"
  98. fenbarmana3.TextYAlignment="Center"
  99. fenbarmana3.Position=UDim2.new(0,0,0,0)
  100. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  101. local fenbarmana4=it("TextLabel")
  102. fenbarmana4.Parent=fenframe
  103. fenbarmana4.Text="Energy("..mana..")"
  104. fenbarmana4.BackgroundTransparency=1
  105. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  106. fenbarmana4.SizeConstraint="RelativeXY"
  107. fenbarmana4.TextXAlignment="Center"
  108. fenbarmana4.TextYAlignment="Center"
  109. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  110. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  111. fenbarmana4.FontSize="Size9"
  112. fenbarmana4.TextStrokeTransparency=0
  113. fenbarmana4.TextColor=BrickColor.new("White")
  114. --
  115. wait(2.0)
  116. game.Lighting.TimeOfDay = 16
  117. wait(0.3)
  118. game.Lighting.TimeOfDay = 17
  119. wait(0.3)
  120. game.Lighting.TimeOfDay = 18
  121. wait(0.3)
  122. game.Lighting.TimeOfDay = 12
  123. wait(0.3)
  124. game.Lighting.TimeOfDay = 17
  125. wait(0.3)
  126. game.Lighting.TimeOfDay = 18
  127. wait(0.3)
  128. game.Lighting.TimeOfDay = 12
  129. wait(0.3)
  130. game.Lighting.TimeOfDay = 17
  131. wait(0.3)
  132. game.Lighting.TimeOfDay = 18
  133. wait(0.3)
  134. game.Lighting.TimeOfDay = 12
  135. wait(0.3)
  136. game.Lighting.TimeOfDay = 17
  137. wait(0.3)
  138. game.Lighting.TimeOfDay = 18
  139. wait(0.3)
  140. game.Lighting.TimeOfDay = 12
  141. wait(0.3)
  142. game.Lighting.TimeOfDay = 17
  143. wait(0.3)
  144. game.Lighting.TimeOfDay = 18
  145. wait(0.3)
  146. game.Lighting.TimeOfDay = 12
  147. wait(0.3)
  148. game.Lighting.TimeOfDay = 17
  149. wait(0.3)
  150. game.Lighting.TimeOfDay = 18
  151. wait(0.3)
  152. game.Lighting.TimeOfDay = 12
  153. wait(0.3)
  154. game.Lighting.TimeOfDay = 17
  155. wait(0.3)
  156. game.Lighting.TimeOfDay = 18
  157. wait(0.3)
  158. game.Lighting.TimeOfDay = 12
  159. wait(0.3)
  160. game.Lighting.TimeOfDay = 17
  161. wait(0.3)
  162. game.Lighting.TimeOfDay = 18
  163. wait(0.3)
  164. game.Lighting.TimeOfDay = 12
  165. wait(0.3)
  166. game.Lighting.TimeOfDay = 17
  167. wait(0.3)
  168. game.Lighting.TimeOfDay = 18
  169. wait(0.3)
  170. game.Lighting.TimeOfDay = 12
  171. wait(0.3)
  172. game.Lighting.TimeOfDay = 17
  173. wait(0.3)
  174. game.Lighting.TimeOfDay = 18
  175. wait(0.3)
  176. game.Lighting.TimeOfDay = 12
  177. wait(0.3)
  178. game.Lighting.TimeOfDay = 17
  179. wait(0.3)
  180. game.Lighting.TimeOfDay = 18
  181. wait(0.3)
  182. game.Lighting.TimeOfDay = 12
  183. wait(0.3)
  184. game.Lighting.TimeOfDay = 17
  185. wait(0.3)
  186. game.Lighting.TimeOfDay = 18
  187. wait(0.3)
  188. game.Lighting.TimeOfDay = 12
  189. wait(3.0)
  190. --
  191.  
  192. mouse=Player:GetMouse()
  193. --save shoulders
  194. RSH, LSH=nil, nil
  195. --welds
  196. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  197. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  198. LH=Torso["Left Hip"]
  199. RH=Torso["Right Hip"]
  200. TorsoColor=Torso.BrickColor
  201. function NoOutline(Part)
  202. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  203. end
  204. player=Player
  205. ch=Character
  206. RSH=ch.Torso["Right Shoulder"]
  207. LSH=ch.Torso["Left Shoulder"]
  208. --
  209. RSH.Parent=nil
  210. LSH.Parent=nil
  211. --
  212. RW.Name="Right Shoulder"
  213. RW.Part0=ch.Torso
  214. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  215. RW.C1=cf(0, 0.5, 0)
  216. RW.Part1=ch["Right Arm"]
  217. RW.Parent=ch.Torso
  218. --
  219. LW.Name="Left Shoulder"
  220. LW.Part0=ch.Torso
  221. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  222. LW.C1=cf(0, 0.5, 0)
  223. LW.Part1=ch["Left Arm"]
  224. LW.Parent=ch.Torso
  225.  
  226. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  227. local fp=it("Part")
  228. fp.formFactor=formfactor
  229. fp.Parent=parent
  230. fp.Reflectance=reflectance
  231. fp.Transparency=transparency
  232. fp.CanCollide=false
  233. fp.Locked=true
  234. fp.BrickColor=brickcolor
  235. fp.Name=name
  236. fp.Size=size
  237. fp.Position=Torso.Position
  238. NoOutline(fp)
  239. fp.Material="Neon"
  240. fp:BreakJoints()
  241. return fp
  242. end
  243.  
  244. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  245. local mesh=it(Mesh)
  246. mesh.Parent=part
  247. if Mesh=="SpecialMesh" then
  248. mesh.MeshType=meshtype
  249. if meshid~="nil" then
  250. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  251. end
  252. end
  253. mesh.Offset=offset
  254. mesh.Scale=scale
  255. return mesh
  256. end
  257.  
  258. function weld(parent,part0,part1,c0)
  259. local weld=it("Weld")
  260. weld.Parent=parent
  261. weld.Part0=part0
  262. weld.Part1=part1
  263. weld.C0=c0
  264. return weld
  265. end
  266.  
  267. local Color1=Torso.BrickColor
  268.  
  269. local bodvel=Instance.new("BodyVelocity")
  270. local bg=Instance.new("BodyGyro")
  271.  
  272. function swait(num)
  273. if num==0 or num==nil then
  274. game:service'RunService'.Stepped:wait(0)
  275. else
  276. for i=0,num do
  277. game:service'RunService'.Stepped:wait(0)
  278. end
  279. end
  280. end
  281.  
  282.  
  283. so = function(id,par,vol,pit)
  284. coroutine.resume(coroutine.create(function()
  285. local sou = Instance.new("Sound",par or workspace)
  286. sou.Volume=vol
  287. sou.Pitch=pit or 1
  288. sou.SoundId=id
  289. swait()
  290. sou:play()
  291. game:GetService("Debris"):AddItem(sou,6)
  292. end))
  293. end
  294.  
  295. function clerp(a,b,t)
  296. local qa = {QuaternionFromCFrame(a)}
  297. local qb = {QuaternionFromCFrame(b)}
  298. local ax, ay, az = a.x, a.y, a.z
  299. local bx, by, bz = b.x, b.y, b.z
  300. local _t = 1-t
  301. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  302. end
  303.  
  304. function QuaternionFromCFrame(cf)
  305. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  306. local trace = m00 + m11 + m22
  307. if trace > 0 then
  308. local s = math.sqrt(1 + trace)
  309. local recip = 0.5/s
  310. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  311. else
  312. local i = 0
  313. if m11 > m00 then
  314. i = 1
  315. end
  316. if m22 > (i == 0 and m00 or m11) then
  317. i = 2
  318. end
  319. if i == 0 then
  320. local s = math.sqrt(m00-m11-m22+1)
  321. local recip = 0.5/s
  322. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  323. elseif i == 1 then
  324. local s = math.sqrt(m11-m22-m00+1)
  325. local recip = 0.5/s
  326. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  327. elseif i == 2 then
  328. local s = math.sqrt(m22-m00-m11+1)
  329. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  330. end
  331. end
  332. end
  333.  
  334. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  335. local xs, ys, zs = x + x, y + y, z + z
  336. local wx, wy, wz = w*xs, w*ys, w*zs
  337. local xx = x*xs
  338. local xy = x*ys
  339. local xz = x*zs
  340. local yy = y*ys
  341. local yz = y*zs
  342. local zz = z*zs
  343. 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))
  344. end
  345.  
  346. function QuaternionSlerp(a, b, t)
  347. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  348. local startInterp, finishInterp;
  349. if cosTheta >= 0.0001 then
  350. if (1 - cosTheta) > 0.0001 then
  351. local theta = math.acos(cosTheta)
  352. local invSinTheta = 1/math.sin(theta)
  353. startInterp = math.sin((1-t)*theta)*invSinTheta
  354. finishInterp = math.sin(t*theta)*invSinTheta
  355. else
  356. startInterp = 1-t
  357. finishInterp = t
  358. end
  359. else
  360. if (1+cosTheta) > 0.0001 then
  361. local theta = math.acos(-cosTheta)
  362. local invSinTheta = 1/math.sin(theta)
  363. startInterp = math.sin((t-1)*theta)*invSinTheta
  364. finishInterp = math.sin(t*theta)*invSinTheta
  365. else
  366. startInterp = t-1
  367. finishInterp = t
  368. end
  369. end
  370. 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
  371. end
  372.  
  373. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  374. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  375. end
  376.  
  377. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  378. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  379. prt.Anchored=true
  380. prt.CFrame=cframe
  381. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  382. --http://www.roblox.com/asset/?id=4770560
  383. game:GetService("Debris"):AddItem(prt,2)
  384. CF=prt.CFrame
  385. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  386. for i=0,1,0.2 do
  387. wait()
  388. Part.CFrame=CF*cf(0,0,-0.4)
  389. end
  390. for i=0,1,delay do
  391. wait()
  392. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  393. Mesh.Scale=Mesh.Scale
  394. end
  395. for i=0,1,0.1 do
  396. wait()
  397. Part.Transparency=i
  398. end
  399. Part.Parent=nil
  400. end),prt,msh,CF)
  401. end
  402.  
  403. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  404. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  405. prt.Anchored=true
  406. prt.CFrame=cframe
  407. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  408. game:GetService("Debris"):AddItem(prt,5)
  409. coroutine.resume(coroutine.create(function(Part,Mesh)
  410. for i=0,1,delay do
  411. wait()
  412. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  413. Part.Transparency=i
  414. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  415. end
  416. Part.Parent=nil
  417. end),prt,msh)
  418. end
  419.  
  420. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  421. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  422. prt.Anchored=false
  423. prt.CFrame=cframe
  424. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  425. local wld=weld(prt,prt,Parent,cframe)
  426. game:GetService("Debris"):AddItem(prt,5)
  427. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  428. for i=0,1,delay do
  429. wait()
  430. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  431. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  432. Part.Transparency=i
  433. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  434. end
  435. Part.Parent=nil
  436. end),prt,msh,wld)
  437. end
  438.  
  439. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  440. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  441. prt.Anchored=false
  442. prt.CFrame=cframe
  443. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  444. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  445. game:GetService("Debris"):AddItem(prt,5)
  446. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  447. for i=0,1,delay do
  448. wait()
  449. Weld.C0=euler(i*20,0,0)
  450. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  451. Part.Transparency=i
  452. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  453. end
  454. Part.Parent=nil
  455. end),prt,msh,wld)
  456. end
  457.  
  458. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  459. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  460. prt.Anchored=true
  461. prt.CFrame=cframe
  462. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  463. game:GetService("Debris"):AddItem(prt,2)
  464. coroutine.resume(coroutine.create(function(Part,Mesh)
  465. for i=0,1,delay do
  466. wait()
  467. Part.CFrame=Part.CFrame
  468. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  469. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  470. prt2.Anchored=true
  471. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  472. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  473. game:GetService("Debris"):AddItem(prt2,2)
  474. coroutine.resume(coroutine.create(function(Part,Mesh)
  475. for i=0,1,0.1 do
  476. wait()
  477. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  478. end
  479. Part.Parent=nil
  480. end),prt2,msh2)
  481. end
  482. for i=0,1,delay*2 do
  483. wait()
  484. Part.CFrame=Part.CFrame
  485. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  486. end
  487. Part.Parent=nil
  488. end),prt,msh)
  489. end
  490.  
  491. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  492. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  493. prt.Anchored=true
  494. prt.CFrame=cframe
  495. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  496. game:GetService("Debris"):AddItem(prt,2)
  497. coroutine.resume(coroutine.create(function(Part,Mesh)
  498. for i=0,1,delay do
  499. wait()
  500. Part.CFrame=Part.CFrame
  501. Part.Transparency=i
  502. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  503. end
  504. Part.Parent=nil
  505. end),prt,msh)
  506. end
  507.  
  508. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  509. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  510. prt.Anchored=true
  511. prt.CFrame=cframe*euler(x2,y2,z2)
  512. --"http://www.roblox.com/asset/?id=168892465"
  513. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  514. game:GetService("Debris"):AddItem(prt,2)
  515. coroutine.resume(coroutine.create(function(Part,Mesh)
  516. for i=0,1,0.03 do
  517. wait()
  518. Part.CFrame=Part.CFrame
  519. Part.Transparency=i
  520. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  521. end
  522. Part.Parent=nil
  523. end),prt,msh)
  524. end
  525.  
  526. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  527. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  528. prt.Anchored=true
  529. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  530. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  531. game:GetService("Debris"):AddItem(prt,2)
  532. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  533. CF=Part.CFrame
  534. Numbb=0
  535. randnumb=math.random()/10
  536. rand1=math.random()/10
  537. for i=0,1,rand1 do
  538. wait()
  539. CF=CF*cf(0,math.random()/2,0)
  540. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  541. Part.CFrame=CF*euler(Numbb,0,0)
  542. Part.Transparency=i
  543. Numbb=Numbb+randnumb
  544. end
  545. Part.Parent=nil
  546. end),prt,CF,Numbb,randnumb)
  547. end
  548.  
  549. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  550. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  551. prt.Anchored=true
  552. prt.CFrame=cframe
  553. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  554. game:GetService("Debris"):AddItem(prt,5)
  555. coroutine.resume(coroutine.create(function(Part,Mesh)
  556. for i=0,1,delay do
  557. wait()
  558. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  559. Part.Transparency=i
  560. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  561. end
  562. Part.Parent=nil
  563. end),prt,msh)
  564. end
  565.  
  566. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  567. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  568. prt.Anchored=true
  569. prt.CFrame=cframe
  570. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  571. game:GetService("Debris"):AddItem(prt,2)
  572. coroutine.resume(coroutine.create(function(Part,Mesh)
  573. for i=0,1,delay do
  574. wait()
  575. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  576. Part.Transparency=i
  577. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  578. end
  579. Part.Parent=nil
  580. end),prt,msh)
  581. end
  582.  
  583. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  584. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  585. prt.Anchored=true
  586. prt.CFrame=cframe*cf(x,y,z)
  587. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  588. game:GetService("Debris"):AddItem(prt,5)
  589. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  590. local num=math.random()
  591. local num2=math.random(-3,2)+math.random()
  592. local numm=0
  593. for i=0,1,delay*2 do
  594. swait()
  595. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  596. Part.Transparency=i
  597. numm=numm+0.01
  598. end
  599. Part.Parent=nil
  600. Mesh.Parent=nil
  601. end),prt,msh,x,y,z)
  602. end
  603.  
  604. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  605. if hit.Parent==nil then
  606. return
  607. end
  608. h=hit.Parent:FindFirstChild("Humanoid")
  609. for _,v in pairs(hit.Parent:children()) do
  610. if v:IsA("Humanoid") then
  611. h=v
  612. end
  613. end
  614. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  615. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  616. end
  617. if hit.Parent.className=="Hat" then
  618. hit=hit.Parent.Parent:findFirstChild("Head")
  619. end
  620. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  621. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  622. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  623. return
  624. end]]
  625. -- hs(hit,1.2)
  626. c=Instance.new("ObjectValue")
  627. c.Name="creator"
  628. c.Value=game:service("Players").LocalPlayer
  629. c.Parent=h
  630. game:GetService("Debris"):AddItem(c,.5)
  631. Damage=math.random(minim,maxim)
  632. -- h:TakeDamage(Damage)
  633. blocked=false
  634. block=hit.Parent:findFirstChild("Block")
  635. if block~=nil then
  636. print(block.className)
  637. if block.className=="NumberValue" then
  638. if block.Value>0 then
  639. blocked=true
  640. if decreaseblock==nil then
  641. block.Value=block.Value-1
  642. end
  643. end
  644. end
  645. if block.className=="IntValue" then
  646. if block.Value>0 then
  647. blocked=true
  648. if decreaseblock~=nil then
  649. block.Value=block.Value-1
  650. end
  651. end
  652. end
  653. end
  654. if blocked==false then
  655. -- h:TakeDamage(Damage)
  656. h.Health=h.Health-Damage
  657. showDamage(hit.Parent,Damage,.5,TorsoColor)
  658. else
  659. h.Health=h.Health-(Damage/2)
  660. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Really red"))
  661. end
  662. if Type=="Knockdown" then
  663. hum=hit.Parent.Humanoid
  664. hum.PlatformStand=true
  665. coroutine.resume(coroutine.create(function(HHumanoid)
  666. swait(1)
  667. HHumanoid.PlatformStand=false
  668. end),hum)
  669. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  670. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  671. local bodvol=Instance.new("BodyVelocity")
  672. bodvol.velocity=angle*knockback
  673. bodvol.P=5000
  674. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  675. bodvol.Parent=hit
  676. rl=Instance.new("BodyAngularVelocity")
  677. rl.P=3000
  678. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  679. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  680. rl.Parent=hit
  681. game:GetService("Debris"):AddItem(bodvol,.5)
  682. game:GetService("Debris"):AddItem(rl,.5)
  683. elseif Type=="Normal" then
  684. vp=Instance.new("BodyVelocity")
  685. vp.P=500
  686. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  687. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  688. if KnockbackType==1 then
  689. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  690. elseif KnockbackType==2 then
  691. vp.velocity=Property.CFrame.lookVector*knockback
  692. end
  693. if knockback>0 then
  694. vp.Parent=hit.Parent.Torso
  695. end
  696. game:GetService("Debris"):AddItem(vp,.5)
  697. elseif Type=="Up" then
  698. local bodyVelocity=Instance.new("BodyVelocity")
  699. bodyVelocity.velocity=vt(0,10,0)
  700. bodyVelocity.P=1000
  701. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  702. bodyVelocity.Parent=hit
  703. game:GetService("Debris"):AddItem(bodyVelocity,1)
  704. rl=Instance.new("BodyAngularVelocity")
  705. rl.P=3000
  706. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  707. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  708. rl.Parent=hit
  709. game:GetService("Debris"):AddItem(rl,.5)
  710. elseif Type=="Snare" then
  711. bp=Instance.new("BodyPosition")
  712. bp.P=2000
  713. bp.D=100
  714. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  715. bp.position=hit.Parent.Torso.Position
  716. bp.Parent=hit.Parent.Torso
  717. game:GetService("Debris"):AddItem(bp,1)
  718. elseif Type=="Target" then
  719. if Targetting==false then
  720. ZTarget=hit.Parent.Torso
  721. coroutine.resume(coroutine.create(function(Part)
  722. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  723. swait(5)
  724. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  725. end),ZTarget)
  726. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  727. targetgui=Instance.new("BillboardGui")
  728. targetgui.Parent=ZTarget
  729. targetgui.Size=UDim2.new(10,100,10,100)
  730. targ=Instance.new("ImageLabel")
  731. targ.Parent=targetgui
  732. targ.BackgroundTransparency=1
  733. targ.Image="rbxassetid://4834067"
  734. targ.Size=UDim2.new(1,0,1,0)
  735. cam.CameraType="Scriptable"
  736. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  737. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  738. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  739. Targetting=true
  740. RocketTarget=ZTarget
  741. for i=1,Property do
  742. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  743. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  744. swait()
  745. end
  746. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  747. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  748. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  749. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  750. end
  751. Targetting=false
  752. RocketTarget=nil
  753. targetgui.Parent=nil
  754. cam.CameraType="Custom"
  755. end
  756. end
  757. debounce=Instance.new("BoolValue")
  758. debounce.Name="DebounceHit"
  759. debounce.Parent=hit.Parent
  760. debounce.Value=true
  761. game:GetService("Debris"):AddItem(debounce,Delay)
  762. c=Instance.new("ObjectValue")
  763. c.Name="creator"
  764. c.Value=Player
  765. c.Parent=h
  766. game:GetService("Debris"):AddItem(c,.5)
  767. CRIT=false
  768. hitDeb=true
  769. AttackPos=6
  770. end
  771. end
  772.  
  773. showDamage=function(Char,Dealt,du,Color)
  774. m=Instance.new("Model")
  775. m.Name=tostring(Dealt)
  776. h=Instance.new("Humanoid")
  777. h.Health=0
  778. h.MaxHealth=0
  779. h.Parent=m
  780. c=Instance.new("Part")
  781. c.Transparency=0
  782. c.BrickColor=TorsoColor
  783. c.Name="Head"
  784. c.TopSurface=0
  785. c.BottomSurface=0
  786. c.formFactor="Plate"
  787. c.Size=Vector3.new(1,.4,1)
  788. ms=Instance.new("CylinderMesh")
  789. ms.Scale=Vector3.new(.8,.8,.8)
  790. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  791. if CRIT==true then
  792. ms.Scale=Vector3.new(1,1.25,1)
  793. end
  794. ms.Parent=c
  795. c.Reflectance=0
  796. Instance.new("BodyGyro").Parent=c
  797. c.Parent=m
  798. if Char:findFirstChild("Head")~=nil then
  799. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  800. elseif Char.Parent:findFirstChild("Head")~=nil then
  801. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  802. end
  803. f=Instance.new("BodyPosition")
  804. f.P=2000
  805. f.D=100
  806. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  807. f.position=c.Position+Vector3.new(0,3,0)
  808. f.Parent=c
  809. game:GetService("Debris"):AddItem(m,.5+du)
  810. c.CanCollide=false
  811. m.Parent=workspace
  812. c.CanCollide=false
  813. end
  814.  
  815. Player=game:GetService('Players').LocalPlayer
  816. Character=Player.Character
  817. Mouse=Player:GetMouse()
  818. m=Instance.new('Model',Character)
  819.  
  820.  
  821. local function weldBetween(a, b)
  822. local weldd = Instance.new("ManualWeld")
  823. weldd.Part0 = a
  824. weldd.Part1 = b
  825. weldd.C0 = CFrame.new()
  826. weldd.C1 = b.CFrame:inverse() * a.CFrame
  827. weldd.Parent = a
  828. return weldd
  829. end
  830.  
  831. it=Instance.new
  832.  
  833. function nooutline(part)
  834. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  835. end
  836.  
  837. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  838. local fp=it("Part")
  839. fp.formFactor=formfactor
  840. fp.Parent=parent
  841. fp.Reflectance=reflectance
  842. fp.Transparency=transparency
  843. fp.CanCollide=false
  844. fp.Locked=true
  845. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  846. fp.Name=name
  847. fp.Size=size
  848. fp.Position=Character.Torso.Position
  849. nooutline(fp)
  850. fp.Material=material
  851. fp:BreakJoints()
  852. return fp
  853. end
  854.  
  855. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  856. local mesh=it(Mesh)
  857. mesh.Parent=part
  858. if Mesh=="SpecialMesh" then
  859. mesh.MeshType=meshtype
  860. mesh.MeshId=meshid
  861. end
  862. mesh.Offset=offset
  863. mesh.Scale=scale
  864. return mesh
  865. end
  866.  
  867. function weld(parent,part0,part1,c0,c1)
  868. local weld=it("Weld")
  869. weld.Parent=parent
  870. weld.Part0=part0
  871. weld.Part1=part1
  872. weld.C0=c0
  873. weld.C1=c1
  874. return weld
  875. end
  876.  
  877. local modelzorz=Instance.new("Model")
  878. modelzorz.Parent=Character
  879. modelzorz.Name="Claw1"
  880.  
  881. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  882. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  883. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  884. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  885. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  887. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  888. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  889. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  890. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  891. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  892. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  893. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  894. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  895. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  896. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  897. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  898. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  899. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  900. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  901. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  902. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  903. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  904. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  905. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  906. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  907. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  909. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  910. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  911. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  912. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  913. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(4.29999971, 4.30000019, 1))
  914. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  915. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  916. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  917. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  918. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  919. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  920. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  921. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  922.  
  923. local modelzorz2=Instance.new("Model")
  924. modelzorz2.Parent=Character
  925. modelzorz2.Name="Claw2"
  926.  
  927. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  928. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  929. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  930. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  931. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  932. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  933. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  934. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  935. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  936. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  937. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  938. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  939. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  940. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  941. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  942. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  943. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  944. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  945. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  946. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  948. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  949. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  950. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  951. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  952. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  953. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  954. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  955. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  956. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  957. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  958. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  959. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  960. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  961. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  962. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  963. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(4.29999971, 4.30000019, 1))
  964. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  965. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  966. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(2.20000005, 1, 1))
  967. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  968.  
  969. local modelzorz3=Instance.new("Model")
  970. modelzorz3.Parent=Character
  971. modelzorz3.Name="Eye"
  972.  
  973. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  974. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  975. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  976. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  977. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  978. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  979. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  980. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  981. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  982. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(3.79999995, 4, 1.39999998))
  983. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  984. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  985. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  986. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  987. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  988. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  989. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  990. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  991. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  992. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  993. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  994. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  995. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  996. local moosick = it("Sound",Character)
  997. moosick.SoundId = "rbxassetid://142653441"
  998. --142653441,, 243372213 --69ty
  999. moosick.Looped = true
  1000. moosick.Pitch = 1
  1001. moosick.Volume = 0
  1002. moosick:Play()
  1003.  
  1004. anim = Character:findFirstChild("Animate")
  1005. if anim then
  1006. anim:Destroy()
  1007. end
  1008.  
  1009. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1010. particleemitter.VelocitySpread = 180
  1011. particleemitter.Lifetime = NumberRange.new(0.1)
  1012. particleemitter.Speed = NumberRange.new(2)
  1013. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1014. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1015. particleemitter.Rate = 100
  1016. particleemitter.Rotation = NumberRange.new(-45, 45)
  1017. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1018. particleemitter.LightEmission = 0
  1019. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1020.  
  1021. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1022. particleemitter.VelocitySpread = 180
  1023. particleemitter.Lifetime = NumberRange.new(0.1)
  1024. particleemitter.Speed = NumberRange.new(2)
  1025. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1026. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1027. particleemitter.Rate = 100
  1028. particleemitter.Rotation = NumberRange.new(-45, 45)
  1029. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1030. particleemitter.LightEmission = 0
  1031. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1032.  
  1033. local particleemitter = Instance.new("ParticleEmitter", handle)
  1034. particleemitter.VelocitySpread = 180
  1035. particleemitter.Lifetime = NumberRange.new(0.1)
  1036. particleemitter.Speed = NumberRange.new(2)
  1037. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1038. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1039. particleemitter.Rate = 100
  1040. particleemitter.Rotation = NumberRange.new(-45, 45)
  1041. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1042. particleemitter.LightEmission = 0.8
  1043. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1044.  
  1045. local light = Instance.new("PointLight", Character.Torso)
  1046. light.Color = Color3.new(255,255,255)
  1047. light.Brightness = 5
  1048. light.Range = 15
  1049.  
  1050. particleemitter.Enabled = true
  1051.  
  1052. local Footsteps = it("Sound",Character.Torso)
  1053. Footsteps.SoundId = "rbxassetid://142665235"
  1054. Footsteps.Looped = true
  1055. Footsteps.Pitch = 0.8
  1056. Footsteps.Volume = 0.3
  1057.  
  1058. local Footsteps2 = it("Sound",Character.Torso)
  1059. Footsteps2.SoundId = "rbxassetid://142665235"
  1060. Footsteps2.Looped = true
  1061. Footsteps2.Pitch = 1
  1062. Footsteps2.Volume = 0.4
  1063.  
  1064. local cam = game.Workspace.CurrentCamera
  1065.  
  1066. --cam.CameraSubject = Character
  1067.  
  1068. for i,v in pairs(Head:children()) do
  1069. if v:IsA("Sound") then
  1070. v:Destroy()
  1071. end
  1072. end
  1073.  
  1074. mouse.Button1Down:connect(function()
  1075. if attack==false and attacktype==1 then
  1076. attacktype=2
  1077. attackone()
  1078. elseif attack==false and attacktype==2 then
  1079. attacktype=3
  1080. attacktwo()
  1081. elseif attack==false and attacktype==3 then
  1082. attacktype=4
  1083. attackthree()
  1084. elseif attack==false and attacktype==4 then
  1085. attacktype=1
  1086. attackfour()
  1087. end
  1088. end)
  1089.  
  1090. mouse.KeyDown:connect(function(k)
  1091. k=k:lower()
  1092. if k=='e' then
  1093. if attack==false and mana>=20 then
  1094. Push()
  1095. end
  1096. elseif k=='g' then
  1097. if attack==false and mana>=50 then
  1098. Twirl()
  1099. end
  1100. elseif k=='v' then
  1101. if attack==false and mana>=25 then
  1102. MagicJump()
  1103. end
  1104. elseif k=='q' then
  1105. if attack==false then
  1106. idle=1000
  1107. end
  1108. elseif k=='h' then
  1109. if attack==false then
  1110. mana=100
  1111. end
  1112. elseif k=='y' then
  1113. if attack==false and mana>=100 then
  1114. Shred()
  1115. end
  1116. elseif k=='f' then
  1117. if attack==false and mana>=40 then
  1118. Spin()
  1119. end
  1120. elseif k=='r' then
  1121. if attack==false and mana>=20 then
  1122. Clap()
  1123. end
  1124. elseif k=='t' then
  1125. if attack==false then
  1126. Hai()
  1127. end
  1128. elseif k=='0' then
  1129. if attack==false then
  1130. Humanoid.WalkSpeed=(40)
  1131. end
  1132. elseif k=='j' then
  1133. if attack==false then
  1134. Humanoid.Health = 10
  1135. print("Congrats, you commited suicide. GG...")
  1136. end
  1137. end
  1138. end)
  1139.  
  1140. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1141. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1142. prt.Anchored=true
  1143. prt.CFrame=cframe
  1144. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1145. game:GetService("Debris"):AddItem(prt,2)
  1146. coroutine.resume(coroutine.create(function(Part,Mesh)
  1147. for i=0,1,delay do
  1148. wait()
  1149. Part.CFrame=Part.CFrame
  1150. Part.Transparency=i
  1151. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1152. end
  1153. Part.Parent=nil
  1154. end),prt,msh)
  1155. end
  1156.  
  1157. TrailDeb = false
  1158.  
  1159. function equipanim()
  1160. attack=true
  1161. Humanoid.WalkSpeed = 0
  1162. if TrailDeb == false then
  1163. TrailDeb = true
  1164. end
  1165.  
  1166.  
  1167. coroutine.wrap(function()
  1168. local Old = handle.CFrame.p
  1169. while wait()do
  1170. if not TrailDeb then break end
  1171. local New = handle.CFrame.p
  1172. local Mag =(Old -New).magnitude
  1173. local Dis =(Old +New)/2
  1174. local Trail = Instance.new("Part",Character)
  1175. Trail.Material = "Neon"
  1176. Trail.Anchored = true
  1177. Trail.CanCollide = false
  1178. Trail.BrickColor = TorsoColor
  1179. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1180. Trail.TopSurface = 0
  1181. Trail.BottomSurface = 0
  1182. Trail.formFactor = "Custom"
  1183. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1184. local ms = Instance.new("BlockMesh",Trail)
  1185. ms.Scale = Vector3.new(1,1,1)
  1186. local TM = Instance.new("CylinderMesh",Trail)
  1187. TM.Scale = Vector3.new(1,1,1)
  1188. Old = New
  1189. coroutine.wrap(function()
  1190. for i = 1,0,-0.1 do
  1191. wait()
  1192. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1193. end
  1194. Trail:remove()
  1195. end)()
  1196. coroutine.wrap(function()
  1197. for i = 1,10 do
  1198. wait()
  1199. Trail.Transparency = Trail.Transparency +0.1
  1200. end end)()end end)()
  1201. coroutine.wrap(function()
  1202. local Old = Handle.CFrame.p
  1203. while wait()do
  1204. if not TrailDeb then break end
  1205. local New = Handle.CFrame.p
  1206. local Mag =(Old -New).magnitude
  1207. local Dis =(Old +New)/2
  1208. local Trail = Instance.new("Part",Character)
  1209. Trail.Material = "Neon"
  1210. Trail.Anchored = true
  1211. Trail.CanCollide = false
  1212. Trail.BrickColor = TorsoColor
  1213. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1214. Trail.TopSurface = 0
  1215. Trail.BottomSurface = 0
  1216. Trail.formFactor = "Custom"
  1217. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1218. local ms = Instance.new("BlockMesh",Trail)
  1219. ms.Scale = Vector3.new(1,1,1)
  1220. local TM = Instance.new("CylinderMesh",Trail)
  1221. TM.Scale = Vector3.new(1,1,1)
  1222. Old = New
  1223. coroutine.wrap(function()
  1224. for i = 1,0,-0.1 do
  1225. wait()
  1226. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1227. end
  1228. Trail:remove()
  1229. end)()
  1230. coroutine.wrap(function()
  1231. for i = 1,10 do
  1232. wait()
  1233. Trail.Transparency = Trail.Transparency +0.1
  1234. end end)()end end)()
  1235. coroutine.wrap(function()
  1236. local Old = Handle2.CFrame.p
  1237. while wait()do
  1238. if not TrailDeb then break end
  1239. local New = Handle2.CFrame.p
  1240. local Mag =(Old -New).magnitude
  1241. local Dis =(Old +New)/2
  1242. local Trail = Instance.new("Part",Character)
  1243. Trail.Material = "Neon"
  1244. Trail.Anchored = true
  1245. Trail.CanCollide = false
  1246. Trail.BrickColor = TorsoColor
  1247. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1248. Trail.TopSurface = 0
  1249. Trail.BottomSurface = 0
  1250. Trail.formFactor = "Custom"
  1251. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1252. local ms = Instance.new("BlockMesh",Trail)
  1253. ms.Scale = Vector3.new(1,1,1)
  1254. local TM = Instance.new("CylinderMesh",Trail)
  1255. TM.Scale = Vector3.new(1,1,1)
  1256. Old = New
  1257. coroutine.wrap(function()
  1258. for i = 1,0,-0.1 do
  1259. wait()
  1260. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1261. end
  1262. Trail:remove()
  1263. end)()
  1264. coroutine.wrap(function()
  1265. for i = 1,10 do
  1266. wait()
  1267. Trail.Transparency = Trail.Transparency +0.1
  1268. end end)()end end)()
  1269. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1270. for i=0,1,0.005 do
  1271. swait()
  1272. moosick.Volume = 0+1*i
  1273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1275. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1276. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1277. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1278. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1279. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1280. end
  1281. for i=0,1,0.005 do
  1282. swait()
  1283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1284. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1285. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1286. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1287. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1288. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1289. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1290. end
  1291. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1292. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1293. for i=0,1,0.005 do
  1294. swait()
  1295. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1297. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1298. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1299. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1300. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1301. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1302. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1303. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1304. end
  1305. for i=0,1,0.04 do
  1306. swait()
  1307. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1308. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1309. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1310. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1311. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1312. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1313. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1314. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1315. end
  1316. --dmgstop()
  1317. attack=false
  1318. Humanoid.WalkSpeed = 40
  1319. if TrailDeb == true then
  1320. TrailDeb = false
  1321. end
  1322. end
  1323.  
  1324. function attackone()
  1325. attack=true
  1326. if TrailDeb == false then
  1327. TrailDeb = true
  1328. end
  1329.  
  1330.  
  1331. coroutine.wrap(function()
  1332. local Old = Handle.CFrame.p
  1333. while wait()do
  1334. if not TrailDeb then break end
  1335. local New = Handle.CFrame.p
  1336. local Mag =(Old -New).magnitude
  1337. local Dis =(Old +New)/2
  1338. local Trail = Instance.new("Part",Character)
  1339. Trail.Material = "Neon"
  1340. Trail.Anchored = true
  1341. Trail.CanCollide = false
  1342. Trail.BrickColor = TorsoColor
  1343. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1344. Trail.TopSurface = 0
  1345. Trail.BottomSurface = 0
  1346. Trail.formFactor = "Custom"
  1347. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1348. local ms = Instance.new("BlockMesh",Trail)
  1349. ms.Scale = Vector3.new(1,1,1)
  1350. local TM = Instance.new("CylinderMesh",Trail)
  1351. TM.Scale = Vector3.new(1,1,1)
  1352. Old = New
  1353. coroutine.wrap(function()
  1354. for i = 1,0,-0.1 do
  1355. wait()
  1356. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1357. end
  1358. Trail:remove()
  1359. end)()
  1360. coroutine.wrap(function()
  1361. for i = 1,10 do
  1362. wait()
  1363. Trail.Transparency = Trail.Transparency +0.1
  1364. end end)()end end)()
  1365. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1366. for i=0,1,0.08 do
  1367. swait()
  1368. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1369. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1370. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1371. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1372. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1373. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1374. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1375. end
  1376. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1377. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1378. for i=0,1,0.1 do
  1379. swait()
  1380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1382. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1383. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1384. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1385. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1386. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1387. end
  1388. --dmgstop()
  1389. attack=false
  1390. con1:disconnect()
  1391. if TrailDeb == true then
  1392. TrailDeb = false
  1393. end
  1394. end
  1395.  
  1396. function attacktwo()
  1397. attack=true
  1398. if TrailDeb == false then
  1399. TrailDeb = true
  1400. end
  1401.  
  1402.  
  1403. coroutine.wrap(function()
  1404. local Old = Handle2.CFrame.p
  1405. while wait()do
  1406. if not TrailDeb then break end
  1407. local New = Handle2.CFrame.p
  1408. local Mag =(Old -New).magnitude
  1409. local Dis =(Old +New)/2
  1410. local Trail = Instance.new("Part",Character)
  1411. Trail.Material = "Neon"
  1412. Trail.Anchored = true
  1413. Trail.CanCollide = false
  1414. Trail.BrickColor = TorsoColor
  1415. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1416. Trail.TopSurface = 0
  1417. Trail.BottomSurface = 0
  1418. Trail.formFactor = "Custom"
  1419. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1420. local ms = Instance.new("BlockMesh",Trail)
  1421. ms.Scale = Vector3.new(1,1,1)
  1422. local TM = Instance.new("CylinderMesh",Trail)
  1423. TM.Scale = Vector3.new(1,1,1)
  1424. Old = New
  1425. coroutine.wrap(function()
  1426. for i = 1,0,-0.1 do
  1427. wait()
  1428. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1429. end
  1430. Trail:remove()
  1431. end)()
  1432. coroutine.wrap(function()
  1433. for i = 1,10 do
  1434. wait()
  1435. Trail.Transparency = Trail.Transparency +0.1
  1436. end end)()end end)()
  1437. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1438. for i=0,1,0.08 do
  1439. swait()
  1440. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1441. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1442. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1443. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1444. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1445. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1447. end
  1448. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1449. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1450. for i=0,1,0.1 do
  1451. swait()
  1452. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1453. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1454. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1455. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1456. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1457. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1458. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1459. end
  1460. --dmgstop()
  1461. attack=false
  1462. con1:disconnect()
  1463. if TrailDeb == true then
  1464. TrailDeb = false
  1465. end
  1466. end
  1467.  
  1468. function attackthree()
  1469. attack=true
  1470. if TrailDeb == false then
  1471. TrailDeb = true
  1472. end
  1473.  
  1474.  
  1475. coroutine.wrap(function()
  1476. local Old = Handle.CFrame.p
  1477. while wait()do
  1478. if not TrailDeb then break end
  1479. local New = Handle.CFrame.p
  1480. local Mag =(Old -New).magnitude
  1481. local Dis =(Old +New)/2
  1482. local Trail = Instance.new("Part",Character)
  1483. Trail.Material = "Neon"
  1484. Trail.Anchored = true
  1485. Trail.CanCollide = false
  1486. Trail.BrickColor = TorsoColor
  1487. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1488. Trail.TopSurface = 0
  1489. Trail.BottomSurface = 0
  1490. Trail.formFactor = "Custom"
  1491. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1492. local ms = Instance.new("BlockMesh",Trail)
  1493. ms.Scale = Vector3.new(1,1,1)
  1494. local TM = Instance.new("CylinderMesh",Trail)
  1495. TM.Scale = Vector3.new(1,1,1)
  1496. Old = New
  1497. coroutine.wrap(function()
  1498. for i = 1,0,-0.1 do
  1499. wait()
  1500. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1501. end
  1502. Trail:remove()
  1503. end)()
  1504. coroutine.wrap(function()
  1505. for i = 1,10 do
  1506. wait()
  1507. Trail.Transparency = Trail.Transparency +0.1
  1508. end end)()end end)()
  1509. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  1510. for i=0,1,0.08 do
  1511. swait()
  1512. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1514. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1515. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1516. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1517. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1518. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1519. end
  1520. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1521. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1522. for i=0,1,0.05 do
  1523. swait()
  1524. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1525. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1526. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1527. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1528. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1529. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1530. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1531. end
  1532. --dmgstop()
  1533. attack=false
  1534. con1:disconnect()
  1535. if TrailDeb == true then
  1536. TrailDeb = false
  1537. end
  1538. end
  1539.  
  1540. function attackfour()
  1541. attack=true
  1542. if TrailDeb == false then
  1543. TrailDeb = true
  1544. end
  1545.  
  1546.  
  1547. coroutine.wrap(function()
  1548. local Old = Handle2.CFrame.p
  1549. while wait()do
  1550. if not TrailDeb then break end
  1551. local New = Handle2.CFrame.p
  1552. local Mag =(Old -New).magnitude
  1553. local Dis =(Old +New)/2
  1554. local Trail = Instance.new("Part",Character)
  1555. Trail.Material = "Neon"
  1556. Trail.Anchored = true
  1557. Trail.CanCollide = false
  1558. Trail.BrickColor = TorsoColor
  1559. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1560. Trail.TopSurface = 0
  1561. Trail.BottomSurface = 0
  1562. Trail.formFactor = "Custom"
  1563. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1564. local ms = Instance.new("BlockMesh",Trail)
  1565. ms.Scale = Vector3.new(1,1,1)
  1566. local TM = Instance.new("CylinderMesh",Trail)
  1567. TM.Scale = Vector3.new(1,1,1)
  1568. Old = New
  1569. coroutine.wrap(function()
  1570. for i = 1,0,-0.1 do
  1571. wait()
  1572. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1573. end
  1574. Trail:remove()
  1575. end)()
  1576. coroutine.wrap(function()
  1577. for i = 1,10 do
  1578. wait()
  1579. Trail.Transparency = Trail.Transparency +0.1
  1580. end end)()end end)()
  1581. coroutine.wrap(function()
  1582. local Old = Handle.CFrame.p
  1583. while wait()do
  1584. if not TrailDeb then break end
  1585. local New = Handle.CFrame.p
  1586. local Mag =(Old -New).magnitude
  1587. local Dis =(Old +New)/2
  1588. local Trail = Instance.new("Part",Character)
  1589. Trail.Material = "Neon"
  1590. Trail.Anchored = true
  1591. Trail.CanCollide = false
  1592. Trail.BrickColor = TorsoColor
  1593. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1594. Trail.TopSurface = 0
  1595. Trail.BottomSurface = 0
  1596. Trail.formFactor = "Custom"
  1597. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1598. local ms = Instance.new("BlockMesh",Trail)
  1599. ms.Scale = Vector3.new(1,1,1)
  1600. local TM = Instance.new("CylinderMesh",Trail)
  1601. TM.Scale = Vector3.new(1,1,1)
  1602. Old = New
  1603. coroutine.wrap(function()
  1604. for i = 1,0,-0.1 do
  1605. wait()
  1606. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1607. end
  1608. Trail:remove()
  1609. end)()
  1610. coroutine.wrap(function()
  1611. for i = 1,10 do
  1612. wait()
  1613. Trail.Transparency = Trail.Transparency +0.1
  1614. end end)()end end)()
  1615. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1616. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1617. for i=0,1,0.08 do
  1618. swait()
  1619. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1620. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1621. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1622. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1623. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1624. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1625. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1626. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1627. end
  1628. if anim then
  1629. anim.Disabled=true
  1630. end
  1631. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1632. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1633. for i=0,1,0.04 do
  1634. swait()
  1635. Torso.Velocity=RootPart.CFrame.lookVector*50
  1636. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1637. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1638. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1639. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1640. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1641. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1642. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1643. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1644. end
  1645. --dmgstop()
  1646. attack=false
  1647. con1:disconnect()
  1648. con2:disconnect()
  1649. if anim then
  1650. anim.Disabled=false
  1651. end
  1652. if TrailDeb == true then
  1653. TrailDeb = false
  1654. end
  1655. end
  1656.  
  1657. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1658. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1659. prt.Anchored = true
  1660. prt.CFrame = cframe
  1661. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1662. coroutine.resume(coroutine.create(function()
  1663. for i = 0, 1, 0.05 do
  1664. wait()
  1665. prt.Transparency = i
  1666. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1667. end
  1668. prt.Parent = nil
  1669. end))
  1670. end
  1671.  
  1672. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1673. for _, c in pairs(workspace:children()) do
  1674. local hum = c:findFirstChild("Humanoid")
  1675. if hum ~= nil then
  1676. local head = c:findFirstChild("Torso")
  1677. if head ~= nil then
  1678. local targ = head.Position - Part.Position
  1679. local mag = targ.magnitude
  1680. if mag <= magni and c.Name ~= Player.Name then
  1681. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1682. end
  1683. end
  1684. end
  1685. end
  1686. end
  1687.  
  1688. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1689. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1690. prt.Anchored = true
  1691. prt.CFrame = cframe
  1692. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1693. game:GetService("Debris"):AddItem(prt, 2)
  1694. coroutine.resume(coroutine.create(function(Part, Mesh)
  1695. for i = 0, 1, delay do
  1696. swait()
  1697. Part.CFrame = Part.CFrame
  1698. Part.Transparency = i
  1699. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1700. end
  1701. Part.Parent = nil
  1702. end), prt, msh)
  1703. end
  1704.  
  1705. function MagicJump()
  1706. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1707. attack=true
  1708. mana=mana-25
  1709. --[[ Humanoid.WalkSpeed = 0
  1710. for i=0,1,0.01 do
  1711. swait()
  1712. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1713. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1714. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1715. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1716. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1717. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  1718. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  1719. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1720. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1721. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1722. end]]--
  1723. Humanoid.Jump = true
  1724. Torso.Velocity = vt(0, 150, 0)
  1725. Humanoid.WalkSpeed = 64
  1726. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1727. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1728. for i=0,1,0.05 do
  1729. swait()
  1730. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1731. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1733. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1734. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1735. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1736. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1737. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1738. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1739. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1740. end
  1741. for i=0,1,0.02 do
  1742. swait()
  1743. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1744. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1745. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1746. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1747. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1748. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1749. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1750. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1751. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1752. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1753. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1754. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1755. end
  1756. Humanoid.WalkSpeed = 0
  1757. swait(8)
  1758. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1759. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1760. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1761. if hit~=nil then
  1762. swait(2)
  1763. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really red"),"Effect",vt())
  1764. ref.Anchored=true
  1765. ref.CFrame=cf(pos)
  1766. game:GetService("Debris"):AddItem(ref,3)
  1767. for i=1,10 do
  1768. local Col=BrickColor.new("Really red")
  1769. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1770. groundpart.Anchored=true
  1771. groundpart.CanCollide=false
  1772. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1773. local Col2=TorsoColor
  1774. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1775. groundpart2.Anchored=true
  1776. groundpart2.CanCollide=false
  1777. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1778. game:GetService("Debris"):AddItem(groundpart,5)
  1779. game:GetService("Debris"):AddItem(groundpart2,5)
  1780. end
  1781. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1782. BlastEffect(BrickColor.new("Really red"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1783. MagicCircle(BrickColor.new("Really red"),cf(pos),5,5,5,5,5,5,0.05)
  1784. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1785. for i=0,1,0.06 do
  1786. swait()
  1787. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1788. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1790. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1791. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1792. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1793. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1794. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1795. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1796. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1797. end
  1798. end
  1799. swait(20)
  1800. Humanoid.WalkSpeed = 12
  1801. --dmgstop()
  1802. attack=false
  1803. end
  1804. end
  1805.  
  1806. function Spin()
  1807. attack=true
  1808. mana=mana-40
  1809. if TrailDeb == false then
  1810. TrailDeb = true
  1811. end
  1812.  
  1813. coroutine.wrap(function()
  1814. local Old = Handle2.CFrame.p
  1815. while wait()do
  1816. if not TrailDeb then break end
  1817. local New = Handle2.CFrame.p
  1818. local Mag =(Old -New).magnitude
  1819. local Dis =(Old +New)/2
  1820. local Trail = Instance.new("Part",Character)
  1821. Trail.Material = "Neon"
  1822. Trail.Anchored = true
  1823. Trail.CanCollide = false
  1824. Trail.BrickColor = TorsoColor
  1825. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1826. Trail.TopSurface = 0
  1827. Trail.BottomSurface = 0
  1828. Trail.formFactor = "Custom"
  1829. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1830. local ms = Instance.new("BlockMesh",Trail)
  1831. ms.Scale = Vector3.new(1,1,1)
  1832. local TM = Instance.new("CylinderMesh",Trail)
  1833. TM.Scale = Vector3.new(1,1,1)
  1834. Old = New
  1835. coroutine.wrap(function()
  1836. for i = 1,0,-0.1 do
  1837. wait()
  1838. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1839. end
  1840. Trail:remove()
  1841. end)()
  1842. coroutine.wrap(function()
  1843. for i = 1,10 do
  1844. wait()
  1845. Trail.Transparency = Trail.Transparency +0.1
  1846. end end)()end end)()
  1847. coroutine.wrap(function()
  1848. local Old = Handle.CFrame.p
  1849. while wait()do
  1850. if not TrailDeb then break end
  1851. local New = Handle.CFrame.p
  1852. local Mag =(Old -New).magnitude
  1853. local Dis =(Old +New)/2
  1854. local Trail = Instance.new("Part",Character)
  1855. Trail.Material = "Neon"
  1856. Trail.Anchored = true
  1857. Trail.CanCollide = false
  1858. Trail.BrickColor = TorsoColor
  1859. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1860. Trail.TopSurface = 0
  1861. Trail.BottomSurface = 0
  1862. Trail.formFactor = "Custom"
  1863. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1864. local ms = Instance.new("BlockMesh",Trail)
  1865. ms.Scale = Vector3.new(1,1,1)
  1866. local TM = Instance.new("CylinderMesh",Trail)
  1867. TM.Scale = Vector3.new(1,1,1)
  1868. Old = New
  1869. coroutine.wrap(function()
  1870. for i = 1,0,-0.1 do
  1871. wait()
  1872. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1873. end
  1874. Trail:remove()
  1875. end)()
  1876. coroutine.wrap(function()
  1877. for i = 1,10 do
  1878. wait()
  1879. Trail.Transparency = Trail.Transparency +0.1
  1880. end end)()end end)()
  1881. Footsteps:Stop()
  1882. Footsteps2:Stop()
  1883. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1884. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1885. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  1886. for i=0,1,0.1 do
  1887. swait()
  1888. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1889. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1890. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1891. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1892. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1893. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1894. end
  1895. if anim then
  1896. anim.Disabled=true
  1897. end
  1898. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1899. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1900. for i=0,1,0.05 do
  1901. swait()
  1902. Torso.Velocity=RootPart.CFrame.lookVector*100
  1903. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1904. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1905. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1906. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1907. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1908. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1909. end
  1910. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1911. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1912. for i=0,1,0.05 do
  1913. swait()
  1914. Torso.Velocity=RootPart.CFrame.lookVector*100
  1915. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1916. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1917. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1918. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1919. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1920. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1921. end
  1922. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1923. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1924. for i=0,1,0.05 do
  1925. swait()
  1926. Torso.Velocity=RootPart.CFrame.lookVector*100
  1927. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1928. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1929. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1930. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1931. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1932. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1933. end
  1934. --dmgstop()
  1935. Humanoid.WalkSpeed=12
  1936. attack=false
  1937. con1:disconnect()
  1938. con2:disconnect()
  1939. if anim then
  1940. anim.Disabled=false
  1941. end
  1942. if TrailDeb == true then
  1943. TrailDeb = false
  1944. end
  1945. end
  1946.  
  1947. function Twirl()
  1948. mana=mana-50
  1949. attack=true
  1950. if TrailDeb == false then
  1951. TrailDeb = true
  1952. end
  1953.  
  1954.  
  1955. coroutine.wrap(function()
  1956. local Old = Handle2.CFrame.p
  1957. while wait()do
  1958. if not TrailDeb then break end
  1959. local New = Handle2.CFrame.p
  1960. local Mag =(Old -New).magnitude
  1961. local Dis =(Old +New)/2
  1962. local Trail = Instance.new("Part",Character)
  1963. Trail.Material = "Neon"
  1964. Trail.Anchored = true
  1965. Trail.CanCollide = false
  1966. Trail.BrickColor = TorsoColor
  1967. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1968. Trail.TopSurface = 0
  1969. Trail.BottomSurface = 0
  1970. Trail.formFactor = "Custom"
  1971. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1972. local ms = Instance.new("BlockMesh",Trail)
  1973. ms.Scale = Vector3.new(1,1,1)
  1974. local TM = Instance.new("CylinderMesh",Trail)
  1975. TM.Scale = Vector3.new(1,1,1)
  1976. Old = New
  1977. coroutine.wrap(function()
  1978. for i = 1,0,-0.1 do
  1979. wait()
  1980. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1981. end
  1982. Trail:remove()
  1983. end)()
  1984. coroutine.wrap(function()
  1985. for i = 1,10 do
  1986. wait()
  1987. Trail.Transparency = Trail.Transparency +0.1
  1988. end end)()end end)()
  1989. coroutine.wrap(function()
  1990. local Old = Handle.CFrame.p
  1991. while wait()do
  1992. if not TrailDeb then break end
  1993. local New = Handle.CFrame.p
  1994. local Mag =(Old -New).magnitude
  1995. local Dis =(Old +New)/2
  1996. local Trail = Instance.new("Part",Character)
  1997. Trail.Material = "Neon"
  1998. Trail.Anchored = true
  1999. Trail.CanCollide = false
  2000. Trail.BrickColor = TorsoColor
  2001. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2002. Trail.TopSurface = 0
  2003. Trail.BottomSurface = 0
  2004. Trail.formFactor = "Custom"
  2005. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2006. local ms = Instance.new("BlockMesh",Trail)
  2007. ms.Scale = Vector3.new(1,1,1)
  2008. local TM = Instance.new("CylinderMesh",Trail)
  2009. TM.Scale = Vector3.new(1,1,1)
  2010. Old = New
  2011. coroutine.wrap(function()
  2012. for i = 1,0,-0.1 do
  2013. wait()
  2014. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2015. end
  2016. Trail:remove()
  2017. end)()
  2018. coroutine.wrap(function()
  2019. for i = 1,10 do
  2020. wait()
  2021. Trail.Transparency = Trail.Transparency +0.1
  2022. end end)()end end)()
  2023. Footsteps:Stop()
  2024. Footsteps2:Stop()
  2025. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2026. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2027. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  2028. for i=0,1,0.1 do
  2029. swait()
  2030. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2031. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2032. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2033. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2035. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2036. end
  2037. if anim then
  2038. anim.Disabled=true
  2039. end
  2040. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2041. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2042. for i=0,1,0.05 do
  2043. swait()
  2044. Torso.Velocity=RootPart.CFrame.lookVector*80
  2045. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2046. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2047. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2048. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2049. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2050. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2051. end
  2052. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2053. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2054. for i=0,1,0.05 do
  2055. swait()
  2056. Torso.Velocity=RootPart.CFrame.lookVector*80
  2057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2058. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2059. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2060. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2061. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2062. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2063. end
  2064. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2065. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2066. for i=0,1,0.05 do
  2067. swait()
  2068. Torso.Velocity=RootPart.CFrame.lookVector*80
  2069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2070. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2071. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2072. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2073. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2074. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2075. end
  2076. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2077. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2078. for i=0,1,0.05 do
  2079. swait()
  2080. Torso.Velocity=RootPart.CFrame.lookVector*80
  2081. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2082. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2083. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2084. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2085. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2086. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2087. end
  2088. --dmgstop()
  2089. Humanoid.WalkSpeed=12
  2090. attack=false
  2091. con1:disconnect()
  2092. con2:disconnect()
  2093. if anim then
  2094. anim.Disabled=false
  2095. end
  2096. if TrailDeb == true then
  2097. TrailDeb = false
  2098. end
  2099. end
  2100.  
  2101. function Shred()
  2102. attack=true
  2103. mana=mana-100
  2104. if TrailDeb == false then
  2105. TrailDeb = true
  2106. end
  2107.  
  2108.  
  2109. coroutine.wrap(function()
  2110. local Old = Handle2.CFrame.p
  2111. while wait()do
  2112. if not TrailDeb then break end
  2113. local New = Handle2.CFrame.p
  2114. local Mag =(Old -New).magnitude
  2115. local Dis =(Old +New)/2
  2116. local Trail = Instance.new("Part",Character)
  2117. Trail.Material = "Neon"
  2118. Trail.Anchored = true
  2119. Trail.CanCollide = false
  2120. Trail.BrickColor = TorsoColor
  2121. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2122. Trail.TopSurface = 0
  2123. Trail.BottomSurface = 0
  2124. Trail.formFactor = "Custom"
  2125. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2126. local ms = Instance.new("BlockMesh",Trail)
  2127. ms.Scale = Vector3.new(1,1,1)
  2128. local TM = Instance.new("CylinderMesh",Trail)
  2129. TM.Scale = Vector3.new(1,1,1)
  2130. Old = New
  2131. coroutine.wrap(function()
  2132. for i = 1,0,-0.1 do
  2133. wait()
  2134. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2135. end
  2136. Trail:remove()
  2137. end)()
  2138. coroutine.wrap(function()
  2139. for i = 1,10 do
  2140. wait()
  2141. Trail.Transparency = Trail.Transparency +0.1
  2142. end end)()end end)()
  2143. coroutine.wrap(function()
  2144. local Old = Handle.CFrame.p
  2145. while wait()do
  2146. if not TrailDeb then break end
  2147. local New = Handle.CFrame.p
  2148. local Mag =(Old -New).magnitude
  2149. local Dis =(Old +New)/2
  2150. local Trail = Instance.new("Part",Character)
  2151. Trail.Material = "Neon"
  2152. Trail.Anchored = true
  2153. Trail.CanCollide = false
  2154. Trail.BrickColor = TorsoColor
  2155. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2156. Trail.TopSurface = 0
  2157. Trail.BottomSurface = 0
  2158. Trail.formFactor = "Custom"
  2159. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2160. local ms = Instance.new("BlockMesh",Trail)
  2161. ms.Scale = Vector3.new(1,1,1)
  2162. local TM = Instance.new("CylinderMesh",Trail)
  2163. TM.Scale = Vector3.new(1,1,1)
  2164. Old = New
  2165. coroutine.wrap(function()
  2166. for i = 1,0,-0.1 do
  2167. wait()
  2168. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2169. end
  2170. Trail:remove()
  2171. end)()
  2172. coroutine.wrap(function()
  2173. for i = 1,10 do
  2174. wait()
  2175. Trail.Transparency = Trail.Transparency +0.1
  2176. end end)()end end)()
  2177. Footsteps:Stop()
  2178. Footsteps2:Stop()
  2179. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2180. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2181. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2182. for i=0,1,0.1 do
  2183. swait()
  2184. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2185. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2186. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2187. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2188. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2189. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2190. end
  2191. if anim then
  2192. anim.Disabled=true
  2193. end
  2194. for i=0,1,0.05 do
  2195. swait()
  2196. Torso.Velocity=RootPart.CFrame.lookVector*20
  2197. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2198. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2199. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2200. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2201. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2202. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2203. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2204. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2205. end
  2206. for i=0,1,0.05 do
  2207. swait()
  2208. Torso.Velocity=RootPart.CFrame.lookVector*40
  2209. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2210. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2212. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2213. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2214. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2215. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2216. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2217. end
  2218. for i=0,1,0.05 do
  2219. swait()
  2220. Torso.Velocity=RootPart.CFrame.lookVector*60
  2221. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2222. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2223. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2224. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2225. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2226. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2227. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2228. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2229. end
  2230. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2231. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2232. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2233. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2234. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2235. for i=0,1,0.05 do
  2236. swait()
  2237. Torso.Velocity=RootPart.CFrame.lookVector*80
  2238. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2239. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2240. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2241. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2242. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2243. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2244. end
  2245. for i=0,1,0.005 do
  2246. swait()
  2247. Torso.Velocity=RootPart.CFrame.lookVector*100
  2248. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2249. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2250. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2251. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2252. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2253. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2254. end
  2255. --dmgstop()
  2256. Humanoid.WalkSpeed=12
  2257. attack=false
  2258. con1:disconnect()
  2259. con2:disconnect()
  2260. if anim then
  2261. anim.Disabled=false
  2262. end
  2263. if TrailDeb == true then
  2264. TrailDeb = false
  2265. end
  2266. end
  2267.  
  2268. function Push()
  2269. attack=true
  2270. mana=mana-20
  2271. if TrailDeb == false then
  2272. TrailDeb = true
  2273. end
  2274.  
  2275.  
  2276. coroutine.wrap(function()
  2277. local Old = Handle2.CFrame.p
  2278. while wait()do
  2279. if not TrailDeb then break end
  2280. local New = Handle2.CFrame.p
  2281. local Mag =(Old -New).magnitude
  2282. local Dis =(Old +New)/2
  2283. local Trail = Instance.new("Part",Character)
  2284. Trail.Material = "Neon"
  2285. Trail.Anchored = true
  2286. Trail.CanCollide = false
  2287. Trail.BrickColor = TorsoColor
  2288. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2289. Trail.TopSurface = 0
  2290. Trail.BottomSurface = 0
  2291. Trail.formFactor = "Custom"
  2292. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2293. local ms = Instance.new("BlockMesh",Trail)
  2294. ms.Scale = Vector3.new(1,1,1)
  2295. local TM = Instance.new("CylinderMesh",Trail)
  2296. TM.Scale = Vector3.new(1,1,1)
  2297. Old = New
  2298. coroutine.wrap(function()
  2299. for i = 1,0,-0.1 do
  2300. wait()
  2301. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2302. end
  2303. Trail:remove()
  2304. end)()
  2305. coroutine.wrap(function()
  2306. for i = 1,10 do
  2307. wait()
  2308. Trail.Transparency = Trail.Transparency +0.1
  2309. end end)()end end)()
  2310. coroutine.wrap(function()
  2311. local Old = Handle.CFrame.p
  2312. while wait()do
  2313. if not TrailDeb then break end
  2314. local New = Handle.CFrame.p
  2315. local Mag =(Old -New).magnitude
  2316. local Dis =(Old +New)/2
  2317. local Trail = Instance.new("Part",Character)
  2318. Trail.Material = "Neon"
  2319. Trail.Anchored = true
  2320. Trail.CanCollide = false
  2321. Trail.BrickColor = TorsoColor
  2322. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2323. Trail.TopSurface = 0
  2324. Trail.BottomSurface = 0
  2325. Trail.formFactor = "Custom"
  2326. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2327. local ms = Instance.new("BlockMesh",Trail)
  2328. ms.Scale = Vector3.new(1,1,1)
  2329. local TM = Instance.new("CylinderMesh",Trail)
  2330. TM.Scale = Vector3.new(1,1,1)
  2331. Old = New
  2332. coroutine.wrap(function()
  2333. for i = 1,0,-0.1 do
  2334. wait()
  2335. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2336. end
  2337. Trail:remove()
  2338. end)()
  2339. coroutine.wrap(function()
  2340. for i = 1,10 do
  2341. wait()
  2342. Trail.Transparency = Trail.Transparency +0.1
  2343. end end)()end end)()
  2344. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2345. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2346. for i=0,1,0.1 do
  2347. swait()
  2348. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2350. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2351. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2352. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2353. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2354. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2355. end
  2356. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2357. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2358. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2359. for i=0,1,0.1 do
  2360. swait()
  2361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2363. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2364. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2365. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2366. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2367. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2368. end
  2369. --dmgstop()
  2370. attack=false
  2371. con1:disconnect()
  2372. con2:disconnect()
  2373. if TrailDeb == true then
  2374. TrailDeb = false
  2375. end
  2376. end
  2377.  
  2378. function Clap()
  2379. attack=true
  2380. mana=mana-20
  2381. if TrailDeb == false then
  2382. TrailDeb = true
  2383. end
  2384.  
  2385.  
  2386. coroutine.wrap(function()
  2387. local Old = Handle2.CFrame.p
  2388. while wait()do
  2389. if not TrailDeb then break end
  2390. local New = Handle2.CFrame.p
  2391. local Mag =(Old -New).magnitude
  2392. local Dis =(Old +New)/2
  2393. local Trail = Instance.new("Part",Character)
  2394. Trail.Material = "Neon"
  2395. Trail.Anchored = true
  2396. Trail.CanCollide = false
  2397. Trail.BrickColor = TorsoColor
  2398. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2399. Trail.TopSurface = 0
  2400. Trail.BottomSurface = 0
  2401. Trail.formFactor = "Custom"
  2402. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2403. local ms = Instance.new("BlockMesh",Trail)
  2404. ms.Scale = Vector3.new(1,1,1)
  2405. local TM = Instance.new("CylinderMesh",Trail)
  2406. TM.Scale = Vector3.new(1,1,1)
  2407. Old = New
  2408. coroutine.wrap(function()
  2409. for i = 1,0,-0.1 do
  2410. wait()
  2411. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2412. end
  2413. Trail:remove()
  2414. end)()
  2415. coroutine.wrap(function()
  2416. for i = 1,10 do
  2417. wait()
  2418. Trail.Transparency = Trail.Transparency +0.1
  2419. end end)()end end)()
  2420. coroutine.wrap(function()
  2421. local Old = Handle.CFrame.p
  2422. while wait()do
  2423. if not TrailDeb then break end
  2424. local New = Handle.CFrame.p
  2425. local Mag =(Old -New).magnitude
  2426. local Dis =(Old +New)/2
  2427. local Trail = Instance.new("Part",Character)
  2428. Trail.Material = "Neon"
  2429. Trail.Anchored = true
  2430. Trail.CanCollide = false
  2431. Trail.BrickColor = TorsoColor
  2432. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2433. Trail.TopSurface = 0
  2434. Trail.BottomSurface = 0
  2435. Trail.formFactor = "Custom"
  2436. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2437. local ms = Instance.new("BlockMesh",Trail)
  2438. ms.Scale = Vector3.new(1,1,1)
  2439. local TM = Instance.new("CylinderMesh",Trail)
  2440. TM.Scale = Vector3.new(1,1,1)
  2441. Old = New
  2442. coroutine.wrap(function()
  2443. for i = 1,0,-0.1 do
  2444. wait()
  2445. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2446. end
  2447. Trail:remove()
  2448. end)()
  2449. coroutine.wrap(function()
  2450. for i = 1,10 do
  2451. wait()
  2452. Trail.Transparency = Trail.Transparency +0.1
  2453. end end)()end end)()
  2454. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2455. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2456. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2457. for i=0,1,0.08 do
  2458. swait()
  2459. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2460. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2461. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2462. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2463. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2464. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2465. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2466. end
  2467. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2468. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2469. for i=0,1,0.08 do
  2470. swait()
  2471. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2472. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2473. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2474. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2475. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2476. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2477. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2478. end
  2479. --dmgstop()
  2480. attack=false
  2481. con1:disconnect()
  2482. con2:disconnect()
  2483. if TrailDeb == true then
  2484. TrailDeb = false
  2485. end
  2486. end
  2487.  
  2488. function Hai()
  2489. attack=true
  2490. Humanoid.WalkSpeed=0
  2491. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2492. for i=0,1,0.1 do
  2493. swait()
  2494. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2495. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2496. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2497. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2498. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2499. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2500. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2501. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2502. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2503. end
  2504. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2505. for i=0,1,0.1 do
  2506. swait()
  2507. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2508. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2509. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2510. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2511. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2512. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2513. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2514. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2515. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2516. end
  2517. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2518. for i=0,1,0.1 do
  2519. swait()
  2520. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2521. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2522. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2523. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2524. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2525. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2526. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2528. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2529.  
  2530. end
  2531. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2532. for i=0,1,0.1 do
  2533. swait()
  2534. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2536. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2537. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2538. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2539. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2540. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2541. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2542. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2543. end
  2544. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2545. for i=0,1,0.1 do
  2546. swait()
  2547. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2548. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2549. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2550. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2551. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2552. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2553. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2554. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2555. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2556. end
  2557. --dmgstop()
  2558. Humanoid.WalkSpeed=12
  2559. attack=false
  2560. end
  2561.  
  2562. function Die()
  2563. attack=true
  2564. Footsteps:Stop()
  2565. Footsteps2:Stop()
  2566. local Fire = it("Sound",Character.Torso)
  2567. Fire.SoundId = "rbxassetid://192104941"
  2568. Fire.Looped = true
  2569. Fire.Pitch = 1
  2570. Fire.Volume = 1
  2571. local Fire2 = it("Sound",Handle2)
  2572. Fire2.SoundId = "rbxassetid://192104941"
  2573. Fire2.Looped = true
  2574. Fire2.Pitch = 1
  2575. Fire2.Volume = 1
  2576. local Fire3 = it("Sound",Handle)
  2577. Fire3.SoundId = "rbxassetid://192104941"
  2578. Fire3.Looped = true
  2579. Fire3.Pitch = 1
  2580. Fire3.Volume = 1
  2581. local Fire4 = it("Sound",handle)
  2582. Fire4.SoundId = "rbxassetid://192104941"
  2583. Fire4.Looped = true
  2584. Fire4.Pitch = 1
  2585. Fire4.Volume = 1
  2586. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2587. fire.Lifetime = NumberRange.new(0.5)
  2588. fire.Speed = NumberRange.new(1, 3)
  2589. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2590. fire.Rate = 0
  2591. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2592. fire.LightEmission = 0.6
  2593. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2594. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2595. local fire2 = Instance.new("ParticleEmitter", Handle)
  2596. fire2.Lifetime = NumberRange.new(0.5)
  2597. fire2.Speed = NumberRange.new(1, 3)
  2598. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2599. fire2.Rate = 0
  2600. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2601. fire2.LightEmission = 0.6
  2602. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2603. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2604. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2605. fire3.Lifetime = NumberRange.new(0.5)
  2606. fire3.Speed = NumberRange.new(1, 3)
  2607. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2608. fire3.Rate = 0
  2609. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2610. fire3.LightEmission = 0.6
  2611. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2612. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2613. local fire4 = Instance.new("ParticleEmitter", handle)
  2614. fire4.Lifetime = NumberRange.new(0.5)
  2615. fire4.Speed = NumberRange.new(1, 3)
  2616. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2617. fire4.Rate = 0
  2618. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2619. fire4.LightEmission = 0.6
  2620. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2621. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2622. Humanoid.WalkSpeed = 0
  2623. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2624. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2625. for i=0,1,0.08 do
  2626. swait()
  2627. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2628. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2629. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2630. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2631. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2632. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2633. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2634. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2635. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2636. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2637. end
  2638. for i=0,1,0.005 do
  2639. swait()
  2640. moosick.Volume=1-2*i
  2641. light.Range=15-10*i
  2642. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2643. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2644. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2645. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2646. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2647. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2648. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2649. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2650. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2651. end
  2652. light.Range=0
  2653. for i=0,1,0.01 do
  2654. swait()
  2655. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2656. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2657. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2658. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2659. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2660. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2661. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2662. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2663. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2664. end
  2665. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2666. fire.Rate = 1000
  2667. fire2.Rate = 1000
  2668. fire3.Rate = 1000
  2669. fire4.Rate = 1000
  2670. Fire:Play()
  2671. Fire2:Play()
  2672. Fire3:Play()
  2673. Fire4:Play()
  2674. for i=0,1,0.005 do
  2675. swait()
  2676. Character.Head.face.Transparency = 0+1*i
  2677. LeftArm.Transparency=0+1*i
  2678. RightArm.Transparency=0+1*i
  2679. LeftLeg.Transparency=0+1*i
  2680. RightLeg.Transparency=0+1*i
  2681. Head.Transparency=0+1*i
  2682. Torso.Transparency=0+1*i
  2683. for _,v in pairs(Character:children()) do
  2684. if v:IsA("Hat") then
  2685. v.Handle.Transparency = 0+1*i
  2686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2687. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2688. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2689. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2690. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2691. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2692. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2693. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2694. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2695. end
  2696. end
  2697. --dmgstop()
  2698. end
  2699. Humanoid.Health = 0
  2700. end
  2701.  
  2702. equipanim()
  2703.  
  2704. local sine = 0
  2705. local change = 1
  2706. local val = 0
  2707.  
  2708. local mananum=0
  2709. while true do
  2710. swait()
  2711. sine = sine + change
  2712. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2713. local velderp=RootPart.Velocity.y
  2714. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2715. if equipped==true or equipped==false then
  2716. if Anim=="Idle" and attack==false then
  2717. idle=idle+1
  2718. else
  2719. idle=0
  2720. end
  2721. if Humanoid.Health <=20 then
  2722. if attack == false then
  2723. Humanoid.Health = math.huge
  2724. Die()
  2725. end
  2726. end
  2727. if idle>=1000 then
  2728. if attack==false then
  2729. --Sheath()
  2730. end
  2731. end
  2732. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2733. Anim="Jump"
  2734. if attack==false then
  2735. Footsteps:Stop()
  2736. Footsteps2:Stop()
  2737. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2738. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2739. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2740. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2741. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2742. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2743. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2744. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2745. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2746. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2747. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2748. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2749. end
  2750. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2751. Anim="Fall"
  2752. if attack==false then
  2753. Footsteps:Stop()
  2754. Footsteps2:Stop()
  2755. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2756. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2758. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2759. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2760. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2761. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2762. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2764. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2765. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2766. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2767. end
  2768. elseif torvel<1 and hitfloor~=nil then
  2769. Anim="Idle"
  2770. change=0.5
  2771. if idle>=1000 then
  2772. if attack==false then
  2773. Footsteps:Stop()
  2774. Footsteps2:Stop()
  2775. Humanoid.WalkSpeed=12
  2776. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  2777. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  2778. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2779. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2780. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2781. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2782. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2783. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2784. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  2785. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  2786. end
  2787. else
  2788. if attack==false then
  2789. Footsteps:Stop()
  2790. Footsteps2:Stop()
  2791. Humanoid.WalkSpeed=12
  2792. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2793. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2794. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2795. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  2796. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  2797. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  2798. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  2799. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2800. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  2801. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  2802. end
  2803. end
  2804. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2805. Anim="Walk"
  2806. if attack==false then
  2807. change=0.8
  2808. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  2809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2810. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  2811. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  2812. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2813. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2814. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2815. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2816. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2817. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2818. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2819. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2820. RH.C0=clerp(RH.C0,RHC0,.3)
  2821. LH.C0=clerp(LH.C0,LHC0,.3)
  2822. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2823. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2824. ]]--
  2825. Footsteps:Play()
  2826. Footsteps2:Stop()
  2827. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  2828. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  2829. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2830. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  2831. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  2832. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2833. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  2834. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2835. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  2836. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  2837. end
  2838. elseif torvel>=22 and hitfloor~=nil then
  2839. Anim="Run"
  2840. change=1
  2841. if attack==false then
  2842. Footsteps:Stop()
  2843. Footsteps2:Play()
  2844. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  2845. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2846. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2847. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2848. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2849. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  2850. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  2851. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2852. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  2853. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  2854. end
  2855. end
  2856. end
  2857. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2858. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  2859. if mana>=1 then
  2860. mana=100
  2861. else
  2862. if mananum<=8 then
  2863. mananum=mananum+1
  2864. else
  2865. mananum=0
  2866. mana=mana+1
  2867. end
  2868. end
  2869. end
Add Comment
Please, Sign In to add comment