Advertisement
Orangeplayer1431

Untitled

Dec 22nd, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 251.28 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. trispeed=1
  44. pathtrans=.7
  45. attackmode='none'
  46. local idle=0
  47. local Anim="Idle"
  48. local Effects={}
  49. local gun=false
  50. local shoot=false
  51. player=nil
  52. cloak=false
  53. lightcolor='Really black'
  54.  
  55. local Color1=Torso.BrickColor
  56.  
  57. local fengui=it("GuiMain")
  58. fengui.Parent=Player.PlayerGui
  59. fengui.Name="WeaponGUI"
  60. local fenframe=it("Frame")
  61. fenframe.Parent=fengui
  62. fenframe.BackgroundColor3=Color3.new(88,1,228)
  63. fenframe.BackgroundTransparency=1
  64. fenframe.BorderColor3=Color3.new(88,1,228)
  65. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  66. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  67. local fenbarmana1=it("TextLabel")
  68. fenbarmana1.Parent=fenframe
  69. fenbarmana1.Text=" "
  70. fenbarmana1.BackgroundTransparency=0
  71. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  72. fenbarmana1.SizeConstraint="RelativeXY"
  73. fenbarmana1.TextXAlignment="Center"
  74. fenbarmana1.TextYAlignment="Center"
  75. fenbarmana1.Position=UDim2.new(0,0,0,0)
  76. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  77. local fenbarmana2=it("TextLabel")
  78. fenbarmana2.Parent=fenframe
  79. fenbarmana2.Text=" "
  80. fenbarmana2.BackgroundTransparency=0
  81. fenbarmana2.BackgroundColor3=Torso.Color
  82. fenbarmana2.SizeConstraint="RelativeXY"
  83. fenbarmana2.TextXAlignment="Center"
  84. fenbarmana2.TextYAlignment="Center"
  85. fenbarmana2.Position=UDim2.new(0,0,0,0)
  86. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  87. local fenbarmana3=it("TextLabel")
  88. fenbarmana3.Parent=fenframe
  89. fenbarmana3.Text=" "
  90. fenbarmana3.BackgroundTransparency=0
  91. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  92. fenbarmana3.SizeConstraint="RelativeXY"
  93. fenbarmana3.TextXAlignment="Center"
  94. fenbarmana3.TextYAlignment="Center"
  95. fenbarmana3.Position=UDim2.new(0,0,0,0)
  96. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  97. local fenbarmana4=it("TextLabel")
  98. fenbarmana4.Parent=fenframe
  99. fenbarmana4.Text="Energy("..mana..")"
  100. fenbarmana4.BackgroundTransparency=1
  101. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  102. fenbarmana4.SizeConstraint="RelativeXY"
  103. fenbarmana4.TextXAlignment="Center"
  104. fenbarmana4.TextYAlignment="Center"
  105. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  106. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  107. fenbarmana4.FontSize="Size9"
  108. fenbarmana4.TextStrokeTransparency=0
  109. fenbarmana4.TextColor=BrickColor.new("White")
  110.  
  111. mouse=Player:GetMouse()
  112. --save shoulders
  113. RSH, LSH=nil, nil
  114. --welds
  115. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  116. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  117. LH=Torso["Left Hip"]
  118. RH=Torso["Right Hip"]
  119. TorsoColor=Torso.BrickColor
  120. function NoOutline(Part)
  121. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  122. end
  123. player=Player
  124. ch=Character
  125. RSH=ch.Torso["Right Shoulder"]
  126. LSH=ch.Torso["Left Shoulder"]
  127. --
  128. RSH.Parent=nil
  129. LSH.Parent=nil
  130. --
  131. RW.Name="Right Shoulder"
  132. RW.Part0=ch.Torso
  133. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  134. RW.C1=cf(0, 0.5, 0)
  135. RW.Part1=ch["Right Arm"]
  136. RW.Parent=ch.Torso
  137. --
  138. LW.Name="Left Shoulder"
  139. LW.Part0=ch.Torso
  140. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  141. LW.C1=cf(0, 0.5, 0)
  142. LW.Part1=ch["Left Arm"]
  143. LW.Parent=ch.Torso
  144.  
  145. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  146. local fp=it("Part")
  147. fp.formFactor=formfactor
  148. fp.Parent=parent
  149. fp.Reflectance=reflectance
  150. fp.Transparency=transparency
  151. fp.CanCollide=false
  152. fp.Locked=true
  153. fp.BrickColor=brickcolor
  154. fp.Name=name
  155. fp.Size=size
  156. fp.Position=Torso.Position
  157. NoOutline(fp)
  158. fp.Material="Neon"
  159. fp:BreakJoints()
  160. return fp
  161. end
  162.  
  163. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  164. local mesh=it(Mesh)
  165. mesh.Parent=part
  166. if Mesh=="SpecialMesh" then
  167. mesh.MeshType=meshtype
  168. if meshid~="nil" then
  169. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  170. end
  171. end
  172. mesh.Offset=offset
  173. mesh.Scale=scale
  174. return mesh
  175. end
  176.  
  177. function weld(parent,part0,part1,c0)
  178. local weld=it("Weld")
  179. weld.Parent=parent
  180. weld.Part0=part0
  181. weld.Part1=part1
  182. weld.C0=c0
  183. return weld
  184. end
  185.  
  186. local Color1=Torso.BrickColor
  187.  
  188. local bodvel=Instance.new("BodyVelocity")
  189. local bg=Instance.new("BodyGyro")
  190.  
  191. function swait(num)
  192. if num==0 or num==nil then
  193. game:service'RunService'.Stepped:wait(0)
  194. else
  195. for i=0,num do
  196. game:service'RunService'.Stepped:wait(0)
  197. end
  198. end
  199. end
  200.  
  201.  
  202. so = function(id,par,vol,pit)
  203. coroutine.resume(coroutine.create(function()
  204. local sou = Instance.new("Sound",par or workspace)
  205. sou.Volume=vol
  206. sou.Pitch=pit or 1
  207. sou.SoundId=id
  208. swait()
  209. sou:play()
  210. game:GetService("Debris"):AddItem(sou,6)
  211. end))
  212. end
  213.  
  214. function clerp(a,b,t)
  215. local qa = {QuaternionFromCFrame(a)}
  216. local qb = {QuaternionFromCFrame(b)}
  217. local ax, ay, az = a.x, a.y, a.z
  218. local bx, by, bz = b.x, b.y, b.z
  219. local _t = 1-t
  220. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  221. end
  222.  
  223. function QuaternionFromCFrame(cf)
  224. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  225. local trace = m00 + m11 + m22
  226. if trace > 0 then
  227. local s = math.sqrt(1 + trace)
  228. local recip = 0.5/s
  229. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  230. else
  231. local i = 0
  232. if m11 > m00 then
  233. i = 1
  234. end
  235. if m22 > (i == 0 and m00 or m11) then
  236. i = 2
  237. end
  238. if i == 0 then
  239. local s = math.sqrt(m00-m11-m22+1)
  240. local recip = 0.5/s
  241. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  242. elseif i == 1 then
  243. local s = math.sqrt(m11-m22-m00+1)
  244. local recip = 0.5/s
  245. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  246. elseif i == 2 then
  247. local s = math.sqrt(m22-m00-m11+1)
  248. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  249. end
  250. end
  251. end
  252.  
  253. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  254. local xs, ys, zs = x + x, y + y, z + z
  255. local wx, wy, wz = w*xs, w*ys, w*zs
  256. local xx = x*xs
  257. local xy = x*ys
  258. local xz = x*zs
  259. local yy = y*ys
  260. local yz = y*zs
  261. local zz = z*zs
  262. 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))
  263. end
  264.  
  265. function QuaternionSlerp(a, b, t)
  266. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  267. local startInterp, finishInterp;
  268. if cosTheta >= 0.0001 then
  269. if (1 - cosTheta) > 0.0001 then
  270. local theta = math.acos(cosTheta)
  271. local invSinTheta = 1/math.sin(theta)
  272. startInterp = math.sin((1-t)*theta)*invSinTheta
  273. finishInterp = math.sin(t*theta)*invSinTheta
  274. else
  275. startInterp = 1-t
  276. finishInterp = t
  277. end
  278. else
  279. if (1+cosTheta) > 0.0001 then
  280. local theta = math.acos(-cosTheta)
  281. local invSinTheta = 1/math.sin(theta)
  282. startInterp = math.sin((t-1)*theta)*invSinTheta
  283. finishInterp = math.sin(t*theta)*invSinTheta
  284. else
  285. startInterp = t-1
  286. finishInterp = t
  287. end
  288. end
  289. 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
  290. end
  291.  
  292. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  293. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  294. end
  295.  
  296. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  297. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  298. prt.Anchored=true
  299. prt.CFrame=cframe
  300. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  301. --http://www.roblox.com/asset/?id=4770560
  302. game:GetService("Debris"):AddItem(prt,2)
  303. CF=prt.CFrame
  304. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  305. for i=0,1,0.2 do
  306. wait()
  307. Part.CFrame=CF*cf(0,0,-0.4)
  308. end
  309. for i=0,1,delay do
  310. wait()
  311. --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)
  312. Mesh.Scale=Mesh.Scale
  313. end
  314. for i=0,1,0.1 do
  315. wait()
  316. Part.Transparency=i
  317. end
  318. Part.Parent=nil
  319. end),prt,msh,CF)
  320. end
  321.  
  322. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  323. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  324. prt.Anchored=true
  325. prt.CFrame=cframe
  326. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  327. game:GetService("Debris"):AddItem(prt,5)
  328. coroutine.resume(coroutine.create(function(Part,Mesh)
  329. for i=0,1,delay do
  330. wait()
  331. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  332. Part.Transparency=i
  333. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  334. end
  335. Part.Parent=nil
  336. end),prt,msh)
  337. end
  338.  
  339. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  340. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  341. prt.Anchored=false
  342. prt.CFrame=cframe
  343. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  344. local wld=weld(prt,prt,Parent,cframe)
  345. game:GetService("Debris"):AddItem(prt,5)
  346. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  347. for i=0,1,delay do
  348. wait()
  349. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  350. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  351. Part.Transparency=i
  352. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  353. end
  354. Part.Parent=nil
  355. end),prt,msh,wld)
  356. end
  357.  
  358. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  359. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  360. prt.Anchored=false
  361. prt.CFrame=cframe
  362. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  363. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  364. game:GetService("Debris"):AddItem(prt,5)
  365. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  366. for i=0,1,delay do
  367. wait()
  368. Weld.C0=euler(i*20,0,0)
  369. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  370. Part.Transparency=i
  371. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  372. end
  373. Part.Parent=nil
  374. end),prt,msh,wld)
  375. end
  376.  
  377. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  378. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  379. prt.Anchored=true
  380. prt.CFrame=cframe
  381. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  382. game:GetService("Debris"):AddItem(prt,2)
  383. coroutine.resume(coroutine.create(function(Part,Mesh)
  384. for i=0,1,delay do
  385. wait()
  386. Part.CFrame=Part.CFrame
  387. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  388. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  389. prt2.Anchored=true
  390. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  391. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  392. game:GetService("Debris"):AddItem(prt2,2)
  393. coroutine.resume(coroutine.create(function(Part,Mesh)
  394. for i=0,1,0.1 do
  395. wait()
  396. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  397. end
  398. Part.Parent=nil
  399. end),prt2,msh2)
  400. end
  401. for i=0,1,delay*2 do
  402. wait()
  403. Part.CFrame=Part.CFrame
  404. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  405. end
  406. Part.Parent=nil
  407. end),prt,msh)
  408. end
  409.  
  410. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  411. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  412. prt.Anchored=true
  413. prt.CFrame=cframe
  414. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  415. game:GetService("Debris"):AddItem(prt,2)
  416. coroutine.resume(coroutine.create(function(Part,Mesh)
  417. for i=0,1,delay do
  418. wait()
  419. Part.CFrame=Part.CFrame
  420. Part.Transparency=i
  421. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  422. end
  423. Part.Parent=nil
  424. end),prt,msh)
  425. end
  426.  
  427. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  428. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  429. prt.Anchored=true
  430. prt.CFrame=cframe*euler(x2,y2,z2)
  431. --"http://www.roblox.com/asset/?id=168892465"
  432. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  433. game:GetService("Debris"):AddItem(prt,2)
  434. coroutine.resume(coroutine.create(function(Part,Mesh)
  435. for i=0,1,0.03 do
  436. wait()
  437. Part.CFrame=Part.CFrame
  438. Part.Transparency=i
  439. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  440. end
  441. Part.Parent=nil
  442. end),prt,msh)
  443. end
  444.  
  445. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  446. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  447. prt.Anchored=true
  448. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  449. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  450. game:GetService("Debris"):AddItem(prt,2)
  451. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  452. CF=Part.CFrame
  453. Numbb=0
  454. randnumb=math.random()/10
  455. rand1=math.random()/10
  456. for i=0,1,rand1 do
  457. wait()
  458. CF=CF*cf(0,math.random()/2,0)
  459. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  460. Part.CFrame=CF*euler(Numbb,0,0)
  461. Part.Transparency=i
  462. Numbb=Numbb+randnumb
  463. end
  464. Part.Parent=nil
  465. end),prt,CF,Numbb,randnumb)
  466. end
  467.  
  468. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  469. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  470. prt.Anchored=true
  471. prt.CFrame=cframe
  472. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  473. game:GetService("Debris"):AddItem(prt,5)
  474. coroutine.resume(coroutine.create(function(Part,Mesh)
  475. for i=0,1,delay do
  476. wait()
  477. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  478. Part.Transparency=i
  479. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  480. end
  481. Part.Parent=nil
  482. end),prt,msh)
  483. end
  484.  
  485. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  486. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  487. prt.Anchored=true
  488. prt.CFrame=cframe
  489. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  490. game:GetService("Debris"):AddItem(prt,2)
  491. coroutine.resume(coroutine.create(function(Part,Mesh)
  492. for i=0,1,delay do
  493. wait()
  494. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  495. Part.Transparency=i
  496. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  497. end
  498. Part.Parent=nil
  499. end),prt,msh)
  500. end
  501.  
  502. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  503. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  504. prt.Anchored=true
  505. prt.CFrame=cframe*cf(x,y,z)
  506. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  507. game:GetService("Debris"):AddItem(prt,5)
  508. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  509. local num=math.random()
  510. local num2=math.random(-3,2)+math.random()
  511. local numm=0
  512. for i=0,1,delay*2 do
  513. swait()
  514. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  515. Part.Transparency=i
  516. numm=numm+0.01
  517. end
  518. Part.Parent=nil
  519. Mesh.Parent=nil
  520. end),prt,msh,x,y,z)
  521. end
  522.  
  523. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  524. if hit.Parent==nil then
  525. return
  526. end
  527. h=hit.Parent:FindFirstChild("Humanoid")
  528. for _,v in pairs(hit.Parent:children()) do
  529. if v:IsA("Humanoid") then
  530. h=v
  531. end
  532. end
  533. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  534. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  535. end
  536. if hit.Parent.className=="Hat" then
  537. hit=hit.Parent.Parent:findFirstChild("Head")
  538. end
  539. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  540. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  541. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  542. return
  543. end]]
  544. -- hs(hit,1.2)
  545. c=Instance.new("ObjectValue")
  546. c.Name="creator"
  547. c.Value=game:service("Players").LocalPlayer
  548. c.Parent=h
  549. game:GetService("Debris"):AddItem(c,.5)
  550. Damage=math.random(minim,maxim)
  551. -- h:TakeDamage(Damage)
  552. blocked=false
  553. block=hit.Parent:findFirstChild("Block")
  554. if block~=nil then
  555. print(block.className)
  556. if block.className=="NumberValue" then
  557. if block.Value>0 then
  558. blocked=true
  559. if decreaseblock==nil then
  560. block.Value=block.Value-1
  561. end
  562. end
  563. end
  564. if block.className=="IntValue" then
  565. if block.Value>0 then
  566. blocked=true
  567. if decreaseblock~=nil then
  568. block.Value=block.Value-1
  569. end
  570. end
  571. end
  572. end
  573. if blocked==false then
  574. -- h:TakeDamage(Damage)
  575. h.Health=h.Health-Damage
  576. showDamage(hit.Parent,Damage,.500,TorsoColor)
  577. else
  578. h.Health=h.Health-(Damage/2)
  579. showDamage(hit.Parent,Damage/200,.500,BrickColor.new("Really black"))
  580. end
  581. if Type=="Knockdown" then
  582. hum=hit.Parent.Humanoid
  583. hum.PlatformStand=true
  584. coroutine.resume(coroutine.create(function(HHumanoid)
  585. swait(1)
  586. HHumanoid.PlatformStand=false
  587. end),hum)
  588. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  589. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  590. local bodvol=Instance.new("BodyVelocity")
  591. bodvol.velocity=angle*knockback
  592. bodvol.P=5000
  593. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  594. bodvol.Parent=hit
  595. rl=Instance.new("BodyAngularVelocity")
  596. rl.P=3000
  597. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  598. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  599. rl.Parent=hit
  600. game:GetService("Debris"):AddItem(bodvol,.5)
  601. game:GetService("Debris"):AddItem(rl,.5)
  602. elseif Type=="Normal" then
  603. vp=Instance.new("BodyVelocity")
  604. vp.P=500
  605. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  606. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  607. if KnockbackType==1 then
  608. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  609. elseif KnockbackType==2 then
  610. vp.velocity=Property.CFrame.lookVector*knockback
  611. end
  612. if knockback>0 then
  613. vp.Parent=hit.Parent.Torso
  614. end
  615. game:GetService("Debris"):AddItem(vp,.5)
  616. elseif Type=="Up" then
  617. local bodyVelocity=Instance.new("BodyVelocity")
  618. bodyVelocity.velocity=vt(0,10,0)
  619. bodyVelocity.P=1000
  620. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  621. bodyVelocity.Parent=hit
  622. game:GetService("Debris"):AddItem(bodyVelocity,1)
  623. rl=Instance.new("BodyAngularVelocity")
  624. rl.P=3000
  625. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  626. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  627. rl.Parent=hit
  628. game:GetService("Debris"):AddItem(rl,.5)
  629. elseif Type=="Snare" then
  630. bp=Instance.new("BodyPosition")
  631. bp.P=2000
  632. bp.D=100
  633. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  634. bp.position=hit.Parent.Torso.Position
  635. bp.Parent=hit.Parent.Torso
  636. game:GetService("Debris"):AddItem(bp,1)
  637. elseif Type=="Target" then
  638. if Targetting==false then
  639. ZTarget=hit.Parent.Torso
  640. coroutine.resume(coroutine.create(function(Part)
  641. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  642. swait(5)
  643. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  644. end),ZTarget)
  645. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  646. targetgui=Instance.new("BillboardGui")
  647. targetgui.Parent=ZTarget
  648. targetgui.Size=UDim2.new(10,100,10,100)
  649. targ=Instance.new("ImageLabel")
  650. targ.Parent=targetgui
  651. targ.BackgroundTransparency=1
  652. targ.Image="rbxassetid://4834067"
  653. targ.Size=UDim2.new(1,0,1,0)
  654. cam.CameraType="Scriptable"
  655. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  656. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  657. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  658. Targetting=true
  659. RocketTarget=ZTarget
  660. for i=1,Property do
  661. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  662. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  663. swait()
  664. end
  665. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  666. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  667. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  668. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  669. end
  670. Targetting=false
  671. RocketTarget=nil
  672. targetgui.Parent=nil
  673. cam.CameraType="Custom"
  674. end
  675. end
  676. debounce=Instance.new("BoolValue")
  677. debounce.Name="DebounceHit"
  678. debounce.Parent=hit.Parent
  679. debounce.Value=true
  680. game:GetService("Debris"):AddItem(debounce,Delay)
  681. c=Instance.new("ObjectValue")
  682. c.Name="creator"
  683. c.Value=Player
  684. c.Parent=h
  685. game:GetService("Debris"):AddItem(c,.5)
  686. CRIT=false
  687. hitDeb=true
  688. AttackPos=6
  689. end
  690. end
  691.  
  692. showDamage=function(Char,Dealt,du,Color)
  693. m=Instance.new("Model")
  694. m.Name=tostring(Dealt)
  695. h=Instance.new("Humanoid")
  696. h.Health=0
  697. h.MaxHealth=0
  698. h.Parent=m
  699. c=Instance.new("Part")
  700. c.Transparency=0
  701. c.BrickColor=TorsoColor
  702. c.Name="Head"
  703. c.TopSurface=0
  704. c.BottomSurface=0
  705. c.formFactor="Plate"
  706. c.Size=Vector3.new(1,.4,1)
  707. ms=Instance.new("CylinderMesh")
  708. ms.Scale=Vector3.new(.8,.8,.8)
  709. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  710. if CRIT==true then
  711. ms.Scale=Vector3.new(1,1.25,1)
  712. end
  713. ms.Parent=c
  714. c.Reflectance=0
  715. Instance.new("BodyGyro").Parent=c
  716. c.Parent=m
  717. if Char:findFirstChild("Head")~=nil then
  718. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  719. elseif Char.Parent:findFirstChild("Head")~=nil then
  720. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  721. end
  722. f=Instance.new("BodyPosition")
  723. f.P=2000
  724. f.D=100
  725. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  726. f.position=c.Position+Vector3.new(0,3,0)
  727. f.Parent=c
  728. game:GetService("Debris"):AddItem(m,.5+du)
  729. c.CanCollide=false
  730. m.Parent=workspace
  731. c.CanCollide=false
  732. end
  733.  
  734. Player=game:GetService('Players').LocalPlayer
  735. Character=Player.Character
  736. Mouse=Player:GetMouse()
  737. m=Instance.new('Model',Character)
  738.  
  739.  
  740. local function weldBetween(a, b)
  741. local weldd = Instance.new("ManualWeld")
  742. weldd.Part0 = a
  743. weldd.Part1 = b
  744. weldd.C0 = CFrame.new()
  745. weldd.C1 = b.CFrame:inverse() * a.CFrame
  746. weldd.Parent = a
  747. return weldd
  748. end
  749.  
  750. it=Instance.new
  751.  
  752. function nooutline(part)
  753. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  754. end
  755.  
  756. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  757. local fp=it("Part")
  758. fp.formFactor=formfactor
  759. fp.Parent=parent
  760. fp.Reflectance=reflectance
  761. fp.Transparency=transparency
  762. fp.CanCollide=false
  763. fp.Locked=true
  764. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  765. fp.Name=name
  766. fp.Size=size
  767. fp.Position=Character.Torso.Position
  768. nooutline(fp)
  769. fp.Material=material
  770. fp:BreakJoints()
  771. return fp
  772. end
  773.  
  774. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  775. local mesh=it(Mesh)
  776. mesh.Parent=part
  777. if Mesh=="SpecialMesh" then
  778. mesh.MeshType=meshtype
  779. mesh.MeshId=meshid
  780. end
  781. mesh.Offset=offset
  782. mesh.Scale=scale
  783. return mesh
  784. end
  785.  
  786. function weld(parent,part0,part1,c0,c1)
  787. local weld=it("Weld")
  788. weld.Parent=parent
  789. weld.Part0=part0
  790. weld.Part1=part1
  791. weld.C0=c0
  792. weld.C1=c1
  793. return weld
  794. end
  795.  
  796. local modelzorz=Instance.new("Model")
  797. modelzorz.Parent=Character
  798. modelzorz.Name="Claw1"
  799.  
  800. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  801. 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))
  802. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  804. 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))
  805. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  806. 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))
  807. 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))
  808. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  809. 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))
  810. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  811. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  812. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  813. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  814. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  815. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  816. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  817. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  818. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  819. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  820. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  821. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  822. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  823. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  824. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  825. 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))
  826. 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))
  827. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  828. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  830. 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))
  831. 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))
  832. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  833. 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))
  834. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  835. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  836. 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))
  837. 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))
  838. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  839. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  840. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  841.  
  842. local modelzorz2=Instance.new("Model")
  843. modelzorz2.Parent=Character
  844. modelzorz2.Name="Claw2"
  845.  
  846. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  847. 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))
  848. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  849. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  850. 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))
  851. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  852. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  853. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  854. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  855. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  856. 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))
  857. 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))
  858. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  859. 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))
  860. 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))
  861. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  862. 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))
  863. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  864. 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))
  865. 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))
  866. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  867. 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))
  868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  869. 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))
  870. 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))
  871. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  872. 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))
  873. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  874. 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))
  875. 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))
  876. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  877. 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))
  878. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  879. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  880. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  881. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  882. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  883. 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))
  884. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  885. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  886. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  887.  
  888. local modelzorz3=Instance.new("Model")
  889. modelzorz3.Parent=Character
  890. modelzorz3.Name="Eye"
  891.  
  892. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  893. 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))
  894. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  895. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  896. 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))
  897. 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))
  898. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  899. 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))
  900. 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))
  901. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  902. 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))
  903. 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))
  904. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  905. 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))
  906. 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))
  907. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  908. 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))
  909. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  910. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  911. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  912. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  913. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  914. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.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))
  915. local moosick = it("Sound",Character)
  916. moosick.SoundId = "rbxassetid://176933297"
  917. --142653441, 175067863, 167516514
  918. moosick.Looped = true
  919. moosick.Pitch = 1
  920. moosick.Volume = 0
  921. moosick:Play()
  922.  
  923. anim = Character:findFirstChild("Animate")
  924. if anim then
  925. anim:Destroy()
  926. end
  927.  
  928. local particleemitter = Instance.new("ParticleEmitter", Handle)
  929. particleemitter.VelocitySpread = 180
  930. particleemitter.Lifetime = NumberRange.new(0.1)
  931. particleemitter.Speed = NumberRange.new(2)
  932. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  933. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  934. particleemitter.Rate = 100
  935. particleemitter.Rotation = NumberRange.new(-45, 45)
  936. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  937. particleemitter.LightEmission = 0
  938. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  939.  
  940. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  941. particleemitter.VelocitySpread = 180
  942. particleemitter.Lifetime = NumberRange.new(0.1)
  943. particleemitter.Speed = NumberRange.new(2)
  944. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  945. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  946. particleemitter.Rate = 100
  947. particleemitter.Rotation = NumberRange.new(-45, 45)
  948. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  949. particleemitter.LightEmission = 0
  950. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  951.  
  952. local particleemitter = Instance.new("ParticleEmitter", handle)
  953. particleemitter.VelocitySpread = 180
  954. particleemitter.Lifetime = NumberRange.new(0.1)
  955. particleemitter.Speed = NumberRange.new(2)
  956. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  957. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  958. particleemitter.Rate = 100
  959. particleemitter.Rotation = NumberRange.new(-45, 45)
  960. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  961. particleemitter.LightEmission = 0.8
  962. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  963.  
  964. local light = Instance.new("PointLight", Character.Torso)
  965. light.Color = Color3.new(255,255,255)
  966. light.Brightness = 5
  967. light.Range = 15
  968.  
  969. particleemitter.Enabled = true
  970.  
  971. local Footsteps = it("Sound",Character.Torso)
  972. Footsteps.SoundId = "rbxassetid://142665235"
  973. Footsteps.Looped = true
  974. Footsteps.Pitch = 0.8
  975. Footsteps.Volume = 0.3
  976.  
  977. local Footsteps2 = it("Sound",Character.Torso)
  978. Footsteps2.SoundId = "rbxassetid://142665235"
  979. Footsteps2.Looped = true
  980. Footsteps2.Pitch = 1
  981. Footsteps2.Volume = 0.4
  982.  
  983. local cam = game.Workspace.CurrentCamera
  984.  
  985. --cam.CameraSubject = Character
  986.  
  987. for i,v in pairs(Head:children()) do
  988. if v:IsA("Sound") then
  989. v:Destroy()
  990. end
  991. end
  992.  
  993. mouse.Button1Down:connect(function()
  994. if attack==false and attacktype==1 then
  995. attacktype=2
  996. attackone()
  997. elseif attack==false and attacktype==2 then
  998. attacktype=3
  999. attacktwo()
  1000. elseif attack==false and attacktype==3 then
  1001. attacktype=4
  1002. attackthree()
  1003. elseif attack==false and attacktype==4 then
  1004. attacktype=1
  1005. attackfour()
  1006. end
  1007. end)
  1008.  
  1009. mouse.KeyDown:connect(function(k)
  1010. k=k:lower()
  1011. if k=='e' then
  1012. if attack==false and mana>=20 then
  1013. Push()
  1014. end
  1015. elseif k=='g' then
  1016. if attack==false and mana>=50 then
  1017. Twirl()
  1018. end
  1019. elseif k=='v' then
  1020. if attack==false and mana>=25 then
  1021. MagicJump()
  1022. end
  1023. elseif k=='q' then
  1024. if attack==false then
  1025. idle=1000
  1026. end
  1027. elseif k=='h' then
  1028. if attack==false then
  1029. mana=100
  1030. end
  1031. elseif k=='y' then
  1032. if attack==false and mana>=100 then
  1033. Shred()
  1034. end
  1035. elseif k=='f' then
  1036. if attack==false and mana>=40 then
  1037. Spin()
  1038. end
  1039. elseif k=='r' then
  1040. if attack==false and mana>=20 then
  1041. Clap()
  1042. end
  1043. elseif k=='t' then
  1044. if attack==false then
  1045. Hai()
  1046. end
  1047. elseif k=='0' then
  1048. if attack==false then
  1049. Humanoid.WalkSpeed=(40)
  1050. end
  1051. elseif k=='j' then
  1052. if attack==false then
  1053. Humanoid.Health = 10
  1054. print("Congrats, you commited suicide.")
  1055. end
  1056. end
  1057. end)
  1058.  
  1059. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1060. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1061. prt.Anchored=true
  1062. prt.CFrame=cframe
  1063. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1064. game:GetService("Debris"):AddItem(prt,2)
  1065. coroutine.resume(coroutine.create(function(Part,Mesh)
  1066. for i=0,1,delay do
  1067. wait()
  1068. Part.CFrame=Part.CFrame
  1069. Part.Transparency=i
  1070. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1071. end
  1072. Part.Parent=nil
  1073. end),prt,msh)
  1074. end
  1075.  
  1076. TrailDeb = false
  1077.  
  1078. function equipanim()
  1079. attack=true
  1080. Humanoid.WalkSpeed = 0
  1081. if TrailDeb == false then
  1082. TrailDeb = true
  1083. end
  1084.  
  1085.  
  1086. coroutine.wrap(function()
  1087. local Old = handle.CFrame.p
  1088. while wait()do
  1089. if not TrailDeb then break end
  1090. local New = handle.CFrame.p
  1091. local Mag =(Old -New).magnitude
  1092. local Dis =(Old +New)/2
  1093. local Trail = Instance.new("Part",Character)
  1094. Trail.Material = "Neon"
  1095. Trail.Anchored = true
  1096. Trail.CanCollide = false
  1097. Trail.BrickColor = TorsoColor
  1098. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1099. Trail.TopSurface = 0
  1100. Trail.BottomSurface = 0
  1101. Trail.formFactor = "Custom"
  1102. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1103. local ms = Instance.new("BlockMesh",Trail)
  1104. ms.Scale = Vector3.new(1,1,1)
  1105. local TM = Instance.new("CylinderMesh",Trail)
  1106. TM.Scale = Vector3.new(1,1,1)
  1107. Old = New
  1108. coroutine.wrap(function()
  1109. for i = 1,0,-0.1 do
  1110. wait()
  1111. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1112. end
  1113. Trail:remove()
  1114. end)()
  1115. coroutine.wrap(function()
  1116. for i = 1,10 do
  1117. wait()
  1118. Trail.Transparency = Trail.Transparency +0.1
  1119. end end)()end end)()
  1120. coroutine.wrap(function()
  1121. local Old = Handle.CFrame.p
  1122. while wait()do
  1123. if not TrailDeb then break end
  1124. local New = Handle.CFrame.p
  1125. local Mag =(Old -New).magnitude
  1126. local Dis =(Old +New)/2
  1127. local Trail = Instance.new("Part",Character)
  1128. Trail.Material = "Neon"
  1129. Trail.Anchored = true
  1130. Trail.CanCollide = false
  1131. Trail.BrickColor = TorsoColor
  1132. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1133. Trail.TopSurface = 0
  1134. Trail.BottomSurface = 0
  1135. Trail.formFactor = "Custom"
  1136. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1137. local ms = Instance.new("BlockMesh",Trail)
  1138. ms.Scale = Vector3.new(1,1,1)
  1139. local TM = Instance.new("CylinderMesh",Trail)
  1140. TM.Scale = Vector3.new(1,1,1)
  1141. Old = New
  1142. coroutine.wrap(function()
  1143. for i = 1,0,-0.1 do
  1144. wait()
  1145. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1146. end
  1147. Trail:remove()
  1148. end)()
  1149. coroutine.wrap(function()
  1150. for i = 1,10 do
  1151. wait()
  1152. Trail.Transparency = Trail.Transparency +0.1
  1153. end end)()end end)()
  1154. coroutine.wrap(function()
  1155. local Old = Handle2.CFrame.p
  1156. while wait()do
  1157. if not TrailDeb then break end
  1158. local New = Handle2.CFrame.p
  1159. local Mag =(Old -New).magnitude
  1160. local Dis =(Old +New)/2
  1161. local Trail = Instance.new("Part",Character)
  1162. Trail.Material = "Neon"
  1163. Trail.Anchored = true
  1164. Trail.CanCollide = false
  1165. Trail.BrickColor = TorsoColor
  1166. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1167. Trail.TopSurface = 0
  1168. Trail.BottomSurface = 0
  1169. Trail.formFactor = "Custom"
  1170. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1171. local ms = Instance.new("BlockMesh",Trail)
  1172. ms.Scale = Vector3.new(1,1,1)
  1173. local TM = Instance.new("CylinderMesh",Trail)
  1174. TM.Scale = Vector3.new(1,1,1)
  1175. Old = New
  1176. coroutine.wrap(function()
  1177. for i = 1,0,-0.1 do
  1178. wait()
  1179. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1180. end
  1181. Trail:remove()
  1182. end)()
  1183. coroutine.wrap(function()
  1184. for i = 1,10 do
  1185. wait()
  1186. Trail.Transparency = Trail.Transparency +0.1
  1187. end end)()end end)()
  1188. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1189. for i=0,1,0.005 do
  1190. swait()
  1191. moosick.Volume = 0+1*i
  1192. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1193. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1194. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1195. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1196. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1197. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1198. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1199. end
  1200. for i=0,1,0.005 do
  1201. swait()
  1202. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1203. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1204. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1205. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1206. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1207. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1208. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1209. end
  1210. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1211. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1212. for i=0,1,0.005 do
  1213. swait()
  1214. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1215. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1216. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1217. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1218. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1219. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1220. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1221. 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)
  1222. 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)
  1223. end
  1224. for i=0,1,0.04 do
  1225. swait()
  1226. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1227. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1228. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1229. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1230. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1231. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1232. 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)
  1233. 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)
  1234. end
  1235. --dmgstop()
  1236. attack=false
  1237. Humanoid.WalkSpeed = 40
  1238. if TrailDeb == true then
  1239. TrailDeb = false
  1240. end
  1241. end
  1242.  
  1243. function attackone()
  1244. attack=true
  1245. if TrailDeb == false then
  1246. TrailDeb = true
  1247. end
  1248.  
  1249.  
  1250. coroutine.wrap(function()
  1251. local Old = Handle.CFrame.p
  1252. while wait()do
  1253. if not TrailDeb then break end
  1254. local New = Handle.CFrame.p
  1255. local Mag =(Old -New).magnitude
  1256. local Dis =(Old +New)/2
  1257. local Trail = Instance.new("Part",Character)
  1258. Trail.Material = "Neon"
  1259. Trail.Anchored = true
  1260. Trail.CanCollide = false
  1261. Trail.BrickColor = TorsoColor
  1262. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1263. Trail.TopSurface = 0
  1264. Trail.BottomSurface = 0
  1265. Trail.formFactor = "Custom"
  1266. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1267. local ms = Instance.new("BlockMesh",Trail)
  1268. ms.Scale = Vector3.new(1,1,1)
  1269. local TM = Instance.new("CylinderMesh",Trail)
  1270. TM.Scale = Vector3.new(1,1,1)
  1271. Old = New
  1272. coroutine.wrap(function()
  1273. for i = 1,0,-0.1 do
  1274. wait()
  1275. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1276. end
  1277. Trail:remove()
  1278. end)()
  1279. coroutine.wrap(function()
  1280. for i = 1,10 do
  1281. wait()
  1282. Trail.Transparency = Trail.Transparency +0.1
  1283. end end)()end end)()
  1284. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,100,200,math.random(200,400),"Normal",RootPart,.200,100) end)
  1285. for i=0,1,0.08 do
  1286. swait()
  1287. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1289. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1290. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1291. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1292. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1293. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1294. end
  1295. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1296. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1297. for i=0,1,0.1 do
  1298. swait()
  1299. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1300. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1301. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1302. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1303. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1304. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1305. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1306. end
  1307. --dmgstop()
  1308. attack=false
  1309. con1:disconnect()
  1310. if TrailDeb == true then
  1311. TrailDeb = false
  1312. end
  1313. end
  1314.  
  1315. function attacktwo()
  1316. attack=true
  1317. if TrailDeb == false then
  1318. TrailDeb = true
  1319. end
  1320.  
  1321.  
  1322. coroutine.wrap(function()
  1323. local Old = Handle2.CFrame.p
  1324. while wait()do
  1325. if not TrailDeb then break end
  1326. local New = Handle2.CFrame.p
  1327. local Mag =(Old -New).magnitude
  1328. local Dis =(Old +New)/2
  1329. local Trail = Instance.new("Part",Character)
  1330. Trail.Material = "Neon"
  1331. Trail.Anchored = true
  1332. Trail.CanCollide = false
  1333. Trail.BrickColor = TorsoColor
  1334. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1335. Trail.TopSurface = 0
  1336. Trail.BottomSurface = 0
  1337. Trail.formFactor = "Custom"
  1338. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1339. local ms = Instance.new("BlockMesh",Trail)
  1340. ms.Scale = Vector3.new(1,1,1)
  1341. local TM = Instance.new("CylinderMesh",Trail)
  1342. TM.Scale = Vector3.new(1,1,1)
  1343. Old = New
  1344. coroutine.wrap(function()
  1345. for i = 1,0,-0.1 do
  1346. wait()
  1347. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1348. end
  1349. Trail:remove()
  1350. end)()
  1351. coroutine.wrap(function()
  1352. for i = 1,10 do
  1353. wait()
  1354. Trail.Transparency = Trail.Transparency +0.1
  1355. end end)()end end)()
  1356. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,100,200,math.random(200,400),"Normal",RootPart,.200,100) end)
  1357. for i=0,1,0.08 do
  1358. swait()
  1359. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1360. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1361. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1362. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1363. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1364. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1365. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1366. end
  1367. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1368. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1369. for i=0,1,0.1 do
  1370. swait()
  1371. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1372. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1373. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1374. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1375. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1376. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1377. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1378. end
  1379. --dmgstop()
  1380. attack=false
  1381. con1:disconnect()
  1382. if TrailDeb == true then
  1383. TrailDeb = false
  1384. end
  1385. end
  1386.  
  1387. function attackthree()
  1388. attack=true
  1389. if TrailDeb == false then
  1390. TrailDeb = true
  1391. end
  1392.  
  1393.  
  1394. coroutine.wrap(function()
  1395. local Old = Handle.CFrame.p
  1396. while wait()do
  1397. if not TrailDeb then break end
  1398. local New = Handle.CFrame.p
  1399. local Mag =(Old -New).magnitude
  1400. local Dis =(Old +New)/2
  1401. local Trail = Instance.new("Part",Character)
  1402. Trail.Material = "Neon"
  1403. Trail.Anchored = true
  1404. Trail.CanCollide = false
  1405. Trail.BrickColor = TorsoColor
  1406. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1407. Trail.TopSurface = 0
  1408. Trail.BottomSurface = 0
  1409. Trail.formFactor = "Custom"
  1410. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1411. local ms = Instance.new("BlockMesh",Trail)
  1412. ms.Scale = Vector3.new(1,1,1)
  1413. local TM = Instance.new("CylinderMesh",Trail)
  1414. TM.Scale = Vector3.new(1,1,1)
  1415. Old = New
  1416. coroutine.wrap(function()
  1417. for i = 1,0,-0.1 do
  1418. wait()
  1419. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1420. end
  1421. Trail:remove()
  1422. end)()
  1423. coroutine.wrap(function()
  1424. for i = 1,10 do
  1425. wait()
  1426. Trail.Transparency = Trail.Transparency +0.1
  1427. end end)()end end)()
  1428. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,100,200,math.random(500,400),"Up",RootPart,.2000,100000) end)
  1429. for i=0,1,0.08 do
  1430. swait()
  1431. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1432. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1433. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1434. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1435. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1436. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1437. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1438. end
  1439. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1440. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1441. for i=0,1,0.05 do
  1442. swait()
  1443. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1444. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1445. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1446. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1447. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1448. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1449. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1450. end
  1451. --dmgstop()
  1452. attack=false
  1453. con1:disconnect()
  1454. if TrailDeb == true then
  1455. TrailDeb = false
  1456. end
  1457. end
  1458.  
  1459. function attackfour()
  1460. attack=true
  1461. if TrailDeb == false then
  1462. TrailDeb = true
  1463. end
  1464.  
  1465.  
  1466. coroutine.wrap(function()
  1467. local Old = Handle2.CFrame.p
  1468. while wait()do
  1469. if not TrailDeb then break end
  1470. local New = Handle2.CFrame.p
  1471. local Mag =(Old -New).magnitude
  1472. local Dis =(Old +New)/2
  1473. local Trail = Instance.new("Part",Character)
  1474. Trail.Material = "Neon"
  1475. Trail.Anchored = true
  1476. Trail.CanCollide = false
  1477. Trail.BrickColor = TorsoColor
  1478. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1479. Trail.TopSurface = 0
  1480. Trail.BottomSurface = 0
  1481. Trail.formFactor = "Custom"
  1482. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1483. local ms = Instance.new("BlockMesh",Trail)
  1484. ms.Scale = Vector3.new(1,1,1)
  1485. local TM = Instance.new("CylinderMesh",Trail)
  1486. TM.Scale = Vector3.new(1,1,1)
  1487. Old = New
  1488. coroutine.wrap(function()
  1489. for i = 1,0,-0.1 do
  1490. wait()
  1491. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1492. end
  1493. Trail:remove()
  1494. end)()
  1495. coroutine.wrap(function()
  1496. for i = 1,10 do
  1497. wait()
  1498. Trail.Transparency = Trail.Transparency +0.1
  1499. end end)()end end)()
  1500. coroutine.wrap(function()
  1501. local Old = Handle.CFrame.p
  1502. while wait()do
  1503. if not TrailDeb then break end
  1504. local New = Handle.CFrame.p
  1505. local Mag =(Old -New).magnitude
  1506. local Dis =(Old +New)/2
  1507. local Trail = Instance.new("Part",Character)
  1508. Trail.Material = "Neon"
  1509. Trail.Anchored = true
  1510. Trail.CanCollide = false
  1511. Trail.BrickColor = TorsoColor
  1512. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1513. Trail.TopSurface = 0
  1514. Trail.BottomSurface = 0
  1515. Trail.formFactor = "Custom"
  1516. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1517. local ms = Instance.new("BlockMesh",Trail)
  1518. ms.Scale = Vector3.new(1,1,1)
  1519. local TM = Instance.new("CylinderMesh",Trail)
  1520. TM.Scale = Vector3.new(1,1,1)
  1521. Old = New
  1522. coroutine.wrap(function()
  1523. for i = 1,0,-0.1 do
  1524. wait()
  1525. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1526. end
  1527. Trail:remove()
  1528. end)()
  1529. coroutine.wrap(function()
  1530. for i = 1,10 do
  1531. wait()
  1532. Trail.Transparency = Trail.Transparency +0.1
  1533. end end)()end end)()
  1534. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1535. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,109999,20999,math.random(200,40),"Normal",RootPart,.290,114) end)
  1536. for i=0,1,0.08 do
  1537. swait()
  1538. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1539. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1540. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1541. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1542. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1543. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1544. 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)
  1545. 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)
  1546. end
  1547. if anim then
  1548. anim.Disabled=true
  1549. end
  1550. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1551. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1552. for i=0,1,0.04 do
  1553. swait()
  1554. Torso.Velocity=RootPart.CFrame.lookVector*50
  1555. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1556. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1557. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1558. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1559. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1560. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1561. 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)
  1562. 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)
  1563. end
  1564. --dmgstop()
  1565. attack=false
  1566. con1:disconnect()
  1567. con2:disconnect()
  1568. if anim then
  1569. anim.Disabled=false
  1570. end
  1571. if TrailDeb == true then
  1572. TrailDeb = false
  1573. end
  1574. end
  1575.  
  1576. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1577. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1578. prt.Anchored = true
  1579. prt.CFrame = cframe
  1580. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1581. coroutine.resume(coroutine.create(function()
  1582. for i = 0, 1, 0.05 do
  1583. wait()
  1584. prt.Transparency = i
  1585. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1586. end
  1587. prt.Parent = nil
  1588. end))
  1589. end
  1590.  
  1591. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1592. for _, c in pairs(workspace:children()) do
  1593. local hum = c:findFirstChild("Humanoid")
  1594. if hum ~= nil then
  1595. local head = c:findFirstChild("Torso")
  1596. if head ~= nil then
  1597. local targ = head.Position - Part.Position
  1598. local mag = targ.magnitude
  1599. if mag <= magni and c.Name ~= Player.Name then
  1600. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .212, 112, 312)
  1601. end
  1602. end
  1603. end
  1604. end
  1605. end
  1606.  
  1607. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1608. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1609. prt.Anchored = true
  1610. prt.CFrame = cframe
  1611. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1612. game:GetService("Debris"):AddItem(prt, 2)
  1613. coroutine.resume(coroutine.create(function(Part, Mesh)
  1614. for i = 0, 1, delay do
  1615. swait()
  1616. Part.CFrame = Part.CFrame
  1617. Part.Transparency = i
  1618. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1619. end
  1620. Part.Parent = nil
  1621. end), prt, msh)
  1622. end
  1623.  
  1624. function MagicJump()
  1625. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1626. attack=true
  1627. mana=mana-25
  1628. --[[ Humanoid.WalkSpeed = 0
  1629. for i=0,1,0.01 do
  1630. swait()
  1631. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1632. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1633. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1634. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1635. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1636. 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)
  1637. 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)
  1638. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1639. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1640. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1641. end]]--
  1642. Humanoid.Jump = true
  1643. Torso.Velocity = vt(0, 150, 0)
  1644. Humanoid.WalkSpeed = 64
  1645. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1646. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1647. for i=0,1,0.05 do
  1648. swait()
  1649. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1650. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1651. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1652. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1653. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1654. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1655. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1656. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1657. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1658. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1659. end
  1660. for i=0,1,0.02 do
  1661. swait()
  1662. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1663. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1664. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1665. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1666. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1667. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1668. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1669. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1670. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1671. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1672. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1673. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1674. end
  1675. Humanoid.WalkSpeed = 0
  1676. swait(8)
  1677. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1678. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1679. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1680. if hit~=nil then
  1681. swait(2)
  1682. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1683. ref.Anchored=true
  1684. ref.CFrame=cf(pos)
  1685. game:GetService("Debris"):AddItem(ref,3)
  1686. for i=1,10 do
  1687. local Col=BrickColor.new("Really black")
  1688. 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))
  1689. groundpart.Anchored=true
  1690. groundpart.CanCollide=false
  1691. 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))
  1692. local Col2=TorsoColor
  1693. 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))
  1694. groundpart2.Anchored=true
  1695. groundpart2.CanCollide=false
  1696. 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))
  1697. game:GetService("Debris"):AddItem(groundpart,5)
  1698. game:GetService("Debris"):AddItem(groundpart2,5)
  1699. end
  1700. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1701. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1702. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  1703. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1704. for i=0,1,0.06 do
  1705. swait()
  1706. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1707. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1708. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1709. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1710. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1711. 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)
  1712. 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)
  1713. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1714. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1715. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1716. end
  1717. end
  1718. swait(20)
  1719. Humanoid.WalkSpeed = 12
  1720. --dmgstop()
  1721. attack=false
  1722. end
  1723. end
  1724.  
  1725. function Spin()
  1726. attack=true
  1727. mana=mana-40
  1728. if TrailDeb == false then
  1729. TrailDeb = true
  1730. end
  1731.  
  1732. coroutine.wrap(function()
  1733. local Old = Handle2.CFrame.p
  1734. while wait()do
  1735. if not TrailDeb then break end
  1736. local New = Handle2.CFrame.p
  1737. local Mag =(Old -New).magnitude
  1738. local Dis =(Old +New)/2
  1739. local Trail = Instance.new("Part",Character)
  1740. Trail.Material = "Neon"
  1741. Trail.Anchored = true
  1742. Trail.CanCollide = false
  1743. Trail.BrickColor = TorsoColor
  1744. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1745. Trail.TopSurface = 0
  1746. Trail.BottomSurface = 0
  1747. Trail.formFactor = "Custom"
  1748. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1749. local ms = Instance.new("BlockMesh",Trail)
  1750. ms.Scale = Vector3.new(1,1,1)
  1751. local TM = Instance.new("CylinderMesh",Trail)
  1752. TM.Scale = Vector3.new(1,1,1)
  1753. Old = New
  1754. coroutine.wrap(function()
  1755. for i = 1,0,-0.1 do
  1756. wait()
  1757. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1758. end
  1759. Trail:remove()
  1760. end)()
  1761. coroutine.wrap(function()
  1762. for i = 1,10 do
  1763. wait()
  1764. Trail.Transparency = Trail.Transparency +0.1
  1765. end end)()end end)()
  1766. coroutine.wrap(function()
  1767. local Old = Handle.CFrame.p
  1768. while wait()do
  1769. if not TrailDeb then break end
  1770. local New = Handle.CFrame.p
  1771. local Mag =(Old -New).magnitude
  1772. local Dis =(Old +New)/2
  1773. local Trail = Instance.new("Part",Character)
  1774. Trail.Material = "Neon"
  1775. Trail.Anchored = true
  1776. Trail.CanCollide = false
  1777. Trail.BrickColor = TorsoColor
  1778. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1779. Trail.TopSurface = 0
  1780. Trail.BottomSurface = 0
  1781. Trail.formFactor = "Custom"
  1782. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1783. local ms = Instance.new("BlockMesh",Trail)
  1784. ms.Scale = Vector3.new(1,1,1)
  1785. local TM = Instance.new("CylinderMesh",Trail)
  1786. TM.Scale = Vector3.new(1,1,1)
  1787. Old = New
  1788. coroutine.wrap(function()
  1789. for i = 1,0,-0.1 do
  1790. wait()
  1791. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1792. end
  1793. Trail:remove()
  1794. end)()
  1795. coroutine.wrap(function()
  1796. for i = 1,10 do
  1797. wait()
  1798. Trail.Transparency = Trail.Transparency +0.1
  1799. end end)()end end)()
  1800. Footsteps:Stop()
  1801. Footsteps2:Stop()
  1802. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,212,302,math.random(212,4012),"Normal",RootPart,.212,112) end)
  1803. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,212,3012,math.random(2012,4012),"Normal",RootPart,.212,112) end)
  1804. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  1805. for i=0,1,0.1 do
  1806. swait()
  1807. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1808. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1809. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1810. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1811. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1812. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1813. end
  1814. if anim then
  1815. anim.Disabled=true
  1816. end
  1817. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1818. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1819. for i=0,1,0.05 do
  1820. swait()
  1821. Torso.Velocity=RootPart.CFrame.lookVector*100
  1822. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1823. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1824. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1825. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1826. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1827. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1828. end
  1829. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1830. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1831. for i=0,1,0.05 do
  1832. swait()
  1833. Torso.Velocity=RootPart.CFrame.lookVector*100
  1834. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1835. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1836. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1837. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1838. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1839. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1840. end
  1841. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1842. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1843. for i=0,1,0.05 do
  1844. swait()
  1845. Torso.Velocity=RootPart.CFrame.lookVector*100
  1846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1847. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1848. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1849. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1850. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1851. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1852. end
  1853. --dmgstop()
  1854. Humanoid.WalkSpeed=12
  1855. attack=false
  1856. con1:disconnect()
  1857. con2:disconnect()
  1858. if anim then
  1859. anim.Disabled=false
  1860. end
  1861. if TrailDeb == true then
  1862. TrailDeb = false
  1863. end
  1864. end
  1865.  
  1866. function Twirl()
  1867. mana=mana-50
  1868. attack=true
  1869. if TrailDeb == false then
  1870. TrailDeb = true
  1871. end
  1872.  
  1873.  
  1874. coroutine.wrap(function()
  1875. local Old = Handle2.CFrame.p
  1876. while wait()do
  1877. if not TrailDeb then break end
  1878. local New = Handle2.CFrame.p
  1879. local Mag =(Old -New).magnitude
  1880. local Dis =(Old +New)/2
  1881. local Trail = Instance.new("Part",Character)
  1882. Trail.Material = "Neon"
  1883. Trail.Anchored = true
  1884. Trail.CanCollide = false
  1885. Trail.BrickColor = TorsoColor
  1886. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1887. Trail.TopSurface = 0
  1888. Trail.BottomSurface = 0
  1889. Trail.formFactor = "Custom"
  1890. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1891. local ms = Instance.new("BlockMesh",Trail)
  1892. ms.Scale = Vector3.new(1,1,1)
  1893. local TM = Instance.new("CylinderMesh",Trail)
  1894. TM.Scale = Vector3.new(1,1,1)
  1895. Old = New
  1896. coroutine.wrap(function()
  1897. for i = 1,0,-0.1 do
  1898. wait()
  1899. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1900. end
  1901. Trail:remove()
  1902. end)()
  1903. coroutine.wrap(function()
  1904. for i = 1,10 do
  1905. wait()
  1906. Trail.Transparency = Trail.Transparency +0.1
  1907. end end)()end end)()
  1908. coroutine.wrap(function()
  1909. local Old = Handle.CFrame.p
  1910. while wait()do
  1911. if not TrailDeb then break end
  1912. local New = Handle.CFrame.p
  1913. local Mag =(Old -New).magnitude
  1914. local Dis =(Old +New)/2
  1915. local Trail = Instance.new("Part",Character)
  1916. Trail.Material = "Neon"
  1917. Trail.Anchored = true
  1918. Trail.CanCollide = false
  1919. Trail.BrickColor = TorsoColor
  1920. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1921. Trail.TopSurface = 0
  1922. Trail.BottomSurface = 0
  1923. Trail.formFactor = "Custom"
  1924. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1925. local ms = Instance.new("BlockMesh",Trail)
  1926. ms.Scale = Vector3.new(1,1,1)
  1927. local TM = Instance.new("CylinderMesh",Trail)
  1928. TM.Scale = Vector3.new(1,1,1)
  1929. Old = New
  1930. coroutine.wrap(function()
  1931. for i = 1,0,-0.1 do
  1932. wait()
  1933. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1934. end
  1935. Trail:remove()
  1936. end)()
  1937. coroutine.wrap(function()
  1938. for i = 1,10 do
  1939. wait()
  1940. Trail.Transparency = Trail.Transparency +0.1
  1941. end end)()end end)()
  1942. Footsteps:Stop()
  1943. Footsteps2:Stop()
  1944. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,201212,301212,math.random(201212,4012),"Normal",RootPart,.21212,11212) end)
  1945. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,201212,301212,math.random(201212,4012),"Normal",RootPart,.21212,11212) end)
  1946. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  1947. for i=0,1,0.1 do
  1948. swait()
  1949. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1950. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1951. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1952. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1953. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1954. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1955. end
  1956. if anim then
  1957. anim.Disabled=true
  1958. end
  1959. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1960. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1961. for i=0,1,0.05 do
  1962. swait()
  1963. Torso.Velocity=RootPart.CFrame.lookVector*80
  1964. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1965. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1966. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1967. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1968. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1969. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1970. end
  1971. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1972. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1973. for i=0,1,0.05 do
  1974. swait()
  1975. Torso.Velocity=RootPart.CFrame.lookVector*80
  1976. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1977. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1978. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1979. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1980. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1981. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1982. end
  1983. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1984. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1985. for i=0,1,0.05 do
  1986. swait()
  1987. Torso.Velocity=RootPart.CFrame.lookVector*80
  1988. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1989. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1990. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1991. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1992. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1993. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1994. end
  1995. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1996. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1997. for i=0,1,0.05 do
  1998. swait()
  1999. Torso.Velocity=RootPart.CFrame.lookVector*80
  2000. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2001. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2002. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2003. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2004. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2005. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2006. end
  2007. --dmgstop()
  2008. Humanoid.WalkSpeed=12
  2009. attack=false
  2010. con1:disconnect()
  2011. con2:disconnect()
  2012. if anim then
  2013. anim.Disabled=false
  2014. end
  2015. if TrailDeb == true then
  2016. TrailDeb = false
  2017. end
  2018. end
  2019.  
  2020. function Shred()
  2021. attack=true
  2022. mana=mana-100
  2023. if TrailDeb == false then
  2024. TrailDeb = true
  2025. end
  2026.  
  2027.  
  2028. coroutine.wrap(function()
  2029. local Old = Handle2.CFrame.p
  2030. while wait()do
  2031. if not TrailDeb then break end
  2032. local New = Handle2.CFrame.p
  2033. local Mag =(Old -New).magnitude
  2034. local Dis =(Old +New)/2
  2035. local Trail = Instance.new("Part",Character)
  2036. Trail.Material = "Neon"
  2037. Trail.Anchored = true
  2038. Trail.CanCollide = false
  2039. Trail.BrickColor = TorsoColor
  2040. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2041. Trail.TopSurface = 0
  2042. Trail.BottomSurface = 0
  2043. Trail.formFactor = "Custom"
  2044. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2045. local ms = Instance.new("BlockMesh",Trail)
  2046. ms.Scale = Vector3.new(1,1,1)
  2047. local TM = Instance.new("CylinderMesh",Trail)
  2048. TM.Scale = Vector3.new(1,1,1)
  2049. Old = New
  2050. coroutine.wrap(function()
  2051. for i = 1,0,-0.1 do
  2052. wait()
  2053. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2054. end
  2055. Trail:remove()
  2056. end)()
  2057. coroutine.wrap(function()
  2058. for i = 1,10 do
  2059. wait()
  2060. Trail.Transparency = Trail.Transparency +0.1
  2061. end end)()end end)()
  2062. coroutine.wrap(function()
  2063. local Old = Handle.CFrame.p
  2064. while wait()do
  2065. if not TrailDeb then break end
  2066. local New = Handle.CFrame.p
  2067. local Mag =(Old -New).magnitude
  2068. local Dis =(Old +New)/2
  2069. local Trail = Instance.new("Part",Character)
  2070. Trail.Material = "Neon"
  2071. Trail.Anchored = true
  2072. Trail.CanCollide = false
  2073. Trail.BrickColor = TorsoColor
  2074. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2075. Trail.TopSurface = 0
  2076. Trail.BottomSurface = 0
  2077. Trail.formFactor = "Custom"
  2078. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2079. local ms = Instance.new("BlockMesh",Trail)
  2080. ms.Scale = Vector3.new(1,1,1)
  2081. local TM = Instance.new("CylinderMesh",Trail)
  2082. TM.Scale = Vector3.new(1,1,1)
  2083. Old = New
  2084. coroutine.wrap(function()
  2085. for i = 1,0,-0.1 do
  2086. wait()
  2087. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2088. end
  2089. Trail:remove()
  2090. end)()
  2091. coroutine.wrap(function()
  2092. for i = 1,10 do
  2093. wait()
  2094. Trail.Transparency = Trail.Transparency +0.1
  2095. end end)()end end)()
  2096. Footsteps:Stop()
  2097. Footsteps2:Stop()
  2098. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,3022,402,math.random(202,402),"Normal",RootPart,.2,1) end)
  2099. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,3022,420,math.random(202,402),"Normal",RootPart,.2,1) end)
  2100. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2101. for i=0,1,0.1 do
  2102. swait()
  2103. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2104. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2105. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2106. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2107. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2108. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2109. end
  2110. if anim then
  2111. anim.Disabled=true
  2112. end
  2113. for i=0,1,0.05 do
  2114. swait()
  2115. Torso.Velocity=RootPart.CFrame.lookVector*20
  2116. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2117. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2118. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2119. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2120. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2121. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2122. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2123. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2124. end
  2125. for i=0,1,0.05 do
  2126. swait()
  2127. Torso.Velocity=RootPart.CFrame.lookVector*40
  2128. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2129. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2130. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2131. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2132. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2133. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2134. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2135. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2136. end
  2137. for i=0,1,0.05 do
  2138. swait()
  2139. Torso.Velocity=RootPart.CFrame.lookVector*60
  2140. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2141. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2142. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2143. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2144. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2145. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2146. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2147. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2148. end
  2149. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2150. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2151. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2152. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2153. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2154. for i=0,1,0.05 do
  2155. swait()
  2156. Torso.Velocity=RootPart.CFrame.lookVector*80
  2157. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2158. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2159. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2160. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2161. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2162. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2163. end
  2164. for i=0,1,0.005 do
  2165. swait()
  2166. Torso.Velocity=RootPart.CFrame.lookVector*100
  2167. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2168. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2169. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2170. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2171. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2172. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2173. end
  2174. --dmgstop()
  2175. Humanoid.WalkSpeed=12
  2176. attack=false
  2177. con1:disconnect()
  2178. con2:disconnect()
  2179. if anim then
  2180. anim.Disabled=false
  2181. end
  2182. if TrailDeb == true then
  2183. TrailDeb = false
  2184. end
  2185. end
  2186.  
  2187. function Push()
  2188. attack=true
  2189. mana=mana-20
  2190. if TrailDeb == false then
  2191. TrailDeb = true
  2192. end
  2193.  
  2194.  
  2195. coroutine.wrap(function()
  2196. local Old = Handle2.CFrame.p
  2197. while wait()do
  2198. if not TrailDeb then break end
  2199. local New = Handle2.CFrame.p
  2200. local Mag =(Old -New).magnitude
  2201. local Dis =(Old +New)/2
  2202. local Trail = Instance.new("Part",Character)
  2203. Trail.Material = "Neon"
  2204. Trail.Anchored = true
  2205. Trail.CanCollide = false
  2206. Trail.BrickColor = TorsoColor
  2207. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2208. Trail.TopSurface = 0
  2209. Trail.BottomSurface = 0
  2210. Trail.formFactor = "Custom"
  2211. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2212. local ms = Instance.new("BlockMesh",Trail)
  2213. ms.Scale = Vector3.new(1,1,1)
  2214. local TM = Instance.new("CylinderMesh",Trail)
  2215. TM.Scale = Vector3.new(1,1,1)
  2216. Old = New
  2217. coroutine.wrap(function()
  2218. for i = 1,0,-0.1 do
  2219. wait()
  2220. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2221. end
  2222. Trail:remove()
  2223. end)()
  2224. coroutine.wrap(function()
  2225. for i = 1,10 do
  2226. wait()
  2227. Trail.Transparency = Trail.Transparency +0.1
  2228. end end)()end end)()
  2229. coroutine.wrap(function()
  2230. local Old = Handle.CFrame.p
  2231. while wait()do
  2232. if not TrailDeb then break end
  2233. local New = Handle.CFrame.p
  2234. local Mag =(Old -New).magnitude
  2235. local Dis =(Old +New)/2
  2236. local Trail = Instance.new("Part",Character)
  2237. Trail.Material = "Neon"
  2238. Trail.Anchored = true
  2239. Trail.CanCollide = false
  2240. Trail.BrickColor = TorsoColor
  2241. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2242. Trail.TopSurface = 0
  2243. Trail.BottomSurface = 0
  2244. Trail.formFactor = "Custom"
  2245. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2246. local ms = Instance.new("BlockMesh",Trail)
  2247. ms.Scale = Vector3.new(1,1,1)
  2248. local TM = Instance.new("CylinderMesh",Trail)
  2249. TM.Scale = Vector3.new(1,1,1)
  2250. Old = New
  2251. coroutine.wrap(function()
  2252. for i = 1,0,-0.1 do
  2253. wait()
  2254. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2255. end
  2256. Trail:remove()
  2257. end)()
  2258. coroutine.wrap(function()
  2259. for i = 1,10 do
  2260. wait()
  2261. Trail.Transparency = Trail.Transparency +0.1
  2262. end end)()end end)()
  2263. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,101,201,math.random(201,401),"Normal",RootPart,.21,11) end)
  2264. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,101,201,math.random(201,401),"Normal",RootPart,.21,11) end)
  2265. for i=0,1,0.1 do
  2266. swait()
  2267. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2269. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2270. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2271. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2272. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2273. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2274. end
  2275. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2276. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2277. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2278. for i=0,1,0.1 do
  2279. swait()
  2280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2282. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2283. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2284. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2285. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2286. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2287. end
  2288. --dmgstop()
  2289. attack=false
  2290. con1:disconnect()
  2291. con2:disconnect()
  2292. if TrailDeb == true then
  2293. TrailDeb = false
  2294. end
  2295. end
  2296.  
  2297. function Clap()
  2298. attack=true
  2299. mana=mana-20
  2300. if TrailDeb == false then
  2301. TrailDeb = true
  2302. end
  2303.  
  2304.  
  2305. coroutine.wrap(function()
  2306. local Old = Handle2.CFrame.p
  2307. while wait()do
  2308. if not TrailDeb then break end
  2309. local New = Handle2.CFrame.p
  2310. local Mag =(Old -New).magnitude
  2311. local Dis =(Old +New)/2
  2312. local Trail = Instance.new("Part",Character)
  2313. Trail.Material = "Neon"
  2314. Trail.Anchored = true
  2315. Trail.CanCollide = false
  2316. Trail.BrickColor = TorsoColor
  2317. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2318. Trail.TopSurface = 0
  2319. Trail.BottomSurface = 0
  2320. Trail.formFactor = "Custom"
  2321. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2322. local ms = Instance.new("BlockMesh",Trail)
  2323. ms.Scale = Vector3.new(1,1,1)
  2324. local TM = Instance.new("CylinderMesh",Trail)
  2325. TM.Scale = Vector3.new(1,1,1)
  2326. Old = New
  2327. coroutine.wrap(function()
  2328. for i = 1,0,-0.1 do
  2329. wait()
  2330. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2331. end
  2332. Trail:remove()
  2333. end)()
  2334. coroutine.wrap(function()
  2335. for i = 1,10 do
  2336. wait()
  2337. Trail.Transparency = Trail.Transparency +0.1
  2338. end end)()end end)()
  2339. coroutine.wrap(function()
  2340. local Old = Handle.CFrame.p
  2341. while wait()do
  2342. if not TrailDeb then break end
  2343. local New = Handle.CFrame.p
  2344. local Mag =(Old -New).magnitude
  2345. local Dis =(Old +New)/2
  2346. local Trail = Instance.new("Part",Character)
  2347. Trail.Material = "Neon"
  2348. Trail.Anchored = true
  2349. Trail.CanCollide = false
  2350. Trail.BrickColor = TorsoColor
  2351. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2352. Trail.TopSurface = 0
  2353. Trail.BottomSurface = 0
  2354. Trail.formFactor = "Custom"
  2355. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2356. local ms = Instance.new("BlockMesh",Trail)
  2357. ms.Scale = Vector3.new(1,1,1)
  2358. local TM = Instance.new("CylinderMesh",Trail)
  2359. TM.Scale = Vector3.new(1,1,1)
  2360. Old = New
  2361. coroutine.wrap(function()
  2362. for i = 1,0,-0.1 do
  2363. wait()
  2364. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2365. end
  2366. Trail:remove()
  2367. end)()
  2368. coroutine.wrap(function()
  2369. for i = 1,10 do
  2370. wait()
  2371. Trail.Transparency = Trail.Transparency +0.1
  2372. end end)()end end)()
  2373. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,220,3220,math.random(220,420),"Normal",RootPart,.2,1) end)
  2374. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,220,320,math.random(220,420),"Normal",RootPart,.2,1) end)
  2375. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2376. for i=0,1,0.08 do
  2377. swait()
  2378. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2379. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2380. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2381. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2382. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2383. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2384. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2385. end
  2386. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2387. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2388. for i=0,1,0.08 do
  2389. swait()
  2390. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2391. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2392. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2393. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2394. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2395. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2396. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2397. end
  2398. --dmgstop()
  2399. attack=false
  2400. con1:disconnect()
  2401. con2:disconnect()
  2402. if TrailDeb == true then
  2403. TrailDeb = false
  2404. end
  2405. end
  2406.  
  2407. function Hai()
  2408. attack=true
  2409. Humanoid.WalkSpeed=0
  2410. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2411. for i=0,1,0.1 do
  2412. swait()
  2413. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2414. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2415. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2416. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2417. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2418. 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)
  2419. 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)
  2420. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2421. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2422. end
  2423. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2424. for i=0,1,0.1 do
  2425. swait()
  2426. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2427. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2428. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2429. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2430. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2431. 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)
  2432. 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)
  2433. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2434. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2435. end
  2436. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2437. for i=0,1,0.1 do
  2438. swait()
  2439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2441. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2442. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2443. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2444. 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)
  2445. 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)
  2446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2447. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2448.  
  2449. end
  2450. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2451. for i=0,1,0.1 do
  2452. swait()
  2453. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2455. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2456. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2457. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2458. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2459. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2460. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2461. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2462. end
  2463. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2464. for i=0,1,0.1 do
  2465. swait()
  2466. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2467. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2468. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2469. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2470. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2471. 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)
  2472. 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)
  2473. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2474. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2475. end
  2476. --dmgstop()
  2477. Humanoid.WalkSpeed=12
  2478. attack=false
  2479. end
  2480.  
  2481. function Die()
  2482. attack=true
  2483. Footsteps:Stop()
  2484. Footsteps2:Stop()
  2485. local Fire = it("Sound",Character.Torso)
  2486. Fire.SoundId = "rbxassetid://192104941"
  2487. Fire.Looped = true
  2488. Fire.Pitch = 1
  2489. Fire.Volume = 1
  2490. local Fire2 = it("Sound",Handle2)
  2491. Fire2.SoundId = "rbxassetid://192104941"
  2492. Fire2.Looped = true
  2493. Fire2.Pitch = 1
  2494. Fire2.Volume = 1
  2495. local Fire3 = it("Sound",Handle)
  2496. Fire3.SoundId = "rbxassetid://192104941"
  2497. Fire3.Looped = true
  2498. Fire3.Pitch = 1
  2499. Fire3.Volume = 1
  2500. local Fire4 = it("Sound",handle)
  2501. Fire4.SoundId = "rbxassetid://192104941"
  2502. Fire4.Looped = true
  2503. Fire4.Pitch = 1
  2504. Fire4.Volume = 1
  2505. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2506. fire.Lifetime = NumberRange.new(0.5)
  2507. fire.Speed = NumberRange.new(1, 3)
  2508. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2509. fire.Rate = 0
  2510. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2511. fire.LightEmission = 0.6
  2512. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2513. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2514. local fire2 = Instance.new("ParticleEmitter", Handle)
  2515. fire2.Lifetime = NumberRange.new(0.5)
  2516. fire2.Speed = NumberRange.new(1, 3)
  2517. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2518. fire2.Rate = 0
  2519. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2520. fire2.LightEmission = 0.6
  2521. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2522. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2523. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2524. fire3.Lifetime = NumberRange.new(0.5)
  2525. fire3.Speed = NumberRange.new(1, 3)
  2526. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2527. fire3.Rate = 0
  2528. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2529. fire3.LightEmission = 0.6
  2530. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2531. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2532. local fire4 = Instance.new("ParticleEmitter", handle)
  2533. fire4.Lifetime = NumberRange.new(0.5)
  2534. fire4.Speed = NumberRange.new(1, 3)
  2535. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2536. fire4.Rate = 0
  2537. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2538. fire4.LightEmission = 0.6
  2539. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2540. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2541. Humanoid.WalkSpeed = 0
  2542. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2543. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2544. for i=0,1,0.08 do
  2545. swait()
  2546. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2547. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2548. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2549. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2550. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2551. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2552. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2553. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2554. 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)
  2555. 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)
  2556. end
  2557. for i=0,1,0.005 do
  2558. swait()
  2559. moosick.Volume=1-2*i
  2560. light.Range=15-10*i
  2561. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2562. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2563. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2564. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2565. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2566. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2567. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2568. 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)
  2569. 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)
  2570. end
  2571. light.Range=0
  2572. for i=0,1,0.01 do
  2573. swait()
  2574. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2575. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2576. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2577. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2578. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2579. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2580. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2581. 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)
  2582. 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)
  2583. end
  2584. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2585. fire.Rate = 1000
  2586. fire2.Rate = 1000
  2587. fire3.Rate = 1000
  2588. fire4.Rate = 1000
  2589. Fire:Play()
  2590. Fire2:Play()
  2591. Fire3:Play()
  2592. Fire4:Play()
  2593. for i=0,1,0.005 do
  2594. swait()
  2595. Character.Head.face.Transparency = 0+1*i
  2596. LeftArm.Transparency=0+1*i
  2597. RightArm.Transparency=0+1*i
  2598. LeftLeg.Transparency=0+1*i
  2599. RightLeg.Transparency=0+1*i
  2600. Head.Transparency=0+1*i
  2601. Torso.Transparency=0+1*i
  2602. for _,v in pairs(Character:children()) do
  2603. if v:IsA("Hat") then
  2604. v.Handle.Transparency = 0+1*i
  2605. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2606. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2607. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2608. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2609. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2610. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2611. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2612. 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)
  2613. 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)
  2614. end
  2615. end
  2616. --dmgstop()
  2617. end
  2618. Humanoid.Health = 0
  2619. end
  2620.  
  2621. equipanim()
  2622.  
  2623. local sine = 0
  2624. local change = 1
  2625. local val = 0
  2626.  
  2627. local mananum=0
  2628. while true do
  2629. swait()
  2630. sine = sine + change
  2631. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2632. local velderp=RootPart.Velocity.y
  2633. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2634. if equipped==true or equipped==false then
  2635. if Anim=="Idle" and attack==false then
  2636. idle=idle+1
  2637. else
  2638. idle=0
  2639. end
  2640. if Humanoid.Health <=20 then
  2641. if attack == false then
  2642. Humanoid.Health = math.huge
  2643. Die()
  2644. end
  2645. end
  2646. if idle>=1000 then
  2647. if attack==false then
  2648. --Sheath()
  2649. end
  2650. end
  2651. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2652. Anim="Jump"
  2653. if attack==false then
  2654. Footsteps:Stop()
  2655. Footsteps2:Stop()
  2656. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2657. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2658. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2659. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2660. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2661. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2662. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2663. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2664. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2665. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2666. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2667. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2668. end
  2669. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2670. Anim="Fall"
  2671. if attack==false then
  2672. Footsteps:Stop()
  2673. Footsteps2:Stop()
  2674. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2675. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2678. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2679. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2680. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2681. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2682. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2683. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2684. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2685. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2686. end
  2687. elseif torvel<1 and hitfloor~=nil then
  2688. Anim="Idle"
  2689. change=0.5
  2690. if idle>=1000 then
  2691. if attack==false then
  2692. Footsteps:Stop()
  2693. Footsteps2:Stop()
  2694. Humanoid.WalkSpeed=12
  2695. 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)
  2696. 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)
  2697. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2698. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2699. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2700. 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)
  2701. 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)
  2702. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2703. 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)
  2704. 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)
  2705. end
  2706. else
  2707. if attack==false then
  2708. Footsteps:Stop()
  2709. Footsteps2:Stop()
  2710. Humanoid.WalkSpeed=12
  2711. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2712. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2713. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2714. 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)
  2715. 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)
  2716. 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)
  2717. 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)
  2718. 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)
  2719. 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)
  2720. 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)
  2721. end
  2722. end
  2723. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2724. Anim="Walk"
  2725. if attack==false then
  2726. change=0.8
  2727. --[[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)
  2728. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2729. 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)
  2730. 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)
  2731. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2732. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2733. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2735. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2736. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2737. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2738. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2739. RH.C0=clerp(RH.C0,RHC0,.3)
  2740. LH.C0=clerp(LH.C0,LHC0,.3)
  2741. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2742. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2743. ]]--
  2744. Footsteps:Play()
  2745. Footsteps2:Stop()
  2746. 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)
  2747. 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)
  2748. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2749. 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)
  2750. 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)
  2751. 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)
  2752. 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)
  2753. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2754. 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)
  2755. 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)
  2756. end
  2757. elseif torvel>=22 and hitfloor~=nil then
  2758. Anim="Run"
  2759. change=1
  2760. if attack==false then
  2761. Footsteps:Stop()
  2762. Footsteps2:Play()
  2763. 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)
  2764. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2765. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2766. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2767. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2768. 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)
  2769. 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)
  2770. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2771. 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)
  2772. 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)
  2773. end
  2774. end
  2775. end
  2776. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2777. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  2778. if mana>=1 then
  2779. mana=100
  2780. else
  2781. if mananum<=8 then
  2782. mananum=mananum+1
  2783. else
  2784. mananum=0
  2785. mana=mana+1
  2786. end
  2787. end
  2788. end
  2789. RAW Paste Data
  2790.  
  2791. Player=game:GetService("Players").LocalPlayer
  2792. Character=Player.Character
  2793. PlayerGui=Player.PlayerGui
  2794. Backpack=Player.Backpack
  2795. Torso=Character.Torso
  2796. Head=Character.Head
  2797. Humanoid=Character.Humanoid
  2798. m=Instance.new('Model',Character)
  2799. LeftArm=Character["Left Arm"]
  2800. LeftLeg=Character["Left Leg"]
  2801. RightArm=Character["Right Arm"]
  2802. RightLeg=Character["Right Leg"]
  2803. LS=Torso["Left Shoulder"]
  2804. LH=Torso["Left Hip"]
  2805. RS=Torso["Right Shoulder"]
  2806. RH=Torso["Right Hip"]
  2807. Face = Head.face
  2808. Neck=Torso.Neck
  2809. it=Instance.new
  2810. attacktype=1
  2811. vt=Vector3.new
  2812. cf=CFrame.new
  2813. euler=CFrame.fromEulerAnglesXYZ
  2814. angles=CFrame.Angles
  2815. cloaked=false
  2816. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2817. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2818. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2819. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2820. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2821. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2822. RootPart=Character.HumanoidRootPart
  2823. RootJoint=RootPart.RootJoint
  2824. RootCF=euler(-1.57,0,3.14)
  2825. attack = false
  2826. attackdebounce = false
  2827. deb=false
  2828. equipped=true
  2829. hand=false
  2830. MMouse=nil
  2831. combo=0
  2832. mana=0
  2833. trispeed=1
  2834. pathtrans=.7
  2835. attackmode='none'
  2836. local idle=0
  2837. local Anim="Idle"
  2838. local Effects={}
  2839. local gun=false
  2840. local shoot=false
  2841. player=nil
  2842. cloak=false
  2843. lightcolor='Really black'
  2844.  
  2845. local Color1=Torso.BrickColor
  2846.  
  2847. local fengui=it("GuiMain")
  2848. fengui.Parent=Player.PlayerGui
  2849. fengui.Name="WeaponGUI"
  2850. local fenframe=it("Frame")
  2851. fenframe.Parent=fengui
  2852. fenframe.BackgroundColor3=Color3.new(88,1,228)
  2853. fenframe.BackgroundTransparency=1
  2854. fenframe.BorderColor3=Color3.new(88,1,228)
  2855. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  2856. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  2857. local fenbarmana1=it("TextLabel")
  2858. fenbarmana1.Parent=fenframe
  2859. fenbarmana1.Text=" "
  2860. fenbarmana1.BackgroundTransparency=0
  2861. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  2862. fenbarmana1.SizeConstraint="RelativeXY"
  2863. fenbarmana1.TextXAlignment="Center"
  2864. fenbarmana1.TextYAlignment="Center"
  2865. fenbarmana1.Position=UDim2.new(0,0,0,0)
  2866. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  2867. local fenbarmana2=it("TextLabel")
  2868. fenbarmana2.Parent=fenframe
  2869. fenbarmana2.Text=" "
  2870. fenbarmana2.BackgroundTransparency=0
  2871. fenbarmana2.BackgroundColor3=Torso.Color
  2872. fenbarmana2.SizeConstraint="RelativeXY"
  2873. fenbarmana2.TextXAlignment="Center"
  2874. fenbarmana2.TextYAlignment="Center"
  2875. fenbarmana2.Position=UDim2.new(0,0,0,0)
  2876. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  2877. local fenbarmana3=it("TextLabel")
  2878. fenbarmana3.Parent=fenframe
  2879. fenbarmana3.Text=" "
  2880. fenbarmana3.BackgroundTransparency=0
  2881. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  2882. fenbarmana3.SizeConstraint="RelativeXY"
  2883. fenbarmana3.TextXAlignment="Center"
  2884. fenbarmana3.TextYAlignment="Center"
  2885. fenbarmana3.Position=UDim2.new(0,0,0,0)
  2886. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  2887. local fenbarmana4=it("TextLabel")
  2888. fenbarmana4.Parent=fenframe
  2889. fenbarmana4.Text="Energy("..mana..")"
  2890. fenbarmana4.BackgroundTransparency=1
  2891. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  2892. fenbarmana4.SizeConstraint="RelativeXY"
  2893. fenbarmana4.TextXAlignment="Center"
  2894. fenbarmana4.TextYAlignment="Center"
  2895. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  2896. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  2897. fenbarmana4.FontSize="Size9"
  2898. fenbarmana4.TextStrokeTransparency=0
  2899. fenbarmana4.TextColor=BrickColor.new("White")
  2900.  
  2901. mouse=Player:GetMouse()
  2902. --save shoulders
  2903. RSH, LSH=nil, nil
  2904. --welds
  2905. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2906. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2907. LH=Torso["Left Hip"]
  2908. RH=Torso["Right Hip"]
  2909. TorsoColor=Torso.BrickColor
  2910. function NoOutline(Part)
  2911. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2912. end
  2913. player=Player
  2914. ch=Character
  2915. RSH=ch.Torso["Right Shoulder"]
  2916. LSH=ch.Torso["Left Shoulder"]
  2917. --
  2918. RSH.Parent=nil
  2919. LSH.Parent=nil
  2920. --
  2921. RW.Name="Right Shoulder"
  2922. RW.Part0=ch.Torso
  2923. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2924. RW.C1=cf(0, 0.5, 0)
  2925. RW.Part1=ch["Right Arm"]
  2926. RW.Parent=ch.Torso
  2927. --
  2928. LW.Name="Left Shoulder"
  2929. LW.Part0=ch.Torso
  2930. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2931. LW.C1=cf(0, 0.5, 0)
  2932. LW.Part1=ch["Left Arm"]
  2933. LW.Parent=ch.Torso
  2934.  
  2935. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2936. local fp=it("Part")
  2937. fp.formFactor=formfactor
  2938. fp.Parent=parent
  2939. fp.Reflectance=reflectance
  2940. fp.Transparency=transparency
  2941. fp.CanCollide=false
  2942. fp.Locked=true
  2943. fp.BrickColor=brickcolor
  2944. fp.Name=name
  2945. fp.Size=size
  2946. fp.Position=Torso.Position
  2947. NoOutline(fp)
  2948. fp.Material="Neon"
  2949. fp:BreakJoints()
  2950. return fp
  2951. end
  2952.  
  2953. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2954. local mesh=it(Mesh)
  2955. mesh.Parent=part
  2956. if Mesh=="SpecialMesh" then
  2957. mesh.MeshType=meshtype
  2958. if meshid~="nil" then
  2959. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2960. end
  2961. end
  2962. mesh.Offset=offset
  2963. mesh.Scale=scale
  2964. return mesh
  2965. end
  2966.  
  2967. function weld(parent,part0,part1,c0)
  2968. local weld=it("Weld")
  2969. weld.Parent=parent
  2970. weld.Part0=part0
  2971. weld.Part1=part1
  2972. weld.C0=c0
  2973. return weld
  2974. end
  2975.  
  2976. local Color1=Torso.BrickColor
  2977.  
  2978. local bodvel=Instance.new("BodyVelocity")
  2979. local bg=Instance.new("BodyGyro")
  2980.  
  2981. function swait(num)
  2982. if num==0 or num==nil then
  2983. game:service'RunService'.Stepped:wait(0)
  2984. else
  2985. for i=0,num do
  2986. game:service'RunService'.Stepped:wait(0)
  2987. end
  2988. end
  2989. end
  2990.  
  2991.  
  2992. so = function(id,par,vol,pit)
  2993. coroutine.resume(coroutine.create(function()
  2994. local sou = Instance.new("Sound",par or workspace)
  2995. sou.Volume=vol
  2996. sou.Pitch=pit or 1
  2997. sou.SoundId=id
  2998. swait()
  2999. sou:play()
  3000. game:GetService("Debris"):AddItem(sou,6)
  3001. end))
  3002. end
  3003.  
  3004. function clerp(a,b,t)
  3005. local qa = {QuaternionFromCFrame(a)}
  3006. local qb = {QuaternionFromCFrame(b)}
  3007. local ax, ay, az = a.x, a.y, a.z
  3008. local bx, by, bz = b.x, b.y, b.z
  3009. local _t = 1-t
  3010. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3011. end
  3012.  
  3013. function QuaternionFromCFrame(cf)
  3014. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3015. local trace = m00 + m11 + m22
  3016. if trace > 0 then
  3017. local s = math.sqrt(1 + trace)
  3018. local recip = 0.5/s
  3019. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3020. else
  3021. local i = 0
  3022. if m11 > m00 then
  3023. i = 1
  3024. end
  3025. if m22 > (i == 0 and m00 or m11) then
  3026. i = 2
  3027. end
  3028. if i == 0 then
  3029. local s = math.sqrt(m00-m11-m22+1)
  3030. local recip = 0.5/s
  3031. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3032. elseif i == 1 then
  3033. local s = math.sqrt(m11-m22-m00+1)
  3034. local recip = 0.5/s
  3035. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3036. elseif i == 2 then
  3037. local s = math.sqrt(m22-m00-m11+1)
  3038. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3039. end
  3040. end
  3041. end
  3042.  
  3043. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3044. local xs, ys, zs = x + x, y + y, z + z
  3045. local wx, wy, wz = w*xs, w*ys, w*zs
  3046. local xx = x*xs
  3047. local xy = x*ys
  3048. local xz = x*zs
  3049. local yy = y*ys
  3050. local yz = y*zs
  3051. local zz = z*zs
  3052. 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))
  3053. end
  3054.  
  3055. function QuaternionSlerp(a, b, t)
  3056. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3057. local startInterp, finishInterp;
  3058. if cosTheta >= 0.0001 then
  3059. if (1 - cosTheta) > 0.0001 then
  3060. local theta = math.acos(cosTheta)
  3061. local invSinTheta = 1/math.sin(theta)
  3062. startInterp = math.sin((1-t)*theta)*invSinTheta
  3063. finishInterp = math.sin(t*theta)*invSinTheta
  3064. else
  3065. startInterp = 1-t
  3066. finishInterp = t
  3067. end
  3068. else
  3069. if (1+cosTheta) > 0.0001 then
  3070. local theta = math.acos(-cosTheta)
  3071. local invSinTheta = 1/math.sin(theta)
  3072. startInterp = math.sin((t-1)*theta)*invSinTheta
  3073. finishInterp = math.sin(t*theta)*invSinTheta
  3074. else
  3075. startInterp = t-1
  3076. finishInterp = t
  3077. end
  3078. end
  3079. 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
  3080. end
  3081.  
  3082. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3083. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3084. end
  3085.  
  3086. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  3087. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3088. prt.Anchored=true
  3089. prt.CFrame=cframe
  3090. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  3091. --http://www.roblox.com/asset/?id=4770560
  3092. game:GetService("Debris"):AddItem(prt,2)
  3093. CF=prt.CFrame
  3094. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  3095. for i=0,1,0.2 do
  3096. wait()
  3097. Part.CFrame=CF*cf(0,0,-0.4)
  3098. end
  3099. for i=0,1,delay do
  3100. wait()
  3101. --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)
  3102. Mesh.Scale=Mesh.Scale
  3103. end
  3104. for i=0,1,0.1 do
  3105. wait()
  3106. Part.Transparency=i
  3107. end
  3108. Part.Parent=nil
  3109. end),prt,msh,CF)
  3110. end
  3111.  
  3112. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3113. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3114. prt.Anchored=true
  3115. prt.CFrame=cframe
  3116. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3117. game:GetService("Debris"):AddItem(prt,5)
  3118. coroutine.resume(coroutine.create(function(Part,Mesh)
  3119. for i=0,1,delay do
  3120. wait()
  3121. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3122. Part.Transparency=i
  3123. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3124. end
  3125. Part.Parent=nil
  3126. end),prt,msh)
  3127. end
  3128.  
  3129. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3130. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3131. prt.Anchored=false
  3132. prt.CFrame=cframe
  3133. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3134. local wld=weld(prt,prt,Parent,cframe)
  3135. game:GetService("Debris"):AddItem(prt,5)
  3136. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3137. for i=0,1,delay do
  3138. wait()
  3139. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3140. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3141. Part.Transparency=i
  3142. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3143. end
  3144. Part.Parent=nil
  3145. end),prt,msh,wld)
  3146. end
  3147.  
  3148. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3149. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3150. prt.Anchored=false
  3151. prt.CFrame=cframe
  3152. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3153. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3154. game:GetService("Debris"):AddItem(prt,5)
  3155. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3156. for i=0,1,delay do
  3157. wait()
  3158. Weld.C0=euler(i*20,0,0)
  3159. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3160. Part.Transparency=i
  3161. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3162. end
  3163. Part.Parent=nil
  3164. end),prt,msh,wld)
  3165. end
  3166.  
  3167. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3168. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3169. prt.Anchored=true
  3170. prt.CFrame=cframe
  3171. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3172. game:GetService("Debris"):AddItem(prt,2)
  3173. coroutine.resume(coroutine.create(function(Part,Mesh)
  3174. for i=0,1,delay do
  3175. wait()
  3176. Part.CFrame=Part.CFrame
  3177. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3178. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3179. prt2.Anchored=true
  3180. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3181. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3182. game:GetService("Debris"):AddItem(prt2,2)
  3183. coroutine.resume(coroutine.create(function(Part,Mesh)
  3184. for i=0,1,0.1 do
  3185. wait()
  3186. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3187. end
  3188. Part.Parent=nil
  3189. end),prt2,msh2)
  3190. end
  3191. for i=0,1,delay*2 do
  3192. wait()
  3193. Part.CFrame=Part.CFrame
  3194. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3195. end
  3196. Part.Parent=nil
  3197. end),prt,msh)
  3198. end
  3199.  
  3200. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3201. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3202. prt.Anchored=true
  3203. prt.CFrame=cframe
  3204. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3205. game:GetService("Debris"):AddItem(prt,2)
  3206. coroutine.resume(coroutine.create(function(Part,Mesh)
  3207. for i=0,1,delay do
  3208. wait()
  3209. Part.CFrame=Part.CFrame
  3210. Part.Transparency=i
  3211. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3212. end
  3213. Part.Parent=nil
  3214. end),prt,msh)
  3215. end
  3216.  
  3217. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  3218. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3219. prt.Anchored=true
  3220. prt.CFrame=cframe*euler(x2,y2,z2)
  3221. --"http://www.roblox.com/asset/?id=168892465"
  3222. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  3223. game:GetService("Debris"):AddItem(prt,2)
  3224. coroutine.resume(coroutine.create(function(Part,Mesh)
  3225. for i=0,1,0.03 do
  3226. wait()
  3227. Part.CFrame=Part.CFrame
  3228. Part.Transparency=i
  3229. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3230. end
  3231. Part.Parent=nil
  3232. end),prt,msh)
  3233. end
  3234.  
  3235. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3236. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3237. prt.Anchored=true
  3238. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3239. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3240. game:GetService("Debris"):AddItem(prt,2)
  3241. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3242. CF=Part.CFrame
  3243. Numbb=0
  3244. randnumb=math.random()/10
  3245. rand1=math.random()/10
  3246. for i=0,1,rand1 do
  3247. wait()
  3248. CF=CF*cf(0,math.random()/2,0)
  3249. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3250. Part.CFrame=CF*euler(Numbb,0,0)
  3251. Part.Transparency=i
  3252. Numbb=Numbb+randnumb
  3253. end
  3254. Part.Parent=nil
  3255. end),prt,CF,Numbb,randnumb)
  3256. end
  3257.  
  3258. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3259. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3260. prt.Anchored=true
  3261. prt.CFrame=cframe
  3262. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3263. game:GetService("Debris"):AddItem(prt,5)
  3264. coroutine.resume(coroutine.create(function(Part,Mesh)
  3265. for i=0,1,delay do
  3266. wait()
  3267. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3268. Part.Transparency=i
  3269. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3270. end
  3271. Part.Parent=nil
  3272. end),prt,msh)
  3273. end
  3274.  
  3275. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3276. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3277. prt.Anchored=true
  3278. prt.CFrame=cframe
  3279. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3280. game:GetService("Debris"):AddItem(prt,2)
  3281. coroutine.resume(coroutine.create(function(Part,Mesh)
  3282. for i=0,1,delay do
  3283. wait()
  3284. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3285. Part.Transparency=i
  3286. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3287. end
  3288. Part.Parent=nil
  3289. end),prt,msh)
  3290. end
  3291.  
  3292. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3293. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3294. prt.Anchored=true
  3295. prt.CFrame=cframe*cf(x,y,z)
  3296. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3297. game:GetService("Debris"):AddItem(prt,5)
  3298. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3299. local num=math.random()
  3300. local num2=math.random(-3,2)+math.random()
  3301. local numm=0
  3302. for i=0,1,delay*2 do
  3303. swait()
  3304. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3305. Part.Transparency=i
  3306. numm=numm+0.01
  3307. end
  3308. Part.Parent=nil
  3309. Mesh.Parent=nil
  3310. end),prt,msh,x,y,z)
  3311. end
  3312.  
  3313. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  3314. if hit.Parent==nil then
  3315. return
  3316. end
  3317. h=hit.Parent:FindFirstChild("Humanoid")
  3318. for _,v in pairs(hit.Parent:children()) do
  3319. if v:IsA("Humanoid") then
  3320. h=v
  3321. end
  3322. end
  3323. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  3324. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3325. end
  3326. if hit.Parent.className=="Hat" then
  3327. hit=hit.Parent.Parent:findFirstChild("Head")
  3328. end
  3329. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3330. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  3331. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3332. return
  3333. end]]
  3334. -- hs(hit,1.2)
  3335. c=Instance.new("ObjectValue")
  3336. c.Name="creator"
  3337. c.Value=game:service("Players").LocalPlayer
  3338. c.Parent=h
  3339. game:GetService("Debris"):AddItem(c,.5)
  3340. Damage=math.random(minim,maxim)
  3341. -- h:TakeDamage(Damage)
  3342. blocked=false
  3343. block=hit.Parent:findFirstChild("Block")
  3344. if block~=nil then
  3345. print(block.className)
  3346. if block.className=="NumberValue" then
  3347. if block.Value>0 then
  3348. blocked=true
  3349. if decreaseblock==nil then
  3350. block.Value=block.Value-1
  3351. end
  3352. end
  3353. end
  3354. if block.className=="IntValue" then
  3355. if block.Value>0 then
  3356. blocked=true
  3357. if decreaseblock~=nil then
  3358. block.Value=block.Value-1
  3359. end
  3360. end
  3361. end
  3362. end
  3363. if blocked==false then
  3364. -- h:TakeDamage(Damage)
  3365. h.Health=h.Health-Damage
  3366. showDamage(hit.Parent,Damage,.500,TorsoColor)
  3367. else
  3368. h.Health=h.Health-(Damage/2)
  3369. showDamage(hit.Parent,Damage/200,.500,BrickColor.new("Really black"))
  3370. end
  3371. if Type=="Knockdown" then
  3372. hum=hit.Parent.Humanoid
  3373. hum.PlatformStand=true
  3374. coroutine.resume(coroutine.create(function(HHumanoid)
  3375. swait(1)
  3376. HHumanoid.PlatformStand=false
  3377. end),hum)
  3378. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  3379. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3380. local bodvol=Instance.new("BodyVelocity")
  3381. bodvol.velocity=angle*knockback
  3382. bodvol.P=5000
  3383. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3384. bodvol.Parent=hit
  3385. rl=Instance.new("BodyAngularVelocity")
  3386. rl.P=3000
  3387. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3388. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  3389. rl.Parent=hit
  3390. game:GetService("Debris"):AddItem(bodvol,.5)
  3391. game:GetService("Debris"):AddItem(rl,.5)
  3392. elseif Type=="Normal" then
  3393. vp=Instance.new("BodyVelocity")
  3394. vp.P=500
  3395. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3396. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3397. if KnockbackType==1 then
  3398. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  3399. elseif KnockbackType==2 then
  3400. vp.velocity=Property.CFrame.lookVector*knockback
  3401. end
  3402. if knockback>0 then
  3403. vp.Parent=hit.Parent.Torso
  3404. end
  3405. game:GetService("Debris"):AddItem(vp,.5)
  3406. elseif Type=="Up" then
  3407. local bodyVelocity=Instance.new("BodyVelocity")
  3408. bodyVelocity.velocity=vt(0,10,0)
  3409. bodyVelocity.P=1000
  3410. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  3411. bodyVelocity.Parent=hit
  3412. game:GetService("Debris"):AddItem(bodyVelocity,1)
  3413. rl=Instance.new("BodyAngularVelocity")
  3414. rl.P=3000
  3415. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3416. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3417. rl.Parent=hit
  3418. game:GetService("Debris"):AddItem(rl,.5)
  3419. elseif Type=="Snare" then
  3420. bp=Instance.new("BodyPosition")
  3421. bp.P=2000
  3422. bp.D=100
  3423. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3424. bp.position=hit.Parent.Torso.Position
  3425. bp.Parent=hit.Parent.Torso
  3426. game:GetService("Debris"):AddItem(bp,1)
  3427. elseif Type=="Target" then
  3428. if Targetting==false then
  3429. ZTarget=hit.Parent.Torso
  3430. coroutine.resume(coroutine.create(function(Part)
  3431. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3432. swait(5)
  3433. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3434. end),ZTarget)
  3435. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  3436. targetgui=Instance.new("BillboardGui")
  3437. targetgui.Parent=ZTarget
  3438. targetgui.Size=UDim2.new(10,100,10,100)
  3439. targ=Instance.new("ImageLabel")
  3440. targ.Parent=targetgui
  3441. targ.BackgroundTransparency=1
  3442. targ.Image="rbxassetid://4834067"
  3443. targ.Size=UDim2.new(1,0,1,0)
  3444. cam.CameraType="Scriptable"
  3445. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3446. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3447. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3448. Targetting=true
  3449. RocketTarget=ZTarget
  3450. for i=1,Property do
  3451. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  3452. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  3453. swait()
  3454. end
  3455. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  3456. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3457. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3458. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  3459. end
  3460. Targetting=false
  3461. RocketTarget=nil
  3462. targetgui.Parent=nil
  3463. cam.CameraType="Custom"
  3464. end
  3465. end
  3466. debounce=Instance.new("BoolValue")
  3467. debounce.Name="DebounceHit"
  3468. debounce.Parent=hit.Parent
  3469. debounce.Value=true
  3470. game:GetService("Debris"):AddItem(debounce,Delay)
  3471. c=Instance.new("ObjectValue")
  3472. c.Name="creator"
  3473. c.Value=Player
  3474. c.Parent=h
  3475. game:GetService("Debris"):AddItem(c,.5)
  3476. CRIT=false
  3477. hitDeb=true
  3478. AttackPos=6
  3479. end
  3480. end
  3481.  
  3482. showDamage=function(Char,Dealt,du,Color)
  3483. m=Instance.new("Model")
  3484. m.Name=tostring(Dealt)
  3485. h=Instance.new("Humanoid")
  3486. h.Health=0
  3487. h.MaxHealth=0
  3488. h.Parent=m
  3489. c=Instance.new("Part")
  3490. c.Transparency=0
  3491. c.BrickColor=TorsoColor
  3492. c.Name="Head"
  3493. c.TopSurface=0
  3494. c.BottomSurface=0
  3495. c.formFactor="Plate"
  3496. c.Size=Vector3.new(1,.4,1)
  3497. ms=Instance.new("CylinderMesh")
  3498. ms.Scale=Vector3.new(.8,.8,.8)
  3499. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  3500. if CRIT==true then
  3501. ms.Scale=Vector3.new(1,1.25,1)
  3502. end
  3503. ms.Parent=c
  3504. c.Reflectance=0
  3505. Instance.new("BodyGyro").Parent=c
  3506. c.Parent=m
  3507. if Char:findFirstChild("Head")~=nil then
  3508. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3509. elseif Char.Parent:findFirstChild("Head")~=nil then
  3510. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3511. end
  3512. f=Instance.new("BodyPosition")
  3513. f.P=2000
  3514. f.D=100
  3515. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3516. f.position=c.Position+Vector3.new(0,3,0)
  3517. f.Parent=c
  3518. game:GetService("Debris"):AddItem(m,.5+du)
  3519. c.CanCollide=false
  3520. m.Parent=workspace
  3521. c.CanCollide=false
  3522. end
  3523.  
  3524. Player=game:GetService('Players').LocalPlayer
  3525. Character=Player.Character
  3526. Mouse=Player:GetMouse()
  3527. m=Instance.new('Model',Character)
  3528.  
  3529.  
  3530. local function weldBetween(a, b)
  3531. local weldd = Instance.new("ManualWeld")
  3532. weldd.Part0 = a
  3533. weldd.Part1 = b
  3534. weldd.C0 = CFrame.new()
  3535. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3536. weldd.Parent = a
  3537. return weldd
  3538. end
  3539.  
  3540. it=Instance.new
  3541.  
  3542. function nooutline(part)
  3543. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3544. end
  3545.  
  3546. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  3547. local fp=it("Part")
  3548. fp.formFactor=formfactor
  3549. fp.Parent=parent
  3550. fp.Reflectance=reflectance
  3551. fp.Transparency=transparency
  3552. fp.CanCollide=false
  3553. fp.Locked=true
  3554. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  3555. fp.Name=name
  3556. fp.Size=size
  3557. fp.Position=Character.Torso.Position
  3558. nooutline(fp)
  3559. fp.Material=material
  3560. fp:BreakJoints()
  3561. return fp
  3562. end
  3563.  
  3564. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3565. local mesh=it(Mesh)
  3566. mesh.Parent=part
  3567. if Mesh=="SpecialMesh" then
  3568. mesh.MeshType=meshtype
  3569. mesh.MeshId=meshid
  3570. end
  3571. mesh.Offset=offset
  3572. mesh.Scale=scale
  3573. return mesh
  3574. end
  3575.  
  3576. function weld(parent,part0,part1,c0,c1)
  3577. local weld=it("Weld")
  3578. weld.Parent=parent
  3579. weld.Part0=part0
  3580. weld.Part1=part1
  3581. weld.C0=c0
  3582. weld.C1=c1
  3583. return weld
  3584. end
  3585.  
  3586. local modelzorz=Instance.new("Model")
  3587. modelzorz.Parent=Character
  3588. modelzorz.Name="Claw1"
  3589.  
  3590. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  3591. 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))
  3592. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3593. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3594. 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))
  3595. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3596. 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))
  3597. 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))
  3598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3599. 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))
  3600. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3601. 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))
  3602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3603. 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))
  3604. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3605. 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))
  3606. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3607. 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))
  3608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3609. 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))
  3610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3611. 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))
  3612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3613. 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))
  3614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3615. 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))
  3616. 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))
  3617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3618. 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))
  3619. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3620. 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))
  3621. 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))
  3622. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  3623. 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))
  3624. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  3625. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3626. 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))
  3627. 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))
  3628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3629. 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))
  3630. 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))
  3631.  
  3632. local modelzorz2=Instance.new("Model")
  3633. modelzorz2.Parent=Character
  3634. modelzorz2.Name="Claw2"
  3635.  
  3636. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  3637. 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))
  3638. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3639. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3640. 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))
  3641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3642. 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))
  3643. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3644. 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))
  3645. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3646. 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))
  3647. 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))
  3648. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3649. 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))
  3650. 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))
  3651. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3652. 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))
  3653. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3654. 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))
  3655. 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))
  3656. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3657. 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))
  3658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3659. 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))
  3660. 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))
  3661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3662. 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))
  3663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  3664. 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))
  3665. 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))
  3666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3667. 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))
  3668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3669. 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))
  3670. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3671. 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))
  3672. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  3673. 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))
  3674. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  3675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  3676. 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))
  3677.  
  3678. local modelzorz3=Instance.new("Model")
  3679. modelzorz3.Parent=Character
  3680. modelzorz3.Name="Eye"
  3681.  
  3682. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  3683. 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))
  3684. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  3685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  3686. 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))
  3687. 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))
  3688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  3689. 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))
  3690. 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))
  3691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  3692. 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))
  3693. 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))
  3694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  3695. 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))
  3696. 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))
  3697. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3698. 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))
  3699. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3700. 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))
  3701. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3702. 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))
  3703. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  3704. 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))
  3705. local moosick = it("Sound",Character)
  3706. moosick.SoundId = "rbxassetid://185698490"
  3707. --142653441, 175067863, 167516514
  3708. moosick.Looped = true
  3709. moosick.Pitch = 1
  3710. moosick.Volume = 0
  3711. moosick:Play()
  3712.  
  3713. anim = Character:findFirstChild("Animate")
  3714. if anim then
  3715. anim:Destroy()
  3716. end
  3717.  
  3718. local particleemitter = Instance.new("ParticleEmitter", Handle)
  3719. particleemitter.VelocitySpread = 180
  3720. particleemitter.Lifetime = NumberRange.new(0.1)
  3721. particleemitter.Speed = NumberRange.new(2)
  3722. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  3723. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  3724. particleemitter.Rate = 100
  3725. particleemitter.Rotation = NumberRange.new(-45, 45)
  3726. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  3727. particleemitter.LightEmission = 0
  3728. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  3729.  
  3730. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  3731. particleemitter.VelocitySpread = 180
  3732. particleemitter.Lifetime = NumberRange.new(0.1)
  3733. particleemitter.Speed = NumberRange.new(2)
  3734. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  3735. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  3736. particleemitter.Rate = 100
  3737. particleemitter.Rotation = NumberRange.new(-45, 45)
  3738. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  3739. particleemitter.LightEmission = 0
  3740. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  3741.  
  3742. local particleemitter = Instance.new("ParticleEmitter", handle)
  3743. particleemitter.VelocitySpread = 180
  3744. particleemitter.Lifetime = NumberRange.new(0.1)
  3745. particleemitter.Speed = NumberRange.new(2)
  3746. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  3747. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  3748. particleemitter.Rate = 100
  3749. particleemitter.Rotation = NumberRange.new(-45, 45)
  3750. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  3751. particleemitter.LightEmission = 0.8
  3752. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  3753.  
  3754. local light = Instance.new("PointLight", Character.Torso)
  3755. light.Color = Color3.new(255,255,255)
  3756. light.Brightness = 5
  3757. light.Range = 15
  3758.  
  3759. particleemitter.Enabled = true
  3760.  
  3761. local Footsteps = it("Sound",Character.Torso)
  3762. Footsteps.SoundId = "rbxassetid://142665235"
  3763. Footsteps.Looped = true
  3764. Footsteps.Pitch = 0.8
  3765. Footsteps.Volume = 0.3
  3766.  
  3767. local Footsteps2 = it("Sound",Character.Torso)
  3768. Footsteps2.SoundId = "rbxassetid://142665235"
  3769. Footsteps2.Looped = true
  3770. Footsteps2.Pitch = 1
  3771. Footsteps2.Volume = 0.4
  3772.  
  3773. local cam = game.Workspace.CurrentCamera
  3774.  
  3775. --cam.CameraSubject = Character
  3776.  
  3777. for i,v in pairs(Head:children()) do
  3778. if v:IsA("Sound") then
  3779. v:Destroy()
  3780. end
  3781. end
  3782.  
  3783. mouse.Button1Down:connect(function()
  3784. if attack==false and attacktype==1 then
  3785. attacktype=2
  3786. attackone()
  3787. elseif attack==false and attacktype==2 then
  3788. attacktype=3
  3789. attacktwo()
  3790. elseif attack==false and attacktype==3 then
  3791. attacktype=4
  3792. attackthree()
  3793. elseif attack==false and attacktype==4 then
  3794. attacktype=1
  3795. attackfour()
  3796. end
  3797. end)
  3798.  
  3799. mouse.KeyDown:connect(function(k)
  3800. k=k:lower()
  3801. if k=='e' then
  3802. if attack==false and mana>=20 then
  3803. Push()
  3804. end
  3805. elseif k=='g' then
  3806. if attack==false and mana>=50 then
  3807. Twirl()
  3808. end
  3809. elseif k=='v' then
  3810. if attack==false and mana>=25 then
  3811. MagicJump()
  3812. end
  3813. elseif k=='q' then
  3814. if attack==false then
  3815. idle=1000
  3816. end
  3817. elseif k=='h' then
  3818. if attack==false then
  3819. mana=100
  3820. end
  3821. elseif k=='y' then
  3822. if attack==false and mana>=100 then
  3823. Shred()
  3824. end
  3825. elseif k=='f' then
  3826. if attack==false and mana>=40 then
  3827. Spin()
  3828. end
  3829. elseif k=='r' then
  3830. if attack==false and mana>=20 then
  3831. Clap()
  3832. end
  3833. elseif k=='t' then
  3834. if attack==false then
  3835. Hai()
  3836. end
  3837. elseif k=='0' then
  3838. if attack==false then
  3839. Humanoid.WalkSpeed=(40)
  3840. end
  3841. elseif k=='j' then
  3842. if attack==false then
  3843. Humanoid.Health = 10
  3844. print("Congrats, you commited suicide.")
  3845. end
  3846. end
  3847. end)
  3848.  
  3849. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3850. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3851. prt.Anchored=true
  3852. prt.CFrame=cframe
  3853. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3854. game:GetService("Debris"):AddItem(prt,2)
  3855. coroutine.resume(coroutine.create(function(Part,Mesh)
  3856. for i=0,1,delay do
  3857. wait()
  3858. Part.CFrame=Part.CFrame
  3859. Part.Transparency=i
  3860. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3861. end
  3862. Part.Parent=nil
  3863. end),prt,msh)
  3864. end
  3865.  
  3866. TrailDeb = false
  3867.  
  3868. function equipanim()
  3869. attack=true
  3870. Humanoid.WalkSpeed = 0
  3871. if TrailDeb == false then
  3872. TrailDeb = true
  3873. end
  3874.  
  3875.  
  3876. coroutine.wrap(function()
  3877. local Old = handle.CFrame.p
  3878. while wait()do
  3879. if not TrailDeb then break end
  3880. local New = handle.CFrame.p
  3881. local Mag =(Old -New).magnitude
  3882. local Dis =(Old +New)/2
  3883. local Trail = Instance.new("Part",Character)
  3884. Trail.Material = "Neon"
  3885. Trail.Anchored = true
  3886. Trail.CanCollide = false
  3887. Trail.BrickColor = TorsoColor
  3888. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3889. Trail.TopSurface = 0
  3890. Trail.BottomSurface = 0
  3891. Trail.formFactor = "Custom"
  3892. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3893. local ms = Instance.new("BlockMesh",Trail)
  3894. ms.Scale = Vector3.new(1,1,1)
  3895. local TM = Instance.new("CylinderMesh",Trail)
  3896. TM.Scale = Vector3.new(1,1,1)
  3897. Old = New
  3898. coroutine.wrap(function()
  3899. for i = 1,0,-0.1 do
  3900. wait()
  3901. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3902. end
  3903. Trail:remove()
  3904. end)()
  3905. coroutine.wrap(function()
  3906. for i = 1,10 do
  3907. wait()
  3908. Trail.Transparency = Trail.Transparency +0.1
  3909. end end)()end end)()
  3910. coroutine.wrap(function()
  3911. local Old = Handle.CFrame.p
  3912. while wait()do
  3913. if not TrailDeb then break end
  3914. local New = Handle.CFrame.p
  3915. local Mag =(Old -New).magnitude
  3916. local Dis =(Old +New)/2
  3917. local Trail = Instance.new("Part",Character)
  3918. Trail.Material = "Neon"
  3919. Trail.Anchored = true
  3920. Trail.CanCollide = false
  3921. Trail.BrickColor = TorsoColor
  3922. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3923. Trail.TopSurface = 0
  3924. Trail.BottomSurface = 0
  3925. Trail.formFactor = "Custom"
  3926. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3927. local ms = Instance.new("BlockMesh",Trail)
  3928. ms.Scale = Vector3.new(1,1,1)
  3929. local TM = Instance.new("CylinderMesh",Trail)
  3930. TM.Scale = Vector3.new(1,1,1)
  3931. Old = New
  3932. coroutine.wrap(function()
  3933. for i = 1,0,-0.1 do
  3934. wait()
  3935. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3936. end
  3937. Trail:remove()
  3938. end)()
  3939. coroutine.wrap(function()
  3940. for i = 1,10 do
  3941. wait()
  3942. Trail.Transparency = Trail.Transparency +0.1
  3943. end end)()end end)()
  3944. coroutine.wrap(function()
  3945. local Old = Handle2.CFrame.p
  3946. while wait()do
  3947. if not TrailDeb then break end
  3948. local New = Handle2.CFrame.p
  3949. local Mag =(Old -New).magnitude
  3950. local Dis =(Old +New)/2
  3951. local Trail = Instance.new("Part",Character)
  3952. Trail.Material = "Neon"
  3953. Trail.Anchored = true
  3954. Trail.CanCollide = false
  3955. Trail.BrickColor = TorsoColor
  3956. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3957. Trail.TopSurface = 0
  3958. Trail.BottomSurface = 0
  3959. Trail.formFactor = "Custom"
  3960. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3961. local ms = Instance.new("BlockMesh",Trail)
  3962. ms.Scale = Vector3.new(1,1,1)
  3963. local TM = Instance.new("CylinderMesh",Trail)
  3964. TM.Scale = Vector3.new(1,1,1)
  3965. Old = New
  3966. coroutine.wrap(function()
  3967. for i = 1,0,-0.1 do
  3968. wait()
  3969. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3970. end
  3971. Trail:remove()
  3972. end)()
  3973. coroutine.wrap(function()
  3974. for i = 1,10 do
  3975. wait()
  3976. Trail.Transparency = Trail.Transparency +0.1
  3977. end end)()end end)()
  3978. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  3979. for i=0,1,0.005 do
  3980. swait()
  3981. moosick.Volume = 0+1*i
  3982. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  3983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  3984. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  3985. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  3986. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  3987. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  3988. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  3989. end
  3990. for i=0,1,0.005 do
  3991. swait()
  3992. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  3993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  3994. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  3995. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  3996. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  3997. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  3998. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  3999. end
  4000. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  4001. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  4002. for i=0,1,0.005 do
  4003. swait()
  4004. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  4005. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  4006. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  4007. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  4008. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  4009. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  4010. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  4011. 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)
  4012. 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)
  4013. end
  4014. for i=0,1,0.04 do
  4015. swait()
  4016. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  4017. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4018. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4019. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4020. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  4021. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  4022. 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)
  4023. 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)
  4024. end
  4025. --dmgstop()
  4026. attack=false
  4027. Humanoid.WalkSpeed = 40
  4028. if TrailDeb == true then
  4029. TrailDeb = false
  4030. end
  4031. end
  4032.  
  4033. function attackone()
  4034. attack=true
  4035. if TrailDeb == false then
  4036. TrailDeb = true
  4037. end
  4038.  
  4039.  
  4040. coroutine.wrap(function()
  4041. local Old = Handle.CFrame.p
  4042. while wait()do
  4043. if not TrailDeb then break end
  4044. local New = Handle.CFrame.p
  4045. local Mag =(Old -New).magnitude
  4046. local Dis =(Old +New)/2
  4047. local Trail = Instance.new("Part",Character)
  4048. Trail.Material = "Neon"
  4049. Trail.Anchored = true
  4050. Trail.CanCollide = false
  4051. Trail.BrickColor = TorsoColor
  4052. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4053. Trail.TopSurface = 0
  4054. Trail.BottomSurface = 0
  4055. Trail.formFactor = "Custom"
  4056. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4057. local ms = Instance.new("BlockMesh",Trail)
  4058. ms.Scale = Vector3.new(1,1,1)
  4059. local TM = Instance.new("CylinderMesh",Trail)
  4060. TM.Scale = Vector3.new(1,1,1)
  4061. Old = New
  4062. coroutine.wrap(function()
  4063. for i = 1,0,-0.1 do
  4064. wait()
  4065. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4066. end
  4067. Trail:remove()
  4068. end)()
  4069. coroutine.wrap(function()
  4070. for i = 1,10 do
  4071. wait()
  4072. Trail.Transparency = Trail.Transparency +0.1
  4073. end end)()end end)()
  4074. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,100,200,math.random(200,400),"Normal",RootPart,.200,100) end)
  4075. for i=0,1,0.08 do
  4076. swait()
  4077. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  4078. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  4079. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4080. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  4081. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4082. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  4083. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4084. end
  4085. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  4086. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  4087. for i=0,1,0.1 do
  4088. swait()
  4089. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  4090. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4091. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4092. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  4093. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4094. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  4095. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4096. end
  4097. --dmgstop()
  4098. attack=false
  4099. con1:disconnect()
  4100. if TrailDeb == true then
  4101. TrailDeb = false
  4102. end
  4103. end
  4104.  
  4105. function attacktwo()
  4106. attack=true
  4107. if TrailDeb == false then
  4108. TrailDeb = true
  4109. end
  4110.  
  4111.  
  4112. coroutine.wrap(function()
  4113. local Old = Handle2.CFrame.p
  4114. while wait()do
  4115. if not TrailDeb then break end
  4116. local New = Handle2.CFrame.p
  4117. local Mag =(Old -New).magnitude
  4118. local Dis =(Old +New)/2
  4119. local Trail = Instance.new("Part",Character)
  4120. Trail.Material = "Neon"
  4121. Trail.Anchored = true
  4122. Trail.CanCollide = false
  4123. Trail.BrickColor = TorsoColor
  4124. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4125. Trail.TopSurface = 0
  4126. Trail.BottomSurface = 0
  4127. Trail.formFactor = "Custom"
  4128. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4129. local ms = Instance.new("BlockMesh",Trail)
  4130. ms.Scale = Vector3.new(1,1,1)
  4131. local TM = Instance.new("CylinderMesh",Trail)
  4132. TM.Scale = Vector3.new(1,1,1)
  4133. Old = New
  4134. coroutine.wrap(function()
  4135. for i = 1,0,-0.1 do
  4136. wait()
  4137. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4138. end
  4139. Trail:remove()
  4140. end)()
  4141. coroutine.wrap(function()
  4142. for i = 1,10 do
  4143. wait()
  4144. Trail.Transparency = Trail.Transparency +0.1
  4145. end end)()end end)()
  4146. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,100,200,math.random(200,400),"Normal",RootPart,.200,100) end)
  4147. for i=0,1,0.08 do
  4148. swait()
  4149. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  4150. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4151. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4152. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4153. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4154. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  4155. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  4156. end
  4157. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  4158. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  4159. for i=0,1,0.1 do
  4160. swait()
  4161. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4162. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  4163. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4164. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  4165. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4166. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  4167. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  4168. end
  4169. --dmgstop()
  4170. attack=false
  4171. con1:disconnect()
  4172. if TrailDeb == true then
  4173. TrailDeb = false
  4174. end
  4175. end
  4176.  
  4177. function attackthree()
  4178. attack=true
  4179. if TrailDeb == false then
  4180. TrailDeb = true
  4181. end
  4182.  
  4183.  
  4184. coroutine.wrap(function()
  4185. local Old = Handle.CFrame.p
  4186. while wait()do
  4187. if not TrailDeb then break end
  4188. local New = Handle.CFrame.p
  4189. local Mag =(Old -New).magnitude
  4190. local Dis =(Old +New)/2
  4191. local Trail = Instance.new("Part",Character)
  4192. Trail.Material = "Neon"
  4193. Trail.Anchored = true
  4194. Trail.CanCollide = false
  4195. Trail.BrickColor = TorsoColor
  4196. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4197. Trail.TopSurface = 0
  4198. Trail.BottomSurface = 0
  4199. Trail.formFactor = "Custom"
  4200. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4201. local ms = Instance.new("BlockMesh",Trail)
  4202. ms.Scale = Vector3.new(1,1,1)
  4203. local TM = Instance.new("CylinderMesh",Trail)
  4204. TM.Scale = Vector3.new(1,1,1)
  4205. Old = New
  4206. coroutine.wrap(function()
  4207. for i = 1,0,-0.1 do
  4208. wait()
  4209. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4210. end
  4211. Trail:remove()
  4212. end)()
  4213. coroutine.wrap(function()
  4214. for i = 1,10 do
  4215. wait()
  4216. Trail.Transparency = Trail.Transparency +0.1
  4217. end end)()end end)()
  4218. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,100,200,math.random(500,400),"Up",RootPart,.2000,100000) end)
  4219. for i=0,1,0.08 do
  4220. swait()
  4221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4222. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  4223. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4224. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  4225. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4226. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  4227. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4228. end
  4229. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  4230. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  4231. for i=0,1,0.05 do
  4232. swait()
  4233. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4234. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4235. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4236. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  4237. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4238. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  4239. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4240. end
  4241. --dmgstop()
  4242. attack=false
  4243. con1:disconnect()
  4244. if TrailDeb == true then
  4245. TrailDeb = false
  4246. end
  4247. end
  4248.  
  4249. function attackfour()
  4250. attack=true
  4251. if TrailDeb == false then
  4252. TrailDeb = true
  4253. end
  4254.  
  4255.  
  4256. coroutine.wrap(function()
  4257. local Old = Handle2.CFrame.p
  4258. while wait()do
  4259. if not TrailDeb then break end
  4260. local New = Handle2.CFrame.p
  4261. local Mag =(Old -New).magnitude
  4262. local Dis =(Old +New)/2
  4263. local Trail = Instance.new("Part",Character)
  4264. Trail.Material = "Neon"
  4265. Trail.Anchored = true
  4266. Trail.CanCollide = false
  4267. Trail.BrickColor = TorsoColor
  4268. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4269. Trail.TopSurface = 0
  4270. Trail.BottomSurface = 0
  4271. Trail.formFactor = "Custom"
  4272. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4273. local ms = Instance.new("BlockMesh",Trail)
  4274. ms.Scale = Vector3.new(1,1,1)
  4275. local TM = Instance.new("CylinderMesh",Trail)
  4276. TM.Scale = Vector3.new(1,1,1)
  4277. Old = New
  4278. coroutine.wrap(function()
  4279. for i = 1,0,-0.1 do
  4280. wait()
  4281. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4282. end
  4283. Trail:remove()
  4284. end)()
  4285. coroutine.wrap(function()
  4286. for i = 1,10 do
  4287. wait()
  4288. Trail.Transparency = Trail.Transparency +0.1
  4289. end end)()end end)()
  4290. coroutine.wrap(function()
  4291. local Old = Handle.CFrame.p
  4292. while wait()do
  4293. if not TrailDeb then break end
  4294. local New = Handle.CFrame.p
  4295. local Mag =(Old -New).magnitude
  4296. local Dis =(Old +New)/2
  4297. local Trail = Instance.new("Part",Character)
  4298. Trail.Material = "Neon"
  4299. Trail.Anchored = true
  4300. Trail.CanCollide = false
  4301. Trail.BrickColor = TorsoColor
  4302. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4303. Trail.TopSurface = 0
  4304. Trail.BottomSurface = 0
  4305. Trail.formFactor = "Custom"
  4306. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4307. local ms = Instance.new("BlockMesh",Trail)
  4308. ms.Scale = Vector3.new(1,1,1)
  4309. local TM = Instance.new("CylinderMesh",Trail)
  4310. TM.Scale = Vector3.new(1,1,1)
  4311. Old = New
  4312. coroutine.wrap(function()
  4313. for i = 1,0,-0.1 do
  4314. wait()
  4315. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4316. end
  4317. Trail:remove()
  4318. end)()
  4319. coroutine.wrap(function()
  4320. for i = 1,10 do
  4321. wait()
  4322. Trail.Transparency = Trail.Transparency +0.1
  4323. end end)()end end)()
  4324. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  4325. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,109999,20999,math.random(200,40),"Normal",RootPart,.290,114) end)
  4326. for i=0,1,0.08 do
  4327. swait()
  4328. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  4329. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4330. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4331. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4332. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  4333. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  4334. 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)
  4335. 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)
  4336. end
  4337. if anim then
  4338. anim.Disabled=true
  4339. end
  4340. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  4341. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  4342. for i=0,1,0.04 do
  4343. swait()
  4344. Torso.Velocity=RootPart.CFrame.lookVector*50
  4345. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  4346. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4347. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4348. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4349. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4350. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4351. 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)
  4352. 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)
  4353. end
  4354. --dmgstop()
  4355. attack=false
  4356. con1:disconnect()
  4357. con2:disconnect()
  4358. if anim then
  4359. anim.Disabled=false
  4360. end
  4361. if TrailDeb == true then
  4362. TrailDeb = false
  4363. end
  4364. end
  4365.  
  4366. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  4367. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4368. prt.Anchored = true
  4369. prt.CFrame = cframe
  4370. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  4371. coroutine.resume(coroutine.create(function()
  4372. for i = 0, 1, 0.05 do
  4373. wait()
  4374. prt.Transparency = i
  4375. msh.Scale = msh.Scale + vt(x2, y2, z2)
  4376. end
  4377. prt.Parent = nil
  4378. end))
  4379. end
  4380.  
  4381. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  4382. for _, c in pairs(workspace:children()) do
  4383. local hum = c:findFirstChild("Humanoid")
  4384. if hum ~= nil then
  4385. local head = c:findFirstChild("Torso")
  4386. if head ~= nil then
  4387. local targ = head.Position - Part.Position
  4388. local mag = targ.magnitude
  4389. if mag <= magni and c.Name ~= Player.Name then
  4390. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .212, 112, 312)
  4391. end
  4392. end
  4393. end
  4394. end
  4395. end
  4396.  
  4397. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4398. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4399. prt.Anchored = true
  4400. prt.CFrame = cframe
  4401. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  4402. game:GetService("Debris"):AddItem(prt, 2)
  4403. coroutine.resume(coroutine.create(function(Part, Mesh)
  4404. for i = 0, 1, delay do
  4405. swait()
  4406. Part.CFrame = Part.CFrame
  4407. Part.Transparency = i
  4408. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  4409. end
  4410. Part.Parent = nil
  4411. end), prt, msh)
  4412. end
  4413.  
  4414. function MagicJump()
  4415. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  4416. attack=true
  4417. mana=mana-25
  4418. --[[ Humanoid.WalkSpeed = 0
  4419. for i=0,1,0.01 do
  4420. swait()
  4421. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  4422. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  4423. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  4424. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  4425. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  4426. 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)
  4427. 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)
  4428. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  4429. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  4430. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  4431. end]]--
  4432. Humanoid.Jump = true
  4433. Torso.Velocity = vt(0, 150, 0)
  4434. Humanoid.WalkSpeed = 64
  4435. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  4436. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  4437. for i=0,1,0.05 do
  4438. swait()
  4439. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  4440. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4441. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  4442. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  4443. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  4444. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  4445. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  4446. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  4447. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  4448. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  4449. end
  4450. for i=0,1,0.02 do
  4451. swait()
  4452. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  4453. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  4455. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  4456. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4457. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  4458. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  4459. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  4460. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  4461. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4462. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  4463. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  4464. end
  4465. Humanoid.WalkSpeed = 0
  4466. swait(8)
  4467. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  4468. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  4469. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  4470. if hit~=nil then
  4471. swait(2)
  4472. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  4473. ref.Anchored=true
  4474. ref.CFrame=cf(pos)
  4475. game:GetService("Debris"):AddItem(ref,3)
  4476. for i=1,10 do
  4477. local Col=BrickColor.new("Really black")
  4478. 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))
  4479. groundpart.Anchored=true
  4480. groundpart.CanCollide=false
  4481. 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))
  4482. local Col2=TorsoColor
  4483. 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))
  4484. groundpart2.Anchored=true
  4485. groundpart2.CanCollide=false
  4486. 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))
  4487. game:GetService("Debris"):AddItem(groundpart,5)
  4488. game:GetService("Debris"):AddItem(groundpart2,5)
  4489. end
  4490. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  4491. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  4492. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  4493. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  4494. for i=0,1,0.06 do
  4495. swait()
  4496. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  4497. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  4498. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  4499. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  4500. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  4501. 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)
  4502. 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)
  4503. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4504. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  4505. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  4506. end
  4507. end
  4508. swait(20)
  4509. Humanoid.WalkSpeed = 12
  4510. --dmgstop()
  4511. attack=false
  4512. end
  4513. end
  4514.  
  4515. function Spin()
  4516. attack=true
  4517. mana=mana-40
  4518. if TrailDeb == false then
  4519. TrailDeb = true
  4520. end
  4521.  
  4522. coroutine.wrap(function()
  4523. local Old = Handle2.CFrame.p
  4524. while wait()do
  4525. if not TrailDeb then break end
  4526. local New = Handle2.CFrame.p
  4527. local Mag =(Old -New).magnitude
  4528. local Dis =(Old +New)/2
  4529. local Trail = Instance.new("Part",Character)
  4530. Trail.Material = "Neon"
  4531. Trail.Anchored = true
  4532. Trail.CanCollide = false
  4533. Trail.BrickColor = TorsoColor
  4534. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4535. Trail.TopSurface = 0
  4536. Trail.BottomSurface = 0
  4537. Trail.formFactor = "Custom"
  4538. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4539. local ms = Instance.new("BlockMesh",Trail)
  4540. ms.Scale = Vector3.new(1,1,1)
  4541. local TM = Instance.new("CylinderMesh",Trail)
  4542. TM.Scale = Vector3.new(1,1,1)
  4543. Old = New
  4544. coroutine.wrap(function()
  4545. for i = 1,0,-0.1 do
  4546. wait()
  4547. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4548. end
  4549. Trail:remove()
  4550. end)()
  4551. coroutine.wrap(function()
  4552. for i = 1,10 do
  4553. wait()
  4554. Trail.Transparency = Trail.Transparency +0.1
  4555. end end)()end end)()
  4556. coroutine.wrap(function()
  4557. local Old = Handle.CFrame.p
  4558. while wait()do
  4559. if not TrailDeb then break end
  4560. local New = Handle.CFrame.p
  4561. local Mag =(Old -New).magnitude
  4562. local Dis =(Old +New)/2
  4563. local Trail = Instance.new("Part",Character)
  4564. Trail.Material = "Neon"
  4565. Trail.Anchored = true
  4566. Trail.CanCollide = false
  4567. Trail.BrickColor = TorsoColor
  4568. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4569. Trail.TopSurface = 0
  4570. Trail.BottomSurface = 0
  4571. Trail.formFactor = "Custom"
  4572. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4573. local ms = Instance.new("BlockMesh",Trail)
  4574. ms.Scale = Vector3.new(1,1,1)
  4575. local TM = Instance.new("CylinderMesh",Trail)
  4576. TM.Scale = Vector3.new(1,1,1)
  4577. Old = New
  4578. coroutine.wrap(function()
  4579. for i = 1,0,-0.1 do
  4580. wait()
  4581. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4582. end
  4583. Trail:remove()
  4584. end)()
  4585. coroutine.wrap(function()
  4586. for i = 1,10 do
  4587. wait()
  4588. Trail.Transparency = Trail.Transparency +0.1
  4589. end end)()end end)()
  4590. Footsteps:Stop()
  4591. Footsteps2:Stop()
  4592. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,212,302,math.random(212,4012),"Normal",RootPart,.212,112) end)
  4593. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,212,3012,math.random(2012,4012),"Normal",RootPart,.212,112) end)
  4594. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  4595. for i=0,1,0.1 do
  4596. swait()
  4597. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4598. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4599. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4600. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4601. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4602. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4603. end
  4604. if anim then
  4605. anim.Disabled=true
  4606. end
  4607. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  4608. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  4609. for i=0,1,0.05 do
  4610. swait()
  4611. Torso.Velocity=RootPart.CFrame.lookVector*100
  4612. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  4613. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4614. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4615. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4616. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4617. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4618. end
  4619. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  4620. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  4621. for i=0,1,0.05 do
  4622. swait()
  4623. Torso.Velocity=RootPart.CFrame.lookVector*100
  4624. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  4625. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4626. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4627. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4628. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4629. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4630. end
  4631. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  4632. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  4633. for i=0,1,0.05 do
  4634. swait()
  4635. Torso.Velocity=RootPart.CFrame.lookVector*100
  4636. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  4637. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4638. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4639. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4640. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4641. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4642. end
  4643. --dmgstop()
  4644. Humanoid.WalkSpeed=12
  4645. attack=false
  4646. con1:disconnect()
  4647. con2:disconnect()
  4648. if anim then
  4649. anim.Disabled=false
  4650. end
  4651. if TrailDeb == true then
  4652. TrailDeb = false
  4653. end
  4654. end
  4655.  
  4656. function Twirl()
  4657. mana=mana-50
  4658. attack=true
  4659. if TrailDeb == false then
  4660. TrailDeb = true
  4661. end
  4662.  
  4663.  
  4664. coroutine.wrap(function()
  4665. local Old = Handle2.CFrame.p
  4666. while wait()do
  4667. if not TrailDeb then break end
  4668. local New = Handle2.CFrame.p
  4669. local Mag =(Old -New).magnitude
  4670. local Dis =(Old +New)/2
  4671. local Trail = Instance.new("Part",Character)
  4672. Trail.Material = "Neon"
  4673. Trail.Anchored = true
  4674. Trail.CanCollide = false
  4675. Trail.BrickColor = TorsoColor
  4676. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4677. Trail.TopSurface = 0
  4678. Trail.BottomSurface = 0
  4679. Trail.formFactor = "Custom"
  4680. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4681. local ms = Instance.new("BlockMesh",Trail)
  4682. ms.Scale = Vector3.new(1,1,1)
  4683. local TM = Instance.new("CylinderMesh",Trail)
  4684. TM.Scale = Vector3.new(1,1,1)
  4685. Old = New
  4686. coroutine.wrap(function()
  4687. for i = 1,0,-0.1 do
  4688. wait()
  4689. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4690. end
  4691. Trail:remove()
  4692. end)()
  4693. coroutine.wrap(function()
  4694. for i = 1,10 do
  4695. wait()
  4696. Trail.Transparency = Trail.Transparency +0.1
  4697. end end)()end end)()
  4698. coroutine.wrap(function()
  4699. local Old = Handle.CFrame.p
  4700. while wait()do
  4701. if not TrailDeb then break end
  4702. local New = Handle.CFrame.p
  4703. local Mag =(Old -New).magnitude
  4704. local Dis =(Old +New)/2
  4705. local Trail = Instance.new("Part",Character)
  4706. Trail.Material = "Neon"
  4707. Trail.Anchored = true
  4708. Trail.CanCollide = false
  4709. Trail.BrickColor = TorsoColor
  4710. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4711. Trail.TopSurface = 0
  4712. Trail.BottomSurface = 0
  4713. Trail.formFactor = "Custom"
  4714. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4715. local ms = Instance.new("BlockMesh",Trail)
  4716. ms.Scale = Vector3.new(1,1,1)
  4717. local TM = Instance.new("CylinderMesh",Trail)
  4718. TM.Scale = Vector3.new(1,1,1)
  4719. Old = New
  4720. coroutine.wrap(function()
  4721. for i = 1,0,-0.1 do
  4722. wait()
  4723. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4724. end
  4725. Trail:remove()
  4726. end)()
  4727. coroutine.wrap(function()
  4728. for i = 1,10 do
  4729. wait()
  4730. Trail.Transparency = Trail.Transparency +0.1
  4731. end end)()end end)()
  4732. Footsteps:Stop()
  4733. Footsteps2:Stop()
  4734. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,201212,301212,math.random(201212,4012),"Normal",RootPart,.21212,11212) end)
  4735. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,201212,301212,math.random(201212,4012),"Normal",RootPart,.21212,11212) end)
  4736. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  4737. for i=0,1,0.1 do
  4738. swait()
  4739. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4740. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4741. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4742. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4743. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4744. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4745. end
  4746. if anim then
  4747. anim.Disabled=true
  4748. end
  4749. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  4750. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  4751. for i=0,1,0.05 do
  4752. swait()
  4753. Torso.Velocity=RootPart.CFrame.lookVector*80
  4754. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  4755. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4756. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4757. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4758. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4759. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4760. end
  4761. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  4762. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  4763. for i=0,1,0.05 do
  4764. swait()
  4765. Torso.Velocity=RootPart.CFrame.lookVector*80
  4766. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  4767. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4768. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4769. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4770. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4771. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4772. end
  4773. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  4774. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  4775. for i=0,1,0.05 do
  4776. swait()
  4777. Torso.Velocity=RootPart.CFrame.lookVector*80
  4778. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  4779. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4780. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4781. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4782. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4783. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4784. end
  4785. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  4786. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  4787. for i=0,1,0.05 do
  4788. swait()
  4789. Torso.Velocity=RootPart.CFrame.lookVector*80
  4790. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  4791. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4792. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4793. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4794. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4795. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4796. end
  4797. --dmgstop()
  4798. Humanoid.WalkSpeed=12
  4799. attack=false
  4800. con1:disconnect()
  4801. con2:disconnect()
  4802. if anim then
  4803. anim.Disabled=false
  4804. end
  4805. if TrailDeb == true then
  4806. TrailDeb = false
  4807. end
  4808. end
  4809.  
  4810. function Shred()
  4811. attack=true
  4812. mana=mana-100
  4813. if TrailDeb == false then
  4814. TrailDeb = true
  4815. end
  4816.  
  4817.  
  4818. coroutine.wrap(function()
  4819. local Old = Handle2.CFrame.p
  4820. while wait()do
  4821. if not TrailDeb then break end
  4822. local New = Handle2.CFrame.p
  4823. local Mag =(Old -New).magnitude
  4824. local Dis =(Old +New)/2
  4825. local Trail = Instance.new("Part",Character)
  4826. Trail.Material = "Neon"
  4827. Trail.Anchored = true
  4828. Trail.CanCollide = false
  4829. Trail.BrickColor = TorsoColor
  4830. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4831. Trail.TopSurface = 0
  4832. Trail.BottomSurface = 0
  4833. Trail.formFactor = "Custom"
  4834. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4835. local ms = Instance.new("BlockMesh",Trail)
  4836. ms.Scale = Vector3.new(1,1,1)
  4837. local TM = Instance.new("CylinderMesh",Trail)
  4838. TM.Scale = Vector3.new(1,1,1)
  4839. Old = New
  4840. coroutine.wrap(function()
  4841. for i = 1,0,-0.1 do
  4842. wait()
  4843. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4844. end
  4845. Trail:remove()
  4846. end)()
  4847. coroutine.wrap(function()
  4848. for i = 1,10 do
  4849. wait()
  4850. Trail.Transparency = Trail.Transparency +0.1
  4851. end end)()end end)()
  4852. coroutine.wrap(function()
  4853. local Old = Handle.CFrame.p
  4854. while wait()do
  4855. if not TrailDeb then break end
  4856. local New = Handle.CFrame.p
  4857. local Mag =(Old -New).magnitude
  4858. local Dis =(Old +New)/2
  4859. local Trail = Instance.new("Part",Character)
  4860. Trail.Material = "Neon"
  4861. Trail.Anchored = true
  4862. Trail.CanCollide = false
  4863. Trail.BrickColor = TorsoColor
  4864. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4865. Trail.TopSurface = 0
  4866. Trail.BottomSurface = 0
  4867. Trail.formFactor = "Custom"
  4868. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4869. local ms = Instance.new("BlockMesh",Trail)
  4870. ms.Scale = Vector3.new(1,1,1)
  4871. local TM = Instance.new("CylinderMesh",Trail)
  4872. TM.Scale = Vector3.new(1,1,1)
  4873. Old = New
  4874. coroutine.wrap(function()
  4875. for i = 1,0,-0.1 do
  4876. wait()
  4877. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4878. end
  4879. Trail:remove()
  4880. end)()
  4881. coroutine.wrap(function()
  4882. for i = 1,10 do
  4883. wait()
  4884. Trail.Transparency = Trail.Transparency +0.1
  4885. end end)()end end)()
  4886. Footsteps:Stop()
  4887. Footsteps2:Stop()
  4888. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,3022,402,math.random(202,402),"Normal",RootPart,.2,1) end)
  4889. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,3022,420,math.random(202,402),"Normal",RootPart,.2,1) end)
  4890. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  4891. for i=0,1,0.1 do
  4892. swait()
  4893. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4894. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4895. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4896. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4897. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4898. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4899. end
  4900. if anim then
  4901. anim.Disabled=true
  4902. end
  4903. for i=0,1,0.05 do
  4904. swait()
  4905. Torso.Velocity=RootPart.CFrame.lookVector*20
  4906. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  4907. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  4908. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  4909. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4910. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4911. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4912. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4913. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4914. end
  4915. for i=0,1,0.05 do
  4916. swait()
  4917. Torso.Velocity=RootPart.CFrame.lookVector*40
  4918. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  4919. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  4920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  4921. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4922. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4923. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4924. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4925. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4926. end
  4927. for i=0,1,0.05 do
  4928. swait()
  4929. Torso.Velocity=RootPart.CFrame.lookVector*60
  4930. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  4931. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  4932. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  4933. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4934. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4935. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4936. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4937. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4938. end
  4939. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  4940. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  4941. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  4942. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  4943. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  4944. for i=0,1,0.05 do
  4945. swait()
  4946. Torso.Velocity=RootPart.CFrame.lookVector*80
  4947. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  4948. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4949. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4950. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4951. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4952. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4953. end
  4954. for i=0,1,0.005 do
  4955. swait()
  4956. Torso.Velocity=RootPart.CFrame.lookVector*100
  4957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  4958. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4959. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4960. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4961. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4962. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4963. end
  4964. --dmgstop()
  4965. Humanoid.WalkSpeed=12
  4966. attack=false
  4967. con1:disconnect()
  4968. con2:disconnect()
  4969. if anim then
  4970. anim.Disabled=false
  4971. end
  4972. if TrailDeb == true then
  4973. TrailDeb = false
  4974. end
  4975. end
  4976.  
  4977. function Push()
  4978. attack=true
  4979. mana=mana-20
  4980. if TrailDeb == false then
  4981. TrailDeb = true
  4982. end
  4983.  
  4984.  
  4985. coroutine.wrap(function()
  4986. local Old = Handle2.CFrame.p
  4987. while wait()do
  4988. if not TrailDeb then break end
  4989. local New = Handle2.CFrame.p
  4990. local Mag =(Old -New).magnitude
  4991. local Dis =(Old +New)/2
  4992. local Trail = Instance.new("Part",Character)
  4993. Trail.Material = "Neon"
  4994. Trail.Anchored = true
  4995. Trail.CanCollide = false
  4996. Trail.BrickColor = TorsoColor
  4997. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4998. Trail.TopSurface = 0
  4999. Trail.BottomSurface = 0
  5000. Trail.formFactor = "Custom"
  5001. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5002. local ms = Instance.new("BlockMesh",Trail)
  5003. ms.Scale = Vector3.new(1,1,1)
  5004. local TM = Instance.new("CylinderMesh",Trail)
  5005. TM.Scale = Vector3.new(1,1,1)
  5006. Old = New
  5007. coroutine.wrap(function()
  5008. for i = 1,0,-0.1 do
  5009. wait()
  5010. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5011. end
  5012. Trail:remove()
  5013. end)()
  5014. coroutine.wrap(function()
  5015. for i = 1,10 do
  5016. wait()
  5017. Trail.Transparency = Trail.Transparency +0.1
  5018. end end)()end end)()
  5019. coroutine.wrap(function()
  5020. local Old = Handle.CFrame.p
  5021. while wait()do
  5022. if not TrailDeb then break end
  5023. local New = Handle.CFrame.p
  5024. local Mag =(Old -New).magnitude
  5025. local Dis =(Old +New)/2
  5026. local Trail = Instance.new("Part",Character)
  5027. Trail.Material = "Neon"
  5028. Trail.Anchored = true
  5029. Trail.CanCollide = false
  5030. Trail.BrickColor = TorsoColor
  5031. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5032. Trail.TopSurface = 0
  5033. Trail.BottomSurface = 0
  5034. Trail.formFactor = "Custom"
  5035. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5036. local ms = Instance.new("BlockMesh",Trail)
  5037. ms.Scale = Vector3.new(1,1,1)
  5038. local TM = Instance.new("CylinderMesh",Trail)
  5039. TM.Scale = Vector3.new(1,1,1)
  5040. Old = New
  5041. coroutine.wrap(function()
  5042. for i = 1,0,-0.1 do
  5043. wait()
  5044. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5045. end
  5046. Trail:remove()
  5047. end)()
  5048. coroutine.wrap(function()
  5049. for i = 1,10 do
  5050. wait()
  5051. Trail.Transparency = Trail.Transparency +0.1
  5052. end end)()end end)()
  5053. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,101,201,math.random(201,401),"Normal",RootPart,.21,11) end)
  5054. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,101,201,math.random(201,401),"Normal",RootPart,.21,11) end)
  5055. for i=0,1,0.1 do
  5056. swait()
  5057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5058. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5059. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5060. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5061. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5062. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  5063. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  5064. end
  5065. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  5066. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5067. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  5068. for i=0,1,0.1 do
  5069. swait()
  5070. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5071. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5072. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5073. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5074. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5075. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  5076. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  5077. end
  5078. --dmgstop()
  5079. attack=false
  5080. con1:disconnect()
  5081. con2:disconnect()
  5082. if TrailDeb == true then
  5083. TrailDeb = false
  5084. end
  5085. end
  5086.  
  5087. function Clap()
  5088. attack=true
  5089. mana=mana-20
  5090. if TrailDeb == false then
  5091. TrailDeb = true
  5092. end
  5093.  
  5094.  
  5095. coroutine.wrap(function()
  5096. local Old = Handle2.CFrame.p
  5097. while wait()do
  5098. if not TrailDeb then break end
  5099. local New = Handle2.CFrame.p
  5100. local Mag =(Old -New).magnitude
  5101. local Dis =(Old +New)/2
  5102. local Trail = Instance.new("Part",Character)
  5103. Trail.Material = "Neon"
  5104. Trail.Anchored = true
  5105. Trail.CanCollide = false
  5106. Trail.BrickColor = TorsoColor
  5107. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5108. Trail.TopSurface = 0
  5109. Trail.BottomSurface = 0
  5110. Trail.formFactor = "Custom"
  5111. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5112. local ms = Instance.new("BlockMesh",Trail)
  5113. ms.Scale = Vector3.new(1,1,1)
  5114. local TM = Instance.new("CylinderMesh",Trail)
  5115. TM.Scale = Vector3.new(1,1,1)
  5116. Old = New
  5117. coroutine.wrap(function()
  5118. for i = 1,0,-0.1 do
  5119. wait()
  5120. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5121. end
  5122. Trail:remove()
  5123. end)()
  5124. coroutine.wrap(function()
  5125. for i = 1,10 do
  5126. wait()
  5127. Trail.Transparency = Trail.Transparency +0.1
  5128. end end)()end end)()
  5129. coroutine.wrap(function()
  5130. local Old = Handle.CFrame.p
  5131. while wait()do
  5132. if not TrailDeb then break end
  5133. local New = Handle.CFrame.p
  5134. local Mag =(Old -New).magnitude
  5135. local Dis =(Old +New)/2
  5136. local Trail = Instance.new("Part",Character)
  5137. Trail.Material = "Neon"
  5138. Trail.Anchored = true
  5139. Trail.CanCollide = false
  5140. Trail.BrickColor = TorsoColor
  5141. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5142. Trail.TopSurface = 0
  5143. Trail.BottomSurface = 0
  5144. Trail.formFactor = "Custom"
  5145. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5146. local ms = Instance.new("BlockMesh",Trail)
  5147. ms.Scale = Vector3.new(1,1,1)
  5148. local TM = Instance.new("CylinderMesh",Trail)
  5149. TM.Scale = Vector3.new(1,1,1)
  5150. Old = New
  5151. coroutine.wrap(function()
  5152. for i = 1,0,-0.1 do
  5153. wait()
  5154. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5155. end
  5156. Trail:remove()
  5157. end)()
  5158. coroutine.wrap(function()
  5159. for i = 1,10 do
  5160. wait()
  5161. Trail.Transparency = Trail.Transparency +0.1
  5162. end end)()end end)()
  5163. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,220,3220,math.random(220,420),"Normal",RootPart,.2,1) end)
  5164. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,220,320,math.random(220,420),"Normal",RootPart,.2,1) end)
  5165. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  5166. for i=0,1,0.08 do
  5167. swait()
  5168. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5169. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5170. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5171. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  5172. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  5173. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  5174. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  5175. end
  5176. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  5177. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5178. for i=0,1,0.08 do
  5179. swait()
  5180. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5181. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5182. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5183. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  5184. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  5185. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  5186. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  5187. end
  5188. --dmgstop()
  5189. attack=false
  5190. con1:disconnect()
  5191. con2:disconnect()
  5192. if TrailDeb == true then
  5193. TrailDeb = false
  5194. end
  5195. end
  5196.  
  5197. function Hai()
  5198. attack=true
  5199. Humanoid.WalkSpeed=0
  5200. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  5201. for i=0,1,0.1 do
  5202. swait()
  5203. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5204. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5205. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5206. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5207. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5208. 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)
  5209. 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)
  5210. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5211. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5212. end
  5213. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  5214. for i=0,1,0.1 do
  5215. swait()
  5216. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5217. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5218. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5219. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  5220. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5221. 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)
  5222. 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)
  5223. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  5224. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5225. end
  5226. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5227. for i=0,1,0.1 do
  5228. swait()
  5229. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5230. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5231. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5232. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5233. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5234. 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)
  5235. 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)
  5236. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5237. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5238.  
  5239. end
  5240. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  5241. for i=0,1,0.1 do
  5242. swait()
  5243. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5244. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5245. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5246. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  5247. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5248. 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)
  5249. 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)
  5250. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  5251. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5252. end
  5253. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5254. for i=0,1,0.1 do
  5255. swait()
  5256. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5257. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5258. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5259. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5260. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5261. 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)
  5262. 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)
  5263. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5264. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5265. end
  5266. --dmgstop()
  5267. Humanoid.WalkSpeed=12
  5268. attack=false
  5269. end
  5270.  
  5271. function Die()
  5272. attack=true
  5273. Footsteps:Stop()
  5274. Footsteps2:Stop()
  5275. local Fire = it("Sound",Character.Torso)
  5276. Fire.SoundId = "rbxassetid://192104941"
  5277. Fire.Looped = true
  5278. Fire.Pitch = 1
  5279. Fire.Volume = 1
  5280. local Fire2 = it("Sound",Handle2)
  5281. Fire2.SoundId = "rbxassetid://192104941"
  5282. Fire2.Looped = true
  5283. Fire2.Pitch = 1
  5284. Fire2.Volume = 1
  5285. local Fire3 = it("Sound",Handle)
  5286. Fire3.SoundId = "rbxassetid://192104941"
  5287. Fire3.Looped = true
  5288. Fire3.Pitch = 1
  5289. Fire3.Volume = 1
  5290. local Fire4 = it("Sound",handle)
  5291. Fire4.SoundId = "rbxassetid://192104941"
  5292. Fire4.Looped = true
  5293. Fire4.Pitch = 1
  5294. Fire4.Volume = 1
  5295. local fire = Instance.new("ParticleEmitter", Character.Torso)
  5296. fire.Lifetime = NumberRange.new(0.5)
  5297. fire.Speed = NumberRange.new(1, 3)
  5298. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  5299. fire.Rate = 0
  5300. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5301. fire.LightEmission = 0.6
  5302. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  5303. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5304. local fire2 = Instance.new("ParticleEmitter", Handle)
  5305. fire2.Lifetime = NumberRange.new(0.5)
  5306. fire2.Speed = NumberRange.new(1, 3)
  5307. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  5308. fire2.Rate = 0
  5309. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5310. fire2.LightEmission = 0.6
  5311. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  5312. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5313. local fire3 = Instance.new("ParticleEmitter", Handle2)
  5314. fire3.Lifetime = NumberRange.new(0.5)
  5315. fire3.Speed = NumberRange.new(1, 3)
  5316. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  5317. fire3.Rate = 0
  5318. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5319. fire3.LightEmission = 0.6
  5320. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  5321. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5322. local fire4 = Instance.new("ParticleEmitter", handle)
  5323. fire4.Lifetime = NumberRange.new(0.5)
  5324. fire4.Speed = NumberRange.new(1, 3)
  5325. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  5326. fire4.Rate = 0
  5327. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5328. fire4.LightEmission = 0.6
  5329. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  5330. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5331. Humanoid.WalkSpeed = 0
  5332. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  5333. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  5334. for i=0,1,0.08 do
  5335. swait()
  5336. Torso.Velocity=RootPart.CFrame.lookVector*-30
  5337. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  5338. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  5339. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5340. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5341. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5342. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  5343. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  5344. 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)
  5345. 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)
  5346. end
  5347. for i=0,1,0.005 do
  5348. swait()
  5349. moosick.Volume=1-2*i
  5350. light.Range=15-10*i
  5351. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5352. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5353. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5354. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5355. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5356. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5357. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5358. 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)
  5359. 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)
  5360. end
  5361. light.Range=0
  5362. for i=0,1,0.01 do
  5363. swait()
  5364. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5365. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5366. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5367. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5368. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5369. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5370. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5371. 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)
  5372. 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)
  5373. end
  5374. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  5375. fire.Rate = 1000
  5376. fire2.Rate = 1000
  5377. fire3.Rate = 1000
  5378. fire4.Rate = 1000
  5379. Fire:Play()
  5380. Fire2:Play()
  5381. Fire3:Play()
  5382. Fire4:Play()
  5383. for i=0,1,0.005 do
  5384. swait()
  5385. Character.Head.face.Transparency = 0+1*i
  5386. LeftArm.Transparency=0+1*i
  5387. RightArm.Transparency=0+1*i
  5388. LeftLeg.Transparency=0+1*i
  5389. RightLeg.Transparency=0+1*i
  5390. Head.Transparency=0+1*i
  5391. Torso.Transparency=0+1*i
  5392. for _,v in pairs(Character:children()) do
  5393. if v:IsA("Hat") then
  5394. v.Handle.Transparency = 0+1*i
  5395. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5396. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5397. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5398. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5399. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5400. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5401. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5402. 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)
  5403. 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)
  5404. end
  5405. end
  5406. --dmgstop()
  5407. end
  5408. Humanoid.Health = 0
  5409. end
  5410.  
  5411. equipanim()
  5412.  
  5413. local sine = 0
  5414. local change = 1
  5415. local val = 0
  5416.  
  5417. local mananum=0
  5418. while true do
  5419. swait()
  5420. sine = sine + change
  5421. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5422. local velderp=RootPart.Velocity.y
  5423. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5424. if equipped==true or equipped==false then
  5425. if Anim=="Idle" and attack==false then
  5426. idle=idle+1
  5427. else
  5428. idle=0
  5429. end
  5430. if Humanoid.Health <=20 then
  5431. if attack == false then
  5432. Humanoid.Health = math.huge
  5433. Die()
  5434. end
  5435. end
  5436. if idle>=1000 then
  5437. if attack==false then
  5438. --Sheath()
  5439. end
  5440. end
  5441. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5442. Anim="Jump"
  5443. if attack==false then
  5444. Footsteps:Stop()
  5445. Footsteps2:Stop()
  5446. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  5447. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5448. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  5449. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  5450. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5451. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  5452. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5453. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  5454. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  5455. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  5456. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5457. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5458. end
  5459. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5460. Anim="Fall"
  5461. if attack==false then
  5462. Footsteps:Stop()
  5463. Footsteps2:Stop()
  5464. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  5465. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5466. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  5467. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  5468. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5469. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  5470. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5471. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  5472. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  5473. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5474. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  5475. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  5476. end
  5477. elseif torvel<1 and hitfloor~=nil then
  5478. Anim="Idle"
  5479. change=0.5
  5480. if idle>=1000 then
  5481. if attack==false then
  5482. Footsteps:Stop()
  5483. Footsteps2:Stop()
  5484. Humanoid.WalkSpeed=12
  5485. 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)
  5486. 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)
  5487. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  5488. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  5489. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  5490. 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)
  5491. 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)
  5492. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5493. 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)
  5494. 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)
  5495. end
  5496. else
  5497. if attack==false then
  5498. Footsteps:Stop()
  5499. Footsteps2:Stop()
  5500. Humanoid.WalkSpeed=12
  5501. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  5502. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  5503. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5504. 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)
  5505. 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)
  5506. 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)
  5507. 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)
  5508. 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)
  5509. 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)
  5510. 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)
  5511. end
  5512. end
  5513. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5514. Anim="Walk"
  5515. if attack==false then
  5516. change=0.8
  5517. --[[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)
  5518. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  5519. 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)
  5520. 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)
  5521. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  5522. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  5523. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5524. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5525. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  5526. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  5527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  5528. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  5529. RH.C0=clerp(RH.C0,RHC0,.3)
  5530. LH.C0=clerp(LH.C0,LHC0,.3)
  5531. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5532. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5533. ]]--
  5534. Footsteps:Play()
  5535. Footsteps2:Stop()
  5536. 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)
  5537. 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)
  5538. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5539. 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)
  5540. 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)
  5541. 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)
  5542. 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)
  5543. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5544. 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)
  5545. 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)
  5546. end
  5547. elseif torvel>=22 and hitfloor~=nil then
  5548. Anim="Run"
  5549. change=1
  5550. if attack==false then
  5551. Footsteps:Stop()
  5552. Footsteps2:Play()
  5553. 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)
  5554. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  5555. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5556. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  5557. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  5558. 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)
  5559. 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)
  5560. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5561. 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)
  5562. 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)
  5563. end
  5564. end
  5565. end
  5566. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  5567. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  5568. if mana>=1 then
  5569. mana=100
  5570. else
  5571. if mananum<=8 then
  5572. mananum=mananum+1
  5573. else
  5574. mananum=0
  5575. mana=mana+1
  5576. end
  5577. end
  5578. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement