Advertisement
Guest User

Untitled

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