Advertisement
Lollddsf

bend

Aug 29th, 2021
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. animid="rbxassetid://4966886065"
  2. plr=game.Players.LocalPlayer
  3. bruhmomentrighthahahahhahah=plr.Character.Dummy
  4. cf=bruhmomentrighthahahahhahah.HumanoidRootPart.CFrame
  5. t=bruhmomentrighthahahahhahah.Torso
  6. rs=t["Right Shoulder"]
  7. ls=t["Left Shoulder"]
  8. rh=t["Right Hip"]
  9. lh=t["Left Hip"]
  10. n=t["Neck"]
  11. rj=bruhmomentrighthahahahhahah.HumanoidRootPart["RootJoint"]
  12. rsc0=rs.C0
  13. lsc0=ls.C0
  14. rhc0=rh.C0
  15. lhc0=lh.C0
  16. rjc0=rj.C0
  17. nc0=n.C0
  18. gc0=CFrame.new()
  19. orsc0=rs.C0
  20. olsc0=ls.C0
  21. orhc0=rh.C0
  22. olhc0=lh.C0
  23. orjc0=rj.C0
  24. onc0=n.C0
  25. count2 = 100
  26. maxcount2=100
  27. game["Run Service"].Heartbeat:Connect(function()
  28. count2 = count2+1
  29. if count2<=maxcount2 then
  30. rs.Transform=rs.Transform:Lerp(rsc0,count2/maxcount2)
  31. ls.Transform=ls.Transform:Lerp(lsc0,count2/maxcount2)
  32. rh.Transform=rh.Transform:Lerp(rhc0,count2/maxcount2)
  33. lh.Transform=lh.Transform:Lerp(lhc0,count2/maxcount2)
  34. n.Transform=n.Transform:Lerp(nc0,count2/maxcount2)
  35. rj.Transform=rj.Transform:Lerp(rjc0,count2/maxcount2)
  36. end
  37. end)
  38. animid=game:GetObjects(animid)[1]
  39. function wait2(tim)
  40. if tim<0.1 then
  41. game.RunService.Heartbeat:Wait()
  42. else
  43. for i=1,tim*40 do
  44. game.RunService.Heartbeat:Wait()
  45. end
  46. end
  47. end
  48. anim={}
  49. function kftotbl(kf)
  50. tbl3 = {}
  51. for i,v in pairs(kf:GetDescendants()) do
  52. if v:IsA("Pose") then
  53. tbl3[string.sub(v.Name,1,1)..string.sub(v.Name,#v.Name,#v.Name)] = v.CFrame
  54. end
  55. end
  56. return(tbl3)
  57. end
  58. for i,v in pairs(animid:GetChildren()) do
  59. if v:IsA("Keyframe") then
  60. anim[v.Time]=kftotbl(v)
  61. end
  62. end
  63.  
  64. function getnext(tbl,number)
  65. c=100
  66. rtrnv=0
  67. for i,v in pairs(tbl) do
  68. if i>number and i-number<c then
  69. c=i-number
  70. rtrnv=i
  71. end
  72. end
  73. return(rtrnv)
  74. end
  75. count = 0
  76. char=game.Players.LocalPlayer.Character.Dummy
  77. hhhh=game.Players.LocalPlayer.Character.Dummy.Humanoid.Animator
  78. hhhh.Parent = nil
  79. for _,v in pairs(char.Humanoid:GetPlayingAnimationTracks()) do
  80. v:Stop()
  81. end
  82. while wait() do
  83. for i,oasjdadlasdkadkldjkl in pairs(anim) do
  84. asdf=getnext(anim,count)
  85. v=anim[asdf]
  86. if v["Lg"] then
  87. lhc0 = v["Lg"]
  88. end
  89. if v["Rg"] then
  90. rhc0 = v["Rg"]
  91. end
  92. if v["Lm"] then
  93. lsc0 = v["Lm"]
  94. end
  95. if v["Rm"] then
  96. rsc0 = v["Rm"]
  97. end
  98. if v["To"] then
  99. rjc0 = v["To"]
  100. end
  101. if v["Hd"] then
  102. nc0 = v["Hd"]
  103. end
  104. count2=0
  105. maxcount2=asdf-count
  106. count=asdf
  107. wait2(asdf-count)
  108. count2=maxcount2
  109. if v["Lg"] then
  110. char.Torso["Left Hip"].Transform = v["Lg"]
  111. end
  112. if v["Rg"] then
  113. char.Torso["Right Hip"].Transform = v["Rg"]
  114. end
  115. if v["Lm"] then
  116. char.Torso["Left Shoulder"].Transform = v["Lm"]
  117. end
  118. if v["Rm"] then
  119. char.Torso["Right Shoulder"].Transform = v["Rm"]
  120. end
  121. if v["To"] then
  122. char.HumanoidRootPart["RootJoint"].Transform = v["To"]
  123. end
  124. if v["Hd"] then
  125. char.Torso["Neck"].Transform = v["Hd"]
  126. end
  127. end
  128. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement