Advertisement
Guest User

Ultimate Demon

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