Advertisement
ItzInfern

revenger claws

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