Jamil_And_Brol

Untitled

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