Dryiu

Untitled

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