Advertisement
Pancakess

idk new one

Jan 26th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  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 iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. --[[ Leaked by CLarramore ]]--
  88. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  89. -- I am now spreading this on
  90. -- You can now make ur edits with this
  91. -- ENTIRELY OPEN SOURCED!!!! YAY!
  92.  
  93. -- NightOwlAce dont kill me
  94. Player=owner
  95. Character=Player.Character
  96. PlayerGui=Player.PlayerGui
  97. Backpack=Player.Backpack
  98. Torso=Character.Torso
  99. Head=Character.Head
  100. Humanoid=Character.Humanoid
  101. m=Instance.new('Model',Character)
  102. LeftArm=Character["Left Arm"]
  103. LeftLeg=Character["Left Leg"]
  104. RightArm=Character["Right Arm"]
  105. RightLeg=Character["Right Leg"]
  106. LS=Torso["Left Shoulder"]
  107. LH=Torso["Left Hip"]
  108. RS=Torso["Right Shoulder"]
  109. RH=Torso["Right Hip"]
  110. Face = Head.face
  111. Neck=Torso.Neck
  112. it=Instance.new
  113. attacktype=1
  114. vt=Vector3.new
  115. cf=CFrame.new
  116. euler=CFrame.fromEulerAnglesXYZ
  117. angles=CFrame.Angles
  118. cloaked=false
  119. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  120. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  121. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  122. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  123. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  124. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  125. RootPart=Character.HumanoidRootPart
  126. RootJoint=RootPart.RootJoint
  127. RootCF=euler(-1.57,0,3.14)
  128. attack = false
  129. attackdebounce = false
  130. deb=false
  131. equipped=true
  132. hand=false
  133. MMouse=nil
  134. combo=0
  135. mana=0
  136. trispeed=1
  137. pathtrans=.7
  138. attackmode='none'
  139. local idle=0
  140. local Anim="Idle"
  141. local Effects={}
  142. local gun=false
  143. local shoot=false
  144. player=nil
  145. cloak=false
  146. lightcolor='Bright blue'
  147.  
  148. local Color1=Torso.BrickColor
  149.  
  150. local fengui=it("GuiMain")
  151. fengui.Parent=Player.PlayerGui
  152. fengui.Name="WeaponGUI"
  153. local fenframe=it("Frame")
  154. fenframe.Parent=fengui
  155. fenframe.BackgroundColor3=Color3.new(255,255,255)
  156. fenframe.BackgroundTransparency=1
  157. fenframe.BorderColor3=Color3.new(17,17,17)
  158. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  159. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  160. local fenbarmana1=it("TextLabel")
  161. fenbarmana1.Parent=fenframe
  162. fenbarmana1.Text=" "
  163. fenbarmana1.BackgroundTransparency=0
  164. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  165. fenbarmana1.SizeConstraint="RelativeXY"
  166. fenbarmana1.TextXAlignment="Center"
  167. fenbarmana1.TextYAlignment="Center"
  168. fenbarmana1.Position=UDim2.new(0,0,0,0)
  169. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  170. local fenbarmana2=it("TextLabel")
  171. fenbarmana2.Parent=fenframe
  172. fenbarmana2.Text=" "
  173. fenbarmana2.BackgroundTransparency=0
  174. fenbarmana2.BackgroundColor3=Torso.Color
  175. fenbarmana2.SizeConstraint="RelativeXY"
  176. fenbarmana2.TextXAlignment="Center"
  177. fenbarmana2.TextYAlignment="Center"
  178. fenbarmana2.Position=UDim2.new(0,0,0,0)
  179. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  180. local fenbarmana3=it("TextLabel")
  181. fenbarmana3.Parent=fenframe
  182. fenbarmana3.Text=" "
  183. fenbarmana3.BackgroundTransparency=0
  184. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  185. fenbarmana3.SizeConstraint="RelativeXY"
  186. fenbarmana3.TextXAlignment="Center"
  187. fenbarmana3.TextYAlignment="Center"
  188. fenbarmana3.Position=UDim2.new(0,0,0,0)
  189. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  190. local fenbarmana4=it("TextLabel")
  191. fenbarmana4.Parent=fenframe
  192. fenbarmana4.Text="Energy("..mana..")"
  193. fenbarmana4.BackgroundTransparency=1
  194. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  195. fenbarmana4.SizeConstraint="RelativeXY"
  196. fenbarmana4.TextXAlignment="Center"
  197. fenbarmana4.TextYAlignment="Center"
  198. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  199. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  200. fenbarmana4.FontSize="Size9"
  201. fenbarmana4.TextStrokeTransparency=0
  202. fenbarmana4.TextColor=BrickColor.new("White")
  203.  
  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=game:service("Players").LocalPlayer
  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=game:GetService('Players').LocalPlayer
  827. Character=Player.Character
  828. Mouse=Player:GetMouse()
  829. m=Instance.new('Model',Character)
  830.  
  831.  
  832. local function weldBetween(a, b)
  833. local weldd = Instance.new("ManualWeld")
  834. weldd.Part0 = a
  835. weldd.Part1 = b
  836. weldd.C0 = CFrame.new()
  837. weldd.C1 = b.CFrame:inverse() * a.CFrame
  838. weldd.Parent = a
  839. return weldd
  840. end
  841.  
  842. it=Instance.new
  843.  
  844. function nooutline(part)
  845. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  846. end
  847.  
  848. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  849. local fp=it("Part")
  850. fp.formFactor=formfactor
  851. fp.Parent=parent
  852. fp.Reflectance=reflectance
  853. fp.Transparency=transparency
  854. fp.CanCollide=false
  855. fp.Locked=true
  856. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  857. fp.Name=name
  858. fp.Size=size
  859. fp.Position=Character.Torso.Position
  860. nooutline(fp)
  861. fp.Material=material
  862. fp:BreakJoints()
  863. return fp
  864. end
  865.  
  866. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  867. local mesh=it(Mesh)
  868. mesh.Parent=part
  869. if Mesh=="SpecialMesh" then
  870. mesh.MeshType=meshtype
  871. mesh.MeshId=meshid
  872. end
  873. mesh.Offset=offset
  874. mesh.Scale=scale
  875. return mesh
  876. end
  877.  
  878. function weld(parent,part0,part1,c0,c1)
  879. local weld=it("Weld")
  880. weld.Parent=parent
  881. weld.Part0=part0
  882. weld.Part1=part1
  883. weld.C0=c0
  884. weld.C1=c1
  885. return weld
  886. end
  887.  
  888. local modelzorz=Instance.new("Model")
  889. modelzorz.Parent=Character
  890. modelzorz.Name="Claw1"
  891.  
  892. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  893. 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))
  894. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  895. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  896. 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))
  897. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  898. 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))
  899. 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))
  900. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  901. 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))
  902. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  903. 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))
  904. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  905. Partweld=weld(m,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))
  906. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  907. 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))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  909. 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))
  910. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  911. 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))
  912. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  913. 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))
  914. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  915. Partweld=weld(m,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))
  916. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  917. 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))
  918. 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))
  919. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  920. 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))
  921. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  922. 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))
  923. 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))
  924. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  925. 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))
  926. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  927. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  928. 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))
  929. 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))
  930. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  931. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  932. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  933.  
  934. local modelzorz2=Instance.new("Model")
  935. modelzorz2.Parent=Character
  936. modelzorz2.Name="Claw2"
  937.  
  938. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  939. 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))
  940. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  941. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  942. 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))
  943. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  944. 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))
  945. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  946. 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))
  947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  948. 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))
  949. 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))
  950. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  951. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.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))
  952. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  953. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  954. 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))
  955. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  956. 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))
  957. 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))
  958. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  959. 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))
  960. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  961. 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))
  962. 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))
  963. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  964. 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))
  965. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  966. 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))
  967. 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))
  968. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  969. 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))
  970. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  971. 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))
  972. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  973. 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))
  974. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  975. 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))
  976. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  977. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  978. 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))
  979.  
  980. local modelzorz3=Instance.new("Model")
  981. modelzorz3.Parent=Character
  982. modelzorz3.Name="Eye"
  983.  
  984. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  985. 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))
  986. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  987. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  988. 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))
  989. 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))
  990. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  991. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  992. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  993. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  994. 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))
  995. 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))
  996. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  997. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  998. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  999. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1000. 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))
  1001. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1002. 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))
  1003. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1004. 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))
  1005. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1006. 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))
  1007. local moosick = it("Sound",Character)
  1008. moosick.SoundId = "rbxassetid://142653441"
  1009. --142653441, 175067863
  1010. moosick.Looped = true
  1011. moosick.Pitch = 1
  1012. moosick.Volume = 0
  1013. moosick:Play()
  1014.  
  1015. anim = Character:findFirstChild("Animate")
  1016. if anim then
  1017. anim:Destroy()
  1018. end
  1019.  
  1020. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1021. particleemitter.VelocitySpread = 180
  1022. particleemitter.Lifetime = NumberRange.new(0.1)
  1023. particleemitter.Speed = NumberRange.new(2)
  1024. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1025. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1026. particleemitter.Rate = 100
  1027. particleemitter.Rotation = NumberRange.new(-45, 45)
  1028. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1029. particleemitter.LightEmission = 0
  1030. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1031.  
  1032. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1033. particleemitter.VelocitySpread = 180
  1034. particleemitter.Lifetime = NumberRange.new(0.1)
  1035. particleemitter.Speed = NumberRange.new(2)
  1036. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1037. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1038. particleemitter.Rate = 100
  1039. particleemitter.Rotation = NumberRange.new(-45, 45)
  1040. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1041. particleemitter.LightEmission = 0
  1042. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1043.  
  1044. local particleemitter = Instance.new("ParticleEmitter", handle)
  1045. particleemitter.VelocitySpread = 180
  1046. particleemitter.Lifetime = NumberRange.new(0.1)
  1047. particleemitter.Speed = NumberRange.new(2)
  1048. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1049. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1050. particleemitter.Rate = 100
  1051. particleemitter.Rotation = NumberRange.new(-45, 45)
  1052. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1053. particleemitter.LightEmission = 0.8
  1054. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1055.  
  1056. local light = Instance.new("PointLight", Character.Torso)
  1057. light.Color = Color3.new(255,255,255)
  1058. light.Brightness = 5
  1059. light.Range = 15
  1060.  
  1061. particleemitter.Enabled = true
  1062.  
  1063. local Footsteps = it("Sound",Character.Torso)
  1064. Footsteps.SoundId = "rbxassetid://142665235"
  1065. Footsteps.Looped = true
  1066. Footsteps.Pitch = 0.8
  1067. Footsteps.Volume = 0.3
  1068.  
  1069. local Footsteps2 = it("Sound",Character.Torso)
  1070. Footsteps2.SoundId = "rbxassetid://142665235"
  1071. Footsteps2.Looped = true
  1072. Footsteps2.Pitch = 1
  1073. Footsteps2.Volume = 0.4
  1074.  
  1075. local cam = game.Workspace.CurrentCamera
  1076.  
  1077. --cam.CameraSubject = Character
  1078.  
  1079. for i,v in pairs(Head:children()) do
  1080. if v:IsA("Sound") then
  1081. v:Destroy()
  1082. end
  1083. end
  1084.  
  1085. mouse.Button1Down:connect(function()
  1086. if attack==false and attacktype==1 then
  1087. attacktype=2
  1088. attackone()
  1089. elseif attack==false and attacktype==2 then
  1090. attacktype=3
  1091. attacktwo()
  1092. elseif attack==false and attacktype==3 then
  1093. attacktype=4
  1094. attackthree()
  1095. elseif attack==false and attacktype==4 then
  1096. attacktype=1
  1097. attackfour()
  1098. end
  1099. end)
  1100.  
  1101. mouse.KeyDown:connect(function(k)
  1102. k=k:lower()
  1103. if k=='e' then
  1104. if attack==false and mana>=20 then
  1105. Push()
  1106. end
  1107. elseif k=='g' then
  1108. if attack==false and mana>=50 then
  1109. Twirl()
  1110. end
  1111. elseif k=='v' then
  1112. if attack==false and mana>=25 then
  1113. MagicJump()
  1114. end
  1115. elseif k=='q' then
  1116. if attack==false then
  1117. idle=1000
  1118. end
  1119. elseif k=='h' then
  1120. if attack==false then
  1121. mana=100
  1122. end
  1123. elseif k=='y' then
  1124. if attack==false and mana>=100 then
  1125. Shred()
  1126. end
  1127. elseif k=='f' then
  1128. if attack==false and mana>=40 then
  1129. Spin()
  1130. end
  1131. elseif k=='r' then
  1132. if attack==false and mana>=20 then
  1133. Clap()
  1134. end
  1135. elseif k=='t' then
  1136. if attack==false then
  1137. Hai()
  1138. end
  1139. elseif k=='0' then
  1140. if attack==false then
  1141. Humanoid.WalkSpeed=(56)
  1142. end
  1143. elseif k=='j' then
  1144. if attack==false then
  1145. Humanoid.Health = 100
  1146. print("Congrats, you commited suicide.")
  1147. end
  1148. end
  1149. end)
  1150.  
  1151. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1152. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1153. prt.Anchored=true
  1154. prt.CFrame=cframe
  1155. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1156. game:GetService("Debris"):AddItem(prt,2)
  1157. coroutine.resume(coroutine.create(function(Part,Mesh)
  1158. for i=0,1,delay do
  1159. wait()
  1160. Part.CFrame=Part.CFrame
  1161. Part.Transparency=i
  1162. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1163. end
  1164. Part.Parent=nil
  1165. end),prt,msh)
  1166. end
  1167.  
  1168. TrailDeb = false
  1169.  
  1170. function equipanim()
  1171. attack=true
  1172. Humanoid.WalkSpeed = 0
  1173. if TrailDeb == false then
  1174. TrailDeb = true
  1175. end
  1176.  
  1177.  
  1178. coroutine.wrap(function()
  1179. local Old = handle.CFrame.p
  1180. while wait()do
  1181. if not TrailDeb then break end
  1182. local New = handle.CFrame.p
  1183. local Mag =(Old -New).magnitude
  1184. local Dis =(Old +New)/2
  1185. local Trail = Instance.new("Part",Character)
  1186. Trail.Material = "Neon"
  1187. Trail.Anchored = true
  1188. Trail.CanCollide = false
  1189. Trail.BrickColor = TorsoColor
  1190. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1191. Trail.TopSurface = 0
  1192. Trail.BottomSurface = 0
  1193. Trail.formFactor = "Custom"
  1194. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1195. local ms = Instance.new("BlockMesh",Trail)
  1196. ms.Scale = Vector3.new(1,1,1)
  1197. local TM = Instance.new("CylinderMesh",Trail)
  1198. TM.Scale = Vector3.new(1,1,1)
  1199. Old = New
  1200. coroutine.wrap(function()
  1201. for i = 1,0,-0.1 do
  1202. wait()
  1203. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1204. end
  1205. Trail:remove()
  1206. end)()
  1207. coroutine.wrap(function()
  1208. for i = 1,10 do
  1209. wait()
  1210. Trail.Transparency = Trail.Transparency +0.1
  1211. end end)()end end)()
  1212. coroutine.wrap(function()
  1213. local Old = Handle.CFrame.p
  1214. while wait()do
  1215. if not TrailDeb then break end
  1216. local New = Handle.CFrame.p
  1217. local Mag =(Old -New).magnitude
  1218. local Dis =(Old +New)/2
  1219. local Trail = Instance.new("Part",Character)
  1220. Trail.Material = "Neon"
  1221. Trail.Anchored = true
  1222. Trail.CanCollide = false
  1223. Trail.BrickColor = TorsoColor
  1224. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1225. Trail.TopSurface = 0
  1226. Trail.BottomSurface = 0
  1227. Trail.formFactor = "Custom"
  1228. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1229. local ms = Instance.new("BlockMesh",Trail)
  1230. ms.Scale = Vector3.new(1,1,1)
  1231. local TM = Instance.new("CylinderMesh",Trail)
  1232. TM.Scale = Vector3.new(1,1,1)
  1233. Old = New
  1234. coroutine.wrap(function()
  1235. for i = 1,0,-0.1 do
  1236. wait()
  1237. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1238. end
  1239. Trail:remove()
  1240. end)()
  1241. coroutine.wrap(function()
  1242. for i = 1,10 do
  1243. wait()
  1244. Trail.Transparency = Trail.Transparency +0.1
  1245. end end)()end end)()
  1246. coroutine.wrap(function()
  1247. local Old = Handle2.CFrame.p
  1248. while wait()do
  1249. if not TrailDeb then break end
  1250. local New = Handle2.CFrame.p
  1251. local Mag =(Old -New).magnitude
  1252. local Dis =(Old +New)/2
  1253. local Trail = Instance.new("Part",Character)
  1254. Trail.Material = "Neon"
  1255. Trail.Anchored = true
  1256. Trail.CanCollide = false
  1257. Trail.BrickColor = TorsoColor
  1258. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1259. Trail.TopSurface = 0
  1260. Trail.BottomSurface = 0
  1261. Trail.formFactor = "Custom"
  1262. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1263. local ms = Instance.new("BlockMesh",Trail)
  1264. ms.Scale = Vector3.new(1,1,1)
  1265. local TM = Instance.new("CylinderMesh",Trail)
  1266. TM.Scale = Vector3.new(1,1,1)
  1267. Old = New
  1268. coroutine.wrap(function()
  1269. for i = 1,0,-0.1 do
  1270. wait()
  1271. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1272. end
  1273. Trail:remove()
  1274. end)()
  1275. coroutine.wrap(function()
  1276. for i = 1,10 do
  1277. wait()
  1278. Trail.Transparency = Trail.Transparency +0.1
  1279. end end)()end end)()
  1280. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1281. for i=0,1,0.005 do
  1282. swait()
  1283. moosick.Volume = 0+1*i
  1284. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1285. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1286. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1287. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1288. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1289. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1290. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1291. end
  1292. for i=0,1,0.005 do
  1293. swait()
  1294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1296. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1297. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1298. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1299. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1300. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1301. end
  1302. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1303. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1304. for i=0,1,0.005 do
  1305. swait()
  1306. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1307. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1308. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1309. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1310. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1311. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1312. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1313. 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)
  1314. 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)
  1315. end
  1316. for i=0,1,0.04 do
  1317. swait()
  1318. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1319. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1320. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1321. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1322. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1323. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1324. 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)
  1325. 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)
  1326. end
  1327. --dmgstop()
  1328. attack=false
  1329. Humanoid.WalkSpeed = 12
  1330. if TrailDeb == true then
  1331. TrailDeb = false
  1332. end
  1333. end
  1334.  
  1335. function attackone()
  1336. attack=true
  1337. if TrailDeb == false then
  1338. TrailDeb = true
  1339. end
  1340.  
  1341.  
  1342. coroutine.wrap(function()
  1343. local Old = Handle.CFrame.p
  1344. while wait()do
  1345. if not TrailDeb then break end
  1346. local New = Handle.CFrame.p
  1347. local Mag =(Old -New).magnitude
  1348. local Dis =(Old +New)/2
  1349. local Trail = Instance.new("Part",Character)
  1350. Trail.Material = "Neon"
  1351. Trail.Anchored = true
  1352. Trail.CanCollide = false
  1353. Trail.BrickColor = TorsoColor
  1354. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1355. Trail.TopSurface = 0
  1356. Trail.BottomSurface = 0
  1357. Trail.formFactor = "Custom"
  1358. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1359. local ms = Instance.new("BlockMesh",Trail)
  1360. ms.Scale = Vector3.new(1,1,1)
  1361. local TM = Instance.new("CylinderMesh",Trail)
  1362. TM.Scale = Vector3.new(1,1,1)
  1363. Old = New
  1364. coroutine.wrap(function()
  1365. for i = 1,0,-0.1 do
  1366. wait()
  1367. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1368. end
  1369. Trail:remove()
  1370. end)()
  1371. coroutine.wrap(function()
  1372. for i = 1,10 do
  1373. wait()
  1374. Trail.Transparency = Trail.Transparency +0.1
  1375. end end)()end end)()
  1376. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1377. for i=0,1,0.08 do
  1378. swait()
  1379. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1380. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1381. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1382. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1383. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1384. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1385. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1386. end
  1387. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1388. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1389. for i=0,1,0.1 do
  1390. swait()
  1391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1393. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1394. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1395. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1396. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1397. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1398. end
  1399. --dmgstop()
  1400. attack=false
  1401. con1:disconnect()
  1402. if TrailDeb == true then
  1403. TrailDeb = false
  1404. end
  1405. end
  1406.  
  1407. function attacktwo()
  1408. attack=true
  1409. if TrailDeb == false then
  1410. TrailDeb = true
  1411. end
  1412.  
  1413.  
  1414. coroutine.wrap(function()
  1415. local Old = Handle2.CFrame.p
  1416. while wait()do
  1417. if not TrailDeb then break end
  1418. local New = Handle2.CFrame.p
  1419. local Mag =(Old -New).magnitude
  1420. local Dis =(Old +New)/2
  1421. local Trail = Instance.new("Part",Character)
  1422. Trail.Material = "Neon"
  1423. Trail.Anchored = true
  1424. Trail.CanCollide = false
  1425. Trail.BrickColor = TorsoColor
  1426. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1427. Trail.TopSurface = 0
  1428. Trail.BottomSurface = 0
  1429. Trail.formFactor = "Custom"
  1430. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1431. local ms = Instance.new("BlockMesh",Trail)
  1432. ms.Scale = Vector3.new(1,1,1)
  1433. local TM = Instance.new("CylinderMesh",Trail)
  1434. TM.Scale = Vector3.new(1,1,1)
  1435. Old = New
  1436. coroutine.wrap(function()
  1437. for i = 1,0,-0.1 do
  1438. wait()
  1439. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1440. end
  1441. Trail:remove()
  1442. end)()
  1443. coroutine.wrap(function()
  1444. for i = 1,10 do
  1445. wait()
  1446. Trail.Transparency = Trail.Transparency +0.1
  1447. end end)()end end)()
  1448. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1449. for i=0,1,0.08 do
  1450. swait()
  1451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1453. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1454. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1455. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1456. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1457. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1458. end
  1459. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1460. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1461. for i=0,1,0.1 do
  1462. swait()
  1463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1465. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1466. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1467. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1468. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1469. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1470. end
  1471. --dmgstop()
  1472. attack=false
  1473. con1:disconnect()
  1474. if TrailDeb == true then
  1475. TrailDeb = false
  1476. end
  1477. end
  1478.  
  1479. function attackthree()
  1480. attack=true
  1481. if TrailDeb == false then
  1482. TrailDeb = true
  1483. end
  1484.  
  1485.  
  1486. coroutine.wrap(function()
  1487. local Old = Handle.CFrame.p
  1488. while wait()do
  1489. if not TrailDeb then break end
  1490. local New = Handle.CFrame.p
  1491. local Mag =(Old -New).magnitude
  1492. local Dis =(Old +New)/2
  1493. local Trail = Instance.new("Part",Character)
  1494. Trail.Material = "Neon"
  1495. Trail.Anchored = true
  1496. Trail.CanCollide = false
  1497. Trail.BrickColor = TorsoColor
  1498. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1499. Trail.TopSurface = 0
  1500. Trail.BottomSurface = 0
  1501. Trail.formFactor = "Custom"
  1502. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1503. local ms = Instance.new("BlockMesh",Trail)
  1504. ms.Scale = Vector3.new(1,1,1)
  1505. local TM = Instance.new("CylinderMesh",Trail)
  1506. TM.Scale = Vector3.new(1,1,1)
  1507. Old = New
  1508. coroutine.wrap(function()
  1509. for i = 1,0,-0.1 do
  1510. wait()
  1511. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1512. end
  1513. Trail:remove()
  1514. end)()
  1515. coroutine.wrap(function()
  1516. for i = 1,10 do
  1517. wait()
  1518. Trail.Transparency = Trail.Transparency +0.1
  1519. end end)()end end)()
  1520. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  1521. for i=0,1,0.08 do
  1522. swait()
  1523. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1524. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1525. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1526. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1527. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1528. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1529. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1530. end
  1531. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1532. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1533. for i=0,1,0.05 do
  1534. swait()
  1535. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1536. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1537. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1538. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1539. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1540. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1541. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1542. end
  1543. --dmgstop()
  1544. attack=false
  1545. con1:disconnect()
  1546. if TrailDeb == true then
  1547. TrailDeb = false
  1548. end
  1549. end
  1550.  
  1551. function attackfour()
  1552. attack=true
  1553. if TrailDeb == false then
  1554. TrailDeb = true
  1555. end
  1556.  
  1557.  
  1558. coroutine.wrap(function()
  1559. local Old = Handle2.CFrame.p
  1560. while wait()do
  1561. if not TrailDeb then break end
  1562. local New = Handle2.CFrame.p
  1563. local Mag =(Old -New).magnitude
  1564. local Dis =(Old +New)/2
  1565. local Trail = Instance.new("Part",Character)
  1566. Trail.Material = "Neon"
  1567. Trail.Anchored = true
  1568. Trail.CanCollide = false
  1569. Trail.BrickColor = TorsoColor
  1570. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1571. Trail.TopSurface = 0
  1572. Trail.BottomSurface = 0
  1573. Trail.formFactor = "Custom"
  1574. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1575. local ms = Instance.new("BlockMesh",Trail)
  1576. ms.Scale = Vector3.new(1,1,1)
  1577. local TM = Instance.new("CylinderMesh",Trail)
  1578. TM.Scale = Vector3.new(1,1,1)
  1579. Old = New
  1580. coroutine.wrap(function()
  1581. for i = 1,0,-0.1 do
  1582. wait()
  1583. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1584. end
  1585. Trail:remove()
  1586. end)()
  1587. coroutine.wrap(function()
  1588. for i = 1,10 do
  1589. wait()
  1590. Trail.Transparency = Trail.Transparency +0.1
  1591. end end)()end end)()
  1592. coroutine.wrap(function()
  1593. local Old = Handle.CFrame.p
  1594. while wait()do
  1595. if not TrailDeb then break end
  1596. local New = Handle.CFrame.p
  1597. local Mag =(Old -New).magnitude
  1598. local Dis =(Old +New)/2
  1599. local Trail = Instance.new("Part",Character)
  1600. Trail.Material = "Neon"
  1601. Trail.Anchored = true
  1602. Trail.CanCollide = false
  1603. Trail.BrickColor = TorsoColor
  1604. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1605. Trail.TopSurface = 0
  1606. Trail.BottomSurface = 0
  1607. Trail.formFactor = "Custom"
  1608. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1609. local ms = Instance.new("BlockMesh",Trail)
  1610. ms.Scale = Vector3.new(1,1,1)
  1611. local TM = Instance.new("CylinderMesh",Trail)
  1612. TM.Scale = Vector3.new(1,1,1)
  1613. Old = New
  1614. coroutine.wrap(function()
  1615. for i = 1,0,-0.1 do
  1616. wait()
  1617. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1618. end
  1619. Trail:remove()
  1620. end)()
  1621. coroutine.wrap(function()
  1622. for i = 1,10 do
  1623. wait()
  1624. Trail.Transparency = Trail.Transparency +0.1
  1625. end end)()end end)()
  1626. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1627. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1628. for i=0,1,0.08 do
  1629. swait()
  1630. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1631. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1632. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1633. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1634. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1635. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1636. 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)
  1637. 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)
  1638. end
  1639. if anim then
  1640. anim.Disabled=true
  1641. end
  1642. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1643. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1644. for i=0,1,0.04 do
  1645. swait()
  1646. Torso.Velocity=RootPart.CFrame.lookVector*50
  1647. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1648. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1649. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1650. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1651. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1652. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1653. 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)
  1654. 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)
  1655. end
  1656. --dmgstop()
  1657. attack=false
  1658. con1:disconnect()
  1659. con2:disconnect()
  1660. if anim then
  1661. anim.Disabled=false
  1662. end
  1663. if TrailDeb == true then
  1664. TrailDeb = false
  1665. end
  1666. end
  1667.  
  1668. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1669. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1670. prt.Anchored = true
  1671. prt.CFrame = cframe
  1672. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1673. coroutine.resume(coroutine.create(function()
  1674. for i = 0, 1, 0.05 do
  1675. wait()
  1676. prt.Transparency = i
  1677. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1678. end
  1679. prt.Parent = nil
  1680. end))
  1681. end
  1682.  
  1683. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1684. for _, c in pairs(workspace:children()) do
  1685. local hum = c:findFirstChild("Humanoid")
  1686. if hum ~= nil then
  1687. local head = c:findFirstChild("Torso")
  1688. if head ~= nil then
  1689. local targ = head.Position - Part.Position
  1690. local mag = targ.magnitude
  1691. if mag <= magni and c.Name ~= Player.Name then
  1692. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1693. end
  1694. end
  1695. end
  1696. end
  1697. end
  1698.  
  1699. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1700. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1701. prt.Anchored = true
  1702. prt.CFrame = cframe
  1703. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1704. game:GetService("Debris"):AddItem(prt, 2)
  1705. coroutine.resume(coroutine.create(function(Part, Mesh)
  1706. for i = 0, 1, delay do
  1707. swait()
  1708. Part.CFrame = Part.CFrame
  1709. Part.Transparency = i
  1710. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1711. end
  1712. Part.Parent = nil
  1713. end), prt, msh)
  1714. end
  1715.  
  1716. function MagicJump()
  1717. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1718. attack=true
  1719. mana=mana-25
  1720. --[[ Humanoid.WalkSpeed = 0
  1721. for i=0,1,0.01 do
  1722. swait()
  1723. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1724. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1725. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1726. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1727. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1728. 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)
  1729. 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)
  1730. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1731. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1732. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1733. end]]--
  1734. Humanoid.Jump = true
  1735. Torso.Velocity = vt(0, 150, 0)
  1736. Humanoid.WalkSpeed = 64
  1737. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1738. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1739. for i=0,1,0.05 do
  1740. swait()
  1741. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1742. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1743. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1744. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1745. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1746. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1747. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1748. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1749. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1750. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1751. end
  1752. for i=0,1,0.02 do
  1753. swait()
  1754. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1755. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1756. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1757. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1758. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1759. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1760. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1761. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1762. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1763. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1764. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1765. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1766. end
  1767. Humanoid.WalkSpeed = 0
  1768. swait(8)
  1769. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1770. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1771. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1772. if hit~=nil then
  1773. swait(2)
  1774. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1775. ref.Anchored=true
  1776. ref.CFrame=cf(pos)
  1777. game:GetService("Debris"):AddItem(ref,3)
  1778. for i=1,10 do
  1779. local Col=BrickColor.new("Really black")
  1780. 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))
  1781. groundpart.Anchored=true
  1782. groundpart.CanCollide=false
  1783. 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))
  1784. local Col2=TorsoColor
  1785. 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))
  1786. groundpart2.Anchored=true
  1787. groundpart2.CanCollide=false
  1788. 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))
  1789. game:GetService("Debris"):AddItem(groundpart,5)
  1790. game:GetService("Debris"):AddItem(groundpart2,5)
  1791. end
  1792. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1793. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1794. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  1795. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1796. for i=0,1,0.06 do
  1797. swait()
  1798. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1799. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1800. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1801. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1802. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1803. 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)
  1804. 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)
  1805. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1806. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1807. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1808. end
  1809. end
  1810. swait(20)
  1811. Humanoid.WalkSpeed = 12
  1812. --dmgstop()
  1813. attack=false
  1814. end
  1815. end
  1816.  
  1817. function Spin()
  1818. attack=true
  1819. mana=mana-40
  1820. if TrailDeb == false then
  1821. TrailDeb = true
  1822. end
  1823.  
  1824. coroutine.wrap(function()
  1825. local Old = Handle2.CFrame.p
  1826. while wait()do
  1827. if not TrailDeb then break end
  1828. local New = Handle2.CFrame.p
  1829. local Mag =(Old -New).magnitude
  1830. local Dis =(Old +New)/2
  1831. local Trail = Instance.new("Part",Character)
  1832. Trail.Material = "Neon"
  1833. Trail.Anchored = true
  1834. Trail.CanCollide = false
  1835. Trail.BrickColor = TorsoColor
  1836. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1837. Trail.TopSurface = 0
  1838. Trail.BottomSurface = 0
  1839. Trail.formFactor = "Custom"
  1840. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1841. local ms = Instance.new("BlockMesh",Trail)
  1842. ms.Scale = Vector3.new(1,1,1)
  1843. local TM = Instance.new("CylinderMesh",Trail)
  1844. TM.Scale = Vector3.new(1,1,1)
  1845. Old = New
  1846. coroutine.wrap(function()
  1847. for i = 1,0,-0.1 do
  1848. wait()
  1849. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1850. end
  1851. Trail:remove()
  1852. end)()
  1853. coroutine.wrap(function()
  1854. for i = 1,10 do
  1855. wait()
  1856. Trail.Transparency = Trail.Transparency +0.1
  1857. end end)()end end)()
  1858. coroutine.wrap(function()
  1859. local Old = Handle.CFrame.p
  1860. while wait()do
  1861. if not TrailDeb then break end
  1862. local New = Handle.CFrame.p
  1863. local Mag =(Old -New).magnitude
  1864. local Dis =(Old +New)/2
  1865. local Trail = Instance.new("Part",Character)
  1866. Trail.Material = "Neon"
  1867. Trail.Anchored = true
  1868. Trail.CanCollide = false
  1869. Trail.BrickColor = TorsoColor
  1870. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1871. Trail.TopSurface = 0
  1872. Trail.BottomSurface = 0
  1873. Trail.formFactor = "Custom"
  1874. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1875. local ms = Instance.new("BlockMesh",Trail)
  1876. ms.Scale = Vector3.new(1,1,1)
  1877. local TM = Instance.new("CylinderMesh",Trail)
  1878. TM.Scale = Vector3.new(1,1,1)
  1879. Old = New
  1880. coroutine.wrap(function()
  1881. for i = 1,0,-0.1 do
  1882. wait()
  1883. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1884. end
  1885. Trail:remove()
  1886. end)()
  1887. coroutine.wrap(function()
  1888. for i = 1,10 do
  1889. wait()
  1890. Trail.Transparency = Trail.Transparency +0.1
  1891. end end)()end end)()
  1892. Footsteps:Stop()
  1893. Footsteps2:Stop()
  1894. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1895. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1896. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  1897. for i=0,1,0.1 do
  1898. swait()
  1899. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.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.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1904. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1905. end
  1906. if anim then
  1907. anim.Disabled=true
  1908. end
  1909. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1910. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1911. for i=0,1,0.05 do
  1912. swait()
  1913. Torso.Velocity=RootPart.CFrame.lookVector*100
  1914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1915. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1916. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1917. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1918. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1919. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1920. end
  1921. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1922. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1923. for i=0,1,0.05 do
  1924. swait()
  1925. Torso.Velocity=RootPart.CFrame.lookVector*100
  1926. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1927. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1928. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1929. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1930. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1931. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1932. end
  1933. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1934. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1935. for i=0,1,0.05 do
  1936. swait()
  1937. Torso.Velocity=RootPart.CFrame.lookVector*100
  1938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1939. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1940. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1941. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1942. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1943. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1944. end
  1945. --dmgstop()
  1946. Humanoid.WalkSpeed=12
  1947. attack=false
  1948. con1:disconnect()
  1949. con2:disconnect()
  1950. if anim then
  1951. anim.Disabled=false
  1952. end
  1953. if TrailDeb == true then
  1954. TrailDeb = false
  1955. end
  1956. end
  1957.  
  1958. function Twirl()
  1959. mana=mana-50
  1960. attack=true
  1961. if TrailDeb == false then
  1962. TrailDeb = true
  1963. end
  1964.  
  1965.  
  1966. coroutine.wrap(function()
  1967. local Old = Handle2.CFrame.p
  1968. while wait()do
  1969. if not TrailDeb then break end
  1970. local New = Handle2.CFrame.p
  1971. local Mag =(Old -New).magnitude
  1972. local Dis =(Old +New)/2
  1973. local Trail = Instance.new("Part",Character)
  1974. Trail.Material = "Neon"
  1975. Trail.Anchored = true
  1976. Trail.CanCollide = false
  1977. Trail.BrickColor = TorsoColor
  1978. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1979. Trail.TopSurface = 0
  1980. Trail.BottomSurface = 0
  1981. Trail.formFactor = "Custom"
  1982. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1983. local ms = Instance.new("BlockMesh",Trail)
  1984. ms.Scale = Vector3.new(1,1,1)
  1985. local TM = Instance.new("CylinderMesh",Trail)
  1986. TM.Scale = Vector3.new(1,1,1)
  1987. Old = New
  1988. coroutine.wrap(function()
  1989. for i = 1,0,-0.1 do
  1990. wait()
  1991. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1992. end
  1993. Trail:remove()
  1994. end)()
  1995. coroutine.wrap(function()
  1996. for i = 1,10 do
  1997. wait()
  1998. Trail.Transparency = Trail.Transparency +0.1
  1999. end end)()end end)()
  2000. coroutine.wrap(function()
  2001. local Old = Handle.CFrame.p
  2002. while wait()do
  2003. if not TrailDeb then break end
  2004. local New = Handle.CFrame.p
  2005. local Mag =(Old -New).magnitude
  2006. local Dis =(Old +New)/2
  2007. local Trail = Instance.new("Part",Character)
  2008. Trail.Material = "Neon"
  2009. Trail.Anchored = true
  2010. Trail.CanCollide = false
  2011. Trail.BrickColor = TorsoColor
  2012. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2013. Trail.TopSurface = 0
  2014. Trail.BottomSurface = 0
  2015. Trail.formFactor = "Custom"
  2016. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2017. local ms = Instance.new("BlockMesh",Trail)
  2018. ms.Scale = Vector3.new(1,1,1)
  2019. local TM = Instance.new("CylinderMesh",Trail)
  2020. TM.Scale = Vector3.new(1,1,1)
  2021. Old = New
  2022. coroutine.wrap(function()
  2023. for i = 1,0,-0.1 do
  2024. wait()
  2025. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2026. end
  2027. Trail:remove()
  2028. end)()
  2029. coroutine.wrap(function()
  2030. for i = 1,10 do
  2031. wait()
  2032. Trail.Transparency = Trail.Transparency +0.1
  2033. end end)()end end)()
  2034. Footsteps:Stop()
  2035. Footsteps2:Stop()
  2036. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2037. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2038. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  2039. for i=0,1,0.1 do
  2040. swait()
  2041. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.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.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2046. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2047. end
  2048. if anim then
  2049. anim.Disabled=true
  2050. end
  2051. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2052. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2053. for i=0,1,0.05 do
  2054. swait()
  2055. Torso.Velocity=RootPart.CFrame.lookVector*80
  2056. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2057. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2058. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2059. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2060. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2061. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2062. end
  2063. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2064. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2065. for i=0,1,0.05 do
  2066. swait()
  2067. Torso.Velocity=RootPart.CFrame.lookVector*80
  2068. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2069. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2070. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2071. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2072. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2073. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2074. end
  2075. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2076. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2077. for i=0,1,0.05 do
  2078. swait()
  2079. Torso.Velocity=RootPart.CFrame.lookVector*80
  2080. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2081. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2082. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2083. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2084. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2085. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2086. end
  2087. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2088. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2089. for i=0,1,0.05 do
  2090. swait()
  2091. Torso.Velocity=RootPart.CFrame.lookVector*80
  2092. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2093. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2094. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2095. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2096. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2097. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2098. end
  2099. --dmgstop()
  2100. Humanoid.WalkSpeed=12
  2101. attack=false
  2102. con1:disconnect()
  2103. con2:disconnect()
  2104. if anim then
  2105. anim.Disabled=false
  2106. end
  2107. if TrailDeb == true then
  2108. TrailDeb = false
  2109. end
  2110. end
  2111.  
  2112. function Shred()
  2113. attack=true
  2114. mana=mana-100
  2115. if TrailDeb == false then
  2116. TrailDeb = true
  2117. end
  2118.  
  2119.  
  2120. coroutine.wrap(function()
  2121. local Old = Handle2.CFrame.p
  2122. while wait()do
  2123. if not TrailDeb then break end
  2124. local New = Handle2.CFrame.p
  2125. local Mag =(Old -New).magnitude
  2126. local Dis =(Old +New)/2
  2127. local Trail = Instance.new("Part",Character)
  2128. Trail.Material = "Neon"
  2129. Trail.Anchored = true
  2130. Trail.CanCollide = false
  2131. Trail.BrickColor = TorsoColor
  2132. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2133. Trail.TopSurface = 0
  2134. Trail.BottomSurface = 0
  2135. Trail.formFactor = "Custom"
  2136. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2137. local ms = Instance.new("BlockMesh",Trail)
  2138. ms.Scale = Vector3.new(1,1,1)
  2139. local TM = Instance.new("CylinderMesh",Trail)
  2140. TM.Scale = Vector3.new(1,1,1)
  2141. Old = New
  2142. coroutine.wrap(function()
  2143. for i = 1,0,-0.1 do
  2144. wait()
  2145. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2146. end
  2147. Trail:remove()
  2148. end)()
  2149. coroutine.wrap(function()
  2150. for i = 1,10 do
  2151. wait()
  2152. Trail.Transparency = Trail.Transparency +0.1
  2153. end end)()end end)()
  2154. coroutine.wrap(function()
  2155. local Old = Handle.CFrame.p
  2156. while wait()do
  2157. if not TrailDeb then break end
  2158. local New = Handle.CFrame.p
  2159. local Mag =(Old -New).magnitude
  2160. local Dis =(Old +New)/2
  2161. local Trail = Instance.new("Part",Character)
  2162. Trail.Material = "Neon"
  2163. Trail.Anchored = true
  2164. Trail.CanCollide = false
  2165. Trail.BrickColor = TorsoColor
  2166. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2167. Trail.TopSurface = 0
  2168. Trail.BottomSurface = 0
  2169. Trail.formFactor = "Custom"
  2170. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2171. local ms = Instance.new("BlockMesh",Trail)
  2172. ms.Scale = Vector3.new(1,1,1)
  2173. local TM = Instance.new("CylinderMesh",Trail)
  2174. TM.Scale = Vector3.new(1,1,1)
  2175. Old = New
  2176. coroutine.wrap(function()
  2177. for i = 1,0,-0.1 do
  2178. wait()
  2179. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2180. end
  2181. Trail:remove()
  2182. end)()
  2183. coroutine.wrap(function()
  2184. for i = 1,10 do
  2185. wait()
  2186. Trail.Transparency = Trail.Transparency +0.1
  2187. end end)()end end)()
  2188. Footsteps:Stop()
  2189. Footsteps2:Stop()
  2190. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2191. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2192. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2193. for i=0,1,0.1 do
  2194. swait()
  2195. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  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. if anim then
  2203. anim.Disabled=true
  2204. end
  2205. for i=0,1,0.05 do
  2206. swait()
  2207. Torso.Velocity=RootPart.CFrame.lookVector*20
  2208. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2209. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2210. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2211. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2212. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2213. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2214. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2215. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2216. end
  2217. for i=0,1,0.05 do
  2218. swait()
  2219. Torso.Velocity=RootPart.CFrame.lookVector*40
  2220. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2221. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2222. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2223. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2224. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2225. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2226. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2227. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2228. end
  2229. for i=0,1,0.05 do
  2230. swait()
  2231. Torso.Velocity=RootPart.CFrame.lookVector*60
  2232. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2233. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2234. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*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. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2242. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2243. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2244. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2245. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2246. for i=0,1,0.05 do
  2247. swait()
  2248. Torso.Velocity=RootPart.CFrame.lookVector*80
  2249. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2250. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2251. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2252. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2253. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2254. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2255. end
  2256. for i=0,1,0.005 do
  2257. swait()
  2258. Torso.Velocity=RootPart.CFrame.lookVector*100
  2259. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2260. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2261. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2262. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2263. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2264. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2265. end
  2266. --dmgstop()
  2267. Humanoid.WalkSpeed=12
  2268. attack=false
  2269. con1:disconnect()
  2270. con2:disconnect()
  2271. if anim then
  2272. anim.Disabled=false
  2273. end
  2274. if TrailDeb == true then
  2275. TrailDeb = false
  2276. end
  2277. end
  2278.  
  2279. function Push()
  2280. attack=true
  2281. mana=mana-20
  2282. if TrailDeb == false then
  2283. TrailDeb = true
  2284. end
  2285.  
  2286.  
  2287. coroutine.wrap(function()
  2288. local Old = Handle2.CFrame.p
  2289. while wait()do
  2290. if not TrailDeb then break end
  2291. local New = Handle2.CFrame.p
  2292. local Mag =(Old -New).magnitude
  2293. local Dis =(Old +New)/2
  2294. local Trail = Instance.new("Part",Character)
  2295. Trail.Material = "Neon"
  2296. Trail.Anchored = true
  2297. Trail.CanCollide = false
  2298. Trail.BrickColor = TorsoColor
  2299. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2300. Trail.TopSurface = 0
  2301. Trail.BottomSurface = 0
  2302. Trail.formFactor = "Custom"
  2303. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2304. local ms = Instance.new("BlockMesh",Trail)
  2305. ms.Scale = Vector3.new(1,1,1)
  2306. local TM = Instance.new("CylinderMesh",Trail)
  2307. TM.Scale = Vector3.new(1,1,1)
  2308. Old = New
  2309. coroutine.wrap(function()
  2310. for i = 1,0,-0.1 do
  2311. wait()
  2312. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2313. end
  2314. Trail:remove()
  2315. end)()
  2316. coroutine.wrap(function()
  2317. for i = 1,10 do
  2318. wait()
  2319. Trail.Transparency = Trail.Transparency +0.1
  2320. end end)()end end)()
  2321. coroutine.wrap(function()
  2322. local Old = Handle.CFrame.p
  2323. while wait()do
  2324. if not TrailDeb then break end
  2325. local New = Handle.CFrame.p
  2326. local Mag =(Old -New).magnitude
  2327. local Dis =(Old +New)/2
  2328. local Trail = Instance.new("Part",Character)
  2329. Trail.Material = "Neon"
  2330. Trail.Anchored = true
  2331. Trail.CanCollide = false
  2332. Trail.BrickColor = TorsoColor
  2333. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2334. Trail.TopSurface = 0
  2335. Trail.BottomSurface = 0
  2336. Trail.formFactor = "Custom"
  2337. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2338. local ms = Instance.new("BlockMesh",Trail)
  2339. ms.Scale = Vector3.new(1,1,1)
  2340. local TM = Instance.new("CylinderMesh",Trail)
  2341. TM.Scale = Vector3.new(1,1,1)
  2342. Old = New
  2343. coroutine.wrap(function()
  2344. for i = 1,0,-0.1 do
  2345. wait()
  2346. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2347. end
  2348. Trail:remove()
  2349. end)()
  2350. coroutine.wrap(function()
  2351. for i = 1,10 do
  2352. wait()
  2353. Trail.Transparency = Trail.Transparency +0.1
  2354. end end)()end end)()
  2355. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2356. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2357. for i=0,1,0.1 do
  2358. swait()
  2359. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2360. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2361. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2362. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2363. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2364. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2365. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2366. end
  2367. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2368. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2369. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2370. for i=0,1,0.1 do
  2371. swait()
  2372. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2373. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2374. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2375. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2376. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2377. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2378. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2379. end
  2380. --dmgstop()
  2381. attack=false
  2382. con1:disconnect()
  2383. con2:disconnect()
  2384. if TrailDeb == true then
  2385. TrailDeb = false
  2386. end
  2387. end
  2388.  
  2389. function Clap()
  2390. attack=true
  2391. mana=mana-20
  2392. if TrailDeb == false then
  2393. TrailDeb = true
  2394. end
  2395.  
  2396.  
  2397. coroutine.wrap(function()
  2398. local Old = Handle2.CFrame.p
  2399. while wait()do
  2400. if not TrailDeb then break end
  2401. local New = Handle2.CFrame.p
  2402. local Mag =(Old -New).magnitude
  2403. local Dis =(Old +New)/2
  2404. local Trail = Instance.new("Part",Character)
  2405. Trail.Material = "Neon"
  2406. Trail.Anchored = true
  2407. Trail.CanCollide = false
  2408. Trail.BrickColor = TorsoColor
  2409. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2410. Trail.TopSurface = 0
  2411. Trail.BottomSurface = 0
  2412. Trail.formFactor = "Custom"
  2413. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2414. local ms = Instance.new("BlockMesh",Trail)
  2415. ms.Scale = Vector3.new(1,1,1)
  2416. local TM = Instance.new("CylinderMesh",Trail)
  2417. TM.Scale = Vector3.new(1,1,1)
  2418. Old = New
  2419. coroutine.wrap(function()
  2420. for i = 1,0,-0.1 do
  2421. wait()
  2422. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2423. end
  2424. Trail:remove()
  2425. end)()
  2426. coroutine.wrap(function()
  2427. for i = 1,10 do
  2428. wait()
  2429. Trail.Transparency = Trail.Transparency +0.1
  2430. end end)()end end)()
  2431. coroutine.wrap(function()
  2432. local Old = Handle.CFrame.p
  2433. while wait()do
  2434. if not TrailDeb then break end
  2435. local New = Handle.CFrame.p
  2436. local Mag =(Old -New).magnitude
  2437. local Dis =(Old +New)/2
  2438. local Trail = Instance.new("Part",Character)
  2439. Trail.Material = "Neon"
  2440. Trail.Anchored = true
  2441. Trail.CanCollide = false
  2442. Trail.BrickColor = TorsoColor
  2443. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2444. Trail.TopSurface = 0
  2445. Trail.BottomSurface = 0
  2446. Trail.formFactor = "Custom"
  2447. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2448. local ms = Instance.new("BlockMesh",Trail)
  2449. ms.Scale = Vector3.new(1,1,1)
  2450. local TM = Instance.new("CylinderMesh",Trail)
  2451. TM.Scale = Vector3.new(1,1,1)
  2452. Old = New
  2453. coroutine.wrap(function()
  2454. for i = 1,0,-0.1 do
  2455. wait()
  2456. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2457. end
  2458. Trail:remove()
  2459. end)()
  2460. coroutine.wrap(function()
  2461. for i = 1,10 do
  2462. wait()
  2463. Trail.Transparency = Trail.Transparency +0.1
  2464. end end)()end end)()
  2465. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2466. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2467. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2468. for i=0,1,0.08 do
  2469. swait()
  2470. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2472. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2473. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2474. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2475. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2476. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2477. end
  2478. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2479. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2480. for i=0,1,0.08 do
  2481. swait()
  2482. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2483. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2484. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2485. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2486. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2487. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2488. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2489. end
  2490. --dmgstop()
  2491. attack=false
  2492. con1:disconnect()
  2493. con2:disconnect()
  2494. if TrailDeb == true then
  2495. TrailDeb = false
  2496. end
  2497. end
  2498.  
  2499. function Hai()
  2500. attack=true
  2501. Humanoid.WalkSpeed=0
  2502. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2503. for i=0,1,0.1 do
  2504. swait()
  2505. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2506. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2507. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2508. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2509. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2510. 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)
  2511. 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)
  2512. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2513. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2514. end
  2515. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2516. for i=0,1,0.1 do
  2517. swait()
  2518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2520. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2521. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2522. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2523. 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)
  2524. 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)
  2525. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2526. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2527. end
  2528. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2529. for i=0,1,0.1 do
  2530. swait()
  2531. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2532. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2533. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2534. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2535. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2536. 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)
  2537. 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)
  2538. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2539. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2540.  
  2541. end
  2542. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2543. for i=0,1,0.1 do
  2544. swait()
  2545. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2547. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2548. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2549. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2550. 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)
  2551. 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)
  2552. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2553. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2554. end
  2555. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2556. for i=0,1,0.1 do
  2557. swait()
  2558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2560. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2561. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2562. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2563. 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)
  2564. 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)
  2565. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2566. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2567. end
  2568. --dmgstop()
  2569. Humanoid.WalkSpeed=12
  2570. attack=false
  2571. end
  2572.  
  2573. function Die()
  2574. attack=true
  2575. Footsteps:Stop()
  2576. Footsteps2:Stop()
  2577. local Fire = it("Sound",Character.Torso)
  2578. Fire.SoundId = "rbxassetid://192104941"
  2579. Fire.Looped = true
  2580. Fire.Pitch = 1
  2581. Fire.Volume = 1
  2582. local Fire2 = it("Sound",Handle2)
  2583. Fire2.SoundId = "rbxassetid://192104941"
  2584. Fire2.Looped = true
  2585. Fire2.Pitch = 1
  2586. Fire2.Volume = 1
  2587. local Fire3 = it("Sound",Handle)
  2588. Fire3.SoundId = "rbxassetid://192104941"
  2589. Fire3.Looped = true
  2590. Fire3.Pitch = 1
  2591. Fire3.Volume = 1
  2592. local Fire4 = it("Sound",handle)
  2593. Fire4.SoundId = "rbxassetid://192104941"
  2594. Fire4.Looped = true
  2595. Fire4.Pitch = 1
  2596. Fire4.Volume = 1
  2597. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2598. fire.Lifetime = NumberRange.new(0.5)
  2599. fire.Speed = NumberRange.new(1, 3)
  2600. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2601. fire.Rate = 0
  2602. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2603. fire.LightEmission = 0.6
  2604. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2605. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2606. local fire2 = Instance.new("ParticleEmitter", Handle)
  2607. fire2.Lifetime = NumberRange.new(0.5)
  2608. fire2.Speed = NumberRange.new(1, 3)
  2609. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2610. fire2.Rate = 0
  2611. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2612. fire2.LightEmission = 0.6
  2613. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2614. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2615. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2616. fire3.Lifetime = NumberRange.new(0.5)
  2617. fire3.Speed = NumberRange.new(1, 3)
  2618. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2619. fire3.Rate = 0
  2620. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2621. fire3.LightEmission = 0.6
  2622. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2623. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2624. local fire4 = Instance.new("ParticleEmitter", handle)
  2625. fire4.Lifetime = NumberRange.new(0.5)
  2626. fire4.Speed = NumberRange.new(1, 3)
  2627. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2628. fire4.Rate = 0
  2629. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2630. fire4.LightEmission = 0.6
  2631. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2632. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2633. Humanoid.WalkSpeed = 0
  2634. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2635. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2636. for i=0,1,0.08 do
  2637. swait()
  2638. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2641. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2642. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2643. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2644. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2645. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2646. 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)
  2647. 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)
  2648. end
  2649. for i=0,1,0.005 do
  2650. swait()
  2651. moosick.Volume=1-2*i
  2652. light.Range=15-10*i
  2653. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2654. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2655. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2656. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2657. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2659. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2660. 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)
  2661. 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)
  2662. end
  2663. light.Range=0
  2664. for i=0,1,0.01 do
  2665. swait()
  2666. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2668. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2669. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2670. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2671. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2672. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2673. 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)
  2674. 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)
  2675. end
  2676. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2677. fire.Rate = 1000
  2678. fire2.Rate = 1000
  2679. fire3.Rate = 1000
  2680. fire4.Rate = 1000
  2681. Fire:Play()
  2682. Fire2:Play()
  2683. Fire3:Play()
  2684. Fire4:Play()
  2685. for i=0,1,0.005 do
  2686. swait()
  2687. Character.Head.face.Transparency = 0+1*i
  2688. LeftArm.Transparency=0+1*i
  2689. RightArm.Transparency=0+1*i
  2690. LeftLeg.Transparency=0+1*i
  2691. RightLeg.Transparency=0+1*i
  2692. Head.Transparency=0+1*i
  2693. Torso.Transparency=0+1*i
  2694. for _,v in pairs(Character:children()) do
  2695. if v:IsA("Hat") then
  2696. v.Handle.Transparency = 0+1*i
  2697. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2698. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2699. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2700. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2701. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2702. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2703. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2704. 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)
  2705. 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)
  2706. end
  2707. end
  2708. --dmgstop()
  2709. end
  2710. Humanoid.Health = 0
  2711. end
  2712.  
  2713. equipanim()
  2714.  
  2715. local sine = 0
  2716. local change = 1
  2717. local val = 0
  2718.  
  2719. local mananum=0
  2720. while true do
  2721. swait()
  2722. sine = sine + change
  2723. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2724. local velderp=RootPart.Velocity.y
  2725. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2726. if equipped==true or equipped==false then
  2727. if Anim=="Idle" and attack==false then
  2728. idle=idle+1
  2729. else
  2730. idle=0
  2731. end
  2732. if Humanoid.Health <=20 then
  2733. if attack == false then
  2734. Humanoid.Health = math.huge
  2735. Die()
  2736. end
  2737. end
  2738. if idle>=1000 then
  2739. if attack==false then
  2740. --Sheath()
  2741. end
  2742. end
  2743. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2744. Anim="Jump"
  2745. if attack==false then
  2746. Footsteps:Stop()
  2747. Footsteps2:Stop()
  2748. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2749. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2750. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2751. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2752. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2753. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2754. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2755. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2756. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2757. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2758. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2759. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2760. end
  2761. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2762. Anim="Fall"
  2763. if attack==false then
  2764. Footsteps:Stop()
  2765. Footsteps2:Stop()
  2766. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2767. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2768. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2769. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2770. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2771. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2772. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2773. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2774. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2775. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2776. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2777. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2778. end
  2779. elseif torvel<1 and hitfloor~=nil then
  2780. Anim="Idle"
  2781. change=0.5
  2782. if idle>=1000 then
  2783. if attack==false then
  2784. Footsteps:Stop()
  2785. Footsteps2:Stop()
  2786. Humanoid.WalkSpeed=12
  2787. 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)
  2788. 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)
  2789. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2790. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2791. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2792. 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)
  2793. 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)
  2794. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2795. 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)
  2796. 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)
  2797. end
  2798. else
  2799. if attack==false then
  2800. Footsteps:Stop()
  2801. Footsteps2:Stop()
  2802. Humanoid.WalkSpeed=12
  2803. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2804. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2805. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2806. 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)
  2807. 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)
  2808. 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)
  2809. 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)
  2810. 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)
  2811. 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)
  2812. 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)
  2813. end
  2814. end
  2815. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2816. Anim="Walk"
  2817. if attack==false then
  2818. change=0.8
  2819. --[[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)
  2820. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2821. 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)
  2822. 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)
  2823. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2824. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2825. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2826. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2827. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2828. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2829. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2830. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2831. RH.C0=clerp(RH.C0,RHC0,.3)
  2832. LH.C0=clerp(LH.C0,LHC0,.3)
  2833. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2834. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2835. ]]--
  2836. Footsteps:Play()
  2837. Footsteps2:Stop()
  2838. 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)
  2839. 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)
  2840. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2841. 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)
  2842. 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)
  2843. 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)
  2844. 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)
  2845. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2846. 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)
  2847. 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)
  2848. end
  2849. elseif torvel>=22 and hitfloor~=nil then
  2850. Anim="Run"
  2851. change=1
  2852. if attack==false then
  2853. Footsteps:Stop()
  2854. Footsteps2:Play()
  2855. 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)
  2856. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2857. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2858. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2859. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2860. 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)
  2861. 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)
  2862. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2863. 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)
  2864. 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)
  2865. end
  2866. end
  2867. end
  2868. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2869. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  2870. if mana>=100 then
  2871. mana=100
  2872. else
  2873. if mananum<=8 then
  2874. mananum=mananum+1
  2875. else
  2876. mananum=0
  2877. mana=mana+1
  2878. end
  2879. end
  2880. end
  2881. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement