Advertisement
SCR1PT_ED1T0R

FE Op Kitchen Gun...?

Sep 27th, 2018
1,043
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. local plr = game.Players.LocalPlayer
  143. local char = plr.Character
  144. local mouse = plr:GetMouse()
  145. local torso = char.Torso
  146. local rs = torso["Right Shoulder"]
  147. local ls = torso["Left Shoulder"]
  148. local rh = torso["Right Hip"]
  149. local lh = torso["Left Hip"]
  150. local rj = char.HumanoidRootPart.RootJoint
  151. local neck = torso.Neck
  152. local animpose = "Idle"
  153. local attacking = false
  154. local cananim = true
  155. local rage = false
  156. local shield
  157. local sprint = false
  158. local canrage = true
  159. local legs = true
  160. local bc = char:WaitForChild("Body Colors")
  161. local multiplier = 1
  162. local lac = char["Body Colors"].LeftArmColor
  163. local rac = char["Body Colors"].RightArmColor
  164. local rlc = char["Body Colors"].RightArmColor
  165. local llc = char["Body Colors"].LeftLegColor
  166. local hc = char["Body Colors"].HeadColor
  167. local tc = char["Body Colors"].TorsoColor
  168. local humanoid = char:FindFirstChildOfClass("Humanoid")
  169. local huge = Vector3.new(math.huge, math.huge, math.huge)
  170. local mobs = Instance.new("Sound", char)
  171. mobs.SoundId = "rbxassetid://245913129"
  172. mobs.Looped = true
  173. mobs.Volume = 3
  174. humanoid.MaxHealth = math.huge
  175. wait()
  176. humanoid.Health = math.huge
  177. humanoid.Name = "BOOM BOOM BOOOMMMM!"
  178. mobs:Play()
  179. if char:FindFirstChild("Animate") then
  180. char.Animate:Destroy()
  181. end
  182. if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then
  183. char:FindFirstChildOfClass("Humanoid").Animator:Destroy()
  184. end
  185. function legsonly()
  186. spawn(function()
  187. for i = 0, 10 do
  188. wait(0.001)
  189. if attacking then
  190. break
  191. end
  192. end
  193. if not attacking then
  194. legs = false
  195. end
  196. end)
  197. end
  198. function swait(t)
  199. if t == nil or t == 0 then
  200. game:service("RunService").Stepped:wait(0)
  201. else
  202. for i = 0, t do
  203. game:service("RunService").Stepped:wait(0)
  204. end
  205. end
  206. end
  207. function KICK(PLAYER)
  208. spawn(function()
  209. local function SKICK()
  210. if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") and PLAYER.Character:FindFirstChild("Torso") then
  211. PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  212. do
  213. local SP = Instance.new("SkateboardPlatform", PLAYER.Character)
  214. SP.Position = PLAYER.Character.HumanoidRootPart.Position
  215. SP.Transparency = 1
  216. spawn(function()
  217. repeat
  218. swait()
  219. if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") then
  220. SP.Position = PLAYER.Character.HumanoidRootPart.Position
  221. end
  222. until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
  223. end)
  224. PLAYER.Character.Torso.Anchored = true
  225. end
  226. end
  227. end
  228. spawn(function()
  229. repeat
  230. wait()
  231. if PLAYER ~= nil then
  232. SKICK()
  233. end
  234. until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
  235. if not game:GetService("Players"):FindFirstChild(PLAYER.Name) then
  236. print("REMOVED " .. PLAYER.Name)
  237. end
  238. end)
  239. end)
  240. end
  241. function hurt(hit, dmg)
  242. if hit.Parent then
  243. if hit.Parent:IsA("LocalScript") then
  244. print("bocks!11")
  245. hit.Parent:Destroy()
  246. end
  247. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  248. if hum and hum.Parent.Name ~= plr.Name then
  249. if dmg == "Kill" or hum.Health > 100000 then
  250. hit.Parent:BreakJoints()
  251. return true
  252. else
  253. if math.random(0, 100) == 50 then
  254. hum.Health = hum.Health - dmg * multiplier * 2.5
  255. else
  256. hum.Health = hum.Health - dmg * multiplier
  257. end
  258. return true
  259. end
  260. end
  261. end
  262. end
  263. function soundeffect(id, volume, speed, parent)
  264. spawn(function()
  265. local s = Instance.new("Sound")
  266. s.SoundId = id
  267. s.Volume = volume
  268. s.PlaybackSpeed = speed
  269. s.Parent = parent
  270. s:Play()
  271. repeat
  272. wait()
  273. until not s.Playing
  274. s:Destroy()
  275. end)
  276. end
  277. function gethum(obj)
  278. if obj.Parent and obj.Parent:FindFirstChild("Humanoid") and obj.Parent.Name ~= plr.Name then
  279. return obj.Parent:FindFirstChildOfClass("Humanoid")
  280. end
  281. end
  282. function smooth(obj)
  283. local sides = {
  284. "Left",
  285. "Right",
  286. "Top",
  287. "Bottom",
  288. "Front",
  289. "Back"
  290. }
  291. for i, v in pairs(sides) do
  292. obj[v .. "Surface"] = "SmoothNoOutlines"
  293. end
  294. end
  295. function fade(obj, dest, grow)
  296. spawn(function()
  297. local oldcf = obj.CFrame
  298. for i = 0, 10 do
  299. if grow then
  300. obj.Size = obj.Size + Vector3.new(1, 1, 1)
  301. obj.CFrame = oldcf
  302. end
  303. obj.Transparency = obj.Transparency + 0.1
  304. swait()
  305. end
  306. if dest then
  307. obj:Destroy()
  308. end
  309. end)
  310. end
  311. local keyamount = 0
  312. mouse.KeyDown:connect(function(key)
  313. if key == "w" or key == "a" or key == "s" or key == "d" then
  314. keyamount = keyamount + 1
  315. if animpose ~= "Falling" then
  316. if keyamount > 3 then
  317. keyamount = 0
  318. end
  319. animpose = "Walking"
  320. end
  321. end
  322. end)
  323. mouse.KeyUp:connect(function(key)
  324. if key == "w" or key == "a" or key == "s" or key == "d" then
  325. keyamount = keyamount - 1
  326. if keyamount < 0 then
  327. keyamount = 0
  328. end
  329. if keyamount == 0 then
  330. animpose = "Idle"
  331. end
  332. end
  333. end)
  334. local gun = Instance.new("Part")
  335. gun.Size = Vector3.new(3.175, 1.916, 0.465)
  336. gun.CanCollide = false
  337. local m = Instance.new("SpecialMesh", gun)
  338. m.MeshId = "rbxassetid://468351345"
  339. m.TextureId = "rbxassetid://468351348"
  340. m.Scale = Vector3.new(0.1, 0.1, 0.1)
  341. gun.CFrame = char.Torso.CFrame
  342. gun.Parent = char
  343. local gunw = Instance.new("Weld", gun)
  344. gunw.Part0 = gun
  345. gunw.Part1 = char["Right Arm"]
  346. gunw.C0 = CFrame.new(-1.7838248, -0.410839319, 0, -0.0871557146, -0.996194541, 0, 0.996194541, -0.0871557146, 0, 0, 0, 1)
  347. mouse.Button1Down:connect(function()
  348. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  349. local mag = (gun.Position - mouse.Hit.p).magnitude
  350. local p = Instance.new("Part")
  351. p.CanCollide = false
  352. p.Anchored = false
  353. p.BrickColor = BrickColor.new("Institutional white")
  354. p.Size = Vector3.new(0.2, 0.2, mag)
  355. smooth(p)
  356. p.Material = "Neon"
  357. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  358. local m = Instance.new("SpecialMesh", p)
  359. m.MeshType = "Brick"
  360. p.Parent = workspace
  361. p.Touched:connect(function(hit)
  362. hurt(hit, "Kill")
  363. if hit.Size.X > 100 and 100 < hit.Size.Z and hit.Size.Y < 3 then
  364. elseif hit.Parent and hit.Parent.Name ~= plr.Name then
  365. fade(hit, true)
  366. end
  367. end)
  368. local bp = Instance.new("BodyPosition", p)
  369. bp.MaxForce = huge
  370. bp.Position = p.Position
  371. local saved = p.CFrame
  372. for i = 1, 10 do
  373. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  374. p.CFrame = saved
  375. p.Velocity = Vector3.new(0, 0, 100)
  376. p.Transparency = p.Transparency + 0.1
  377. wait()
  378. end
  379. p:Destroy()
  380. end)
  381. mouse.KeyDown:connect(function(key)
  382. if key == "l" then
  383. function a(b)
  384. pcall(function()
  385. for i, v in pairs(b:children()) do
  386. pcall(function()
  387. if v:IsA("BasePart") and v.Parent and v.Parent.Name == "WafflesAreVeryGood" and v.Anchored then
  388. v.Anchored = false
  389. end
  390. if v:IsA("Sound") and v.Parent.Name ~= "WafflesAreVeryGood" then
  391. v:Destroy()
  392. end
  393. if v:IsA("ParticleEmitter") then
  394. v:Destroy()
  395. end
  396. a(v)
  397. end)
  398. end
  399. end)
  400. end
  401. a(game)
  402. end
  403. if key == "q" then
  404. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  405. local mag = (gun.Position - mouse.Hit.p).magnitude
  406. local p = Instance.new("Part")
  407. p.CanCollide = false
  408. p.Anchored = false
  409. p.BrickColor = BrickColor.new("Really red")
  410. p.Size = Vector3.new(0.2, 0.2, mag)
  411. smooth(p)
  412. p.Material = "Neon"
  413. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  414. local m = Instance.new("SpecialMesh", p)
  415. m.MeshType = "Brick"
  416. p.Parent = workspace
  417. p.Touched:connect(function(hit)
  418. if gethum(hit) then
  419. for i, v in pairs(hit.Parent:children()) do
  420. if v:IsA("Model") then
  421. v:BreakJoints()
  422. end
  423. local ok = false
  424. for i, e in pairs({
  425. "Right Arm",
  426. "Left Arm",
  427. "Right Leg",
  428. "Left Leg",
  429. "Head",
  430. "Torso",
  431. "HumanoidRootPart"
  432. }) do
  433. if v.Name == e then
  434. ok = true
  435. end
  436. end
  437. if v:IsA("BasePart") and not ok then
  438. fade(v, true)
  439. end
  440. end
  441. end
  442. if hit:FindFirstChildOfClass("TouchTransmitter") then
  443. hit:FindFirstChildOfClass("TouchTransmitter"):Destroy()
  444. end
  445. end)
  446. local bp = Instance.new("BodyPosition", p)
  447. bp.MaxForce = huge
  448. bp.Position = p.Position
  449. local saved = p.CFrame
  450. for i = 1, 10 do
  451. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  452. p.CFrame = saved
  453. p.Velocity = Vector3.new(0, 0, 100)
  454. p.Transparency = p.Transparency + 0.1
  455. wait()
  456. end
  457. p:Destroy()
  458. end
  459. if key == "e" then
  460. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  461. local mag = (gun.Position - mouse.Hit.p).magnitude
  462. local p = Instance.new("Part")
  463. p.CanCollide = false
  464. p.Anchored = false
  465. p.BrickColor = BrickColor.new("New Yeller")
  466. p.Size = Vector3.new(0.2, 0.2, mag)
  467. smooth(p)
  468. p.Material = "Neon"
  469. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  470. local m = Instance.new("SpecialMesh", p)
  471. m.MeshType = "Brick"
  472. p.Parent = workspace
  473. p.Touched:connect(function(hit)
  474. if gethum(hit) then
  475. local target = game.Players:FindFirstChild(hit.Parent.Name)
  476. if target then
  477. KICK(target)
  478. end
  479. end
  480. end)
  481. local bp = Instance.new("BodyPosition", p)
  482. bp.MaxForce = huge
  483. bp.Position = p.Position
  484. local saved = p.CFrame
  485. for i = 1, 10 do
  486. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  487. p.CFrame = saved
  488. p.Velocity = Vector3.new(0, 0, 100)
  489. p.Transparency = p.Transparency + 0.1
  490. wait()
  491. end
  492. p:Destroy()
  493. end
  494. if key == "r" then
  495. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  496. local mag = (gun.Position - mouse.Hit.p).magnitude
  497. local p = Instance.new("Part")
  498. p.CanCollide = false
  499. p.Anchored = false
  500. p.BrickColor = BrickColor.new("Lime green")
  501. p.Size = Vector3.new(0.2, 0.2, mag)
  502. smooth(p)
  503. p.Material = "Neon"
  504. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  505. local m = Instance.new("SpecialMesh", p)
  506. m.MeshType = "Brick"
  507. p.Parent = workspace
  508. p.Touched:connect(function(hit)
  509. local hum = gethum(hit)
  510. if hum then
  511. hum.Health = hum.MaxHealth
  512. end
  513. end)
  514. local bp = Instance.new("BodyPosition", p)
  515. bp.MaxForce = huge
  516. bp.Position = p.Position
  517. local saved = p.CFrame
  518. for i = 1, 10 do
  519. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  520. p.CFrame = saved
  521. p.Velocity = Vector3.new(0, 0, 100)
  522. p.Transparency = p.Transparency + 0.1
  523. wait()
  524. end
  525. p:Destroy()
  526. end
  527. end)
  528. game:GetService("RunService").Stepped:connect(function()
  529. local x, z
  530. local dir = CFrame.new(char.HumanoidRootPart.Position, mouse.Hit.p).lookVector
  531. x = dir.X
  532. z = dir.Z
  533. local cf = CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position + Vector3.new(x, 0, z))
  534. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame:Lerp(cf, 0.5)
  535. humanoid.AutoRotate = false
  536. end)
  537. while wait() do
  538. if animpose == "Walking" and cananim and legs then
  539. for i = 0, 0.7, 0.1 do
  540. if animpose == "Walking" and cananim and legs then
  541. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  542. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  543. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2)
  544. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  545. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0219629817, 0.02712203, -0.999390841, -0.628937364, 0.776673257, 0.0348994955, 0.777146697, 0.6293208, 0), 0.4)
  546. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0238014236, -0.0255239103, 0.999390841, -0.681583524, 0.73090899, 0.0348994955, -0.731354535, -0.681998909, 0), 0.4)
  547. wait()
  548. else
  549. break
  550. end
  551. end
  552. for i = 0, 0.7, 0.1 do
  553. if animpose == "Walking" and cananim and legs then
  554. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  555. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  556. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2)
  557. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  558. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0205134545, 0.0282343514, -0.999390841, 0.587428331, 0.808525503, 0.0348994955, 0.809018135, -0.587786257, 0), 0.4)
  559. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0224330258, -0.0267346334, 0.999390841, 0.642397523, 0.765579402, 0.0348994955, -0.76604569, 0.642788768, 0), 0.4)
  560. wait()
  561. else
  562. break
  563. end
  564. end
  565. end
  566. if animpose == "Idle" and cananim and legs then
  567. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  568. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  569. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2)
  570. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  571. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.5)
  572. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.5)
  573. end
  574. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement