Advertisement
DustyThomas

Holy Ravager V3 (Huge Health)

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