Advertisement
yoyo74456

Reveger

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