Advertisement
StarzoZero

Roblox the BOOM gun Script

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