Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.39 KB | None | 0 0
  1. --this is a fucking old ass version of viridis
  2. --once again i decompiled this in early august -chromium
  3. --its obviously broken
  4.  
  5. --[[
  6. @Name: Viridis
  7. @Author: iKrypto
  8. @Sword Builder: Golden_God
  9. @Date: 8/2/16
  10. @Engine: Lua 5.1
  11. --]]
  12. local plrs = game:GetService("Players")
  13. local plr = plrs.LocalPlayer
  14. local char = plr.Character
  15. local bp = plr.Backpack
  16. local hum = char.Humanoid
  17. local T = char.Torso
  18. local Character = char
  19. local Humanoid = hum
  20. local torso = char.Torso
  21. local Char = Player.Character
  22. local char = Char
  23. local mouse = Player:GetMouse()
  24. local Backpack = Player.Backpack
  25. local PlayerGui = Player.PlayerGui
  26. local Camera = workspace.CurrentCamera
  27. local Humanoid = Char:WaitForChild("Humanoid")
  28. local Torso = Char:WaitForChild("Torso")
  29. local Head = Char:WaitForChild("Head")
  30. local ra = Char:WaitForChild("Right Arm")
  31. local la = Char:WaitForChild("Left Arm")
  32. local rl = Char:WaitForChild("Right Leg")
  33. local ll = Char:WaitForChild("Left Leg")
  34. local rs = Torso:WaitForChild("Right Shoulder")
  35. local ls = Torso:WaitForChild("Left Shoulder")
  36. local rh = Torso:WaitForChild("Right Hip")
  37. local lh = Torso:WaitForChild("Left Hip")
  38. local neck = Torso:WaitForChild("Neck")
  39. local rootpart = Char:WaitForChild("HumanoidRootPart")
  40. local rj = rootpart:WaitForChild("RootJoint")
  41. local anim = Char:WaitForChild("Animate")
  42. local RunService = game:GetService("RunService")
  43. local UIA = game:GetService("UserInputService")
  44. local CF = CFrame.new
  45. local CA = CFrame.Angles
  46. local FEA = CFrame.fromEulerAnglesXYZ
  47. local FAA = CFrame.fromAxisAngle
  48. local V3 = Vector3.new
  49. local CN = Color3.new
  50. local Ice = Instance.new
  51. local BC = BrickColor.new
  52. local UD2 = UDim2.new
  53. local C3 = Color3.new
  54. local MR = math.rad
  55. local MP = math.pi
  56. local MD = math.deg
  57. local MH = math.huge
  58. local MS = math.sin
  59. local MC = math.cos
  60. local MT = math.tan
  61. local MAS = math.asin
  62. local MAC = math.acos
  63. local MAT = math.atan
  64. local components = CF().components
  65. local State = "Calm"
  66. local Slash = false
  67. local Sheathed = false
  68. local combocounter = 0
  69. humanoid = char:findFirstChild("Humanoid")
  70. hum = humanoid
  71. torso = char:findFirstChild("Torso")
  72. head = char.Head
  73. ra = char:findFirstChild("Right Arm")
  74. ra.CanCollide = true
  75. la = char:findFirstChild("Left Arm")
  76. la.CanCollide = true
  77. rl = char:findFirstChild("Right Leg")
  78. rl.CanCollide = true
  79. ll = char:findFirstChild("Left Leg")
  80. ll.CanCollide = true
  81. rs = torso:findFirstChild("Right Shoulder")
  82. ls = torso:findFirstChild("Left Shoulder")
  83. rh = torso:findFirstChild("Right Hip")
  84. lh = torso:findFirstChild("Left Hip")
  85. neck = torso:findFirstChild("Neck")
  86. rootpart = char:findFirstChild("HumanoidRootPart")
  87. rj = rootpart:findFirstChild("RootJoint")
  88. anim = char:findFirstChild("Animate")
  89. camera = workspace.CurrentCamera
  90. plr.CameraMaxZoomDistance = math.huge
  91. pcall(function()
  92. anim:Destroy()
  93. end
  94. )
  95. pcall(function()
  96. char.Health.Disabled = true
  97. end
  98. )
  99. pcall(function()
  100. humanoid.Animator:Destroy()
  101. end
  102. )
  103. local rjo = rootpart.RootJoint:Clone()
  104. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  105. local wld = Instance.new("Weld", wp1)
  106. wld.Part0 = wp0
  107. wld.Part1 = wp1
  108. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  109. return wld
  110. end
  111.  
  112. for k,v in pairs(char:children("")) do
  113. if v:isA("BasePart") then
  114. v.BrickColor = BrickColor.new("Really black")
  115. end
  116. end
  117. pcall(function()
  118. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  119. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  120. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  121. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  122. char["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  123. char["Body Colors"].RightLegColor = BrickColor.new("Really black")
  124. end
  125. )
  126. local mult = 1
  127. la.Size = la.Size * mult
  128. ra.Size = ra.Size * mult
  129. ll.Size = ll.Size * mult
  130. rl.Size = rl.Size * mult
  131. torso.Size = torso.Size * mult
  132. head.Size = head.Size * mult
  133. rootpart.Size = rootpart.Size * mult
  134. local lm = newWeld(torso, la, -1.7 * mult, 0.5 * mult, 0)
  135. lm.C1 = CFrame.new(0, 0.5 * mult, 0)
  136. local rm = newWeld(torso, ra, 1.7 * mult, 0.5 * mult, 0)
  137. rm.C1 = CFrame.new(0, 0.5 * mult, 0)
  138. local neck = newWeld(torso, head, 0, mult, 0)
  139. local llegm = newWeld(torso, ll, -0.5 * mult, -1 * mult, 0)
  140. llegm.C1 = CFrame.new(0, mult, 0)
  141. local rlegm = newWeld(torso, rl, 0.5 * mult, -1 * mult, 0)
  142. rlegm.C1 = CFrame.new(0, mult, 0)
  143. local rj = rjo:Clone()
  144. rj.Part0 = rootpart
  145. rj.Part1 = torso
  146. rj.Parent = rootpart
  147. neck.C1 = CFrame.new(0, -(mult / 2), 0)
  148. neckc0 = neck.C0
  149. rsc0 = rm.C0
  150. lsc0 = lm.C0
  151. llc0 = llegm.C0
  152. rlc0 = rlegm.C0
  153. rootc0 = rj.C0
  154. rootc1 = rj.C1
  155. wait()
  156. Create = function(Instanc, prop)
  157. local p = Instance.new(Instanc)
  158. for i,v in pairs(prop) do
  159. p[i] = v
  160. end
  161. return p
  162. end
  163.  
  164. rwait = function(num)
  165. if num == 0 or num == nil then
  166. game:service("RunService").RenderStepped:wait(0)
  167. else
  168. for i = 0, num do
  169. game:service("RunService").RenderStepped:wait(0)
  170. end
  171. end
  172. do
  173. return true
  174. end
  175. end
  176.  
  177. local pony = Instance.new("PointLight", Torso)
  178. pony.Name = "LePontyPontz"
  179. pony.Brightness = 1
  180. pony.Color = Color3.new(0, 1, 0)
  181. coroutine.wrap(function()
  182. game:service("RunService").RenderStepped:connect(function()
  183. pony.Range = 5 + math.abs(math.sin(tick() / 2)) * 6
  184. end
  185. )
  186. end
  187. )()
  188. local setupPart = function(part)
  189. part.Anchored = true
  190. part.FormFactor = "Custom"
  191. part.CanCollide = false
  192. part.BrickColor = BrickColor.new("Sea green")
  193. part.Material = "Neon"
  194. part.TopSurface = "SmoothNoOutlines"
  195. part.BottomSurface = "SmoothNoOutlines"
  196. part.FrontSurface = "SmoothNoOutlines"
  197. part.BackSurface = "SmoothNoOutlines"
  198. part.LeftSurface = "SmoothNoOutlines"
  199. part.RightSurface = "SmoothNoOutlines"
  200. end
  201.  
  202. CFrameFromTopBack = function(at, top, back)
  203. local right = top:Cross(back)
  204. 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)
  205. end
  206.  
  207. CreateTriangle = function(parent, a, b, c)
  208. local this = {}
  209. local mPart1 = Instance.new("WedgePart")
  210. setupPart(mPart1)
  211. local mPart2 = Instance.new("WedgePart")
  212. setupPart(mPart2)
  213. this.Set = function(self, a, b, c)
  214. local ab, bc, ca = b - a, c - b, a - c
  215. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  216. local edg1 = math.abs(0.5 + ca:Dot(ab) / (abm * abm))
  217. local edg2 = math.abs(0.5 + ab:Dot(bc) / (bcm * bcm))
  218. local edg3 = math.abs(0.5 + bc:Dot(ca) / (cam * cam))
  219. if edg1 < edg2 then
  220. if edg1 < edg3 then
  221. a = c
  222. ab = ca
  223. abm = cam
  224. -- DECOMPILER ERROR at PC54: Overwrote pending register: R3 in 'AssignReg'
  225.  
  226. -- DECOMPILER ERROR at PC55: Overwrote pending register: R2 in 'AssignReg'
  227.  
  228. if edg2 < edg3 then
  229. a = b
  230. -- DECOMPILER ERROR at PC59: Overwrote pending register: R6 in 'AssignReg'
  231.  
  232. -- DECOMPILER ERROR at PC60: Overwrote pending register: R5 in 'AssignReg'
  233.  
  234. ab = bc
  235. abm = bcm
  236. else
  237. -- DECOMPILER ERROR at PC66: Overwrote pending register: R3 in 'AssignReg'
  238.  
  239. -- DECOMPILER ERROR at PC67: Overwrote pending register: R2 in 'AssignReg'
  240.  
  241. a = c
  242. -- DECOMPILER ERROR at PC71: Overwrote pending register: R6 in 'AssignReg'
  243.  
  244. -- DECOMPILER ERROR at PC72: Overwrote pending register: R5 in 'AssignReg'
  245.  
  246. ab = ca
  247. abm = cam
  248. end
  249. local len1 = -ca:Dot(ab) / abm
  250. local len2 = abm - len1
  251. local width = ca + ab.unit * len1.magnitude
  252. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  253. mPart1.Parent = parent
  254. mPart1.Size = Vector3.new(1, 1, 1)
  255. mPart1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  256. local Mesh = Instance.new("SpecialMesh", mPart1)
  257. Mesh.MeshType = "Wedge"
  258. Mesh.Scale = Vector3.new(0.005, width, len1)
  259. mPart2.Parent = parent
  260. mPart2.Size = Vector3.new(1, 1, 1)
  261. mPart2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  262. local Mesh = Instance.new("SpecialMesh", mPart2)
  263. Mesh.MeshType = "Wedge"
  264. Mesh.Scale = Vector3.new(0.005, width, len2)
  265. end
  266. end
  267. end
  268.  
  269. this.SetProperty = function(self, prop, value)
  270. mPart1[prop] = value
  271. mPart2[prop] = value
  272. end
  273.  
  274. this.GetProperty = function(self, prop)
  275. return mPart1[prop]
  276. end
  277.  
  278. this:Set(a, b, c)
  279. this.Destroy = function(self)
  280. mPart1:Destroy()
  281. mPart2:Destroy()
  282. end
  283.  
  284. return this
  285. end
  286.  
  287. local ttt = nil
  288. local lastdps = tick()
  289. local ohp = hum.Health
  290. local berserk = false
  291. hum.Changed:connect(function(val)
  292. if val == "Health_XML" then
  293. if hum.Health < ohp then
  294. lastdps = tick()
  295. end
  296. ohp = hum.Health
  297. if not berserk and hum.Health < hum.MaxHealth * 0.15 then
  298. ttt = true
  299. hum.WalkSpeed = 0
  300. hum.MaxHealth = 1 / 0
  301. otheranims = true
  302. local rs = game:service("RunService").RenderStepped
  303. do
  304. GW = function()
  305. local wave = Instance.new("Part", Torso)
  306. wave.BrickColor = BrickColor.new("Really black")
  307. wave.Anchored = true
  308. wave.CanCollide = false
  309. wave.Locked = true
  310. wave.Size = Vector3.new(1, 1, 1)
  311. wave.TopSurface = "Smooth"
  312. wave.BottomSurface = "Smooth"
  313. wave.Material = "Neon"
  314. wave.Transparency = 0.35
  315. wave.CFrame = Torso.CFrame
  316. wm = Instance.new("SpecialMesh", wave)
  317. wm.MeshType = "Sphere"
  318. wm.Scale = Vector3.new(1, 1, 1)
  319. coroutine.wrap(function()
  320. for i = 0, 15 do
  321. wave.Size = wave.Size + Vector3.new(1, 1, 1)
  322. wave.CFrame = Torso.CFrame
  323. wave.Transparency = i / 14
  324. wait()
  325. end
  326. wait()
  327. wave:Destroy()
  328. end
  329. )()
  330. end
  331.  
  332. Spawn(function()
  333. while ttt do
  334. GW()
  335. wait(math.random(1, 4))
  336. end
  337. end
  338. )
  339. local prtz = {la, Head, Torso}
  340. local pes = {}
  341. for i,v in pairs(prtz) do
  342. do
  343. coroutine.wrap(function()
  344. local dsa = Instance.new("ParticleEmitter", v)
  345. local color1 = Color3.new(0.5, 1, 0.5)
  346. local color2 = Color3.new(0, 0.33333333333333, 0)
  347. local sequence = ColorSequence.new(color1, color2)
  348. dsa.Color = sequence
  349. dsa.LightEmission = 0.8
  350. dsa.Texture = "http://www.roblox.com/asset/?id=242102147"
  351. dsa.LockedToPart = true
  352. dsa.EmissionDirection = "Top"
  353. dsa.Lifetime = NumberRange.new(1)
  354. dsa.VelocitySpread = 10
  355. dsa.Size = NumberSequence.new(1)
  356. table.insert(pes, dsa)
  357. end
  358. )()
  359. end
  360. end
  361. Mode = "Kneeling"
  362. berserk = true
  363. wait(2)
  364. hum.MaxHealth = 5000
  365. for i = 100, 3750, 15 do
  366. hum.Health = i
  367. game:service("RunService").RenderStepped:wait()
  368. end
  369. ttt = false
  370. for q,e in pairs(pes) do
  371. game.Destroy(e)
  372. end
  373. hum.WalkSpeed = 8
  374. otheranims = false
  375. end
  376. end
  377. else
  378. do
  379. if val == "PlatformStand" then
  380. hum.PlatformStand = false
  381. else
  382. if val == "Sit" then
  383. hum.Sit = false
  384. else
  385. end
  386. end
  387. if val == "WalkSpeed" then
  388. end
  389. end
  390. end
  391. end
  392. )
  393. regening = false
  394. lastdps = tick()
  395. regenHealth = function()
  396. if regening then
  397. return
  398. end
  399. if tick() - lastdps < 25 then
  400. return
  401. end
  402. regening = true
  403. local s = wait(1)
  404. local health = hum.Health
  405. do
  406. if health > 0 and health < hum.MaxHealth then
  407. local newHealthDelta = hum.MaxHealth * 0.03
  408. health = health + newHealthDelta
  409. hum.Health = math.min(health, hum.MaxHealth)
  410. end
  411. regening = false
  412. end
  413. end
  414.  
  415. local LastTrail = nil
  416. local Trails = {}
  417. asd = function(parent, string)
  418. repeat
  419. wait()
  420. until parent:FindFirstChild(string)
  421. wait()
  422. return parent:FindFirstChild(string)
  423. end
  424.  
  425. local Model = asd(game.ReplicatedStorage, "mdl"):Clone()
  426. Model.Parent = Char
  427. local shm, swm, shem = Model:WaitForChild("Sheath"), Model:WaitForChild("Sword"), Model:WaitForChild("Shield")
  428. local LAH, RAH, TH = shem:WaitForChild("LeftArmHandle"), swm:WaitForChild("RightArmHandle"), shm:WaitForChild("TorsoHandle")
  429. LAH.Transparency = 1
  430. local law = Create("Weld", {Parent = la, Part0 = la, Part1 = LAH, C0 = CFrame.new(0, 0, 0)})
  431. local raw = Create("Weld", {Parent = ra, Part0 = ra, Part1 = RAH, C0 = CFrame.new(0, 0, 0)})
  432. local rawc0 = raw.C0
  433. LAH.Anchored = false
  434. local torw = Create("Weld", {Parent = Torso, Part0 = Torso, Part1 = TH, C0 = CFrame.new(0, 0, 0)})
  435. TrailPart = Create("Part", {Parent = Char, Anchored = false, CanCollide = false, Size = V3(0, 5, 0), Transparency = 1})
  436. TrailPartMesh = Create("Snap", {Parent = TrailPart, Part0 = RAH, Part1 = TrailPart, C0 = CFrame.new(0, -1, -4.2) * CFrame.Angles(MR(90), 0, 0)})
  437. local get = game.ReplicatedStorage:FindFirstChild("GoldSuit"):Clone()
  438. get.Parent = Char
  439. local torso = get:WaitForChild("Torso")
  440. local head = get:WaitForChild("Head")
  441. local rightarm = get:WaitForChild("RightArm")
  442. local leftarm = get:WaitForChild("LeftArm")
  443. local rightleg = get:WaitForChild("RightLeg")
  444. local leftleg = get:WaitForChild("LeftLeg")
  445. Create("Weld", {Parent = torso.Handle, Part0 = Torso, Part1 = torso.Handle, C0 = CFrame.new(0, 0, 0)})
  446. Create("Weld", {Parent = head.Handle, Part0 = Head, Part1 = head.Handle, C0 = CFrame.new(0, 0, 0)})
  447. Create("Weld", {Parent = rightarm.Handle, Part0 = ra, Part1 = rightarm.Handle, C0 = CFrame.new(0, 0, 0)})
  448. Create("Weld", {Parent = leftarm.Handle, Part0 = la, Part1 = leftarm.Handle, C0 = CFrame.new(0, 0, 0)})
  449. Create("Weld", {Parent = leftleg.Handle, Part0 = ll, Part1 = leftleg.Handle, C0 = CFrame.new(0, 0, 0)})
  450. Create("Weld", {Parent = rightleg.Handle, Part0 = rl, Part1 = rightleg.Handle, C0 = CFrame.new(0, 0, 0)})
  451. recurse = function(c)
  452. for i,v in pairs(c:children()) do
  453. if v:IsA("BasePart") then
  454. v.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  455. end
  456. recurse(v)
  457. end
  458. end
  459.  
  460. recurse(get)
  461. recurse(Model)
  462. ra.Transparency = 1
  463. la.Transparency = 1
  464. ll.Transparency = 1
  465. rl.Transparency = 1
  466. hum.WalkSpeed = 8
  467. hum.MaxHealth = 5000
  468. hum.Health = 5000
  469. lerp = function(weld, beglerp, endlerp, speed)
  470. if weld.ClassName == "Weld" or weld.ClassName == "Motor6D" then
  471. weld.C0 = beglerp:lerp(endlerp, speed)
  472. else
  473. weld.CFrame = beglerp:lerp(endlerp, speed)
  474. end
  475. do return weld.ClassName ~= "Weld" and ((weld.ClassName ~= "Motor6D" or not weld.C0) and weld.CFrame) end
  476. -- DECOMPILER ERROR: 2 unprocessed JMP targets
  477. end
  478.  
  479. Ctrl = false
  480. local lastclick = tick()
  481. mouse.Button1Down:connect(function()
  482. if tick() - lastclick > 0.4 then
  483. combocounter = 0
  484. end
  485. if otheranims then
  486. return
  487. end
  488. if Sheathed then
  489. otheranims = true
  490. Mode = "Sheath"
  491. wait(0.7)
  492. raw.Part0 = char:findFirstChild("Right Arm")
  493. raw.C0 = rawc0
  494. Sheathed = false
  495. otheranims = false
  496. return
  497. end
  498. Slash = true
  499. local p0 = rootpart.CFrame * CF(0, 0, -7)
  500. local p1 = rootpart.CFrame * CF(0, 0, -15)
  501. if combocounter == 0 and not otheranims then
  502. otheranims = true
  503. Mode = "Slash11"
  504. wait(0.3)
  505. Mode = "Slash12"
  506. rootpart.CFrame = rootpart.CFrame:lerp(p0, 0.1)
  507. wait(0.3)
  508. Mode = "Slash21"
  509. rootpart.CFrame = rootpart.CFrame:lerp(p0, 0.1)
  510. wait(0.5)
  511. otheranims = false
  512. combocounter = 2
  513. else
  514. if combocounter == 2 and not otheranims then
  515. otheranims = true
  516. Mode = "Slash31"
  517. wait(0.3)
  518. Mode = "Slash32"
  519. rootpart.CFrame = rootpart.CFrame:lerp(p0, 0.1)
  520. wait(0.5)
  521. otheranims = false
  522. combocounter = 3
  523. else
  524. if combocounter == 3 and not otheranims then
  525. otheranims = true
  526. sDps = Damage(LAH)
  527. Mode = "Bash11"
  528. wait(0.3)
  529. rootpart.CFrame = rootpart.CFrame:lerp(p1, 0.6)
  530. wait(1)
  531. sDps:disconnect()
  532. otheranims = false
  533. combocounter = 0
  534. end
  535. end
  536. end
  537. Slash = false
  538. lastclick = tick()
  539. end
  540. )
  541. MediumParticleEmit = function(Object, Color)
  542. coroutine.wrap(function()
  543. while Wait(3.1) do
  544. if not Object then
  545. break
  546. end
  547. local p = Instance.new("Part", Object.Parent)
  548. do
  549. p.Name = "Trail"
  550. p.TopSurface = 0
  551. p.BottomSurface = 0
  552. p.Anchored = true
  553. p.Material = "Neon"
  554. p.CanCollide = false
  555. p.FormFactor = "Custom"
  556. p.Size = Vector3.new(0.01, 0.01, 0.01)
  557. if type(Color) ~= "userdata" or not Color then
  558. p.BrickColor = BrickColor.new(Color)
  559. p.CFrame = Object.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1) - 3, math.random(-1, 1))
  560. do
  561. local m = Instance.new("BlockMesh", p)
  562. m.Scale = Vector3.new(2, 2, 2)
  563. coroutine.wrap(function()
  564. for i = 1, 15 do
  565. p.Transparency = i / 15
  566. m.Scale = m.Scale + Vector3.new(0.1, 0.1, 0.1)
  567. 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)
  568. Wait()
  569. end
  570. p:Destroy()
  571. end
  572. )()
  573. -- DECOMPILER ERROR at PC84: LeaveBlock: unexpected jumping out IF_THEN_STMT
  574.  
  575. -- DECOMPILER ERROR at PC84: LeaveBlock: unexpected jumping out IF_STMT
  576.  
  577. end
  578. end
  579. end
  580. end
  581. end
  582. )()
  583. end
  584.  
  585. mouse.KeyDown:connect(function(k)
  586. if otheranims then
  587. return
  588. end
  589. if k == "q" then
  590. otheranims = true
  591. if not Sheathed then
  592. Mode = "Sheath"
  593. wait(0.7)
  594. raw.Part0 = Torso
  595. 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)
  596. Sheathed = true
  597. else
  598. Mode = "Sheath"
  599. wait(0.7)
  600. raw.Part0 = char:findFirstChild("Right Arm")
  601. raw.C0 = rawc0
  602. Sheathed = false
  603. end
  604. otheranims = false
  605. else
  606. if k:byte() == 50 then
  607. Ctrl = true
  608. else
  609. if k:byte() == 48 then
  610. hum.WalkSpeed = 16
  611. else
  612. if k == "f" then
  613. otheranims = true
  614. Mode = "Stomp1"
  615. end
  616. end
  617. end
  618. end
  619. end
  620. )
  621. mouse.KeyUp:connect(function(k)
  622. if k:byte() == 48 then
  623. hum.WalkSpeed = 8
  624. else
  625. if k:byte() == 50 then
  626. Ctrl = false
  627. else
  628. if k == "f" then
  629. otheranims = false
  630. end
  631. end
  632. end
  633. end
  634. )
  635. game.Lighting.TimeOfDay = "06:10:00"
  636. pcall(game.Destroy, game:service("Lighting"):findFirstChild("SunRayz"))
  637. local sr = Instance.new("SunRaysEffect", game.Lighting)
  638. sr.Intensity = 0.1
  639. sr.Name = "SunRayz"
  640. hum.JumpPower = 10
  641. Jumping = false
  642. lastCtrl = tick()
  643. Character.Humanoid.Jumping:connect(function()
  644. if Jumping then
  645. return
  646. end
  647. local eCtrl = Ctrl
  648. if eCtrl then
  649. if tick() - lastCtrl < 3 then
  650. eCtrl = false
  651. end
  652. lastCtrl = tick()
  653. end
  654. Mode = "Jumping"
  655. Jumping = true
  656. local vu = Instance.new("BodyVelocity", Torso)
  657. vu.P = 500
  658. vu.maxForce = Vector3.new(10000000000, 5e+021, 100000000000)
  659. 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))
  660. game:GetService("Debris"):AddItem(vu, 0.267)
  661. wait(0.6)
  662. Jumping = false
  663. end
  664. )
  665. spawn(function()
  666. while 1 do
  667. local Size = Vector3.new(TrailPart.Size.X, TrailPart.Size.Y, TrailPart.Size.Z)
  668. if Slash == true then
  669. local P1 = TrailPart.CFrame * CFrame.new(Size / 2).p
  670. local P2 = TrailPart.CFrame * CFrame.new(Size / -2).p
  671. if LastTrail then
  672. local p1 = CreateTriangle(Char, LastTrail[2], LastTrail[1], P2)
  673. local p2 = CreateTriangle(Char, LastTrail[1], P1, P2)
  674. Trails[#Trails + 1] = p1
  675. Trails[#Trails + 1] = p2
  676. end
  677. do
  678. do
  679. do
  680. LastTrail = {P1, P2}
  681. LastTrail = nil
  682. for i,v in pairs(Trails) do
  683. v:SetProperty("Transparency", v:GetProperty("Transparency") + 0.1)
  684. if v:GetProperty("Transparency") >= 1 then
  685. v:Destroy()
  686. Trails[i] = nil
  687. end
  688. end
  689. rwait(0.5)
  690. -- DECOMPILER ERROR at PC92: LeaveBlock: unexpected jumping out DO_STMT
  691.  
  692. -- DECOMPILER ERROR at PC92: LeaveBlock: unexpected jumping out DO_STMT
  693.  
  694. -- DECOMPILER ERROR at PC92: LeaveBlock: unexpected jumping out IF_THEN_STMT
  695.  
  696. -- DECOMPILER ERROR at PC92: LeaveBlock: unexpected jumping out IF_STMT
  697.  
  698. end
  699. end
  700. end
  701. end
  702. end
  703. end
  704. )
  705. HitDB = {}
  706. Damage = function(part)
  707. smthn = part.Touched:connect(function(hit)
  708. Human = hit.Parent:findFirstChild("Humanoid")
  709. if Human ~= nil and hit.Parent.Name ~= Player.Name and Slash == true and HitDB[hit.Parent.Humanoid] == nil then
  710. coroutine.wrap(function()
  711. HitDB[hit.Parent.Humanoid] = true
  712. Human.Health = Human.Health - 25
  713. local vu = Instance.new("BodyVelocity", hit.Parent.Torso)
  714. vu.P = 500
  715. vu.maxForce = Vector3.new(10000000000, 5e+021, 100000000000)
  716. vu.velocity = Head.CFrame.lookVector * 10
  717. game:GetService("Debris"):AddItem(vu, 0.267)
  718. wait(0.25)
  719. HitDB[hit.Parent.Humanoid] = nil
  720. end
  721. )()
  722. end
  723. end
  724. )
  725. return smthn
  726. end
  727.  
  728. SlashDamage = Damage(TrailPart)
  729. local count = 0
  730. local t = tick()
  731. local Smooth = 1
  732. local sine = 0
  733. local change = 1
  734. coroutine.wrap(function()
  735. game:service("RunService").Heartbeat:connect(function()
  736. local torso = char:FindFirstChild("Torso")
  737. local mg = Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude
  738. if not otheranims then
  739. if mg < 3 and not Jumping then
  740. Mode = "Idling"
  741. else
  742. if mg > 3 and mg < 10 and not Jumping then
  743. Mode = "Walking"
  744. else
  745. if mg > 10 and not Jumping then
  746. Mode = "Running"
  747. else
  748. if Jumping and Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 and mg > 1 then
  749. Mode = "Jumping"
  750. end
  751. end
  752. end
  753. end
  754. end
  755. count = count % 100 + 1 * hum.WalkSpeed / 6.5
  756. angle = math.pi * math.sin(math.pi * 2 / 100 * count)
  757. t = t + 0.2 * Smooth
  758. sine = sine + change
  759. if Mode == "Jumping" then
  760. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.6, -0.6) * CFrame.Angles(0, -math.rad(10), 0), 0.4)
  761. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.4, -0.3), 0.4)
  762. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), 0, 0), 0.4)
  763. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(30)), 0.4)
  764. lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(20), 0, math.rad(30)), 0.4)
  765. lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(20), 0, 0), 0.4)
  766. else
  767. if Mode == "Idling" then
  768. 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)
  769. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, math.sin(t / 15) / 15, 0) * CFrame.Angles(0, 0, -math.rad(8)), 0.3)
  770. if not Sheathed then
  771. lerp(neck, neck.C0, neckc0 * CFrame.new(0, -math.sin(t / 15) / 15, 0) * CFrame.Angles(-1 * math.cos(t / 15) / 15, -math.rad(15), 0), 0.2)
  772. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.sin(t / 15) / 15, -math.rad(5), -math.rad(20)), 0.2)
  773. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t / 15) / 15, math.rad(5), math.rad(20)), 0.2)
  774. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -math.sin(t / 15) / 15) * CFrame.Angles(0, 0, math.rad(15)), 0.3)
  775. lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1)
  776. else
  777. lerp(neck, neck.C0, neckc0 * CFrame.new(0, -math.sin(t / 15) / 20, 0) * CFrame.Angles(-2 * math.cos(t / 15) / 20, -math.rad(5), 0), 0.2)
  778. lerp(lm, lm.C0, lsc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(math.sin(t / 15) / 20, -math.rad(5), -math.rad(10)), 0.2)
  779. lerp(rm, rm.C0, rsc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(math.sin(t / 15) / 20, math.rad(5), math.rad(10)), 0.2)
  780. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -math.sin(t / 15) / 20) * CFrame.Angles(0, 0, math.rad(5)), 0.3)
  781. end
  782. else
  783. if Mode == "Walking" then
  784. 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)
  785. 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)
  786. 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)
  787. 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)
  788. lerp(rm, rm.C0, rsc0 * 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)
  789. 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)
  790. if not Sheathed then
  791. lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1)
  792. end
  793. else
  794. if Mode == "Running" then
  795. 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)
  796. 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)
  797. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(6 + 6 * math.cos(sine / 10) / 2), math.rad(0), math.rad(0)), 0.2)
  798. 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)
  799. 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)
  800. 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)
  801. if not Sheathed then
  802. lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1)
  803. end
  804. else
  805. if Mode == "Sheath" then
  806. if mg > 3 and mg < 16 then
  807. 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)
  808. 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)
  809. else
  810. 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)
  811. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, math.sin(t / 15) / 15, 0) * CFrame.Angles(0, 0, -math.rad(8)), 0.3)
  812. end
  813. 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)
  814. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.sin(t / 15) / 15, -math.rad(5), -math.rad(20)), 0.2)
  815. 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)
  816. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -math.sin(t / 15) / 15) * CFrame.Angles(0, 0, math.rad(15)), 0.3)
  817. if not Sheathed then
  818. 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)
  819. end
  820. else
  821. if Mode == "Slash11" then
  822. if mg > 3 and mg < 16 then
  823. 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)
  824. 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)
  825. 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)
  826. 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)
  827. else
  828. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), 0.6)
  829. 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)
  830. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(0)), 0.6)
  831. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), 0.6)
  832. end
  833. 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)
  834. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(60), -math.rad(60), math.rad(110)), 0.6)
  835. if not Sheathed then
  836. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1.2, 0) * CFrame.Angles(-math.rad(20), 0, math.rad(90)), 1)
  837. end
  838. else
  839. if Mode == "Slash12" then
  840. 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)
  841. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(-math.rad(10), math.rad(0), -math.rad(10)), 0.6)
  842. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(30), -math.rad(70), math.rad(30)), 0.6)
  843. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), 0.6)
  844. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(50), math.rad(40)), 0.6)
  845. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(90)), 0.6)
  846. if not Sheathed then
  847. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, -0.5) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(60)), 1)
  848. end
  849. else
  850. if Mode == "Slash31" then
  851. if mg > 3 and mg < 16 then
  852. 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)
  853. 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)
  854. 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)
  855. 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)
  856. else
  857. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(math.rad(10), 0, 0), 0.4)
  858. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(0), math.rad(5), -math.rad(5)), 0.4)
  859. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0)), 0.6)
  860. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, -math.rad(15)), 0.6)
  861. end
  862. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), math.rad(10), -math.rad(20)), 0.6)
  863. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(60), -math.rad(60), math.rad(110)), 0.6)
  864. if not Sheathed then
  865. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1.2, 0) * CFrame.Angles(-math.rad(20), 0, math.rad(90)), 1)
  866. end
  867. else
  868. if Mode == "Slash32" then
  869. 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)
  870. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(-math.rad(20), math.rad(0), -math.rad(20)), 0.6)
  871. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), -math.rad(50), math.rad(20)), 0.6)
  872. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), 0.6)
  873. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(50), math.rad(50), math.rad(50)), 0.6)
  874. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(60)), 0.6)
  875. if not Sheathed then
  876. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, 0) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(90)), 1)
  877. end
  878. else
  879. if Mode == "Slash21" then
  880. 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)
  881. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(10), math.rad(0), -math.rad(10)), 0.6)
  882. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(10), -math.rad(20), math.rad(10)), 0.6)
  883. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), -math.rad(20)), 0.6)
  884. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(10), math.rad(60)), 0.6)
  885. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), 0.6)
  886. if not Sheathed then
  887. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, -0.5) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(60)), 1)
  888. end
  889. else
  890. if Mode == "Bash11" then
  891. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), 0.6)
  892. 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)
  893. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(0)), 0.6)
  894. 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)
  895. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t / 15) / 15, math.rad(5), math.rad(20)), 0.2)
  896. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), 0.6)
  897. if not Sheathed then
  898. lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  899. end
  900. else
  901. if Mode == "Kneeling" then
  902. 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)
  903. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 1, -0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  904. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(30), math.rad(0), -math.rad(0)), 0.6)
  905. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(20)), 0.6)
  906. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(90), math.rad(5), math.rad(20)), 0.2)
  907. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), 0.6)
  908. if not Sheathed then
  909. lerp(raw, raw.C0, rawc0 * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), 1)
  910. end
  911. end
  912. end
  913. end
  914. end
  915. end
  916. end
  917. end
  918. end
  919. end
  920. end
  921. end
  922. end
  923. end
  924. )
  925. end
  926. )()
  927. coroutine.wrap(function()
  928. for i = 1, 3 do
  929. MediumParticleEmit(Head, "Bright green")
  930. wait(0.05)
  931. MediumParticleEmit(Head, "Really black")
  932. wait(0.03)
  933. end
  934. end
  935. )()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement