Advertisement
Guest User

Untitled

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