Advertisement
vibrantsinger423

Oof

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