Advertisement
SomeRandomSkid

FE Ravenger Claws

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