Advertisement
zed_isJayTheLionJR

mafia boss fix

Jun 21st, 2018
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.99 KB | None | 0 0
  1.  
  2. local part = game.Players.LocalPlayer.Character
  3. local basetemplate = "http://www.roblox.com/asset/?id="
  4. local shirt = 63208006
  5. local pants = 140929022
  6. local h = part:findFirstChild("Shirt")
  7. if h ~= nil then
  8. h.ShirtTemplate = basetemplate..shirt
  9. else
  10. local i = Instance.new("Shirt")
  11. i.Name = "Shirt"
  12. i.ShirtTemplate = basetemplate..shirt
  13. i.Parent = part
  14. end
  15. local p = part:findFirstChild("Pants")
  16. if p ~= nil then
  17. p.PantsTemplate = basetemplate..pants
  18. else
  19. local np = Instance.new("Pants")
  20. np.PantsTemplate = basetemplate..pants
  21. np.Name = "Pants"
  22. np.Parent = part
  23. end
  24.  
  25. plr = game.Players.LocalPlayer
  26. mouse = plr:GetMouse()
  27. part = nil
  28. bp = nil
  29. particles = nil
  30. function clerp(a,b,c,d)
  31. for i = 0,d,.01 do
  32. a.CFrame = CFrame.new(b:lerp(c,i))
  33. wait()
  34. end
  35. end
  36. function slerp(a2,b2,c2,d2)
  37. for i2 = 0,d2,.01 do
  38. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  39. wait()
  40. end
  41. end
  42. mouse.KeyDown:connect(function(key)
  43. if key == "e" and plr.Character.Parent == workspace then
  44. plr.Character.Parent = workspace.Camera
  45. plr.Character.Archivable = true
  46. Instance.new("ForceField",plr.Character).Visible = false
  47. for y,t in pairs(plr.Character:GetChildren()) do
  48. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  49. t.Transparency = 0
  50. if t.Name == "Head" and t:FindFirstChild("face") then
  51. t.face.Transparency = 0
  52. end
  53. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  54. t.Handle.Transparency = 0
  55. end
  56. end
  57. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  58. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  59. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  60. if plr.Character.Torso.Anchored == true then
  61. for y,t in pairs(plr.Character:GetChildren()) do
  62. if t:IsA("Part") then
  63. t.Anchored = false
  64. end
  65. end
  66. else
  67. for y,t in pairs(plr.Character:GetChildren()) do
  68. if t:IsA("Part") then
  69. t.Anchored = true
  70. end
  71. end
  72. end
  73. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  74. local clone = part:Clone()
  75. clone.Parent = workspace
  76. clone.Anchored = false
  77. clone:ClearAllChildren()
  78. clone.CanCollide = true
  79. bp.Parent = clone
  80. particles.Parent = clone
  81. if part.Parent:FindFirstChildOfClass("Humanoid") then
  82. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  83. end
  84. part:Destroy()
  85. part = clone
  86. elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
  87. plr.Character.Parent = workspace
  88. plr.Character.Archivable = false
  89. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  90. for y,t in pairs(plr.Character:GetChildren()) do
  91. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  92. t.Transparency = 0
  93. if t.Name == "Head" and t:FindFirstChild("face") then
  94. t.face.Transparency = 0
  95. end
  96. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  97. t.Handle.Transparency = 0
  98. end
  99. end
  100. end
  101. end)
  102. mouse.Button1Down:connect(function()
  103. if plr.Character.Parent == workspace.Camera then
  104. if mouse ~= nil then
  105. if mouse.Target ~= nil then
  106. part = mouse.Target
  107. bp = Instance.new("BodyPosition",part)
  108. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  109. bp.Position = part.Position
  110. particles = Instance.new("ParticleEmitter",part)
  111. particles.Color = ColorSequence.new(Color3.new(0,0,0))
  112. particles.Size = NumberSequence.new(-9)
  113. particles.Texture = "rbxassetid://292289455"
  114. particles.VelocitySpread = 360
  115. particles.Speed = NumberRange.new(0)
  116. particles.RotSpeed = NumberRange.new(0)
  117. particles.Rotation = NumberRange.new(0)
  118. particles.Rate = 250
  119. particles.Lifetime = NumberRange.new(.2,.4)
  120. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  121. dwn = true
  122. end
  123. end
  124. while dwn == true do
  125. wait()
  126. bp.Position = mouse.hit.p
  127. if part then
  128. if part.Parent:FindFirstChildOfClass("Humanoid") then
  129. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  130. end
  131. end
  132. end
  133. end
  134. end)
  135. mouse.Button1Up:connect(function()
  136. dwn = false
  137. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  138. if bp then bp:Destroy() end
  139. if particles then particles:Destroy() end
  140. end)
  141. base = Instance.new("ScreenGui",plr.PlayerGui)
  142. bbg = Instance.new("BillboardGui",plr.Character.Head)
  143. bbg.Size = UDim2.new(0,200,0,50)
  144. bbg.StudsOffset = Vector3.new(0,3,0)
  145. bbgTl = Instance.new("TextLabel",bbg)
  146. bbgTl.BackgroundTransparency = 1
  147. bbgTl.Size = UDim2.new(10,0,1,0)
  148. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  149. bbgTl.Font = "Code"
  150. bbgTl.Text = " "
  151. bbgTl.TextSize = 50
  152. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  153. bbgTl.TextColor3 = Color3.new(0,0,0)
  154. bbgTl.TextStrokeTransparency = 0
  155. bbgTl.TextWrapped = true
  156. plr.Chatted:connect(function(msg)
  157. bbgTl.Text = msg
  158. wait(5)
  159. if bbgTl.Text == msg then
  160. bbgTl.Text = " "
  161. end
  162. end)
  163. touchCounter = 0
  164. while wait() do
  165. if plr.Character.Parent == workspace.Camera then
  166. local c = plr.Character:Clone()
  167. c:MakeJoints()
  168. for y,t in pairs(c:GetChildren()) do
  169. if t:IsA("Part") then
  170. t.CanCollide = false
  171. t.Anchored = true
  172. t.Transparency = .9
  173. t.TopSurface = "Smooth"
  174. t.BottomSurface = "Smooth"
  175. t.RightSurface = "Smooth"
  176. t.LeftSurface = "Smooth"
  177. t.FrontSurface = "Smooth"
  178. t.BackSurface = "Smooth"
  179. t.BrickColor = BrickColor.new("Crimson")
  180. if t.Name == "Head" and t:FindFirstChild("face") then
  181. t.face:Remove()
  182. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  183. t.roblox:Remove()
  184. elseif t.Name == "HumanoidRootPart" then
  185. t:Remove()
  186. end
  187. else
  188. t:Remove()
  189. end
  190. end
  191. c.Parent = workspace
  192. game.Debris:AddItem(c,.05)
  193. end
  194. end
  195.  
  196. --[[ Kitchen Gun (REMADE) ]]--
  197. -------------------------------------------------------
  198. --[[
  199.  
  200. This script was created by WafflesAreVeryGood.
  201. ATTACKS
  202. _______
  203.  
  204.  
  205. --]]
  206. -------------------------------------------------------
  207. print("This script was created by WafflesAreVeryGood!")
  208. --[[Changeable Variables]]--
  209. local multiplier = 10000000000000000000000000000000000000000000000000000000000000000000000000000000 --Attack multiplier (default is 1)
  210. local soundlist = {
  211. HardHit1 = "",
  212. HardHit2 = "",
  213. HardHit3 = "",
  214. WeakHit1 = "",
  215. WeakHit2 = "",
  216. Slice1 = "",
  217. Slice2 = "",
  218. Explosion1 = "",
  219. Explosion2 = "",
  220. Woosh1 = "",
  221. Woosh2 = "",
  222.  
  223. }
  224. local bgmusic = Instance.new("Sound")
  225. bgmusic.Volume = 3.5
  226. bgmusic.SoundId = ""
  227. bgmusic.Looped = true
  228. bgmusic.Parent = game:GetService('Players').LocalPlayer.Character.Torso
  229. bgmusic:Play()
  230.  
  231. --[[Important Variables]]--
  232. local plr = game:GetService('Players').LocalPlayer
  233. local char = plr.Character
  234. local mouse = plr:GetMouse()
  235. local input = game:GetService('UserInputService')
  236. ----
  237. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  238. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  239. local rs = torso["Right Shoulder"]
  240. local ls = torso["Left Shoulder"]
  241. local rh = torso["Right Hip"]
  242. local lh = torso["Left Hip"]
  243. local neck = torso.Neck
  244. local rj = rootpart["RootJoint"]
  245. local humanoid = char:FindFirstChildOfClass("Humanoid")
  246. ----
  247. local huge = Vector3.new(math.huge, math.huge, math.huge)
  248. local attacking = false
  249. local cananim = true
  250. local currentanim = "Idle"
  251. local mode = "Normal"
  252.  
  253. --[[ Functions ]]--
  254. function addattack(keycode, func)
  255. if keycode ~= "MouseClick" then
  256. input.InputBegan:connect(function(inp)
  257. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  258. func()
  259. end
  260. end)
  261. else
  262. mouse.Button1Down:connect(function()
  263. func()
  264. end)
  265. end
  266. end
  267. function attackend(keycode, func)
  268. input.InputEnded:connect(function(inp)
  269. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  270. func()
  271. end
  272. end)
  273. end
  274. function swait(t)
  275. if t then
  276. for i = 0, t do
  277. game:GetService('RunService').Stepped:wait(0)
  278. end
  279. else
  280. game:GetService('RunService').Stepped:wait(0)
  281. end
  282. return true
  283. end
  284. function fade(obj, dest, grow)
  285. spawn(function()
  286. local oldcf = obj.CFrame
  287. for i = 0, 10 do
  288. if grow then
  289. obj.Size = obj.Size +Vector3.new(1,1,1)
  290. obj.CFrame = oldcf
  291. end
  292. obj.Transparency = obj.Transparency +0.1
  293. swait()
  294. end
  295. if dest then
  296. obj:Destroy()
  297. end
  298. end)
  299. end
  300. function replacejoint(name)
  301. local j = torso:FindFirstChild(name)
  302. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  303. if j then
  304. if true then
  305. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  306. local new = Instance.new("Weld")
  307. local c0 = j.C0
  308. local c1 = j.C1
  309. new.Part0 = j.Part0
  310. j.Part0 = nil
  311. new.Name = j.Name.." Replacement"
  312. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  313. new.Parent = j.Parent
  314. new.Part1 = j.Part1
  315. new.C0 = c0
  316. new.C1 = c1
  317. return new
  318. end
  319. end
  320. end
  321. function removejoint(name, fast)
  322. local j = torso:FindFirstChild(name.." Replacement")
  323. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  324. if j then
  325. local p0 = j.Part0
  326. if p0 ~= nil then
  327. local c0 = j.C0
  328. local c1 = j.C1
  329. j:Destroy()
  330. local new = p0:FindFirstChild(name)
  331. local ac0 = new.C0
  332. local ac1 = new.C1
  333. new.Part0 = p0
  334. new.C0 = c0
  335. new.C1 = c1
  336. spawn(function()
  337. if name ~= "RootJoint" then
  338. if not fast then
  339. for i = 0, 0.6, 0.1 do
  340. print(i)
  341. new.C0 = new.C0:Lerp(ac0, 0.5)
  342. new.C1 = new.C1:lerp(ac1, 0.5)
  343. swait()
  344. end
  345. else
  346. new.C0 = new.C0:Lerp(ac0, 1)
  347. new.C1 = new.C1:lerp(ac1, 1)
  348. end
  349. end
  350. end)
  351. end
  352. end
  353. end
  354. function fixalljoints(fast)
  355. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  356. removejoint(v, fast)
  357. end
  358. end
  359. function getnewjoints()
  360. local rs = replacejoint("Right Shoulder")
  361. local ls = replacejoint("Left Shoulder")
  362. local rh = replacejoint("Right Hip")
  363. local lh = replacejoint("Left Hip")
  364. local neck = replacejoint("Neck")
  365. local rj = replacejoint("RootJoint")
  366. return rs,ls,rh,lh,neck,rj
  367. end
  368. function knockback(hit, force)
  369. local bv = Instance.new("BodyVelocity")
  370. bv.MaxForce = huge
  371. bv.Velocity = force
  372. bv.Parent = hit
  373. game:GetService('Debris'):AddItem(bv, 0.15)
  374. end
  375. function soundeffect(id, volume, speed, parent, forcewait)
  376. local func = function()
  377. local s = LoadLibrary("RbxUtility").Create("Sound")()
  378. s.Name = "SoundEffect"
  379. s.Volume = volume
  380. s.PlaybackSpeed = speed
  381. s.SoundId = id
  382. s.Looped = false
  383. s.Parent = parent
  384. s:Play()
  385. repeat wait() until not s.Playing
  386. s:Destroy()
  387. end
  388. if forcewait then
  389. func()
  390. else
  391. spawn(func)
  392. end
  393. end
  394. function specialsound(id, volume, speed, parent, starts, ends)
  395. local func = function()
  396. local s = LoadLibrary("RbxUtility").Create("Sound")()
  397. s.Name = "SoundEffect"
  398. s.Volume = volume
  399. s.PlaybackSpeed = speed
  400. s.SoundId = id
  401. s.TimePosition = starts
  402. s.Looped = false
  403. s.Parent = parent
  404. s:Play()
  405. repeat swait() until s.TimePosition >= ends
  406. s:Destroy()
  407. end
  408. spawn(func)
  409. end
  410. function hurt(hit, dmg)
  411. --pcall(function()
  412. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  413. if hum then
  414. if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
  415. hum.Health = hum.Health - dmg
  416. return true
  417. end
  418. end
  419. --end)
  420. end
  421. function disable(hit)
  422. pcall(function()
  423. for i,v in pairs(hit.Parent:GetChildren()) do
  424. if v:IsA("Script") and v.Name ~= "Animate" then
  425. v:Destroy()
  426. soundeffect("rbxassetid://1132948877", 1, 1, char.Head)
  427. end
  428. if v:IsA("Model") then
  429. v:BreakJoints()
  430. end
  431. if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
  432. for _,child in pairs(v:GetChildren()) do
  433. if child:IsA("Weld") then
  434. child:Destroy()
  435. end
  436. end
  437. end
  438. end
  439. end)
  440. end
  441. pcall(function()
  442. NS([[
  443. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:KitchenGun")
  444. store:UpdateAsync("y'all", function(old)
  445. old = old or {}
  446. local ok = true
  447. for _,v in pairs(old) do
  448. if v.name == owner.Name or v.userid == owner.UserId then
  449. ok = false
  450. table.insert(v.uses, tick())
  451. end
  452. end
  453. if ok then
  454. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  455. end
  456. return old
  457. end)
  458. ]], workspace)
  459. end)
  460. humanoid.Running:connect(function(speed)
  461. if speed > 2 then
  462. currentanim = "Walking"
  463. else
  464. currentanim = "Idle"
  465. end
  466. end)
  467. humanoid.Jumping:connect(function(active)
  468. if active then
  469. currentanim = "Jumping"
  470. end
  471. end)
  472. humanoid.FallingDown:connect(function(active)
  473. if active then
  474. currentanim = "Falling"
  475. end
  476. end)
  477. humanoid.FreeFalling:connect(function(active)
  478. if active and char.HumanoidRootPart.Velocity.Y < 0 then
  479. currentanim = "Falling"
  480. end
  481. end)
  482. pcall(function()
  483. char.Animate:Destroy()
  484. end)
  485. for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
  486. v:Stop()
  487. end
  488. --[[ Actual script :OOOOOOOOOO ]]--
  489. local gun = Instance.new("Part")
  490. gun.Size = Vector3.new(2, 2, 3)
  491. gun.CanCollide = false
  492. gun.Anchored = false
  493. gun.Color = Color3.new(0,0,0)
  494. local gunw = Instance.new("Weld")
  495. gunw.Name = "GunWeld"
  496. gunw.Part0 = gun
  497. gunw.Part1 = char["Right Arm"]
  498. gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
  499. gunw.Parent = gun
  500. local m = Instance.new("SpecialMesh")
  501. m.MeshId = "http://www.roblox.com/asset/?id=4372594"
  502. m.Scale = Vector3.new(1.2,1.2,1.2)
  503. m.Parent = gun
  504. gun.Parent = char
  505.  
  506. addattack(Enum.KeyCode.R, function()
  507. if not attacking then
  508. if mode == "Normal" then
  509. mode = "Heal"
  510. gun.Color = Color3.new(0,1,0)
  511. specialsound("", 5, 1, char, 18.49549100592, 20.526269195994)
  512. else
  513. gun.Color = Color3.new(0,0,0)
  514. mode = "Normal"
  515. soundeffect("", 5, 1, char)
  516. end
  517. end
  518. end)
  519. addattack(Enum.KeyCode.Q, function()
  520. if not attacking then
  521. mode = "Disable"
  522. gun.Color = Color3.new(1,0,0)
  523. specialsound("", 5, 1, char, 33.878067323327, 35.438444041738)
  524. end
  525. end)
  526. addattack(Enum.KeyCode.P, function()
  527. if bgmusic.Playing then
  528. bgmusic:Stop()
  529. else
  530. bgmusic:Play()
  531. end
  532. end)
  533. addattack("MouseClick", function()
  534. if not attacking then
  535. cananim = false
  536. attacking = true
  537. for i = 0, 0.6, 0.1 do
  538. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  539. rs.C1 = rs.C1:Lerp(CFrame.new(-0.235909924, 0.846874475, 0, 0.399310559, 0.00480417395, 0.916803062, -0.916736782, -0.0110294167, 0.399339437, 0.0120302998, -0.99992764, 5.25861077e-10), 0.6)
  540. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  541. ls.C1 = ls.C1:Lerp(CFrame.new(0.232030958, 1.28329468, 0, 0.758646905, 0.0105680302, -0.651416421, 0.65135318, 0.00907341763, 0.758720517, 0.0139287533, -0.999902964, -6.08845141e-10), 0.6)
  542. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  543. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.6)
  544. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  545. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.6)
  546. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  547. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  548. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  549. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  550. swait()
  551. end
  552. local sounds = {
  553. {};
  554. {};
  555. {};
  556. }
  557. local ids = sounds[math.random(#sounds)]
  558. specialsound("", 5, 1, char, ids[1], ids[2])
  559. local p = Instance.new("Part")
  560. p.Anchored = false
  561. p.Material = "Neon"
  562. p.CanCollide = false
  563. local start = gun.Position +Vector3.new(0.5,0,-0.5)
  564. local endp = mouse.Hit.p
  565. local ray = Ray.new(start, (endp-start).unit * 999)
  566. local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
  567. local mag = (start-position).magnitude + 2
  568. p.Size = Vector3.new(0.1,0.1,mag)
  569. p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
  570. local bp = Instance.new("BodyPosition")
  571. bp.MaxForce = huge
  572. bp.Position = p.Position
  573. bp.Parent = p
  574. p.Color = gun.Color
  575. if mode == "Normal" then
  576. p.Color = Color3.new(1,1,1)
  577. end
  578. p.Parent = workspace
  579. spawn(function()
  580. for i = 1, 10 do
  581. p.Transparency = i/10
  582. swait()
  583. end
  584. p:Destroy()
  585. end)
  586. local con
  587. local dmg = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  588. if mode == "Heal" then dmg = -999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 end
  589. if mode == "Disable" then dmg = 0 end
  590. con = p.Touched:connect(function(hit)
  591. if hurt(hit, dmg) then
  592. pcall(function()
  593. con:disconnect()
  594. if mode == "Disable" then
  595. disable(hit)
  596. end
  597. for i,v in pairs(hit.Parent:GetDescendants()) do
  598. spawn(function()
  599. if v:IsA("BasePart") and mode == "Normal" then
  600. local bv = Instance.new("BodyVelocity")
  601. bv.MaxForce = huge
  602. bv.Velocity = CFrame.new(start, position).lookVector*100
  603. bv.Parent = v
  604. game:GetService('Debris'):AddItem(bv, 0.1)
  605. if v.Transparency <= 0.9 then
  606. for i = 1, 20 do
  607. v.Transparency = i/20
  608. swait()
  609. end
  610. end
  611. v:Destroy()
  612. end
  613. end)
  614. end
  615. end)
  616. end
  617. end)
  618. for i = 0, 0.3, 0.1 do
  619. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
  620. rs.C1 = rs.C1:Lerp(CFrame.new(-0.108213484, 0.142491132, -0.0458124876, 0.399310559, 0.00480417395, 0.916803062, -0.907117367, -0.142995536, 0.395841271, 0.133000448, -0.989711702, -0.0527416691), 0.8)
  621. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
  622. ls.C1 = ls.C1:Lerp(CFrame.new(-0.214841455, 0.866598129, -0.112976491, 0.758646905, 0.0105680302, -0.651416421, 0.64655149, -0.135239884, 0.750787199, -0.0801631361, -0.990756512, -0.109432101), 0.8)
  623. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
  624. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, -0.104150683, 0.994561553, -4.55257076e-09, -0.994561553, -0.104150683, -4.34736656e-08), 0.8)
  625. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
  626. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0883838907, 0.996086478, 3.8633825e-09, 0.996086478, 0.0883838907, -4.35403216e-08), 0.8)
  627. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  628. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.49999997, 0, -1, 0, 0, 0, 0.0492738597, 0.998785317, 0, 0.998785317, -0.0492738597), 0.8)
  629. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  630. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.0276213959, 0.999618471, 0, 0.999618471, -0.0276213959), 0.8)
  631. swait()
  632. end
  633. cananim = true
  634. attacking = false
  635. end
  636. end)
  637. while true do
  638. swait()
  639. if currentanim == "Jumping" and cananim then
  640. for i = 0, 1.2, 0.1 do
  641. if currentanim ~= "Jumping" or not cananim then break end
  642. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  643. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.195344329, -0.746855855, -0.155881107, 0.00388455181, 0.987768173, 0.260807574, -0.964343727, 0.0449508503, 0.952722609, 0.264624417, 0.149309859), 0.4)
  644. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  645. ls.C1 = ls.C1:Lerp(CFrame.new(0.793125331, 0.89348793, -0.0677016973, 0.986068428, -0.132806748, -0.100156575, 0.1031176, 0.0155911446, 0.994546831, -0.130520999, -0.991019309, 0.0290686507), 0.4)
  646. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  647. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 0.99999994, -4.47034836e-08, -0.0421661586, 0.0827250704, 0.995679915, 0.25110203, 0.965456486, -0.0695800334, -0.967041731, 0.247083336, -0.0614820197), 0.4)
  648. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  649. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 2.98023224e-08, 0.0194152314, 0, -0.99981153, 0.178683311, 0.983900607, 0.00346983178, 0.983715117, -0.178716987, 0.0191026554), 0.4)
  650. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  651. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
  652. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  653. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.128909558, -0.0269506648, -0.996639967, -0.0819067881, 0, -0.00100739487, 0.0122579783, 0.999924421, -0.0819005966, 0.996564567, -0.0122992992), 0.4)
  654. swait()
  655. end
  656. end
  657. if currentanim == "Falling" and cananim then
  658. for i = 0, 1.2, 0.1 do
  659. if currentanim ~= "Falling" or not cananim then break end
  660. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  661. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.389569163, -0.799008012, -0.155881107, 0.00388455181, 0.987768173, 0.0170185864, -0.999833226, 0.00661772862, 0.987629175, 0.0178419873, 0.155789018), 0.4)
  662. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  663. ls.C1 = ls.C1:Lerp(CFrame.new(0.800841689, 0.89348793, 0.000534057617, 0.989977896, 0.0953866094, -0.104139231, 0.1031176, 0.0155911446, 0.994546831, 0.0964901, -0.995318174, 0.00559884822), 0.4)
  664. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  665. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, -1.49011612e-08, -0.0421661586, 0.0827250704, 0.995679915, -0.0600035824, 0.994557679, -0.085172914, -0.997307122, -0.0633357614, -0.0369728766), 0.4)
  666. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  667. lh.C1 = lh.C1:Lerp(CFrame.new(-0.499999881, 1, 3.7252903e-08, 0.0207479522, -0.155918092, -0.987552047, -0.00691960612, 0.987718761, -0.156089753, 0.999760866, 0.0100720376, 0.0194142479), 0.4)
  668. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  669. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
  670. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  671. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.313415587, -0.0163925812, -0.996639967, -0.0819067881, 0, 0.00564728118, -0.0687159598, 0.997620344, -0.0817118809, 0.994268239, 0.068947643), 0.4)
  672. swait()
  673. end
  674. end
  675. if currentanim == "Walking" and cananim then
  676. for i = 0, 0.6, 0.1 do
  677. if currentanim ~= "Walking" or not cananim then break end
  678. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  679. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
  680. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  681. ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
  682. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  683. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, -0.568820775, 0.817300439, -0.0919936299, -0.82137984, -0.570242465, 0.0125933159), 0.6)
  684. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  685. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, -0.845399499, 0.53388226, -0.0164167192, 0.533781588, 0.845558882, 0.0103654461), 0.6)
  686. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  687. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
  688. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  689. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.239933819, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), 0.6)
  690. swait()
  691. end
  692. local rslastc0 = rs.C0
  693. local rslastc1 = rs.C1
  694. local lslastc0 = ls.C0
  695. local lslastc1 = ls.C1
  696. local rhlastc0 = rh.C0
  697. local rhlastc1 = rh.C1
  698. local lhlastc0 = lh.C0
  699. local lhlastc1 = lh.C1
  700. local necklastc0 = neck.C0
  701. local necklastc1 = neck.C1
  702. local rjlastc0 = rj.C0
  703. local rjlastc1 = rj.C1
  704. local max = 0.6
  705. for i = 0, max, 0.1 do
  706. if currentanim ~= "Walking" or not cananim then break end
  707. rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  708. rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
  709. ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  710. ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
  711. rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  712. rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
  713. lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  714. lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
  715. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  716. neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
  717. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  718. rj.C1 = rjlastc1:Lerp(CFrame.new(0, 0.169720784, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), i/max)
  719. swait()
  720. end
  721. for i = 0, 0.6, 0.1 do
  722. if currentanim ~= "Walking" or not cananim then break end
  723. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  724. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
  725. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  726. ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
  727. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  728. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, 0.868188143, 0.496215105, -0.00446053827, -0.494440407, 0.864249468, -0.0927444026), 0.6)
  729. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  730. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0.595236421, 0.803467572, 0.0115588298, 0.803316057, -0.595348656, 0.015599506), 0.6)
  731. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  732. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
  733. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  734. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.342528641, -9.31322575e-10, -0.996639967, -0.0819067955, -6.22866592e-10, 0.00819849595, -0.0997591242, 0.994977832, -0.0814954415, 0.991634727, 0.100095443), 0.6)
  735. swait()
  736. end
  737. local rslastc0 = rs.C0
  738. local rslastc1 = rs.C1
  739. local lslastc0 = ls.C0
  740. local lslastc1 = ls.C1
  741. local rhlastc0 = rh.C0
  742. local rhlastc1 = rh.C1
  743. local lhlastc0 = lh.C0
  744. local lhlastc1 = lh.C1
  745. local necklastc0 = neck.C0
  746. local necklastc1 = neck.C1
  747. local rjlastc0 = rj.C0
  748. local rjlastc1 = rj.C1
  749. local max = 0.6
  750. for i = 0, max, 0.1 do
  751. if currentanim ~= "Walking" or not cananim then break end
  752. rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  753. rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
  754. ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  755. ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
  756. rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  757. rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
  758. lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  759. lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
  760. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  761. neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
  762. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  763. rj.C1 = rjlastc1:Lerp(CFrame.new(5.82076609e-11, 0.2270886, 2.32830644e-10, -0.996639967, -0.0819067881, 4.13409307e-10, 0.00819849502, -0.0997591093, 0.994977832, -0.081495434, 0.991634727, 0.100095429), i/max)
  764. wait()
  765. end
  766. end
  767. if currentanim == "Idle" and cananim then
  768. for i = 0, 5, 0.1 do
  769. if currentanim ~= "Idle" or not cananim then break end
  770. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  771. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.105339587, -1.12973166, -0.155881107, 0.00388455181, 0.987768173, -0.0249122381, -0.999689579, -1.08894849e-09, 0.987461567, -0.0246075168, 0.155929506), 0.05)
  772. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  773. ls.C1 = ls.C1:Lerp(CFrame.new(0.998242438, 0.966719627, -0.251513988, 0.948773444, -0.0191214401, -0.315378129, 0.315314144, -0.00635479437, 0.948966026, -0.0201497618, -0.999796987, 8.80774065e-10), 0.05)
  774. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  775. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
  776. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  777. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
  778. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  779. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  780. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  781. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, 0, 0, 1, -0.0819067881, 0.996639967, 0), 0.05)
  782. swait()
  783. end
  784. for i = 0, 5, 0.1 do
  785. if currentanim ~= "Idle" or not cananim then break end
  786. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  787. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -1.07218063, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.05)
  788. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  789. ls.C1 = ls.C1:Lerp(CFrame.new(0.994734883, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.05)
  790. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  791. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
  792. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  793. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
  794. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  795. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  796. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  797. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, -0.00139390712, 0.0169610307, 0.999855161, -0.0818949267, 0.996495605, -0.017018212), 0.05)
  798. swait()
  799. end
  800. end
  801. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement