Fullgamer309

this is a test

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