Advertisement
Finnegan5

Ravenger 3

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