Advertisement
whyumean

meh

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