Advertisement
BAconTUbe

idk kitchen gun is

Jan 19th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.55 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. --[[ Kitchen Gun (REMADE) ]]--
  154. -------------------------------------------------------
  155. --[[
  156.  
  157. This script was created by WafflesAreVeryGood.
  158. ATTACKS
  159. _______
  160.  
  161.  
  162. --]]
  163. -------------------------------------------------------
  164. print("This script was created by WafflesAreVeryGood!")
  165. --[[Changeable Variables]]--
  166. local multiplier = 1 --Attack multiplier (default is 1)
  167. local soundlist = {
  168. HardHit1 = "rbxassetid://565207203",
  169. HardHit2 = "rbxassetid://541909913",
  170. HardHit3 = "rbxassetid://541909983",
  171. WeakHit1 = "rbxassetid://558642292",
  172. WeakHit2 = "rbxassetid://541907812",
  173. Slice1 = "rbxassetid://260429964",
  174. Slice2 = "rbxassetid://260430015",
  175. Explosion1 = "rbxassetid://138186576",
  176. Explosion2 = "rbxassetid://157878578",
  177. Woosh1 = "rbxassetid://541909867",
  178. Woosh2 = "rbxassetid://541909763",
  179.  
  180. }
  181. local bgmusic = Instance.new("Sound")
  182. bgmusic.Volume = 3.5
  183. bgmusic.SoundId = "rbxassetid://276873987"
  184. bgmusic.Looped = true
  185. bgmusic.Parent = game:GetService('Players').LocalPlayer.Character.Torso
  186. bgmusic:Play()
  187.  
  188. --[[Important Variables]]--
  189. local plr = game:GetService('Players').LocalPlayer
  190. local char = plr.Character
  191. local mouse = plr:GetMouse()
  192. local input = game:GetService('UserInputService')
  193. ----
  194. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  195. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  196. local rs = torso["Right Shoulder"]
  197. local ls = torso["Left Shoulder"]
  198. local rh = torso["Right Hip"]
  199. local lh = torso["Left Hip"]
  200. local neck = torso.Neck
  201. local rj = rootpart["RootJoint"]
  202. local humanoid = char:FindFirstChildOfClass("Humanoid")
  203. ----
  204. local huge = Vector3.new(math.huge, math.huge, math.huge)
  205. local attacking = false
  206. local cananim = true
  207. local currentanim = "Idle"
  208. local mode = "Normal"
  209.  
  210. --[[ Functions ]]--
  211. function addattack(keycode, func)
  212. if keycode ~= "MouseClick" then
  213. input.InputBegan:connect(function(inp)
  214. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  215. func()
  216. end
  217. end)
  218. else
  219. mouse.Button1Down:connect(function()
  220. func()
  221. end)
  222. end
  223. end
  224. function attackend(keycode, func)
  225. input.InputEnded:connect(function(inp)
  226. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  227. func()
  228. end
  229. end)
  230. end
  231. function swait(t)
  232. if t then
  233. for i = 0, t do
  234. game:GetService('RunService').Stepped:wait(0)
  235. end
  236. else
  237. game:GetService('RunService').Stepped:wait(0)
  238. end
  239. return true
  240. end
  241. function fade(obj, dest, grow)
  242. spawn(function()
  243. local oldcf = obj.CFrame
  244. for i = 0, 10 do
  245. if grow then
  246. obj.Size = obj.Size +Vector3.new(1,1,1)
  247. obj.CFrame = oldcf
  248. end
  249. obj.Transparency = obj.Transparency +0.1
  250. swait()
  251. end
  252. if dest then
  253. obj:Destroy()
  254. end
  255. end)
  256. end
  257. function replacejoint(name)
  258. local j = torso:FindFirstChild(name)
  259. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  260. if j then
  261. if true then
  262. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  263. local new = Instance.new("Weld")
  264. local c0 = j.C0
  265. local c1 = j.C1
  266. new.Part0 = j.Part0
  267. j.Part0 = nil
  268. new.Name = j.Name.." Replacement"
  269. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  270. new.Parent = j.Parent
  271. new.Part1 = j.Part1
  272. new.C0 = c0
  273. new.C1 = c1
  274. return new
  275. end
  276. end
  277. end
  278. function removejoint(name, fast)
  279. local j = torso:FindFirstChild(name.." Replacement")
  280. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  281. if j then
  282. local p0 = j.Part0
  283. if p0 ~= nil then
  284. local c0 = j.C0
  285. local c1 = j.C1
  286. j:Destroy()
  287. local new = p0:FindFirstChild(name)
  288. local ac0 = new.C0
  289. local ac1 = new.C1
  290. new.Part0 = p0
  291. new.C0 = c0
  292. new.C1 = c1
  293. spawn(function()
  294. if name ~= "RootJoint" then
  295. if not fast then
  296. for i = 0, 0.6, 0.1 do
  297. print(i)
  298. new.C0 = new.C0:Lerp(ac0, 0.5)
  299. new.C1 = new.C1:lerp(ac1, 0.5)
  300. swait()
  301. end
  302. else
  303. new.C0 = new.C0:Lerp(ac0, 1)
  304. new.C1 = new.C1:lerp(ac1, 1)
  305. end
  306. end
  307. end)
  308. end
  309. end
  310. end
  311. function fixalljoints(fast)
  312. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  313. removejoint(v, fast)
  314. end
  315. end
  316. function getnewjoints()
  317. local rs = replacejoint("Right Shoulder")
  318. local ls = replacejoint("Left Shoulder")
  319. local rh = replacejoint("Right Hip")
  320. local lh = replacejoint("Left Hip")
  321. local neck = replacejoint("Neck")
  322. local rj = replacejoint("RootJoint")
  323. return rs,ls,rh,lh,neck,rj
  324. end
  325. function knockback(hit, force)
  326. local bv = Instance.new("BodyVelocity")
  327. bv.MaxForce = huge
  328. bv.Velocity = force
  329. bv.Parent = hit
  330. game:GetService('Debris'):AddItem(bv, 0.15)
  331. end
  332. function soundeffect(id, volume, speed, parent, forcewait)
  333. local func = function()
  334. local s = LoadLibrary("RbxUtility").Create("Sound")()
  335. s.Name = "SoundEffect"
  336. s.Volume = volume
  337. s.PlaybackSpeed = speed
  338. s.SoundId = id
  339. s.Looped = false
  340. s.Parent = parent
  341. s:Play()
  342. repeat wait() until not s.Playing
  343. s:Destroy()
  344. end
  345. if forcewait then
  346. func()
  347. else
  348. spawn(func)
  349. end
  350. end
  351. function specialsound(id, volume, speed, parent, starts, ends)
  352. local func = function()
  353. local s = LoadLibrary("RbxUtility").Create("Sound")()
  354. s.Name = "SoundEffect"
  355. s.Volume = volume
  356. s.PlaybackSpeed = speed
  357. s.SoundId = id
  358. s.TimePosition = starts
  359. s.Looped = false
  360. s.Parent = parent
  361. s:Play()
  362. repeat swait() until s.TimePosition >= ends
  363. s:Destroy()
  364. end
  365. spawn(func)
  366. end
  367. function hurt(hit, dmg)
  368. --pcall(function()
  369. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  370. if hum then
  371. if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
  372. hum.Health = hum.Health - dmg
  373. return true
  374. end
  375. end
  376. --end)
  377. end
  378. function disable(hit)
  379. pcall(function()
  380. for i,v in pairs(hit.Parent:GetChildren()) do
  381. if v:IsA("Script") and v.Name ~= "Animate" then
  382. v:Destroy()
  383. soundeffect("rbxassetid://141679994", 2, 2, char.Head)
  384. end
  385. if v:IsA("Model") then
  386. v:BreakJoints()
  387. end
  388. if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
  389. for _,child in pairs(v:GetChildren()) do
  390. if child:IsA("Weld") then
  391. child:Destroy()
  392. end
  393. end
  394. end
  395. end
  396. end)
  397. end
  398. pcall(function()
  399. NS([[
  400. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:KitchenGun")
  401. store:UpdateAsync("y'all", function(old)
  402. old = old or {}
  403. local ok = true
  404. for _,v in pairs(old) do
  405. if v.name == owner.Name or v.userid == owner.UserId then
  406. ok = false
  407. table.insert(v.uses, tick())
  408. end
  409. end
  410. if ok then
  411. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  412. end
  413. return old
  414. end)
  415. ]], workspace)
  416. end)
  417. humanoid.Running:connect(function(speed)
  418. if speed > 2 then
  419. currentanim = "Walking"
  420. else
  421. currentanim = "Idle"
  422. end
  423. end)
  424. humanoid.Jumping:connect(function(active)
  425. if active then
  426. currentanim = "Jumping"
  427. end
  428. end)
  429. humanoid.FallingDown:connect(function(active)
  430. if active then
  431. currentanim = "Falling"
  432. end
  433. end)
  434. humanoid.FreeFalling:connect(function(active)
  435. if active and char.HumanoidRootPart.Velocity.Y < 0 then
  436. currentanim = "Falling"
  437. end
  438. end)
  439. pcall(function()
  440. char.Animate:Destroy()
  441. end)
  442. for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
  443. v:Stop()
  444. end
  445. --[[ Actual script :OOOOOOOOOO ]]--
  446. local gun = Instance.new("Part")
  447. gun.Size = Vector3.new(1, 1, 2)
  448. gun.CanCollide = false
  449. gun.Anchored = false
  450. gun.Color = Color3.new(255,255,0)
  451. local gunw = Instance.new("Weld")
  452. gunw.Name = "GunWeld"
  453. gunw.Part0 = gun
  454. gunw.Part1 = char["Right Arm"]
  455. gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
  456. gunw.Parent = gun
  457. local m = Instance.new("SpecialMesh")
  458. m.MeshId = "http://www.roblox.com/asset/?id=4372594"
  459. m.Scale = Vector3.new(1.2,1.2,1.2)
  460. m.Parent = gun
  461. gun.Parent = char
  462.  
  463. addattack(Enum.KeyCode.R, function()
  464. if not attacking then
  465. if mode == "Normal" then
  466. mode = "Heal"
  467. gun.Color = Color3.new(0,0,255)
  468. specialsound("rbxassetid://174658105", 5, 1, char, 18.49549100592, 20.526269195994)
  469. else
  470. gun.Color = Color3.new(255,255,0)
  471. mode = "Normal"
  472. soundeffect("rbxassetid://174658105", 5, 1, char)
  473. end
  474. end
  475. end)
  476. addattack(Enum.KeyCode.Q, function()
  477. if not attacking then
  478. mode = "Disable"
  479. gun.Color = Color3.new(0,1,0)
  480. specialsound("rbxassetid://174658105", 5, 1, char, 33.878067323327, 35.438444041738)
  481. end
  482. end)
  483. addattack(Enum.KeyCode.P, function()
  484. if bgmusic.Playing then
  485. bgmusic:Stop()
  486. else
  487. bgmusic:Play()
  488. end
  489. end)
  490. addattack("MouseClick", function()
  491. if not attacking then
  492. cananim = false
  493. attacking = true
  494. for i = 0, 0.6, 0.1 do
  495. 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)
  496. 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)
  497. 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)
  498. 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)
  499. 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)
  500. 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)
  501. 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)
  502. 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)
  503. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  504. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  505. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  506. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  507. swait()
  508. end
  509. local sounds = {
  510. {17.49, 17.981267708586};
  511. {17.490114626798, 17.755552823579};
  512. {18, 18.465876732586707476};
  513. }
  514. local ids = sounds[math.random(#sounds)]
  515. specialsound("rbxassetid://741894739", 5, 1, char, ids[1], ids[2])
  516. local p = Instance.new("Part")
  517. p.Anchored = false
  518. p.Material = "Neon"
  519. p.CanCollide = false
  520. local start = gun.Position +Vector3.new(0.5,0,-0.5)
  521. local endp = mouse.Hit.p
  522. local ray = Ray.new(start, (endp-start).unit * 999)
  523. local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
  524. local mag = (start-position).magnitude + 2
  525. p.Size = Vector3.new(0.1,0.1,mag)
  526. p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
  527. local bp = Instance.new("BodyPosition")
  528. bp.MaxForce = huge
  529. bp.Position = p.Position
  530. bp.Parent = p
  531. p.Color = gun.Color
  532. if mode == "Normal" then
  533. p.Color = Color3.new(255,255,0)
  534. end
  535. p.Parent = workspace
  536. spawn(function()
  537. for i = 1, 10 do
  538. p.Transparency = i/10
  539. swait()
  540. end
  541. p:Destroy()
  542. end)
  543. local con
  544. local dmg = 750
  545. if mode == "Heal" then dmg = -1000 end
  546. if mode == "Disable" then dmg = 0 end
  547. con = p.Touched:connect(function(hit)
  548. if hurt(hit, dmg) then
  549. pcall(function()
  550. con:disconnect()
  551. if mode == "Disable" then
  552. disable(hit)
  553. end
  554. for i,v in pairs(hit.Parent:GetDescendants()) do
  555. spawn(function()
  556. if v:IsA("BasePart") and mode == "Normal" then
  557. local bv = Instance.new("BodyVelocity")
  558. bv.MaxForce = huge
  559. bv.Velocity = CFrame.new(start, position).lookVector*100
  560. bv.Parent = v
  561. game:GetService('Debris'):AddItem(bv, 0.1)
  562. if v.Transparency <= 0.9 then
  563. for i = 1, 20 do
  564. v.Transparency = i/20
  565. swait()
  566. end
  567. end
  568. v:Destroy()
  569. end
  570. end)
  571. end
  572. end)
  573. end
  574. end)
  575. for i = 0, 0.3, 0.1 do
  576. 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)
  577. 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)
  578. 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)
  579. 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)
  580. 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)
  581. 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)
  582. 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)
  583. 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)
  584. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  585. 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)
  586. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  587. 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)
  588. swait()
  589. end
  590. cananim = true
  591. attacking = false
  592. end
  593. end)
  594. while true do
  595. swait()
  596. if currentanim == "Jumping" and cananim then
  597. for i = 0, 1.2, 0.1 do
  598. if currentanim ~= "Jumping" or not cananim then break end
  599. 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)
  600. 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)
  601. 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)
  602. 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)
  603. 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)
  604. 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)
  605. 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)
  606. 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)
  607. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  608. 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)
  609. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  610. 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)
  611. swait()
  612. end
  613. end
  614. if currentanim == "Falling" and cananim then
  615. for i = 0, 1.2, 0.1 do
  616. if currentanim ~= "Falling" or not cananim then break end
  617. 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)
  618. 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)
  619. 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)
  620. 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)
  621. 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)
  622. 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)
  623. 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)
  624. 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)
  625. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  626. 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)
  627. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  628. 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)
  629. swait()
  630. end
  631. end
  632. if currentanim == "Walking" and cananim then
  633. for i = 0, 0.6, 0.1 do
  634. if currentanim ~= "Walking" or not cananim then break end
  635. 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)
  636. 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)
  637. 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)
  638. 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)
  639. 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)
  640. 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)
  641. 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)
  642. 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)
  643. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  644. 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)
  645. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  646. 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)
  647. swait()
  648. end
  649. local rslastc0 = rs.C0
  650. local rslastc1 = rs.C1
  651. local lslastc0 = ls.C0
  652. local lslastc1 = ls.C1
  653. local rhlastc0 = rh.C0
  654. local rhlastc1 = rh.C1
  655. local lhlastc0 = lh.C0
  656. local lhlastc1 = lh.C1
  657. local necklastc0 = neck.C0
  658. local necklastc1 = neck.C1
  659. local rjlastc0 = rj.C0
  660. local rjlastc1 = rj.C1
  661. local max = 0.6
  662. for i = 0, max, 0.1 do
  663. if currentanim ~= "Walking" or not cananim then break end
  664. 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)
  665. 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)
  666. 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)
  667. 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)
  668. 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)
  669. 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)
  670. 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)
  671. 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)
  672. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  673. 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)
  674. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  675. 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)
  676. swait()
  677. end
  678. for i = 0, 0.6, 0.1 do
  679. if currentanim ~= "Walking" or not cananim then break end
  680. 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)
  681. 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)
  682. 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)
  683. 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)
  684. 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)
  685. 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)
  686. 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)
  687. 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)
  688. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  689. 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)
  690. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  691. 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)
  692. swait()
  693. end
  694. local rslastc0 = rs.C0
  695. local rslastc1 = rs.C1
  696. local lslastc0 = ls.C0
  697. local lslastc1 = ls.C1
  698. local rhlastc0 = rh.C0
  699. local rhlastc1 = rh.C1
  700. local lhlastc0 = lh.C0
  701. local lhlastc1 = lh.C1
  702. local necklastc0 = neck.C0
  703. local necklastc1 = neck.C1
  704. local rjlastc0 = rj.C0
  705. local rjlastc1 = rj.C1
  706. local max = 0.6
  707. for i = 0, max, 0.1 do
  708. if currentanim ~= "Walking" or not cananim then break end
  709. 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)
  710. 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)
  711. 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)
  712. 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)
  713. 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)
  714. 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)
  715. 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)
  716. 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)
  717. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  718. 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)
  719. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  720. 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)
  721. wait()
  722. end
  723. end
  724. if currentanim == "Idle" and cananim then
  725. for i = 0, 5, 0.1 do
  726. if currentanim ~= "Idle" or not cananim then break end
  727. 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)
  728. 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)
  729. 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)
  730. 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)
  731. 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)
  732. 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)
  733. 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)
  734. 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)
  735. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  736. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  737. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  738. 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)
  739. swait()
  740. end
  741. for i = 0, 5, 0.1 do
  742. if currentanim ~= "Idle" or not cananim then break end
  743. 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)
  744. 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)
  745. 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)
  746. 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)
  747. 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)
  748. 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)
  749. 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)
  750. 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)
  751. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  752. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  753. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  754. 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)
  755. swait()
  756. end
  757. end
  758. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement