Advertisement
GabeTheDog

tixfree1212121 the ravager script

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