Advertisement
B0bstone

Untitled

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