TheClassicMeme

Untitled

Jun 3rd, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.50 KB | None | 0 0
  1. local Player = game:service("Players").LocalPlayer
  2. repeat wait() until Player.Character ~= nil
  3.  
  4. -- todo:
  5.  
  6. local plrs = game:GetService('Players')
  7. local plr = plrs.LocalPlayer
  8. local char = plr.Character
  9. local bp = plr.Backpack
  10. local hum = char.Humanoid
  11. local T = char.Torso
  12. local Character = char
  13. local Humanoid = hum
  14. local torso = char.Torso
  15. local Char = Player.Character
  16. local char = Char
  17. local mouse = Player:GetMouse()
  18. local Backpack = Player.Backpack
  19. local PlayerGui = Player.PlayerGui
  20. local Camera = workspace.CurrentCamera
  21. local Humanoid = Char:WaitForChild("Humanoid")
  22. local Torso = Char:WaitForChild("Torso")
  23. local Head = Char:WaitForChild("Head")
  24. local ra = Char:WaitForChild("Right Arm")
  25. local la = Char:WaitForChild("Left Arm")
  26. local rl = Char:WaitForChild("Right Leg")
  27. local ll = Char:WaitForChild("Left Leg")
  28. local rs = Torso:WaitForChild("Right Shoulder")
  29. local ls = Torso:WaitForChild("Left Shoulder")
  30. local rh = Torso:WaitForChild("Right Hip")
  31. local lh = Torso:WaitForChild("Left Hip")
  32. local neck = Torso:WaitForChild("Neck")
  33. local rootpart = Char:WaitForChild("HumanoidRootPart")
  34. local rj = rootpart:WaitForChild("RootJoint")
  35. local anim = Char:WaitForChild("Animate")
  36. local RunService = game:GetService("RunService")
  37. local UIA = game:GetService("UserInputService")
  38. local CF = CFrame.new
  39. local CA = CFrame.Angles
  40. local FEA = CFrame.fromEulerAnglesXYZ
  41. local FAA = CFrame.fromAxisAngle
  42. local V3 = Vector3.new
  43. local CN = Color3.new
  44. local Ice = Instance.new
  45. local BC = BrickColor.new
  46. local UD2 = UDim2.new
  47. local C3 = Color3.new
  48. local MR = math.rad
  49. local MP = math.pi
  50. local MD = math.deg
  51. local MH = math.huge
  52. local MS = math.sin
  53. local MC = math.cos
  54. local MT = math.tan
  55. local MAS = math.asin
  56. local MAC = math.acos
  57. local MAT = math.atan
  58. local components = CF().components
  59. local State = "Calm"
  60. local Slash = false
  61. local Sheathed = false
  62. local combocounter = 0
  63.  
  64. humanoid = char:findFirstChild("Humanoid")
  65. hum = humanoid
  66. torso = char:findFirstChild("Torso")
  67. head = char.Head
  68. ra = char:findFirstChild("Right Arm")
  69. ra.CanCollide = true
  70. la = char:findFirstChild("Left Arm")
  71. la.CanCollide = true
  72. rl = char:findFirstChild("Right Leg")
  73. rl.CanCollide = true
  74. ll = char:findFirstChild("Left Leg")
  75. ll.CanCollide = true
  76. rs = torso:findFirstChild("Right Shoulder")
  77. ls = torso:findFirstChild("Left Shoulder")
  78. rh = torso:findFirstChild("Right Hip")
  79. lh = torso:findFirstChild("Left Hip")
  80. neck = torso:findFirstChild("Neck")
  81. rootpart = char:findFirstChild("HumanoidRootPart")
  82. rj = rootpart:findFirstChild("RootJoint")
  83. anim = char:findFirstChild("Animate")
  84. camera = workspace.CurrentCamera
  85. plr.CameraMaxZoomDistance = math.huge
  86. pcall(function()anim:Destroy()end)
  87. pcall(function()char["Health"].Disabled = true end)
  88. pcall(function()humanoid.Animator:Destroy()end)
  89. local rjo = rootpart.RootJoint:Clone()
  90. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  91. local wld = Instance.new("Weld", wp1)
  92. wld.Part0 = wp0
  93. wld.Part1 = wp1
  94. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  95. return wld
  96. end
  97. for k,v in pairs(char:children'') do
  98. if v:isA('BasePart') then
  99. v.BrickColor = BrickColor.new('Really black')
  100. end
  101. end
  102. pcall(function()
  103. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  104. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  105. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  106. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  107. char["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  108. char["Body Colors"].RightLegColor = BrickColor.new("Really black")
  109. end)
  110. local mult = 1
  111.  
  112. la.Size = la.Size * mult
  113. ra.Size = ra.Size * mult
  114. ll.Size = ll.Size * mult
  115. rl.Size = rl.Size * mult
  116. torso.Size = torso.Size * mult
  117. head.Size = head.Size * mult
  118. rootpart.Size = rootpart.Size * mult
  119.  
  120. local lm = newWeld(torso, la, -1.7*mult, 0.5*mult, 0)
  121. lm.C1 = CFrame.new(0, 0.5*mult, 0)
  122. local rm = newWeld(torso, ra, 1.7*mult, 0.5*mult, 0)
  123. rm.C1 = CFrame.new(0, 0.5*mult, 0)
  124. local neck = newWeld(torso, head, 0, mult, 0)
  125. local llegm = newWeld(torso, ll, -0.5*mult, -1*mult, 0)
  126. llegm.C1 = CFrame.new(0, mult, 0)
  127. local rlegm = newWeld(torso, rl, 0.5*mult, -1*mult, 0)
  128. rlegm.C1 = CFrame.new(0, mult, 0)
  129. local rj = rjo:Clone()
  130. rj.Part0 = rootpart
  131. rj.Part1 = torso
  132. rj.Parent = rootpart
  133. neck.C1 = CFrame.new(0, -(mult/2), 0)
  134. neckc0 = neck.C0
  135. rsc0 = rm.C0
  136. lsc0 = lm.C0
  137. llc0 = llegm.C0
  138. rlc0 = rlegm.C0
  139. rootc0 = rj.C0
  140. rootc1 = rj.C1
  141. wait()
  142.  
  143.  
  144. function Create(Instanc,prop)
  145. local p=Instance.new(Instanc)
  146. for i,v in pairs(prop) do
  147. p[i]=v
  148. end
  149. return p
  150. end
  151.  
  152. function rwait(num)
  153. if num==0 or num==nil then
  154. game:service'RunService'.Stepped:wait(0)
  155. else
  156. for i=0,num do
  157. game:service'RunService'.Stepped:wait(0)
  158. end
  159. end
  160. return true
  161. end
  162.  
  163.  
  164. local pony = Instance.new('PointLight', Torso)
  165. pony.Name = 'LePontyPontz'
  166. pony.Brightness = 1
  167. pony.Color = Color3.new(0,255/255, 0)
  168.  
  169. coroutine.wrap(function()
  170. game:service'RunService'.Stepped:connect(function()
  171. pony.Range = 5+math.abs(math.sin(tick()/2))*6
  172. end)
  173. end)()
  174.  
  175. local function setupPart(part)
  176. part.Anchored = true
  177. part.FormFactor = 'Custom'
  178. part.CanCollide = false
  179. part.BrickColor = BrickColor.new("Sea green")
  180. part.Material = "Neon"
  181. part.TopSurface = 'SmoothNoOutlines'
  182. part.BottomSurface = 'SmoothNoOutlines'
  183. part.FrontSurface = 'SmoothNoOutlines'
  184. part.BackSurface = 'SmoothNoOutlines'
  185. part.LeftSurface = 'SmoothNoOutlines'
  186. part.RightSurface = 'SmoothNoOutlines'
  187. end
  188.  
  189. function CFrameFromTopBack(at, top, back)
  190. local right = top:Cross(back)
  191. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  192. end
  193.  
  194. function CreateTriangle(parent, a, b, c)
  195. local this = {}
  196. local mPart1 = Instance.new('WedgePart')
  197. setupPart(mPart1)
  198. local mPart2 = Instance.new('WedgePart')
  199. setupPart(mPart2)
  200. function this:Set(a, b, c) --[[ edg1 A ------|------>B --. '\ | / \ \part1|part2/ | \ cut / / Direction edges point in: edg3 \ / edg2 / (clockwise) \ / |/ \<- / ` \ / C --]]
  201. local ab, bc, ca = b-a, c-b, a-c local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  202. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  203. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  204. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  205. if edg1 < edg2 then
  206. if edg1 < edg3 then
  207. -- nothing to change
  208. else
  209. a, b, c = c, a, b
  210. ab, bc, ca = ca, ab, bc
  211. abm = cam
  212. end
  213. else
  214. if edg2 < edg3 then
  215. a, b, c = b, c, a
  216. ab, bc, ca = bc, ca, ab
  217. abm = bcm
  218. else
  219. a, b, c = c, a, b
  220. ab, bc, ca = ca, ab, bc
  221. abm = cam
  222. end
  223. end
  224.  
  225. local len1 = -ca:Dot(ab)/abm local len2 = abm - len1 local width = (ca + ab.unit*len1).magnitude
  226. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  227.  
  228. mPart1.Parent = parent
  229. mPart1.Size = Vector3.new(1,1,1)
  230. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  231. local Mesh = Instance.new("SpecialMesh",mPart1)
  232. Mesh.MeshType = "Wedge"
  233. Mesh.Scale = Vector3.new(0.005, width, len1)
  234.  
  235. mPart2.Parent = parent
  236. mPart2.Size = Vector3.new(1,1,1)
  237. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  238. local Mesh = Instance.new("SpecialMesh",mPart2)
  239. Mesh.MeshType = "Wedge"
  240. Mesh.Scale = Vector3.new(0.005, width, len2)
  241. end
  242.  
  243. function this:SetProperty(prop, value)
  244. mPart1[prop] = value
  245. mPart2[prop] = value
  246. end
  247.  
  248. function this:GetProperty(prop)
  249. return mPart1[prop]
  250. end
  251.  
  252. this:Set(a, b, c)
  253. function this:Destroy()
  254. mPart1:Destroy()
  255. mPart2:Destroy()
  256. end
  257. return this
  258. end
  259.  
  260. local ttt
  261. local lastdps = tick()
  262. local ohp = hum.Health
  263. local berserk = false
  264. hum.Changed:connect(function(val)
  265. if val == 'Health_XML' then
  266. if hum.Health < ohp then
  267. lastdps = tick()
  268. end
  269. ohp = hum.Health
  270. if not berserk and hum.Health<(hum.MaxHealth*.15) then
  271. ttt = true
  272. hum.WalkSpeed = 0
  273. hum.MaxHealth = 1/0
  274. otheranims = true
  275.  
  276. local rs = game:service'RunService'.Stepped
  277.  
  278. GW = function()
  279. local wave = Instance.new("Part", Torso)
  280. wave.BrickColor = BrickColor.new("Really black")
  281. wave.Anchored = true
  282. wave.CanCollide = false
  283. wave.Locked = true
  284. wave.Size = Vector3.new(1, 1, 1)
  285. wave.TopSurface = "Smooth"
  286. wave.BottomSurface = "Smooth"
  287. wave.Material="Neon"
  288. wave.Transparency = 0.35
  289. wave.CFrame = Torso.CFrame
  290. wm = Instance.new("SpecialMesh", wave)
  291. wm.MeshType = "Sphere"
  292. wm.Scale = Vector3.new(1,1,1)
  293. coroutine.wrap(function()
  294. for i = 0, 15, 1 do
  295. wave.Size = wave.Size + Vector3.new(1, 1, 1)
  296. wave.CFrame = Torso.CFrame
  297. wave.Transparency = i/14
  298. wait()
  299. end
  300. wait()
  301. wave:Destroy()
  302. end)()
  303. end
  304.  
  305. Spawn(function()
  306. while ttt do
  307. GW()
  308. wait(math.random(1,4))
  309. end
  310. end)
  311.  
  312. local prtz = {la,Head,Torso}
  313. local pes = {}
  314.  
  315. for i,v in pairs(prtz) do
  316. coroutine.wrap(function()
  317. local dsa = Instance.new('ParticleEmitter', v)
  318. local color1 = Color3.new(0.5,1,0.5)
  319. local color2 = Color3.new(0,85/255,0)
  320. local sequence = ColorSequence.new(color1,color2)
  321. dsa.Color = sequence
  322. dsa.LightEmission = .8
  323. dsa.Texture = "http://www.roblox.com/asset/?id=242102147"
  324. dsa.LockedToPart = true
  325. dsa.EmissionDirection = 'Top'
  326. dsa.Lifetime = NumberRange.new(1)
  327. dsa.VelocitySpread = 10
  328. dsa.Size = NumberSequence.new(1)
  329. table.insert(pes, dsa)
  330. end)()
  331. end
  332.  
  333.  
  334. Mode = 'Kneeling'
  335. berserk = true
  336. wait(2)
  337. hum.MaxHealth = 10000
  338. for i = 500, (10000*.75),15 do
  339. hum.Health = i
  340. game:service'RunService'.Stepped:wait()
  341. end
  342. ttt = false
  343. for q,e in pairs(pes) do game.Destroy(e) end
  344. hum.WalkSpeed = 8
  345. otheranims = false
  346. end
  347. elseif val =='PlatformStand' then
  348. hum.PlatformStand = false
  349. elseif val == "Sit" then
  350. hum.Sit = false
  351. elseif val == "WalkSpeed" then
  352. end
  353. end)
  354. regening = false
  355. lastdps = tick()
  356. function regenHealth()
  357. if regening then return end
  358. if (tick()-lastdps < 25) then return end
  359. regening = true
  360. local s = wait(1)
  361. local health = hum.Health
  362. if health > 0 and health < hum.MaxHealth then
  363. local newHealthDelta = hum.MaxHealth * .03
  364. health = health + newHealthDelta
  365. hum.Health = math.min(health,hum.MaxHealth)
  366. end
  367.  
  368. regening = false
  369. end
  370.  
  371. local LastTrail = nil
  372. local Trails = {}
  373.  
  374.  
  375.  
  376. --SlashDamage = Damage(TrailPart)
  377.  
  378. asd = function(parent,string)
  379. repeat wait() until parent:FindFirstChild(string)
  380. wait()
  381. return parent:FindFirstChild(string)
  382. end
  383.  
  384. local beamy = asd(game.ReplicatedStorage, 'Beamy'):Clone()
  385.  
  386. local Model = asd(game.ReplicatedStorage,'mdl'):Clone()
  387. Model.Parent = Char
  388.  
  389. local shm,swm,shem = Model:WaitForChild'Sheath',Model:WaitForChild'Sword',Model:WaitForChild'Shield'
  390.  
  391. local LAH,RAH,TH = shem:WaitForChild'LeftArmHandle',swm:WaitForChild'RightArmHandle',shm:WaitForChild'TorsoHandle'
  392.  
  393. LAH.Transparency,RAH.Transparency,TH.Transparency = 1,1,1
  394.  
  395. local law = Create("Weld",{Parent=la,Part0=la,Part1=LAH,C0=CFrame.new(0,0,0)})
  396. local raw = Create("Weld",{Parent=ra,Part0=ra,Part1=RAH,C0=CFrame.new(0,0,0)})
  397. local rawc0 = raw.C0
  398. local lawc0 = law.C0
  399. LAH.Anchored,RAH.Anchored,TH.Anchored = false,false,false
  400. local torw = Create("Weld",{Parent=Torso,Part0=Torso,Part1=TH,C0=CFrame.new(0,0,0)})
  401.  
  402. TrailPart = Create("Part",{Parent=Char,Anchored=false,CanCollide=false,Size=V3(0,5,0),Transparency=1})
  403. TrailPartMesh = Create("Snap",{Parent=TrailPart,Part0=RAH,Part1=TrailPart,C0=CFrame.new(0,-1,-4.2)*CFrame.Angles(MR(90),0,0)})
  404.  
  405. local get=game.ReplicatedStorage:FindFirstChild'GoldSuit':Clone()
  406. get.Parent = Char
  407. local torso=get:WaitForChild("Torso") local head=get:WaitForChild("Head") local rightarm=get:WaitForChild("RightArm")
  408. local leftarm=get:WaitForChild("LeftArm") local rightleg=get:WaitForChild("RightLeg") local leftleg=get:WaitForChild("LeftLeg")
  409. Create("Weld",{Parent=torso.Handle,Part0=Torso,Part1=torso.Handle,C0=CFrame.new(0,0,0)})
  410. Create("Weld",{Parent=head.Handle,Part0=Head,Part1=head.Handle,C0=CFrame.new(0,0,0)})
  411. Create("Weld",{Parent=rightarm.Handle,Part0=ra,Part1=rightarm.Handle,C0=CFrame.new(0,0,0)})
  412. Create("Weld",{Parent=leftarm.Handle,Part0=la,Part1=leftarm.Handle,C0=CFrame.new(0,0,0)})
  413. Create("Weld",{Parent=leftleg.Handle,Part0=ll,Part1=leftleg.Handle,C0=CFrame.new(0,0,0)})
  414. Create("Weld",{Parent=rightleg.Handle,Part0=rl,Part1=rightleg.Handle,C0=CFrame.new(0,0,0)})
  415. function recurse(c)
  416. for i,v in pairs(c:children()) do
  417. if v:IsA'BasePart' then
  418. v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  419. end
  420. recurse(v)
  421. end
  422. end
  423. recurse(get)
  424. recurse(Model)
  425. ra.Transparency=1
  426. la.Transparency=1
  427. ll.Transparency=1
  428. rl.Transparency=1
  429.  
  430. HitDB = {}
  431.  
  432. function Damage(part)
  433. smthn = part.Touched:connect(function(hit)
  434. Human = hit.Parent:findFirstChild("Humanoid")
  435. if Human ~= nil and hit.Parent.Name ~= Player.Name and Slash == true and HitDB[hit.Parent.Humanoid] == nil then
  436. coroutine.wrap(function() --threads so we don't have to wait after each hit for every person hit!
  437. HitDB[hit.Parent.Humanoid] = true
  438. Human.Health = Human.Health-25
  439. local vu = Instance.new("BodyVelocity",hit.Parent.Torso)
  440. vu.P = 500
  441. vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000)
  442. vu.velocity = Head.CFrame.lookVector*10
  443. game:GetService("Debris"):AddItem(vu,0.267)
  444. wait(0.25)
  445. HitDB[hit.Parent.Humanoid] = nil
  446. end)()
  447. end
  448. end)
  449. return smthn
  450. end
  451.  
  452. hum.WalkSpeed = 8
  453. hum.MaxHealth = 10000
  454. hum.Health = 10000
  455.  
  456. function lerp(weld,beglerp,endlerp,speed)
  457. if weld.ClassName =='Weld' or weld.ClassName == 'Motor6D' then
  458. weld.C0 = beglerp:lerp(endlerp,speed)
  459. else
  460. weld.CFrame = beglerp:lerp(endlerp,speed)
  461. end
  462. return (weld.ClassName =='Weld' or weld.ClassName == 'Motor6D' and weld.C0 or weld.CFrame)
  463. end
  464.  
  465. Ragdoll = function(Format, Character, Force)
  466. if Force ~= true then
  467. if Character:FindFirstChild("Ragdoll") ~= nil and Format == true then return false end
  468. if Character:FindFirstChild("Ragdoll") == nil and Format == false then return false end
  469. end
  470. local Head = nil
  471. local Torso = nil
  472. local Humanoid = nil
  473. local Dead = false
  474. for _, Children in pairs(Character:GetChildren()) do
  475. if Children.ClassName == "ForceField" then Children:Remove() end
  476. if Children.Name == "" then Children:Remove() end
  477. if Children.Name == "Head" then Head = Children end
  478. if Children.Name == "Torso" then Torso = Children end
  479. if Children.ClassName == "Humanoid" then Humanoid = Children end
  480. if Children:IsA("Accoutrement") then
  481. if Children:FindFirstChild("Handle") ~= nil then
  482. if math.random(1, 3) == 1 then
  483. coroutine.wrap(function()
  484. Children.Parent = Workspace
  485. wait()
  486. Children.Parent = Character
  487. Children.Handle.CanCollide = true
  488. end)()
  489. else
  490. Children.Parent = Workspace
  491. Children.Handle.CanCollide = true
  492. end
  493. else
  494. Children:Remove()
  495. end
  496. end
  497. end
  498. if Humanoid ~= nil then
  499. if Humanoid.Health <= 0 then
  500. Dead = true
  501. end
  502. end
  503. if Torso ~= nil then
  504. for _, Children2 in pairs(Torso:GetChildren()) do
  505. if Children2:IsA("JointInstance") then
  506. Children2:Remove()
  507. end
  508. end
  509. end
  510. if Head ~= nil and (function()
  511. if Dead == true and math.random(1, 2) == 1 then
  512. return true
  513. else
  514. return false
  515. end
  516. end)() == false then
  517. local Neck = Instance.new("Motor6D")
  518. Neck.Name = "Neck"
  519. Neck.Part0 = Torso
  520. Neck.Part1 = Head
  521. Neck.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(180))
  522. Neck.C1 = CFrame.new(0, -0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(180))
  523. Neck.MaxVelocity = 0.1
  524. Neck.Parent = Torso
  525. end
  526. if Format == true then
  527. local Ragdoll = Instance.new("IntValue")
  528. Ragdoll.Name = "Ragdoll"
  529. Ragdoll.Parent = Character
  530. if Torso ~= nil then
  531. Torso.Velocity = Torso.Velocity / 1.25
  532. Torso.RotVelocity = (Torso.RotVelocity / 1.25) + Head.CFrame.lookVector*80
  533. if Dead == true then
  534. if Humanoid ~= nil then
  535. local Humanoid2 = Humanoid:Clone()
  536. wait()
  537. Humanoid:Remove()
  538. Humanoid2.Parent = Character
  539. Humanoid = Humanoid2
  540. end
  541. end
  542. local Limb = Character:FindFirstChild("Right Arm")
  543. if Limb ~= nil then
  544. Limb.Velocity = Torso.Velocity
  545. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  546. local Joint = Instance.new("Glue")
  547. Joint.Name = "RightShoulder"
  548. Joint.Part0 = Torso
  549. Joint.Part1 = Limb
  550. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  551. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  552. Joint.Parent = Torso
  553. local Weight = Instance.new("Part")
  554. Weight.Name = ""
  555. Weight.TopSurface = 0
  556. Weight.BottomSurface = 0
  557. Weight.Shape = "Block"
  558. Weight.FormFactor = "Custom"
  559. Weight.Size = Vector3.new(1, 1, 1)
  560. Weight.Transparency = 1
  561. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  562. Weight.Parent = Character
  563. local Weld = Instance.new("Weld")
  564. Weld.Part0 = Limb
  565. Weld.Part1 = Weight
  566. Weld.C0 = CFrame.new(0, -0.5, 0)
  567. Weld.Parent = Limb
  568. end
  569. local Limb = Character:FindFirstChild("Left Arm")
  570. if Limb then
  571. Limb.Velocity = Torso.Velocity
  572. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  573. local Joint = Instance.new("Glue")
  574. Joint.Name = "LeftShoulder"
  575. Joint.Part0 = Torso
  576. Joint.Part1 = Limb
  577. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  578. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  579. Joint.Parent = Torso
  580. local Weight = Instance.new("Part")
  581. Weight.Name = ""
  582. Weight.TopSurface = 0
  583. Weight.BottomSurface = 0
  584. Weight.Shape = "Block"
  585. Weight.FormFactor = "Custom"
  586. Weight.Size = Vector3.new(1, 1, 1)
  587. Weight.Transparency = 1
  588. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  589. Weight.Parent = Character
  590. local Weld = Instance.new("Weld")
  591. Weld.Part0 = Limb
  592. Weld.Part1 = Weight
  593. Weld.C0 = CFrame.new(0, -0.5, 0)
  594. Weld.Parent = Limb
  595. end
  596. local Limb = Character:FindFirstChild("Right Leg")
  597. if Limb then
  598. Limb.Velocity = Torso.Velocity
  599. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  600. local Joint = Instance.new("Glue")
  601. Joint.Name = "RightHip"
  602. Joint.Part0 = Torso
  603. Joint.Part1 = Limb
  604. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  605. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  606. Joint.Parent = Torso
  607. local Weight = Instance.new("Part")
  608. Weight.Name = ""
  609. Weight.TopSurface = 0
  610. Weight.BottomSurface = 0
  611. Weight.Shape = "Block"
  612. Weight.FormFactor = "Custom"
  613. Weight.Size = Vector3.new(1, 1, 1)
  614. Weight.Transparency = 1
  615. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  616. Weight.Parent = Character
  617. local Weld = Instance.new("Weld")
  618. Weld.Part0 = Limb
  619. Weld.Part1 = Weight
  620. Weld.C0 = CFrame.new(0, -0.5, 0)
  621. Weld.Parent = Limb
  622. end
  623. local Limb = Character:FindFirstChild("Left Leg")
  624. if Limb then
  625. Limb.Velocity = Torso.Velocity
  626. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  627. local Joint = Instance.new("Glue")
  628. Joint.Name = "LeftHip"
  629. Joint.Part0 = Torso
  630. Joint.Part1 = Limb
  631. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  632. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  633. Joint.Parent = Torso
  634. local Weight = Instance.new("Part")
  635. Weight.Name = ""
  636. Weight.TopSurface = 0
  637. Weight.BottomSurface = 0
  638. Weight.Shape = "Block"
  639. Weight.FormFactor = "Custom"
  640. Weight.Size = Vector3.new(1, 1, 1)
  641. Weight.Transparency = 1
  642. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  643. Weight.Parent = Character
  644. local Weld = Instance.new("Weld")
  645. Weld.Part0 = Limb
  646. Weld.Part1 = Weight
  647. Weld.C0 = CFrame.new(0, -0.5, 0)
  648. Weld.Parent = Limb
  649. end
  650. local Weight = Instance.new("Part")
  651. Weight.Name = ""
  652. Weight.TopSurface = 0
  653. Weight.BottomSurface = 0
  654. Weight.Shape = "Block"
  655. Weight.FormFactor = "Custom"
  656. Weight.Size = Vector3.new(1.75, 1.5, 1.1)
  657. Weight.Transparency = 1
  658. Weight.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  659. Weight.Parent = Character
  660. local Weld = Instance.new("Weld")
  661. Weld.Part0 = Torso
  662. Weld.Part1 = Weight
  663. Weld.C0 = CFrame.new(0, 0.5, 0)
  664. Weld.Parent = Torso
  665. end
  666. elseif Format == false then
  667. if Character:FindFirstChild("Ragdoll") ~= nil then Character.Ragdoll:Remove() end
  668. if Torso ~= nil then
  669. local Limb = Character:FindFirstChild("Right Arm")
  670. if Limb ~= nil then
  671. local Joint = Instance.new("Motor6D")
  672. Joint.Name = "Right Shoulder"
  673. Joint.Part0 = Torso
  674. Joint.Part1 = Limb
  675. Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  676. Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  677. Joint.MaxVelocity = 0.15
  678. Joint.Parent = Torso
  679. end
  680. local Limb = Character:FindFirstChild("Left Arm")
  681. if Limb ~= nil then
  682. local Joint = Instance.new("Motor6D")
  683. Joint.Name = "Left Shoulder"
  684. Joint.Part0 = Torso
  685. Joint.Part1 = Limb
  686. Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  687. Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  688. Joint.MaxVelocity = 0.15
  689. Joint.Parent = Torso
  690. end
  691. local Limb = Character:FindFirstChild("Right Leg")
  692. if Limb ~= nil then
  693. local Joint = Instance.new("Motor6D")
  694. Joint.Name = "Right Hip"
  695. Joint.Part0 = Torso
  696. Joint.Part1 = Limb
  697. Joint.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  698. Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  699. Joint.MaxVelocity = 0.1
  700. Joint.Parent = Torso
  701. end
  702. local Limb = Character:FindFirstChild("Left Leg")
  703. if Limb ~= nil then
  704. local Joint = Instance.new("Motor6D")
  705. Joint.Name = "Left Hip"
  706. Joint.Part0 = Torso
  707. Joint.Part1 = Limb
  708. Joint.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  709. Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  710. Joint.MaxVelocity = 0.1
  711. Joint.Parent = Torso
  712. end
  713. local Animate = Character:FindFirstChild("Animate")
  714. if Animate ~= nil then
  715. local Animate2 = Animate:Clone()
  716. Animate:Remove()
  717. Animate2.Parent = Character
  718. end
  719. end
  720. else
  721. return false
  722. end
  723. return true, Format
  724. end
  725. local Grabbed = false
  726. Ctrl = false
  727. local lastclick = tick()
  728. mouse.Button1Down:connect(function()
  729. if tick()-lastclick > .4 then combocounter = 0 end
  730. if otheranims then return end
  731. if Grabbed then return end
  732. if Sheathed then
  733. otheranims = true
  734. Mode = 'Sheath'
  735. wait(.7)
  736.  
  737. raw.Part0 = ra
  738. law.Part0 = la
  739. raw.C0 = rawc0
  740. law.C0 = lawc0
  741. Sheathed = false
  742.  
  743. otheranims = false
  744.  
  745. return
  746.  
  747. end
  748.  
  749.  
  750.  
  751. Slash = true
  752. local p0 = rootpart.CFrame*CF(0,0,-7)
  753. local p1 = rootpart.CFrame*CF(0,0,-15)
  754. if combocounter == 0 and not otheranims then
  755. otheranims = true
  756. Mode = 'Knee'
  757. local asdf = Damage(ll)
  758. rootpart.CFrame = rootpart.CFrame:lerp(p0,.1)
  759. wait(.3)
  760. asdf:disconnect()
  761. otheranims = false
  762. combocounter = 1
  763. elseif combocounter == 1 and not otheranims then
  764. otheranims = true
  765. Mode = 'Slash11'
  766. wait(.3)
  767. Mode = 'Slash12'
  768. rootpart.CFrame = rootpart.CFrame:lerp(p0,.1)
  769. wait(.3)
  770. Mode = 'Slash21'
  771. rootpart.CFrame = rootpart.CFrame:lerp(p0,.1)
  772. wait(.5)
  773. otheranims = false
  774. combocounter = 2
  775. elseif combocounter == 2 and not otheranims then
  776. otheranims = true
  777. Mode = 'Slash31'
  778. wait(.3)
  779. Mode = 'Slash32'
  780. rootpart.CFrame = rootpart.CFrame:lerp(p0,.1)
  781. wait(.5)
  782. otheranims = false
  783. combocounter =3
  784. elseif combocounter == 3 and not otheranims then
  785. otheranims = true
  786. sDps = Damage(LAH)
  787. Mode = 'Bash11'
  788. wait(.3)
  789. rootpart.CFrame = rootpart.CFrame:lerp(p1,.6)
  790. wait(1)
  791. sDps:disconnect()
  792. otheranims = false
  793. combocounter = 0
  794. end
  795.  
  796. Slash = false
  797. lastclick = tick()
  798. end)
  799.  
  800.  
  801. function MediumParticleEmit(Object,Color)
  802. coroutine.wrap(function()
  803. while Wait(3.1)do
  804. if not Object then break end
  805. local p = Instance.new("Part",Object.Parent)
  806. p.Name = "Trail"
  807. p.TopSurface = 0
  808. p.BottomSurface = 0
  809. p.Anchored = true
  810. p.Material = 'Neon'
  811. p.CanCollide = false
  812. p.FormFactor = "Custom"
  813. p.Size = Vector3.new(0.01,0.01,0.01)
  814. p.BrickColor = type(Color)== 'userdata' and Color or BrickColor.new(Color)
  815. p.CFrame = Object.CFrame * CFrame.new(math.random(-1,1),math.random(-1,1)-3,math.random(-1,1))
  816. local m = Instance.new("BlockMesh",p)
  817. m.Scale = Vector3.new(2,2,2)
  818. coroutine.wrap(function()
  819. for i = 1,15 do
  820. p.Transparency = i/15
  821. m.Scale = m.Scale + Vector3.new(0.1,0.1,0.1)
  822. p.CFrame = CFrame.new(p.Position + Vector3.new(math.random(-5,5)/20,0.4,math.random(-5,5)/20))* CFrame.fromEulerAnglesXYZ(math.random(-10,10)/i,math.random(-10,10)/i,0.5)
  823. Wait()
  824. end
  825. p:Destroy()
  826. end)()
  827. end
  828. end)()
  829. end
  830.  
  831. function IsNear(Position,Distance,SinglePlayer,db)
  832. if SinglePlayer then
  833. return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance
  834. end
  835. local List = {}
  836. for i,v in pairs(workspace:GetChildren())do
  837. if v:IsA("Model")then
  838. if v:findFirstChild("Torso")then
  839. --if (v ~= char and not db) then
  840. if(v.Torso.CFrame.p -Position).magnitude < Distance then
  841. table.insert(List,v)
  842. end
  843. --end
  844. end
  845. end
  846. end
  847. return List
  848. end
  849.  
  850. local beaming = false
  851. local Shielding = false
  852. mouse.KeyDown:connect(function(k)
  853.  
  854. if otheranims then return end
  855. if beaming then return end
  856. if Shielding then return end
  857.  
  858. if k == 'q' then
  859.  
  860. if Grabbed then return end
  861.  
  862. otheranims = true
  863.  
  864. if not Sheathed then
  865.  
  866. Mode = 'Sheath'
  867. wait(.7)
  868.  
  869. raw.Part0 = Torso
  870. law.Part0 = Torso
  871. raw.C0 = rawc0 * CFrame.new(1.8,3.3,.65) * CFrame.Angles(0,math.rad(90),0) * CFrame.Angles(math.rad(-45),0,0)
  872. law.C0 = lawc0 * CFrame.new(-.3,.5,.25) * CFrame.Angles(0,math.rad(90),0) * CFrame.Angles(math.rad(-45),0,0)
  873. Sheathed = true
  874.  
  875. else
  876.  
  877. Mode = 'Sheath'
  878. wait(.7)
  879.  
  880. raw.Part0 = char:findFirstChild('Right Arm')
  881. law.Part0 = char:findFirstChild'Left Arm'
  882. raw.C0 = rawc0
  883. law.C0 = lawc0
  884. Sheathed = false
  885.  
  886. end
  887.  
  888. otheranims = false
  889.  
  890. elseif k == 'g' then
  891.  
  892. if Sheathed then
  893. otheranims = true
  894. Mode = 'Sheath'
  895. wait(.7)
  896.  
  897. raw.Part0 = ra
  898. law.Part0 = la
  899. raw.C0 = rawc0
  900. law.C0 = lawc0
  901. Sheathed = false
  902.  
  903. otheranims = false
  904.  
  905. return
  906.  
  907. end
  908.  
  909. otheranims = true
  910.  
  911. Mode = 'Shielding'
  912.  
  913. Shielding = true
  914.  
  915.  
  916. local storedHp = hum.Health
  917.  
  918. coroutine.wrap(function()
  919. local shieldTime = tick()
  920. while Shielding do
  921. if tick()-shieldTime > 60 then otheranims = false Shielding = false break end
  922. hum.Health = storedHp
  923.  
  924. game:service'RunService'.Stepped:wait()
  925. end
  926. end)()
  927.  
  928. elseif k:byte() == 50 then
  929.  
  930. Ctrl = true
  931.  
  932. elseif k:byte() == 48 then
  933.  
  934. coroutine.wrap(function()
  935. for i = 70,60,-1 do
  936. camera.FieldOfView = i
  937. wait()
  938. end
  939. end)()
  940.  
  941. hum.WalkSpeed = 18
  942.  
  943. elseif k=='r' then
  944.  
  945. otheranims = true
  946.  
  947. Mode = 'Stomp1'
  948.  
  949. wait(.5)
  950.  
  951. Mode = 'Stomp2'
  952.  
  953. local Charging = true
  954.  
  955. pt=Instance.new('Part',Torso)
  956. pt.Anchored=true
  957. pt.CanCollide=false
  958. pt.Locked = true
  959. pt.Material = "Neon"
  960. pt.FormFactor='Custom'
  961. pt.Size=Vector3.new(1,1,1)
  962. pt.CFrame=rootpart.CFrame*CFrame.new(0,-1,0)
  963. pt.Transparency=.6
  964. pt.BrickColor = BrickColor.new("Bright green")
  965. msh=Instance.new('SpecialMesh',pt)
  966. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  967. msh.Scale=Vector3.new(10,2,10)
  968. pt2=pt:clone()
  969. pt2.Parent = Torso
  970. pt2.CFrame=rootpart.CFrame*CFrame.new(0,-1,0)
  971. pt2.BrickColor = BrickColor.new("Really black")
  972. msh2=msh:clone()
  973. msh2.Parent=pt2
  974. msh2.Scale=Vector3.new(10,2,10)
  975. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  976. bl = Instance.new("Part", char)
  977. bl.Locked = true
  978. bl.Name = "Shell"
  979. bl.BrickColor = BrickColor.new("Really black")
  980. bl.Anchored = true
  981. bl.Material = "Neon"
  982. bl.CanCollide = false
  983. bl.Transparency = 0
  984. bl.Reflectance = 0
  985. bl.BottomSurface = 0
  986. bl.TopSurface = 0
  987. bl.Shape = 0
  988. blm = Instance.new("SpecialMesh",bl)
  989. blm.MeshType = "Sphere"
  990. blm.Scale = Vector3.new(1,1,1)
  991.  
  992. coroutine.resume(coroutine.create(function()
  993. for i=1, math.huge, 4 do
  994. if Charging == true then
  995. game:service'RunService'.Stepped:wait()
  996. bl.CFrame = rootpart.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  997. blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
  998. bl.Transparency = bl.Transparency + 0.05
  999. pt.CFrame = rootpart.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  1000. pt2.CFrame = rootpart.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  1001. msh.Scale = msh.Scale + Vector3.new(0.7,0,0.7)
  1002. msh2.Scale = msh2.Scale + Vector3.new(0.7,0,0.7)
  1003. pt.Transparency = pt.Transparency + 0.015
  1004. pt2.Transparency = pt2.Transparency + 0.015
  1005. elseif Charging == false then break
  1006. end
  1007. end
  1008. end))
  1009. local Damaged = {}
  1010. coroutine.wrap(function()
  1011. for i,v in pairs(IsNear(Torso.Position, 25, nil, true)) do
  1012. if v~=Char then
  1013. if Damaged[v:FindFirstChild('Humanoid')] and tick()-Damaged[v:FindFirstChild('Humanoid')] < .25 then return end
  1014. v:FindFirstChild('Humanoid').Health = v:findFirstChild('Humanoid').Health - 25
  1015. v:findFirstChild'Humanoid'.PlatformStand = true
  1016. local vu = Instance.new("BodyVelocity",v:findFirstChild'Torso')
  1017. vu.P = 500
  1018. vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000)
  1019. vu.velocity = Head.CFrame.lookVector*80
  1020. game:GetService("Debris"):AddItem(vu,0.267)
  1021. Damaged[v:FindFirstChild('Humanoid')] = tick()
  1022. end
  1023. end
  1024. end)()
  1025.  
  1026. Spawn(function()
  1027. while game:service'RunService'.Stepped:wait() do
  1028. if p and p.Transparency >= 1 then pcall(function() p:Destroy() end) break end
  1029. if not p then break end
  1030. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1031. p.Transparency = p.Transparency+0.01
  1032. end
  1033. end)
  1034.  
  1035. wait(1)
  1036.  
  1037. pt:Destroy()
  1038. pt2:Destroy()
  1039. bl:Destroy()
  1040.  
  1041. Charging = false
  1042. otheranims = false
  1043.  
  1044. elseif k=='e' then
  1045.  
  1046. local function weld5(part0, part1, c0, c1)
  1047. weeld=Instance.new("Weld", part0)
  1048. weeld.Part0=part0
  1049. weeld.Part1=part1
  1050. weeld.C0=c0
  1051. weeld.C1=c1
  1052. return weeld
  1053. end
  1054.  
  1055. if not Sheathed then
  1056.  
  1057. otheranims = true
  1058.  
  1059. Mode = 'Sheath'
  1060. wait(.7)
  1061.  
  1062. raw.Part0 = Torso
  1063. law.Part0 = Torso
  1064. raw.C0 = rawc0 * CFrame.new(1.8,3.3,.65) * CFrame.Angles(0,math.rad(90),0) * CFrame.Angles(math.rad(-45),0,0)
  1065. law.C0 = lawc0 * CFrame.new(-.3,.5,.25) * CFrame.Angles(0,math.rad(90),0) * CFrame.Angles(math.rad(-45),0,0)
  1066. Sheathed = true
  1067.  
  1068. otheranims = false
  1069.  
  1070. return
  1071.  
  1072. end
  1073.  
  1074. if not Grabbed then
  1075.  
  1076. otheranims = true
  1077.  
  1078. Mode = 'Grabbing'
  1079.  
  1080. con1=ra.Touched:connect(function(hit)
  1081. if hit:IsDescendantOf(Char) then return end
  1082. ht = hit.Parent
  1083. hum1=ht:FindFirstChild('Humanoid')
  1084. if hum1 ~= nil then
  1085. hum1.Changed:connect(function(a)
  1086. if not hum1 then return end
  1087. if a=='PlatformStand' then
  1088. hum1.PlatformStand = true
  1089. elseif a=='Jump' then
  1090. hum1.Jump = false
  1091. elseif a == 'WalkSpeed' then
  1092. hum1.WalkSpeed = 0
  1093. elseif a == 'JumpPower' then
  1094. hum1.JumpPower = 0
  1095. end
  1096. end)
  1097. hum1.PlatformStand = true
  1098. hum1.Jump = false
  1099. hum1.WalkSpeed = 0
  1100. hum1.JumpPower = 0
  1101. gp = ht
  1102. local asde=weld5(ra,ht:FindFirstChild("Torso"),CFrame.new(0,-1.3,0),CFrame.new(0,0,0))
  1103. asde.Parent = ra
  1104. asde.Name = "asde"
  1105. asde.C0=asde.C0*CFrame.Angles(math.rad(-90),math.rad(0),0)
  1106. Grabbed = true
  1107. end
  1108. end)
  1109.  
  1110. wait(.5)
  1111.  
  1112. con1:disconnect()
  1113.  
  1114. otheranims = false
  1115.  
  1116. else
  1117.  
  1118. otheranims = true
  1119. pcall(function()
  1120. repeat ht:findFirstChild'Humanoid'.Health = ht:findFirstChild'Humanoid'.Health-(ht:findFirstChild'Humanoid'.MaxHealth*0.01)
  1121. game:service'RunService'.Stepped:wait()
  1122. hum:TakeDamage(-5)
  1123. until ht:findFirstChild'Humanoid'.Health <= (ht:findFirstChild'Humanoid'.MaxHealth*.015)
  1124. end)
  1125.  
  1126. Mode = 'Slash11'
  1127.  
  1128. wait(.4)
  1129.  
  1130. Mode = 'Throw1'
  1131.  
  1132. pcall(function() ra:findFirstChild'asde':Destroy() end)
  1133.  
  1134.  
  1135. local vu = Instance.new("BodyVelocity",ht.Torso)
  1136. vu.P = 500
  1137. vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000)
  1138. vu.velocity = Head.CFrame.lookVector*100
  1139. game:GetService("Debris"):AddItem(vu,0.267)
  1140.  
  1141. wait(.5)
  1142.  
  1143. Ragdoll(true, ht)
  1144. ht:findFirstChild'Humanoid'.PlatformStand =true
  1145.  
  1146. coroutine.wrap(function()
  1147. wait(5)
  1148. ht:breakJoints''
  1149. end)()
  1150.  
  1151. Grabbed = false
  1152.  
  1153. otheranims = false
  1154.  
  1155. end
  1156.  
  1157. elseif k=='f' then
  1158.  
  1159. otheranims = true
  1160.  
  1161. if Grabbed then return end
  1162.  
  1163. if not Sheathed then
  1164.  
  1165.  
  1166. Mode = 'Sheath'
  1167. wait(.7)
  1168.  
  1169. raw.Part0 = Torso
  1170. law.Part0 = Torso
  1171. raw.C0 = rawc0 * CFrame.new(1.8,3.3,.65) * CFrame.Angles(0,math.rad(90),0) * CFrame.Angles(math.rad(-45),0,0)
  1172. law.C0 = lawc0 * CFrame.new(-.3,.5,.25) * CFrame.Angles(0,math.rad(90),0) * CFrame.Angles(math.rad(-45),0,0)
  1173. Sheathed = true
  1174.  
  1175. otheranims = false
  1176.  
  1177. return
  1178.  
  1179. end
  1180.  
  1181. Mode = 'Beam'
  1182.  
  1183. hum.WalkSpeed = 0
  1184. local m0del = Instance.new('Model',char)
  1185. local wave = Instance.new('Part',m0del)
  1186. wave.CFrame = char.Head.CFrame * CFrame.new(0, 0, -10)
  1187. wave.TopSurface = 'Smooth'
  1188. wave.BottomSurface = 'Smooth'
  1189. wave.BrickColor = BrickColor.new('Bright green')
  1190. wave.Anchored = true
  1191. wave.FormFactor = 'Custom'
  1192. wave.Shape = 'Ball'
  1193. wave.CanCollide = false
  1194. wave.Transparency = 1
  1195. wave.Material = 'Neon'
  1196. wave.Size = Vector3.new(.4, .4, .4)
  1197. local needaloop = true
  1198. beaming = true
  1199. local coro = coroutine.resume(coroutine.create(function()
  1200. while needaloop do
  1201. game:service'RunService'.Stepped:wait()
  1202. local c = char
  1203. local radius = 25
  1204. local pos = wave.CFrame * CFrame.new(0,0,20)
  1205. local clrz = {'Really black','Bright green'};
  1206. for i = 1,1 do
  1207. local clr = clrz[math.random(1,#clrz)]
  1208. pos = wave.CFrame * CFrame.new(0,0,2)
  1209. local p = Instance.new('Part',c)
  1210. local mafa = math.random(-360,360)
  1211. p.CanCollide = false
  1212. p.Size = Vector3.new(1.3,1.3,1.3)
  1213. local m = Instance.new('SpecialMesh',p)
  1214. m.MeshType = 'Sphere'
  1215. spawn(function()
  1216. for i = 0,50 do
  1217. local int,int2 = .05,.05
  1218. m.Scale = m.Scale - Vector3.new(int,int,int)
  1219. p.Transparency = p.Transparency + int2
  1220. game:service'RunService'.Stepped:wait()
  1221. end
  1222. pcall(function()
  1223. p:Destroy()
  1224. end)
  1225. end)
  1226. p.BrickColor = BrickColor.new(clr)
  1227. p.Material = 'Neon'
  1228. p.CFrame = pos * CFrame.new(math.random(-radius,radius),math.random(-radius,radius),math.random(-radius,radius)) * CFrame.Angles(mafa,mafa,mafa)
  1229. local bp = Instance.new('BodyPosition',p)
  1230. bp.MaxForce = Vector3.new(1/0,1/0,1/0)
  1231. bp.D = 100
  1232. bp.P = 300
  1233. bp.Position = pos.p
  1234. game.Debris:AddItem(p,10)
  1235. end
  1236. end
  1237. end))
  1238. local nbeamy = beamy:Clone()
  1239. nbeamy.Parent = char
  1240. --beamy.FireFrom.Anchored = true
  1241. coroutine.wrap(function()
  1242. local Ringz = {}
  1243.  
  1244. for i,v in pairs(nbeamy:children'') do
  1245. if v.Name:lower():find'ring' then
  1246. table.insert(Ringz, v)
  1247. end
  1248. end
  1249.  
  1250. local Rot = 0
  1251.  
  1252. while nbeamy do
  1253.  
  1254. Rot = Rot + .035
  1255.  
  1256. if Rot >= 360 then Rot = 0 end
  1257.  
  1258. for q,e in pairs(Ringz) do
  1259. pcall(function()
  1260. if e.Name~='Ring7' then
  1261. e["qCFrameWeldThingy"].C0 = e["qCFrameWeldThingy"].C0 * CFrame.Angles(0,0,math.rad((e.Name ~= 'Ring4' and Rot or -Rot)))
  1262. end
  1263. end)
  1264. end
  1265.  
  1266. game:service'RunService'.Stepped:wait()
  1267.  
  1268. end
  1269.  
  1270. end)()
  1271. local bp = Instance.new('BodyPosition',nbeamy.FireFrom)
  1272. bp.MaxForce = Vector3.new(1/0,1/0,1/0)
  1273. bp.D = 100
  1274. bp.P = 1000
  1275. bp.Position = (char.Head.CFrame * CFrame.new(10, 20, -5)).p
  1276. for awe = 1, 250 do
  1277. wave.CFrame = char.Head.CFrame * CFrame.new(10, 20, -5)
  1278. nbeamy.FireFrom.CFrame = nbeamy.FireFrom.CFrame:lerp(CFrame.new(wave.CFrame.p, mouse.Hit.p) * CFrame.Angles(math.rad(180), 0, 0),1)
  1279. bp.Position = (char.Head.CFrame * CFrame.new(10, 20, -5)).p
  1280. wave.Size = Vector3.new(wave.Size.X+.1, wave.Size.Y+.1, wave.Size.Z+.1)
  1281. game:service'RunService'.Stepped:wait()
  1282. end
  1283. needaloop = false
  1284. local beam = Instance.new('Part',m0del)
  1285. beam.TopSurface = 'Smooth'
  1286. beam.BottomSurface = 'Smooth'
  1287. beam.Material = 'Neon'
  1288. beam.Transparency = .6
  1289. beam.Anchored = true
  1290. beam.BrickColor = BrickColor.new('Bright green')
  1291. beam.CanCollide = false
  1292. local mesh = Instance.new('CylinderMesh',beam)
  1293. local realbeam = beam:Clone()
  1294. realbeam.Parent = m0del
  1295. realbeam.Color = Color3.new(0,200/255,0)
  1296. realbeam.Transparency = .1
  1297. realbeam.CFrame = wave.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1298. beam.CFrame = wave.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1299. beam.Size = Vector3.new(23, 10/2, 23)
  1300. realbeam.Size = Vector3.new(24, 10/2, 24)
  1301. local p = wave:Clone()
  1302. p.Parent = m0del
  1303. p.Anchored = true
  1304. p.Transparency = 1
  1305. p.Size = Vector3.new(10, 10, 10)
  1306. local Damaged = {}
  1307. for HAAA = 1, 500 do
  1308. local starthere = (char.Head.CFrame * CFrame.new(10, 20, -5))
  1309. local idek = Ray.new(starthere.p,(mouse.Hit.p-starthere.p).unit*1000)
  1310. local thx = {char, m0del}
  1311. table.insert(thx, p)
  1312. local Bonk, ovhere = workspace:FindPartOnRayWithIgnoreList(idek, thx)
  1313. local meg
  1314. p.Transparency = 1
  1315. if Bonk and Bonk.Parent:findFirstChild'Humanoid' then
  1316. local dionamuh = Bonk.Parent:findFirstChild'Humanoid'
  1317. if Damaged[dionamuh] and tick()-Damaged[dionamuh]>.05 then
  1318. Damaged[dionamuh] = tick()
  1319. pcall(function() dionamuh.Health = dionamuh.Health-2 end)
  1320. elseif not Damaged[dionamuh] then
  1321. Damaged[dionamuh] = tick()
  1322. end
  1323. end
  1324. meg = (starthere.p - ovhere).magnitude
  1325. coroutine.wrap(function()
  1326. local asd = Instance.new('Part', char)
  1327. asd.CFrame = CFrame.new(ovhere)*CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  1328. asd.Size = Vector3.new(5,5,5)
  1329. asd.Reflectance = .40
  1330. asd.Transparency = .05
  1331. asd.TopSurface,asd.BottomSurface = 0,0
  1332. asd.CanCollide = false
  1333. asd.Color = Color3.new(0,150/255,0)
  1334. asd.Anchored = true
  1335. asd.Locked = true--[[
  1336. asd.Touched:connect(function(a)
  1337. if a and a.Parent:findFirstChild'Humanoid' then
  1338. local dionamuh = a.Parent:findFirstChild'Humanoid'
  1339. if Damaged[dionamuh] and tick()-Damaged[dionamuh]>.05 then
  1340. Damaged[dionamuh] = tick()
  1341. pcall(function() dionamuh.Health = dionamuh.Health-2 end)
  1342. elseif not Damaged[dionamuh] then
  1343. Damaged[dionamuh] = tick()
  1344. end
  1345. end
  1346. end)]]
  1347. wait()
  1348. for i = .05,1,.05 do
  1349. asd.Transparency = i
  1350. asd.Size = asd.Size + Vector3.new(.2, .2, .2)
  1351. game:service'RunService'.Stepped:wait()
  1352. end
  1353. asd:Destroy()
  1354. end)()
  1355. game:service'RunService'.Stepped:wait()
  1356. realbeam.Size = Vector3.new(7/2, meg, 7/2)
  1357. beam.Size = Vector3.new(5/2, meg, 5/2)
  1358. realbeam.CFrame = CFrame.new(starthere.p, ovhere) * CFrame.new(0,0,-meg/2) * CFrame.Angles(math.rad(90), 0, 0)
  1359. beam.CFrame = CFrame.new(starthere.p, ovhere) * CFrame.new(0,0,-meg/2) * CFrame.Angles(math.rad(90), 0, 0)
  1360. pcall(function()nbeamy.FireFrom.CFrame = nbeamy.FireFrom.CFrame:lerp(CFrame.new(starthere.p, ovhere) * CFrame.new(0,0,2) * CFrame.Angles(math.rad(180), 0, 0),1) end)
  1361. bp.Position = (char.Head.CFrame * CFrame.new(10, 20, -5)).p
  1362. wave.CFrame = starthere
  1363. end
  1364. nbeamy.FireFrom.Anchored = true
  1365. p:Destroy()
  1366. for i = 0,1,.05 do
  1367. realbeam.Transparency = i
  1368. wave.Transparency = i
  1369. beam.Transparency = i
  1370. game:service'RunService'.Stepped:wait()
  1371. end
  1372. nbeamy:Destroy()
  1373. beaming = false
  1374. m0del:Destroy()
  1375. hum.WalkSpeed = 8
  1376.  
  1377. otheranims = false
  1378.  
  1379. elseif k=='c' then
  1380.  
  1381. if Sheathed then
  1382. otheranims = true
  1383. Mode = 'Sheath'
  1384. wait(.7)
  1385.  
  1386. raw.Part0 = ra
  1387. law.Part0 = la
  1388. raw.C0 = rawc0
  1389. law.C0 = lawc0
  1390. Sheathed = false
  1391.  
  1392. otheranims = false
  1393.  
  1394. return
  1395.  
  1396. end
  1397.  
  1398.  
  1399. otheranims = true
  1400.  
  1401. hum.WalkSpeed = 0
  1402.  
  1403. Mode = 'Stabbing1'
  1404.  
  1405. wait(.7)
  1406.  
  1407. Mode = 'Stabbing2'
  1408.  
  1409. local Parts = {}
  1410.  
  1411. local Damaged = {}
  1412.  
  1413. for i = 1, 360, 20 do
  1414.  
  1415. local s = Instance.new('Part', char)
  1416. table.insert(Parts, s)
  1417. s.Name = 'Spikey'
  1418. s.CFrame = Torso.CFrame * CFrame.new(0, -10, 0)
  1419. s.Size = Vector3.new(1,1,1)
  1420. s.CanCollide = false
  1421. s.Anchored = true
  1422. s.BrickColor = BrickColor.new("Bright green")
  1423. s.Locked = true
  1424. s.Name = 's'
  1425. s.Material = 'Neon'
  1426. s.Size = Vector3.new(1, 1, 1)
  1427. s.BottomSurface = Enum.SurfaceType.Smooth
  1428. s.TopSurface = Enum.SurfaceType.Smooth
  1429. local PurpleMesh = Instance.new("SpecialMesh", s)
  1430. PurpleMesh.MeshType = Enum.MeshType.FileMesh
  1431. PurpleMesh.Name = "Mesh"
  1432. PurpleMesh.Scale = Vector3.new(.5,.5,.5)
  1433. PurpleMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1434. PurpleMesh.VertexColor = Vector3.new(1, 0, 1)
  1435.  
  1436. local qwe = -10
  1437.  
  1438. coroutine.wrap(function()
  1439. while s do
  1440. if qwe>=-1 then qwe=0 else qwe=qwe+.4 end
  1441. s.CFrame = s.CFrame:lerp(CFrame.new(Torso.CFrame.p)*CFrame.new(0, qwe, 0)
  1442. * (CFrame.Angles(0,0,0))
  1443. *CFrame.Angles(0,math.rad(i),0)
  1444. *CFrame.new(0,0,-20), .3)
  1445. game:service'RunService'.Stepped:wait()
  1446. end
  1447. end)()
  1448.  
  1449. coroutine.wrap(function()
  1450. repeat wait() until qwe>=-1
  1451. for i = .5, 2, .025 do
  1452. PurpleMesh.Scale = Vector3.new(i, i*2 ,i)
  1453. game:service'RunService'.Stepped:wait()
  1454. end
  1455. local it=Instance.new
  1456. local vt=Vector3.new
  1457. local cf=CFrame.new
  1458. local euler=CFrame.fromEulerAnglesXYZ
  1459. local angles=CFrame.Angles
  1460. local function NoOutline(Part)
  1461. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1462. end
  1463. local function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1464. local fp=Instance.new("Part")
  1465. fp.formFactor=formfactor
  1466. fp.Parent=parent
  1467. fp.Reflectance=reflectance
  1468. fp.Transparency=transparency
  1469. fp.CanCollide=false
  1470. fp.Locked=true
  1471. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1472. fp.Name=name
  1473. fp.Size=size
  1474. fp.Position=Torso.Position
  1475. --NoOutline(fp)
  1476. fp.Material=material
  1477. fp:BreakJoints()
  1478. return fp
  1479. end
  1480. local function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1481. local mesh=it(Mesh)
  1482. mesh.Parent=part
  1483. if Mesh=="SpecialMesh" then
  1484. mesh.MeshType=meshtype
  1485. mesh.MeshId=meshid
  1486. end
  1487. mesh.Offset=offset
  1488. mesh.Scale=scale
  1489. return mesh
  1490. end
  1491.  
  1492. local function weld(parent,part0,part1,c0,c1)
  1493. local weld=it("Weld")
  1494. weld.Parent=parent
  1495. weld.Part0=part0
  1496. weld.Part1=part1
  1497. weld.C0=c0
  1498. weld.C1=c1
  1499. return weld
  1500. end
  1501. local function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1502. local prt=part("Custom",char,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1503. prt.Anchored=true
  1504. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1505. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1506. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1507. CF=Part.CFrame
  1508. Numbb=0
  1509. randnumb=math.random()-math.random()
  1510. for i=0,1,0.05 do
  1511. wait()
  1512. CF=CF*cf(0,1,0)
  1513. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1514. Part.CFrame=CF*euler(Numbb,0,0)
  1515. Part.Transparency=i
  1516. Numbb=Numbb+randnumb
  1517. end
  1518. Part.Parent = nil
  1519. end),prt)
  1520. end
  1521. for i = 1,3 do
  1522. BreakEffect(BrickColor.new("Bright green"),s.CFrame,0.5,math.random(5,10),0.5)
  1523. end
  1524. coroutine.wrap(function()
  1525. for i,v in pairs(IsNear(Torso.Position, 35, nil, true)) do
  1526. if v~=Char then
  1527. if Damaged[v:FindFirstChild('Humanoid')] and tick()-Damaged[v:FindFirstChild('Humanoid')] < .5 then return end
  1528. v:FindFirstChild('Humanoid').Health = v:findFirstChild('Humanoid').Health - 25
  1529. v:findFirstChild'Humanoid'.PlatformStand = true
  1530. local vu = Instance.new("BodyVelocity",v:findFirstChild'Torso')
  1531. vu.P = 500
  1532. vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000)
  1533. vu.velocity = Head.CFrame.lookVector*60
  1534. game:GetService("Debris"):AddItem(vu,0.267)
  1535. Damaged[v:FindFirstChild('Humanoid')] = tick()
  1536. end
  1537. end
  1538. end)()
  1539. s:Destroy()
  1540. end)()
  1541.  
  1542. game:service'RunService'.Stepped:wait()
  1543. end
  1544.  
  1545. wait(3)
  1546.  
  1547. hum.WalkSpeed = 8
  1548.  
  1549. otheranims = false
  1550.  
  1551. end
  1552. end)
  1553.  
  1554. mouse.KeyUp:connect(function(k)
  1555. if k:byte() == 48 then
  1556. coroutine.wrap(function()
  1557. for i = 60,70,1 do
  1558. camera.FieldOfView = i
  1559. wait()
  1560. end
  1561. end)()
  1562. hum.WalkSpeed = 8
  1563. elseif k:byte() == 50 then
  1564. Ctrl = false
  1565. elseif k == 'g' then
  1566. Shielding = false
  1567. otheranims = false
  1568. end
  1569. end)
  1570.  
  1571. game.Lighting.TimeOfDay = "06:10:00"
  1572. pcall(game.Destroy, game:service'Lighting':findFirstChild'SunRayz')
  1573.  
  1574. local sr = Instance.new('SunRaysEffect',game.Lighting)
  1575. sr.Intensity = .1
  1576. sr.Name = 'SunRayz'
  1577.  
  1578. hum.JumpPower = 10 --10
  1579. Jumping = false
  1580. lastCtrl = tick()
  1581. Character.Humanoid.Jumping:connect(function()
  1582. if Jumping then return end
  1583. local eCtrl = Ctrl
  1584. if eCtrl then if tick()-lastCtrl < 0.2 then eCtrl = false end lastCtrl = tick() end
  1585. Mode = 'Jumping'
  1586. Jumping = true
  1587. local vu = Instance.new("BodyVelocity",Torso)
  1588. vu.P = 500
  1589. vu.maxForce = Vector3.new(10000000000,5000000000000000000000,100000000000)
  1590. vu.velocity = Vector3.new((Head.CFrame.lookVector.X*(eCtrl and 60 or 10)),(eCtrl and 10 or 20),(Head.CFrame.lookVector.Z*(eCtrl and 60 or 10)))
  1591. game:GetService("Debris"):AddItem(vu,0.267)
  1592. wait(0.7) --0.6
  1593. Jumping = false
  1594. end)
  1595.  
  1596. spawn(function()
  1597. while true do
  1598. local Size = Vector3.new(TrailPart.Size.X,TrailPart.Size.Y,TrailPart.Size.Z)
  1599. if Slash == true then
  1600. local P1 = (TrailPart.CFrame*CFrame.new(Size/2)).p
  1601. local P2 = (TrailPart.CFrame*CFrame.new(Size/-2)).p
  1602. if LastTrail then
  1603. local p1 = CreateTriangle(Char,LastTrail[2],LastTrail[1],P2)
  1604. local p2 = CreateTriangle(Char,LastTrail[1],P1,P2)
  1605. Trails[#Trails+1] = p1
  1606. Trails[#Trails+1] = p2
  1607. end
  1608. LastTrail = {P1,P2}
  1609. else
  1610. LastTrail = nil
  1611. end
  1612. for i,v in pairs(Trails) do
  1613. v:SetProperty("Transparency",v:GetProperty("Transparency")+0.1)
  1614. if v:GetProperty("Transparency") >= 1 then
  1615. v:Destroy()
  1616. Trails[i] = nil
  1617. end
  1618. end
  1619. rwait(.5)
  1620. end
  1621. end)
  1622.  
  1623.  
  1624.  
  1625. SlashDamage = Damage(TrailPart)
  1626.  
  1627. local count = 0
  1628.  
  1629. local t = tick()
  1630. local Smooth = 1
  1631. ---------------------------
  1632. local sine = 0
  1633. local change = 1
  1634. coroutine.wrap(function()
  1635. game:service('RunService').Heartbeat:connect(function()
  1636. local torso = char:FindFirstChild('Torso')
  1637. local mg = Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude
  1638. if not otheranims then
  1639. if (mg < 3) and not Jumping then
  1640. Mode = "Idling"
  1641. elseif (mg > 3 and mg < 10) and not Jumping then
  1642. Mode = "Walking"
  1643. elseif (mg > 10) and not Jumping then
  1644. Mode = "Running"
  1645. elseif Jumping and (Vector3.new(0, torso.Velocity.y, 0).magnitude > 2) and (mg > 1) then
  1646. Mode = "Jumping"
  1647. end
  1648. end
  1649. count = (count % 100) + (0.2)*(hum.WalkSpeed)/(5*1.3)--countspeed --1
  1650. angle = math.pi * math.sin(math.pi*2/100*count)
  1651. t = t+0.2*Smooth
  1652. sine = sine + change
  1653. --if (Mode=='Idling') and (tick()-lastdps < 30 and tick()-lastclick < 30) and not otheranims then Mode='CombatIdling' end
  1654.  
  1655. if Mode == 'Jumping' then
  1656. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,.6,-.6) * CFrame.Angles(0,-math.rad(10),0), .4)
  1657. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,.4,-.3), .4)
  1658. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), 0, 0), .4)
  1659. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(30)), .4)
  1660. lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(20), 0, math.rad(30)), .4)
  1661. lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(20), 0, 0), .4)
  1662. elseif Mode == 'Idling' then --stand
  1663. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,math.sin(t/20)/7,0) * CFrame.Angles(0, -math.rad(0), math.rad(8)),.3)
  1664. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,math.sin(t/20)/7,0) * CFrame.Angles(0, 0, -math.rad(8)),.3)
  1665. if not Sheathed then
  1666. lerp(neck, neck.C0, neckc0 * CFrame.new(0,-math.cos(t/20)/7,0) * CFrame.Angles(-1*math.cos(t/20)/7, -math.rad(15), 0),.2)
  1667. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.sin(t/20)/7, -math.rad(5), -math.rad(20)),.2)
  1668. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t/20)/7, math.rad(5), math.rad(20)),.2)
  1669. lerp(rj, rj.C0, rootc0 * CFrame.new(0,0,-math.sin(t/20)/7) * CFrame.Angles(0,0,math.rad(15)),.3)
  1670. lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1)
  1671. else
  1672. lerp(neck, neck.C0, neckc0 * CFrame.new(0,-math.sin(t/20)/15,0) * CFrame.Angles(-2*math.cos(t/15)/20, -math.rad(5), 0),.2)
  1673. lerp(lm, lm.C0, lsc0 * CFrame.new(0, -.2, 0) * CFrame.Angles(math.sin(t/20)/20, -math.rad(5), -math.rad(10)),.2)
  1674. lerp(rm, rm.C0, rsc0 * CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(Grabbed and 120 or 0) + math.sin(t/20)/15, math.rad(5), math.rad(Grabbed and 20 or 0) + math.rad(10)),.2)
  1675. lerp(rj, rj.C0, rootc0 * CFrame.new(0,0,-math.sin(t/20)/15) * CFrame.Angles(0,0,math.rad(5)),.3)
  1676. end
  1677. elseif Mode == 'Walking' then-- walk
  1678. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4)
  1679. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3*-math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4)
  1680. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3+2*math.cos(sine/7)), math.rad(0-3*math.cos(sine/14)), math.rad(0)),0.2)
  1681. lerp(lm, lm.C0, lsc0 * CFrame.new(0, .03*math.cos(sine/9), -math.sin(sine/20)/6) * CFrame.Angles(-math.rad(20*math.cos(sine/17)), math.rad(0), -math.rad(12)), 0.2)
  1682. lerp(rm, rm.C0, rsc0 * CFrame.new(0, .03*math.cos(sine/9), math.sin(sine/20)/6) * CFrame.Angles(math.rad(Grabbed and 120 or 0) + math.rad(20*math.cos(sine/17)), math.rad(0), math.rad(Grabbed and 20 or 0) + math.rad(12)), 0.2)
  1683. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(2+2*math.cos(sine/7)), 0, math.rad(0+3*math.cos(sine/14))), 0.2)
  1684. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1) end
  1685. elseif Mode == 'Running' then-- walk
  1686. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3*math.cos(sine/10)/2, -.05 + -math.sin(sine/10)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/10)/2, 0, 0), .4)
  1687. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3*-math.cos(sine/10)/2, -.05 + math.sin(sine/10)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/10)/2, 0, 0), .4)
  1688. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(6+6*math.cos(sine/10)/2), math.rad(0), math.rad(0)),0.2)
  1689. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(-10-20*math.cos(sine/10)/5), -math.rad(-40+10*math.cos(sine/10)/5), -math.rad(50-10*math.cos(sine/10)/5)), 0.2)
  1690. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(-10-20*math.cos(sine/10)/5), math.rad(-40+10*math.cos(sine/10)/5), math.rad(50-10*math.cos(sine/10)/5)), 0.2)
  1691. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -1+0.2*math.cos(sine/10)/2, 0) * CFrame.Angles(math.rad(14+10*math.cos(sine/10)/2), -math.cos(t/6)/30+math.sin(rootpart.RotVelocity.y/2)/6, math.rad(0)), 0.2)
  1692. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1) end
  1693. elseif Mode == 'Sheath' then
  1694. if (mg > 3 and mg < 18) then
  1695. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4)
  1696. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3*-math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4)
  1697. else
  1698. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,math.sin(t/15)/15,0) * CFrame.Angles(0, -math.rad(0), math.rad(8)),.3)
  1699. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,math.sin(t/15)/15,0) * CFrame.Angles(0, 0, -math.rad(8)),.3)
  1700. end
  1701. lerp(neck, neck.C0, neckc0 * CFrame.new(0,math.sin(t/15)/15,0) * CFrame.Angles(-1*math.cos(t/25)/10, -math.rad(15), 0),.2)
  1702. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(10), math.rad(120), -math.rad(60)),.2)
  1703. lerp(rm, rm.C0, rsc0 * CFrame.new(0, .6, -.2) * CFrame.Angles(math.rad(175), math.rad(0), math.rad(20)),.2)
  1704. lerp(rj, rj.C0, rootc0 * CFrame.new(0,0,-math.sin(t/15)/15) * CFrame.Angles(0,0,math.rad(15)),.3)
  1705. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(-.5, -1.6, -.85) * CFrame.Angles(math.rad(92),math.rad(26),math.rad(90)), 1 ) end
  1706. elseif Mode == 'Slash11' then
  1707.  
  1708. if (mg > 3) then
  1709. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3+2*math.cos(sine/7)), math.rad(0-3*math.cos(sine/14)), math.rad(0)),.6)
  1710. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(2+2*math.cos(sine/7)), 0, math.rad(0+3*math.cos(sine/14))), .6)
  1711. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .6)
  1712. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3*-math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .6)
  1713. else
  1714. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), .6)
  1715. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .2, -.6) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), .6)
  1716. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30),-math.rad(0)), .6)
  1717. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), .6)
  1718. end
  1719.  
  1720. lerp(lm, lm.C0, lsc0 * CFrame.new(0, -.5, -.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), .6)
  1721. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(60), -math.rad(60), math.rad(110)), .6)
  1722. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1.2, 0) * CFrame.Angles(-math.rad(20), 0, math.rad(90)), 1) end
  1723. elseif Mode == 'Slash12' then
  1724. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, -.3) * CFrame.Angles(math.rad(10), -math.rad(60), math.rad(10)), .6)
  1725. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -.2, 0) * CFrame.Angles(-math.rad(10), math.rad(0), -math.rad(10)), .6)
  1726. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(30), -math.rad(70), math.rad(30)),.6)
  1727. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), .6)
  1728. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(50), math.rad(40)), .6)
  1729. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(90)), .6)
  1730. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, -.5) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(60)), 1) end
  1731. elseif Mode == 'Slash31' then
  1732.  
  1733. if (mg > 3) then
  1734. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3+2*math.cos(sine/7)), math.rad(0-3*math.cos(sine/14)), math.rad(0)),.6)
  1735. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(2+2*math.cos(sine/7)), 0, math.rad(0+3*math.cos(sine/14))), .6)
  1736. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .6)
  1737. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3*-math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .6)
  1738. else
  1739. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .5, -.3) * CFrame.Angles(math.rad(10), 0, 0), .4)
  1740. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(0), math.rad(5), -math.rad(5)), .4)
  1741. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0)),.6)
  1742. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, -math.rad(15)), .6)
  1743. end
  1744.  
  1745. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), math.rad(10), -math.rad(20)), .6)
  1746. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(60), -math.rad(60), math.rad(110)), .6)
  1747. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1.2, 0) * CFrame.Angles(-math.rad(20), 0, math.rad(90)), 1) end
  1748. elseif Mode == 'Slash32' then
  1749. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, -.3) * CFrame.Angles(math.rad(10), -math.rad(30), math.rad(10)), .6)
  1750. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -.2, 0) * CFrame.Angles(-math.rad(20), math.rad(0), -math.rad(20)), .6)
  1751. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), -math.rad(50), math.rad(20)),.6)
  1752. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), .6)
  1753. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(50), math.rad(50), math.rad(50)), .6)
  1754. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(60)), .6)
  1755. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, 0) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(90)), 1) end
  1756. elseif Mode == 'Slash21' then
  1757. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, -.3) * CFrame.Angles(math.rad(10), -math.rad(30), math.rad(10)), .6)
  1758. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(10), math.rad(0), -math.rad(10)), .6)
  1759. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(10), -math.rad(20), math.rad(10)),.6)
  1760. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), -math.rad(20)), .6)
  1761. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(10), math.rad(60)), .6)
  1762. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), .6)
  1763. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, -.5) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(60)), 1) end
  1764. elseif Mode == 'Bash11' then
  1765. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), .6)
  1766. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .2, -.6) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), .6)
  1767. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30),-math.rad(0)), .6)
  1768. lerp(lm, lm.C0, lsc0 * CFrame.new(0, -.5, -.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), .6)
  1769. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t/15)/15, math.rad(5), math.rad(20)),.2)
  1770. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), .6)
  1771. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) end
  1772. elseif Mode == 'Kneeling' then
  1773. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, -.5, -.3) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(0)), .6)
  1774. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 1, -.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1775. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(30), math.rad(0),-math.rad(0)), .6)
  1776. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0,0) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(20)), .6)
  1777. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(90), math.rad(5), math.rad(20)),.2)
  1778. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(0)), .6)
  1779. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), 1) end
  1780. elseif Mode == 'Stomp1' then
  1781. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .85, -.4) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), .6)
  1782. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), .6)
  1783. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1784. lerp(lm, lm.C0, lsc0 * CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(30)), .6)
  1785. lerp(rm, rm.C0, rsc0 * CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(140), math.rad(0), -math.rad(30)), .6)
  1786. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), .6)
  1787. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) end
  1788. elseif Mode == 'Stomp2' then
  1789. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .6)
  1790. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1791. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), .6)
  1792. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), math.rad(30), -math.rad(30)), .6)
  1793. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), -math.rad(30), math.rad(30)), .6)
  1794. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), .6)
  1795. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) end
  1796. elseif Mode == 'Knee' then
  1797. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(25), math.rad(0), math.rad(0)), .6)
  1798. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .75, -1.2) * CFrame. Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1799. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), .6)
  1800. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), math.rad(30), -math.rad(30)), .6)
  1801. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), -math.rad(30), math.rad(30)), .6)
  1802. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -.3, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), .6)
  1803. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) end
  1804. elseif Mode == 'Grabbing' then
  1805. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,0,0) * CFrame.Angles(0, -math.rad(0), math.rad(8)),.3)
  1806. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,0,0) * CFrame.Angles(0, 0, -math.rad(8)),.3)
  1807. lerp(neck, neck.C0, neckc0 * CFrame.new(0,0,0) * CFrame.Angles(0, -math.rad(0), 0),.2)
  1808. lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, -math.rad(5), -math.rad(20)),.2)
  1809. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(90), math.rad(5), math.rad(20)),.2)
  1810. elseif Mode == 'Throw1' then
  1811. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, -.3) * CFrame.Angles(math.rad(10), -math.rad(30), math.rad(10)), .6)
  1812. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -.2, 0) * CFrame.Angles(-math.rad(20), math.rad(0), -math.rad(20)), .6)
  1813. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), -math.rad(50), math.rad(20)),.6)
  1814. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), .6)
  1815. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(80), math.rad(50), math.rad(50)), .6)
  1816. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(60)), .6)
  1817. elseif Mode == 'Beam' then
  1818. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0,0,0) * CFrame.Angles(0, -math.rad(0), math.rad(8)),.3)
  1819. lerp(llegm, llegm.C0, llc0 * CFrame.new(0,0,0) * CFrame.Angles(0, 0, -math.rad(8)),.3)
  1820. lerp(neck, neck.C0, neckc0 * CFrame.new(0,0,0) * CFrame.Angles(0, -math.rad(0), 0),.2)
  1821. lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, -math.rad(5), -math.rad(20)),.2)
  1822. lerp(rm, rm.C0, rsc0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(170), math.rad(5), math.rad(20)),.2)
  1823. elseif Mode == 'Shielding' then
  1824. if (mg > 3) then
  1825. lerp(lm, lm.C0, lsc0 * CFrame.new(.7, -.5, -.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(85)), .6)
  1826. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t/15)/15, math.rad(5), math.rad(20)),.2)
  1827. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3+2*math.cos(sine/7)), math.rad(0-3*math.cos(sine/14)), math.rad(0)),.6)
  1828. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(2+2*math.cos(sine/7)), 0, math.rad(0+3*math.cos(sine/14))), .6)
  1829. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .6)
  1830. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3*-math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .6)
  1831. else
  1832. lerp(lm, lm.C0, lsc0 * CFrame.new(.1, -.5, -.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), .6)
  1833. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t/15)/15, math.rad(5), math.rad(20)),.2)
  1834. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), .6)
  1835. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, .2, -.6) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), .6)
  1836. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30),-math.rad(0)), .6)
  1837. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), .6)
  1838. end
  1839. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) end
  1840. elseif Mode == 'Stabbing1' then
  1841. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .85, -.4) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), .6)
  1842. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), .6)
  1843. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1844. lerp(lm, lm.C0, lsc0 * CFrame.new(.5, .5, 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(40)), .6)
  1845. lerp(rm, rm.C0, rsc0 * CFrame.new(-.5, .5, 0) * CFrame.Angles(math.rad(130), math.rad(0), -math.rad(40)), .6)
  1846. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), .6)
  1847. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), 1) end
  1848. elseif Mode == 'Stabbing2' then
  1849. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, .4, -.6) * CFrame.Angles(-math.rad(10), math.rad(0), math.rad(0)), .6)
  1850. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -.5, -.3) * CFrame.Angles(-math.rad(60), math.rad(0), math.rad(0)), .6)
  1851. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(0), math.rad(0),-math.rad(0)), .6)
  1852. lerp(lm, lm.C0, lsc0 * CFrame.new(.5, .5, -.8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(40)), .6)
  1853. lerp(rm, rm.C0, rsc0 * CFrame.new(-.5, .5, -.8) * CFrame.Angles(math.rad(90), math.rad(0), -math.rad(40)), .6)
  1854. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -1, -.7) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(0)), .6)
  1855. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), 1) end
  1856. end
  1857. end)
  1858. end)()
  1859.  
  1860. coroutine.wrap(function()
  1861. for i = 1,3 do
  1862. MediumParticleEmit(Head, 'Bright green')
  1863. wait(.05)
  1864. MediumParticleEmit(Head,'Really black')
  1865. wait(.03)
  1866. end
  1867. end)()
  1868.  
  1869. --[[
  1870. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1871. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1872. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1873. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1874. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1875. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1876. if not Sheathed then lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) end
  1877. ]]
Add Comment
Please, Sign In to add comment