Advertisement
RealPieDiePew

Untitled

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