Advertisement
Migas3456

Revenge Woah

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