TheUnknownDiscord

idle test

Oct 20th, 2021 (edited)
109
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local rightarm = Instance.new("Weld", owner.Character.Torso)
  2. rightarm.Part0 = owner.Character.Torso
  3. rightarm.Part1 = owner.Character["Right Arm"]
  4. rightarm.C0 = CFrame.new(1.5, 0.75, 0)
  5. rightarm.C1 = CFrame.new(0,0.7,0)
  6. rightarm.Name = "RightArmWeld"
  7. local leftarm = Instance.new("Weld", owner.Character.Torso)
  8. leftarm.Part0 = owner.Character.Torso
  9. leftarm.Part1 = owner.Character["Left Arm"]
  10. leftarm.C0 = CFrame.new(-1.5, 0.75, 0)
  11. leftarm.C1 = CFrame.new(0,0.7,0)
  12. leftarm.Name = "LeftArmWeld"
  13. local rightleg = Instance.new("Weld", owner.Character.Torso)
  14. rightleg.Part0 = owner.Character.Torso
  15. rightleg.Part1 = owner.Character["Right Leg"]
  16. rightleg.C0 = CFrame.new(0.5,-1,0)
  17. rightleg.C1 = CFrame.new(0,1,0)
  18. rightleg.Name = "RightLegWeld"
  19. local leftleg = Instance.new("Weld", owner.Character.Torso)
  20. leftleg.Part0 = owner.Character.Torso
  21. leftleg.Part1 = owner.Character["Left Leg"]
  22. leftleg.C0 = CFrame.new(-0.5,-1,0)
  23. leftleg.C1 = CFrame.new(0,1,0)
  24. leftleg.Name = "LeftLegWeld"
  25. owner.Character.Humanoid.RequiresNeck = false
  26. local head = Instance.new("Weld", owner.Character.Torso)
  27. head.Part0 = owner.Character.Torso
  28. head.Part1 = owner.Character.Head
  29. head.C0 = CFrame.new(0, 1.5, 0)
  30. head.C1 = CFrame.new(0,0,0)
  31. head.Name = "Head"
  32. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  33. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  34. humanoidrootpart.Part1 = owner.Character.Torso
  35. humanoidrootpart.Name = "HumanoidRootPartWeld"
  36. local tweenService = game:GetService("TweenService")
  37. local timeToFade = 2
  38. local object = leftarm
  39. local tweenInfo = TweenInfo.new(timeToFade)
  40. local goal = {}
  41. goal.C0 = CFrame.new(-1.5,0.85,0) * CFrame.Angles(0,0,math.rad(-5))
  42.  
  43. local tween = tweenService:Create(object, tweenInfo, goal)
  44. local timeToFade2 = 2
  45. local object2 = humanoidrootpart
  46. local tweenInfo2 = TweenInfo.new(timeToFade2)
  47. local goal2 = {}
  48. goal2.C0 = CFrame.new(0, 0.25,0)
  49.  
  50. local tween2 = tweenService:Create(object2, tweenInfo2, goal2)
  51.  
  52. local timeToFade3 = 2
  53. local object3 = rightarm
  54. local tweenInfo3 = TweenInfo.new(timeToFade3)
  55. local goal3 = {}
  56. goal3.C0 = CFrame.new(1.5,0.85,0) * CFrame.Angles(0,0,math.rad(5))
  57.  
  58. local tween3 = tweenService:Create(object3, tweenInfo3, goal3)
  59. local timeToFade4 = 2
  60. local object4 = rightleg
  61. local tweenInfo4 = TweenInfo.new(timeToFade4)
  62. local goal4 = {}
  63. goal4.C0 = CFrame.new(0.5,-0.85,0) * CFrame.Angles(0,0,math.rad(5))
  64. local timeToFade5 = 2
  65. local object5 = head
  66. local tweenInfo5 = TweenInfo.new(timeToFade5)
  67. local goal5 = {}
  68. goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-5),0,0)
  69. local tween4 = tweenService:Create(object4, tweenInfo4, goal4)
  70. local timeToFade6 = 2
  71. local object6 = leftleg
  72. local tweenInfo6 = TweenInfo.new(timeToFade6)
  73. local goal6 = {}
  74. goal6.C0 = CFrame.new(-0.5,-0.85,0) * CFrame.Angles(0,0,math.rad(-5))
  75.  
  76. local tween6 = tweenService:Create(object6, tweenInfo6, goal6)
  77. while true do
  78. task.wait()
  79. if owner.Character.Humanoid.Sit == true then
  80. local goal5 = {}
  81. goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-5),0,0)
  82. local goal6 = {}
  83. goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(-1.5))
  84. local goal4 = {}
  85. goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(1.5))
  86. local goal3 = {}
  87. goal3.C0 = CFrame.new(1.5,1,0.5) * CFrame.Angles(math.rad(-75),0,math.rad(-72.5))
  88. local goal = {}
  89. goal.C0 = CFrame.new(-1.5,1,0.5) * CFrame.Angles(math.rad(-75),0,math.rad(72.5))
  90. local goal2 = {}
  91. goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),0,0)
  92. local tween5 = tweenService:Create(object5, tweenInfo5, goal5)
  93. local tween4 = tweenService:Create(object4, tweenInfo4, goal4)
  94. local tween3 = tweenService:Create(object3, tweenInfo3, goal3)
  95. local tween2 = tweenService:Create(object2, tweenInfo2, goal2)
  96. local tween6 = tweenService:Create(object6, tweenInfo6, goal6)
  97. local tween = tweenService:Create(object, tweenInfo, goal)
  98. tween:Play()
  99. tween2:Play()
  100. tween3:Play()
  101. tween4:Play()
  102. tween5:Play()
  103. tween6:Play()
  104. wait(2)
  105. local goal5 = {}
  106. goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0.1),0,0)
  107. local goal6 = {}
  108. goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(-2.5))
  109. local goal4 = {}
  110. goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(35),0,math.rad(2.5))
  111. local goal3 = {}
  112. goal3.C0 = CFrame.new(1.5,0.9,0.4) * CFrame.Angles(math.rad(-73.5),0,math.rad(-70))
  113. local goal = {}
  114. goal.C0 = CFrame.new(-1.5,0.9,0.4) * CFrame.Angles(math.rad(-73.5),0,math.rad(70))
  115. local goal2 = {}
  116. goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(25),0,0)
  117. local tween5 = tweenService:Create(object5, tweenInfo5, goal5)
  118. local tween4 = tweenService:Create(object4, tweenInfo4, goal4)
  119. local tween3 = tweenService:Create(object3, tweenInfo3, goal3)
  120. local tween2 = tweenService:Create(object2, tweenInfo2, goal2)
  121. local tween6 = tweenService:Create(object6, tweenInfo6, goal6)
  122. local tween = tweenService:Create(object, tweenInfo, goal)
  123. tween:Play()
  124. tween2:Play()
  125. tween3:Play()
  126. tween4:Play()
  127. tween5:Play()
  128. tween6:Play()
  129. wait(2)
  130. elseif owner.Character.Humanoid.Sit == false then
  131. if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then
  132. local goal5 = {}
  133. goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-5),0,0)
  134. local goal6 = {}
  135. goal6.C0 = CFrame.new(-0.5,-1.1,0) * CFrame.Angles(0,0,math.rad(-5))
  136. local goal4 = {}
  137. goal4.C0 = CFrame.new(0.5,-1.1,0) * CFrame.Angles(0,0,math.rad(5))
  138. local goal3 = {}
  139. goal3.C0 = CFrame.new(1.5,0.85,0) * CFrame.Angles(0,0,math.rad(5))
  140. local goal = {}
  141. goal.C0 = CFrame.new(-1.5,0.85,0) * CFrame.Angles(0,0,math.rad(-5))
  142. local goal2 = {}
  143. goal2.C0 = CFrame.new(0,0,0)
  144. local tween5 = tweenService:Create(object5, tweenInfo5, goal5)
  145. local tween4 = tweenService:Create(object4, tweenInfo4, goal4)
  146. local tween3 = tweenService:Create(object3, tweenInfo3, goal3)
  147. local tween2 = tweenService:Create(object2, tweenInfo2, goal2)
  148. local tween6 = tweenService:Create(object6, tweenInfo6, goal6)
  149. local tween = tweenService:Create(object, tweenInfo, goal)
  150. tween:Play()
  151. tween2:Play()
  152. tween3:Play()
  153. tween4:Play()
  154. tween5:Play()
  155. tween6:Play()
  156. wait(2)
  157. local goal5 = {}
  158. goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0.1),0,0)
  159. local goal6 = {}
  160. goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,math.rad(-2.5))
  161. local goal4 = {}
  162. goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,math.rad(2.5))
  163. local goal3 = {}
  164. goal3.C0 = CFrame.new(1.5,0.75,0) * CFrame.Angles(0,0,math.rad(2.5))
  165. local goal = {}
  166. goal.C0 = CFrame.new(-1.5,0.75,0) * CFrame.Angles(0,0,math.rad(-2.5))
  167. local goal2 = {}
  168. goal2.C0 = CFrame.new(0,0,0)
  169. local tween5 = tweenService:Create(object5, tweenInfo5, goal5)
  170. local tween4 = tweenService:Create(object4, tweenInfo4, goal4)
  171. local tween3 = tweenService:Create(object3, tweenInfo3, goal3)
  172. local tween2 = tweenService:Create(object2, tweenInfo2, goal2)
  173. local tween6 = tweenService:Create(object6, tweenInfo6, goal6)
  174. local tween = tweenService:Create(object, tweenInfo, goal)
  175. tween:Play()
  176. tween2:Play()
  177. tween3:Play()
  178. tween4:Play()
  179. tween5:Play()
  180. tween6:Play()
  181. wait(2)
  182. elseif owner.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then
  183. local goal5 = {}
  184. goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-0.5),0,0)
  185. local goal6 = {}
  186. goal6.C0 = CFrame.new(-0.5,-0.85,-0.25) * CFrame.Angles(math.rad(-15.5),0,math.rad(-1))
  187. local goal4 = {}
  188. goal4.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(-2.5),0,math.rad(5))
  189. local goal3 = {}
  190. goal3.C0 = CFrame.new(1.5,0.75,0.2) * CFrame.Angles(math.rad(25.5),0,math.rad(5))
  191. local goal = {}
  192. goal.C0 = CFrame.new(-1.5,0.75,0) * CFrame.Angles(math.rad(-14.5),0,math.rad(-2.5))
  193. local goal2 = {}
  194. goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-2.5),0,0)
  195. local tween5 = tweenService:Create(object5, TweenInfo.new(0.25), goal5)
  196. local tween4 = tweenService:Create(object4, TweenInfo.new(0.25), goal4)
  197. local tween3 = tweenService:Create(object3, TweenInfo.new(0.35), goal3)
  198. local tween2 = tweenService:Create(object2, TweenInfo.new(0.25), goal2)
  199. local tween6 = tweenService:Create(object6, TweenInfo.new(0.25), goal6)
  200. local tween = tweenService:Create(object, TweenInfo.new(0.35), goal)
  201. tween:Play()
  202. tween2:Play()
  203. tween3:Play()
  204. tween4:Play()
  205. tween5:Play()
  206. tween6:Play()
  207. wait(0.35)
  208. local goal5 = {}
  209. goal5.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-1),0,0)
  210. local goal6 = {}
  211. goal6.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(-2.5),0,math.rad(-5))
  212. local goal4 = {}
  213. goal4.C0 = CFrame.new(0.5,-0.85,-0.25) * CFrame.Angles(math.rad(-15.5),0,math.rad(1))
  214. local goal3 = {}
  215. goal3.C0 = CFrame.new(1.5,0.75,0) * CFrame.Angles(math.rad(-14.5),0,math.rad(2.5))
  216. local goal = {}
  217. goal.C0 = CFrame.new(-1.5,0.75,0.2) * CFrame.Angles(math.rad(25.5),0,math.rad(-5))
  218. local goal2 = {}
  219. goal2.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-1.5),0,0)
  220. local tween5 = tweenService:Create(object5, TweenInfo.new(0.25), goal5)
  221. local tween4 = tweenService:Create(object4, TweenInfo.new(0.25), goal4)
  222. local tween3 = tweenService:Create(object3, TweenInfo.new(0.35), goal3)
  223. local tween2 = tweenService:Create(object2, TweenInfo.new(0.25), goal2)
  224. local tween6 = tweenService:Create(object6, TweenInfo.new(0.25), goal6)
  225. local tween = tweenService:Create(object, TweenInfo.new(0.35), goal)
  226. tween:Play()
  227. tween2:Play()
  228. tween3:Play()
  229. tween4:Play()
  230. tween5:Play()
  231. tween6:Play()
  232. wait(0.35)
  233. end
  234. end
  235. end
RAW Paste Data