kaualima12

Untitled

Nov 1st, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. local plr = game.Players.LocalPlayer
  154. local char = plr.Character
  155. local mouse = plr:GetMouse()
  156. local torso = char.Torso
  157. local rs = torso["Right Shoulder"]
  158. local ls = torso["Left Shoulder"]
  159. local rh = torso["Right Hip"]
  160. local lh = torso["Left Hip"]
  161. local rj = char.HumanoidRootPart.RootJoint
  162. local neck = torso.Neck
  163. local animpose = "Idle"
  164. local attacking = false
  165. local cananim = true
  166. local rage = false
  167. local shield
  168. local sprint = false
  169. local canrage = true
  170. local legs = true
  171. local bc = char:WaitForChild("Body Colors")
  172. local multiplier = 1
  173. local lac = char["Body Colors"].LeftArmColor
  174. local rac = char["Body Colors"].RightArmColor
  175. local rlc = char["Body Colors"].RightArmColor
  176. local llc = char["Body Colors"].LeftLegColor
  177. local hc = char["Body Colors"].HeadColor
  178. local tc = char["Body Colors"].TorsoColor
  179. local humanoid = char:FindFirstChildOfClass("Humanoid")
  180. local huge = Vector3.new(math.huge, math.huge, math.huge)
  181. local mobs = Instance.new("Sound", char)
  182. mobs.SoundId = "rbxassetid://607042800"
  183. mobs.Looped = true
  184. mobs.Volume = 3
  185. humanoid.MaxHealth = math.huge
  186. wait()
  187. humanoid.Health = math.huge
  188. humanoid.Name = "DragonClawThe F3st Boi"
  189. mobs:Play()
  190. if char:FindFirstChild("Animate") then
  191. char.Animate:Destroy()
  192. end
  193. if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then
  194. char:FindFirstChildOfClass("Humanoid").Animator:Destroy()
  195. end
  196. function legsonly()
  197. spawn(function()
  198. for i = 0, 10 do
  199. wait(0.001)
  200. if attacking then
  201. break
  202. end
  203. end
  204. if not attacking then
  205. legs = false
  206. end
  207. end)
  208. end
  209. function swait(t)
  210. if t == nil or t == 0 then
  211. game:service("RunService").Stepped:wait(0)
  212. else
  213. for i = 0, t do
  214. game:service("RunService").Stepped:wait(0)
  215. end
  216. end
  217. end
  218. function KICK(PLAYER)
  219. spawn(function()
  220. local function SKICK()
  221. if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") and PLAYER.Character:FindFirstChild("Torso") then
  222. PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  223. do
  224. local SP = Instance.new("SkateboardPlatform", PLAYER.Character)
  225. SP.Position = PLAYER.Character.HumanoidRootPart.Position
  226. SP.Transparency = 1
  227. spawn(function()
  228. repeat
  229. swait()
  230. if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") then
  231. SP.Position = PLAYER.Character.HumanoidRootPart.Position
  232. end
  233. until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
  234. end)
  235. PLAYER.Character.Torso.Anchored = true
  236. end
  237. end
  238. end
  239. spawn(function()
  240. repeat
  241. wait()
  242. if PLAYER ~= nil then
  243. SKICK()
  244. end
  245. until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
  246. if not game:GetService("Players"):FindFirstChild(PLAYER.Name) then
  247. print("REMOVED " .. PLAYER.Name)
  248. end
  249. end)
  250. end)
  251. end
  252. function hurt(hit, dmg)
  253. if hit.Parent then
  254. if hit.Parent:IsA("LocalScript") then
  255. print("bocks!11")
  256. hit.Parent:Destroy()
  257. end
  258. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  259. if hum and hum.Parent.Name ~= plr.Name then
  260. if dmg == "Kill" or hum.Health > 100000 then
  261. hit.Parent:BreakJoints()
  262. return true
  263. else
  264. if math.random(0, 100) == 50 then
  265. hum.Health = hum.Health - dmg * multiplier * 2.5
  266. else
  267. hum.Health = hum.Health - dmg * multiplier
  268. end
  269. return true
  270. end
  271. end
  272. end
  273. end
  274. function soundeffect(id, volume, speed, parent)
  275. spawn(function()
  276. local s = Instance.new("Sound")
  277. s.SoundId = id
  278. s.Volume = volume
  279. s.PlaybackSpeed = speed
  280. s.Parent = parent
  281. s:Play()
  282. repeat
  283. wait()
  284. until not s.Playing
  285. s:Destroy()
  286. end)
  287. end
  288. function gethum(obj)
  289. if obj.Parent and obj.Parent:FindFirstChild("Humanoid") and obj.Parent.Name ~= plr.Name then
  290. return obj.Parent:FindFirstChildOfClass("Humanoid")
  291. end
  292. end
  293. function smooth(obj)
  294. local sides = {
  295. "Left",
  296. "Right",
  297. "Top",
  298. "Bottom",
  299. "Front",
  300. "Back"
  301. }
  302. for i, v in pairs(sides) do
  303. obj[v .. "Surface"] = "SmoothNoOutlines"
  304. end
  305. end
  306. function fade(obj, dest, grow)
  307. spawn(function()
  308. local oldcf = obj.CFrame
  309. for i = 0, 10 do
  310. if grow then
  311. obj.Size = obj.Size + Vector3.new(1, 1, 1)
  312. obj.CFrame = oldcf
  313. end
  314. obj.Transparency = obj.Transparency + 0.1
  315. swait()
  316. end
  317. if dest then
  318. obj:Destroy()
  319. end
  320. end)
  321. end
  322. local keyamount = 0
  323. mouse.KeyDown:connect(function(key)
  324. if key == "w" or key == "a" or key == "s" or key == "d" then
  325. keyamount = keyamount + 1
  326. if animpose ~= "Falling" then
  327. if keyamount > 3 then
  328. keyamount = 0
  329. end
  330. animpose = "Walking"
  331. end
  332. end
  333. end)
  334. mouse.KeyUp:connect(function(key)
  335. if key == "w" or key == "a" or key == "s" or key == "d" then
  336. keyamount = keyamount - 1
  337. if keyamount < 0 then
  338. keyamount = 0
  339. end
  340. if keyamount == 0 then
  341. animpose = "Idle"
  342. end
  343. end
  344. end)
  345. local gun = Instance.new("Part")
  346. gun.Size = Vector3.new(3.175, 1.916, 0.465)
  347. gun.CanCollide = false
  348. local m = Instance.new("SpecialMesh", gun)
  349. m.MeshId = "rbxassetid://430054382"
  350. m.TextureId = "rbxassetid://1294644359"
  351. m.Scale = Vector3.new(0.1, 0.1, 0.1)
  352. gun.CFrame = char.Torso.CFrame
  353. gun.Parent = char
  354. local gunw = Instance.new("Weld", gun)
  355. gunw.Part0 = gun
  356. gunw.Part1 = char["Right Arm"]
  357. gunw.C0 = CFrame.new(-1.7838248, -0.410839319, 0, -0.0871557146, -0.996194541, 0, 0.996194541, -0.0871557146, 0, 0, 0, 1)
  358. mouse.Button1Down:connect(function()
  359. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  360. local mag = (gun.Position - mouse.Hit.p).magnitude
  361. local p = Instance.new("Part")
  362. p.CanCollide = false
  363. p.Anchored = false
  364. p.BrickColor = BrickColor.new("Institutional white")
  365. p.Size = Vector3.new(0.2, 0.2, mag)
  366. smooth(p)
  367. p.Material = "Neon"
  368. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  369. local m = Instance.new("SpecialMesh", p)
  370. m.MeshType = "Brick"
  371. p.Parent = workspace
  372. p.Touched:connect(function(hit)
  373. hurt(hit, "Kill")
  374. if hit.Size.X > 100 and 100 < hit.Size.Z and hit.Size.Y < 3 then
  375. elseif hit.Parent and hit.Parent.Name ~= plr.Name then
  376. fade(hit, true)
  377. end
  378. end)
  379. local bp = Instance.new("BodyPosition", p)
  380. bp.MaxForce = huge
  381. bp.Position = p.Position
  382. local saved = p.CFrame
  383. for i = 1, 10 do
  384. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  385. p.CFrame = saved
  386. p.Velocity = Vector3.new(0, 0, 100)
  387. p.Transparency = p.Transparency + 0.1
  388. wait()
  389. end
  390. p:Destroy()
  391. end)
  392. mouse.KeyDown:connect(function(key)
  393. if key == "l" then
  394. function a(b)
  395. pcall(function()
  396. for i, v in pairs(b:children()) do
  397. pcall(function()
  398. if v:IsA("BasePart") and v.Parent and v.Parent.Name == "WafflesAreVeryGood" and v.Anchored then
  399. v.Anchored = false
  400. end
  401. if v:IsA("Sound") and v.Parent.Name ~= "WafflesAreVeryGood" then
  402. v:Destroy()
  403. end
  404. if v:IsA("ParticleEmitter") then
  405. v:Destroy()
  406. end
  407. a(v)
  408. end)
  409. end
  410. end)
  411. end
  412. a(game)
  413. end
  414. if key == "q" then
  415. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  416. local mag = (gun.Position - mouse.Hit.p).magnitude
  417. local p = Instance.new("Part")
  418. p.CanCollide = false
  419. p.Anchored = false
  420. p.BrickColor = BrickColor.new("Really red")
  421. p.Size = Vector3.new(0.2, 0.2, mag)
  422. smooth(p)
  423. p.Material = "Neon"
  424. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  425. local m = Instance.new("SpecialMesh", p)
  426. m.MeshType = "Brick"
  427. p.Parent = workspace
  428. p.Touched:connect(function(hit)
  429. if gethum(hit) then
  430. for i, v in pairs(hit.Parent:children()) do
  431. if v:IsA("Model") then
  432. v:BreakJoints()
  433. end
  434. local ok = false
  435. for i, e in pairs({
  436. "Right Arm",
  437. "Left Arm",
  438. "Right Leg",
  439. "Left Leg",
  440. "Head",
  441. "Torso",
  442. "HumanoidRootPart"
  443. }) do
  444. if v.Name == e then
  445. ok = true
  446. end
  447. end
  448. if v:IsA("BasePart") and not ok then
  449. fade(v, true)
  450. end
  451. end
  452. end
  453. if hit:FindFirstChildOfClass("TouchTransmitter") then
  454. hit:FindFirstChildOfClass("TouchTransmitter"):Destroy()
  455. end
  456. end)
  457. local bp = Instance.new("BodyPosition", p)
  458. bp.MaxForce = huge
  459. bp.Position = p.Position
  460. local saved = p.CFrame
  461. for i = 1, 10 do
  462. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  463. p.CFrame = saved
  464. p.Velocity = Vector3.new(0, 0, 100)
  465. p.Transparency = p.Transparency + 0.1
  466. wait()
  467. end
  468. p:Destroy()
  469. end
  470. if key == "e" then
  471. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  472. local mag = (gun.Position - mouse.Hit.p).magnitude
  473. local p = Instance.new("Part")
  474. p.CanCollide = false
  475. p.Anchored = false
  476. p.BrickColor = BrickColor.new("New Yeller")
  477. p.Size = Vector3.new(0.2, 0.2, mag)
  478. smooth(p)
  479. p.Material = "Neon"
  480. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  481. local m = Instance.new("SpecialMesh", p)
  482. m.MeshType = "Brick"
  483. p.Parent = workspace
  484. p.Touched:connect(function(hit)
  485. if gethum(hit) then
  486. local target = game.Players:FindFirstChild(hit.Parent.Name)
  487. if target then
  488. KICK(target)
  489. end
  490. end
  491. end)
  492. local bp = Instance.new("BodyPosition", p)
  493. bp.MaxForce = huge
  494. bp.Position = p.Position
  495. local saved = p.CFrame
  496. for i = 1, 10 do
  497. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  498. p.CFrame = saved
  499. p.Velocity = Vector3.new(0, 0, 100)
  500. p.Transparency = p.Transparency + 0.1
  501. wait()
  502. end
  503. p:Destroy()
  504. end
  505. if key == "r" then
  506. local cf = gun.CFrame * CFrame.new(0, 0, 0.958)
  507. local mag = (gun.Position - mouse.Hit.p).magnitude
  508. local p = Instance.new("Part")
  509. p.CanCollide = false
  510. p.Anchored = false
  511. p.BrickColor = BrickColor.new("Lime green")
  512. p.Size = Vector3.new(0.2, 0.2, mag)
  513. smooth(p)
  514. p.Material = "Neon"
  515. p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2)
  516. local m = Instance.new("SpecialMesh", p)
  517. m.MeshType = "Brick"
  518. p.Parent = workspace
  519. p.Touched:connect(function(hit)
  520. local hum = gethum(hit)
  521. if hum then
  522. hum.Health = hum.MaxHealth
  523. end
  524. end)
  525. local bp = Instance.new("BodyPosition", p)
  526. bp.MaxForce = huge
  527. bp.Position = p.Position
  528. local saved = p.CFrame
  529. for i = 1, 10 do
  530. p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01)
  531. p.CFrame = saved
  532. p.Velocity = Vector3.new(0, 0, 100)
  533. p.Transparency = p.Transparency + 0.1
  534. wait()
  535. end
  536. p:Destroy()
  537. end
  538. end)
  539. game:GetService("RunService").Stepped:connect(function()
  540. local x, z
  541. local dir = CFrame.new(char.HumanoidRootPart.Position, mouse.Hit.p).lookVector
  542. x = dir.X
  543. z = dir.Z
  544. local cf = CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position + Vector3.new(x, 0, z))
  545. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame:Lerp(cf, 0.5)
  546. humanoid.AutoRotate = false
  547. end)
  548. while wait() do
  549. if animpose == "Walking" and cananim and legs then
  550. for i = 0, 0.7, 0.1 do
  551. if animpose == "Walking" and cananim and legs then
  552. 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)
  553. 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)
  554. 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)
  555. 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)
  556. 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)
  557. 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)
  558. wait()
  559. else
  560. break
  561. end
  562. end
  563. for i = 0, 0.7, 0.1 do
  564. if animpose == "Walking" and cananim and legs then
  565. 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)
  566. 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)
  567. 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)
  568. 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)
  569. 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)
  570. 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)
  571. wait()
  572. else
  573. break
  574. end
  575. end
  576. end
  577. if animpose == "Idle" and cananim and legs then
  578. 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)
  579. 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)
  580. 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)
  581. 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)
  582. 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)
  583. 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)
  584. end
  585. end
Advertisement
Add Comment
Please, Sign In to add comment