Advertisement
HenloMyDude

hyperlaserboomywoomygunsplat

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