subaru112g

kitchen gun edit

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