Advertisement
13242

Untitled

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