Advertisement
Guest User

Untitled

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