Advertisement
AndyWolf6610

Kitchen Gun

Oct 9th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.33 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. --[[ Kitchen Gun (REMADE) ]]--
  153. -------------------------------------------------------
  154. --[[
  155.  
  156. This script was created by WafflesAreVeryGood.
  157. ATTACKS
  158. _______
  159.  
  160.  
  161. --]]
  162. -------------------------------------------------------
  163. print("This script was created by WafflesAreVeryGood!")
  164. --[[Changeable Variables]]--
  165. local multiplier = 1 --Attack multiplier (default is 1)
  166. local soundlist = {
  167. HardHit1 = "rbxassetid://565207203",
  168. HardHit2 = "rbxassetid://541909913",
  169. HardHit3 = "rbxassetid://541909983",
  170. WeakHit1 = "rbxassetid://558642292",
  171. WeakHit2 = "rbxassetid://541907812",
  172. Slice1 = "rbxassetid://260429964",
  173. Slice2 = "rbxassetid://260430015",
  174. Explosion1 = "rbxassetid://138186576",
  175. Explosion2 = "rbxassetid://157878578",
  176. Woosh1 = "rbxassetid://541909867",
  177. Woosh2 = "rbxassetid://541909763",
  178.  
  179. }
  180. local bgmusic = Instance.new("Sound")
  181. bgmusic.Volume = 3.5
  182. bgmusic.SoundId = "rbxassetid://877658690"
  183. bgmusic.Looped = true
  184. bgmusic.Parent = game:GetService('Players').LocalPlayer.Character.Torso
  185. bgmusic:Play()
  186.  
  187. --[[Important Variables]]--
  188. local plr = game:GetService('Players').LocalPlayer
  189. local char = plr.Character
  190. local mouse = plr:GetMouse()
  191. local input = game:GetService('UserInputService')
  192. ----
  193. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  194. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  195. local rs = torso["Right Shoulder"]
  196. local ls = torso["Left Shoulder"]
  197. local rh = torso["Right Hip"]
  198. local lh = torso["Left Hip"]
  199. local neck = torso.Neck
  200. local rj = rootpart["RootJoint"]
  201. local humanoid = char:FindFirstChildOfClass("Humanoid")
  202. ----
  203. local huge = Vector3.new(math.huge, math.huge, math.huge)
  204. local attacking = false
  205. local cananim = true
  206. local currentanim = "Idle"
  207. local mode = "Normal"
  208.  
  209. --[[ Functions ]]--
  210. function addattack(keycode, func)
  211. if keycode ~= "MouseClick" then
  212. input.InputBegan:connect(function(inp)
  213. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  214. func()
  215. end
  216. end)
  217. else
  218. mouse.Button1Down:connect(function()
  219. func()
  220. end)
  221. end
  222. end
  223. function attackend(keycode, func)
  224. input.InputEnded:connect(function(inp)
  225. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  226. func()
  227. end
  228. end)
  229. end
  230. function swait(t)
  231. if t then
  232. for i = 0, t do
  233. game:GetService('RunService').Stepped:wait(0)
  234. end
  235. else
  236. game:GetService('RunService').Stepped:wait(0)
  237. end
  238. return true
  239. end
  240. function fade(obj, dest, grow)
  241. spawn(function()
  242. local oldcf = obj.CFrame
  243. for i = 0, 10 do
  244. if grow then
  245. obj.Size = obj.Size +Vector3.new(1,1,1)
  246. obj.CFrame = oldcf
  247. end
  248. obj.Transparency = obj.Transparency +0.1
  249. swait()
  250. end
  251. if dest then
  252. obj:Destroy()
  253. end
  254. end)
  255. end
  256. function replacejoint(name)
  257. local j = torso:FindFirstChild(name)
  258. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  259. if j then
  260. if true then
  261. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  262. local new = Instance.new("Weld")
  263. local c0 = j.C0
  264. local c1 = j.C1
  265. new.Part0 = j.Part0
  266. j.Part0 = nil
  267. new.Name = j.Name.." Replacement"
  268. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  269. new.Parent = j.Parent
  270. new.Part1 = j.Part1
  271. new.C0 = c0
  272. new.C1 = c1
  273. return new
  274. end
  275. end
  276. end
  277. function removejoint(name, fast)
  278. local j = torso:FindFirstChild(name.." Replacement")
  279. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  280. if j then
  281. local p0 = j.Part0
  282. if p0 ~= nil then
  283. local c0 = j.C0
  284. local c1 = j.C1
  285. j:Destroy()
  286. local new = p0:FindFirstChild(name)
  287. local ac0 = new.C0
  288. local ac1 = new.C1
  289. new.Part0 = p0
  290. new.C0 = c0
  291. new.C1 = c1
  292. spawn(function()
  293. if name ~= "RootJoint" then
  294. if not fast then
  295. for i = 0, 0.6, 0.1 do
  296. print(i)
  297. new.C0 = new.C0:Lerp(ac0, 0.5)
  298. new.C1 = new.C1:lerp(ac1, 0.5)
  299. swait()
  300. end
  301. else
  302. new.C0 = new.C0:Lerp(ac0, 1)
  303. new.C1 = new.C1:lerp(ac1, 1)
  304. end
  305. end
  306. end)
  307. end
  308. end
  309. end
  310. function fixalljoints(fast)
  311. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  312. removejoint(v, fast)
  313. end
  314. end
  315. function getnewjoints()
  316. local rs = replacejoint("Right Shoulder")
  317. local ls = replacejoint("Left Shoulder")
  318. local rh = replacejoint("Right Hip")
  319. local lh = replacejoint("Left Hip")
  320. local neck = replacejoint("Neck")
  321. local rj = replacejoint("RootJoint")
  322. return rs,ls,rh,lh,neck,rj
  323. end
  324. function knockback(hit, force)
  325. local bv = Instance.new("BodyVelocity")
  326. bv.MaxForce = huge
  327. bv.Velocity = force
  328. bv.Parent = hit
  329. game:GetService('Debris'):AddItem(bv, 0.15)
  330. end
  331. function soundeffect(id, volume, speed, parent, forcewait)
  332. local func = function()
  333. local s = LoadLibrary("RbxUtility").Create("Sound")()
  334. s.Name = "SoundEffect"
  335. s.Volume = volume
  336. s.PlaybackSpeed = speed
  337. s.SoundId = id
  338. s.Looped = false
  339. s.Parent = parent
  340. s:Play()
  341. repeat wait() until not s.Playing
  342. s:Destroy()
  343. end
  344. if forcewait then
  345. func()
  346. else
  347. spawn(func)
  348. end
  349. end
  350. function specialsound(id, volume, speed, parent, starts, ends)
  351. local func = function()
  352. local s = LoadLibrary("RbxUtility").Create("Sound")()
  353. s.Name = "SoundEffect"
  354. s.Volume = volume
  355. s.PlaybackSpeed = speed
  356. s.SoundId = id
  357. s.TimePosition = starts
  358. s.Looped = false
  359. s.Parent = parent
  360. s:Play()
  361. repeat swait() until s.TimePosition >= ends
  362. s:Destroy()
  363. end
  364. spawn(func)
  365. end
  366. function hurt(hit, dmg)
  367. --pcall(function()
  368. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  369. if hum then
  370. if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
  371. hum.Health = hum.Health - dmg
  372. return true
  373. end
  374. end
  375. --end)
  376. end
  377. function disable(hit)
  378. pcall(function()
  379. for i,v in pairs(hit.Parent:GetChildren()) do
  380. if v:IsA("Script") and v.Name ~= "Animate" then
  381. v:Destroy()
  382. soundeffect("rbxassetid://1132948877", 1, 1, char.Head)
  383. end
  384. if v:IsA("Model") then
  385. v:BreakJoints()
  386. end
  387. if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
  388. for _,child in pairs(v:GetChildren()) do
  389. if child:IsA("Weld") then
  390. child:Destroy()
  391. end
  392. end
  393. end
  394. end
  395. end)
  396. end
  397. pcall(function()
  398. NS([[
  399. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:KitchenGun")
  400. store:UpdateAsync("y'all", function(old)
  401. old = old or {}
  402. local ok = true
  403. for _,v in pairs(old) do
  404. if v.name == owner.Name or v.userid == owner.UserId then
  405. ok = false
  406. table.insert(v.uses, tick())
  407. end
  408. end
  409. if ok then
  410. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  411. end
  412. return old
  413. end)
  414. ]], workspace)
  415. end)
  416. humanoid.Running:connect(function(speed)
  417. if speed > 2 then
  418. currentanim = "Walking"
  419. else
  420. currentanim = "Idle"
  421. end
  422. end)
  423. humanoid.Jumping:connect(function(active)
  424. if active then
  425. currentanim = "Jumping"
  426. end
  427. end)
  428. humanoid.FallingDown:connect(function(active)
  429. if active then
  430. currentanim = "Falling"
  431. end
  432. end)
  433. humanoid.FreeFalling:connect(function(active)
  434. if active and char.HumanoidRootPart.Velocity.Y < 0 then
  435. currentanim = "Falling"
  436. end
  437. end)
  438. pcall(function()
  439. char.Animate:Destroy()
  440. end)
  441. for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
  442. v:Stop()
  443. end
  444. --[[ Actual script :OOOOOOOOOO ]]--
  445. local gun = Instance.new("Part")
  446. gun.Size = Vector3.new(1, 1, 2)
  447. gun.CanCollide = false
  448. gun.Anchored = false
  449. gun.Color = Color3.new(0,0,0)
  450. local gunw = Instance.new("Weld")
  451. gunw.Name = "GunWeld"
  452. gunw.Part0 = gun
  453. gunw.Part1 = char["Right Arm"]
  454. gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
  455. gunw.Parent = gun
  456. local m = Instance.new("SpecialMesh")
  457. m.MeshId = "http://www.roblox.com/asset/?id=4372594"
  458. m.Scale = Vector3.new(1.2,1.2,1.2)
  459. m.Parent = gun
  460. gun.Parent = char
  461.  
  462. addattack(Enum.KeyCode.R, function()
  463. if not attacking then
  464. if mode == "Normal" then
  465. mode = "Heal"
  466. gun.Color = Color3.new(0,1,0)
  467. specialsound("rbxassetid://741894739", 5, 1, char, 18.49549100592, 20.526269195994)
  468. else
  469. gun.Color = Color3.new(0,0,0)
  470. mode = "Normal"
  471. soundeffect("rbxassetid://833797091", 5, 1, char)
  472. end
  473. end
  474. end)
  475. addattack(Enum.KeyCode.Q, function()
  476. if not attacking then
  477. mode = "Disable"
  478. gun.Color = Color3.new(1,0,0)
  479. specialsound("rbxassetid://741894739", 5, 1, char, 33.878067323327, 35.438444041738)
  480. end
  481. end)
  482. addattack(Enum.KeyCode.P, function()
  483. if bgmusic.Playing then
  484. bgmusic:Stop()
  485. else
  486. bgmusic:Play()
  487. end
  488. end)
  489. addattack("MouseClick", function()
  490. if not attacking then
  491. cananim = false
  492. attacking = true
  493. for i = 0, 0.6, 0.1 do
  494. 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)
  495. 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)
  496. 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)
  497. 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)
  498. 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)
  499. 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)
  500. 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)
  501. 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)
  502. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  503. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  504. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  505. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  506. swait()
  507. end
  508. local sounds = {
  509. {17.49, 17.981267708586};
  510. {17.490114626798, 17.755552823579};
  511. {18, 18.465876732586707476};
  512. }
  513. local ids = sounds[math.random(#sounds)]
  514. specialsound("rbxassetid://741894739", 5, 1, char, ids[1], ids[2])
  515. local p = Instance.new("Part")
  516. p.Anchored = false
  517. p.Material = "Neon"
  518. p.CanCollide = false
  519. local start = gun.Position +Vector3.new(0.5,0,-0.5)
  520. local endp = mouse.Hit.p
  521. local ray = Ray.new(start, (endp-start).unit * 999)
  522. local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
  523. local mag = (start-position).magnitude + 2
  524. p.Size = Vector3.new(0.1,0.1,mag)
  525. p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
  526. local bp = Instance.new("BodyPosition")
  527. bp.MaxForce = huge
  528. bp.Position = p.Position
  529. bp.Parent = p
  530. p.Color = gun.Color
  531. if mode == "Normal" then
  532. p.Color = Color3.new(1,1,1)
  533. end
  534. p.Parent = workspace
  535. spawn(function()
  536. for i = 1, 10 do
  537. p.Transparency = i/10
  538. swait()
  539. end
  540. p:Destroy()
  541. end)
  542. local con
  543. local dmg = 750
  544. if mode == "Heal" then dmg = -1000 end
  545. if mode == "Disable" then dmg = 0 end
  546. con = p.Touched:connect(function(hit)
  547. if hurt(hit, dmg) then
  548. pcall(function()
  549. con:disconnect()
  550. if mode == "Disable" then
  551. disable(hit)
  552. end
  553. for i,v in pairs(hit.Parent:GetDescendants()) do
  554. spawn(function()
  555. if v:IsA("BasePart") and mode == "Normal" then
  556. local bv = Instance.new("BodyVelocity")
  557. bv.MaxForce = huge
  558. bv.Velocity = CFrame.new(start, position).lookVector*100
  559. bv.Parent = v
  560. game:GetService('Debris'):AddItem(bv, 0.1)
  561. if v.Transparency <= 0.9 then
  562. for i = 1, 20 do
  563. v.Transparency = i/20
  564. swait()
  565. end
  566. end
  567. v:Destroy()
  568. end
  569. end)
  570. end
  571. end)
  572. end
  573. end)
  574. for i = 0, 0.3, 0.1 do
  575. 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)
  576. 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)
  577. 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)
  578. 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)
  579. 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)
  580. 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)
  581. 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)
  582. 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)
  583. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  584. 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)
  585. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  586. 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)
  587. swait()
  588. end
  589. cananim = true
  590. attacking = false
  591. end
  592. end)
  593. while true do
  594. swait()
  595. if currentanim == "Jumping" and cananim then
  596. for i = 0, 1.2, 0.1 do
  597. if currentanim ~= "Jumping" or not cananim then break end
  598. 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)
  599. 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)
  600. 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)
  601. 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)
  602. 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)
  603. 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)
  604. 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)
  605. 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)
  606. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  607. 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)
  608. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  609. 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)
  610. swait()
  611. end
  612. end
  613. if currentanim == "Falling" and cananim then
  614. for i = 0, 1.2, 0.1 do
  615. if currentanim ~= "Falling" or not cananim then break end
  616. 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)
  617. 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)
  618. 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)
  619. 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)
  620. 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)
  621. 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)
  622. 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)
  623. 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)
  624. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  625. 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)
  626. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  627. 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)
  628. swait()
  629. end
  630. end
  631. if currentanim == "Walking" and cananim then
  632. for i = 0, 0.6, 0.1 do
  633. if currentanim ~= "Walking" or not cananim then break end
  634. 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)
  635. 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)
  636. 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)
  637. 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)
  638. 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)
  639. 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)
  640. 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)
  641. 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)
  642. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  643. 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)
  644. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  645. 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)
  646. swait()
  647. end
  648. local rslastc0 = rs.C0
  649. local rslastc1 = rs.C1
  650. local lslastc0 = ls.C0
  651. local lslastc1 = ls.C1
  652. local rhlastc0 = rh.C0
  653. local rhlastc1 = rh.C1
  654. local lhlastc0 = lh.C0
  655. local lhlastc1 = lh.C1
  656. local necklastc0 = neck.C0
  657. local necklastc1 = neck.C1
  658. local rjlastc0 = rj.C0
  659. local rjlastc1 = rj.C1
  660. local max = 0.6
  661. for i = 0, max, 0.1 do
  662. if currentanim ~= "Walking" or not cananim then break end
  663. 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)
  664. 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)
  665. 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)
  666. 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)
  667. 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)
  668. 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)
  669. 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)
  670. 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)
  671. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  672. 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)
  673. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  674. 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)
  675. swait()
  676. end
  677. for i = 0, 0.6, 0.1 do
  678. if currentanim ~= "Walking" or not cananim then break end
  679. 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)
  680. 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)
  681. 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)
  682. 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)
  683. 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)
  684. 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)
  685. 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)
  686. 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)
  687. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  688. 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)
  689. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  690. 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)
  691. swait()
  692. end
  693. local rslastc0 = rs.C0
  694. local rslastc1 = rs.C1
  695. local lslastc0 = ls.C0
  696. local lslastc1 = ls.C1
  697. local rhlastc0 = rh.C0
  698. local rhlastc1 = rh.C1
  699. local lhlastc0 = lh.C0
  700. local lhlastc1 = lh.C1
  701. local necklastc0 = neck.C0
  702. local necklastc1 = neck.C1
  703. local rjlastc0 = rj.C0
  704. local rjlastc1 = rj.C1
  705. local max = 0.6
  706. for i = 0, max, 0.1 do
  707. if currentanim ~= "Walking" or not cananim then break end
  708. 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)
  709. 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)
  710. 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)
  711. 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)
  712. 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)
  713. 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)
  714. 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)
  715. 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)
  716. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  717. 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)
  718. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  719. 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)
  720. wait()
  721. end
  722. end
  723. if currentanim == "Idle" and cananim then
  724. for i = 0, 5, 0.1 do
  725. if currentanim ~= "Idle" or not cananim then break end
  726. 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)
  727. 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)
  728. 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)
  729. 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)
  730. 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)
  731. 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)
  732. 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)
  733. 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)
  734. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  735. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  736. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  737. 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)
  738. swait()
  739. end
  740. for i = 0, 5, 0.1 do
  741. if currentanim ~= "Idle" or not cananim then break end
  742. 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)
  743. 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)
  744. 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)
  745. 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)
  746. 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)
  747. 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)
  748. 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)
  749. 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)
  750. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  751. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  752. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  753. 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)
  754. swait()
  755. end
  756. end
  757. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement