Advertisement
jayrock3401

Untitled

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