Advertisement
NextFlamePB

ROBLOX Edited Scripts : Arms God ( I call it Broken Limits )

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