Advertisement
kebbyfan

revenge handos

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