Advertisement
battleman22222

sin with intro

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