Advertisement
zXzGamePROzXz

Virdis

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