Advertisement
lafur

Untitled

Mar 26th, 2020
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -------animation
  2. wait(1)
  3. player = game.Players.lafur2
  4. Char = player.Character
  5. local Torso = Char.Torso
  6.  
  7. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  8. necko2=CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  9. LHC0=CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  10. LHC1=CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  11. RHC0=CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  12. RHC1=CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  13.  
  14. rns = Instance.new("Weld")
  15. rns.Parent = Torso
  16. rns.Part0 = rns.Parent
  17. rns.Part1 = player.Character["Right Arm"]
  18. rns.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  19. lns = Instance.new("Weld")
  20. lns.Parent = Torso
  21. lns.Part0 = lns.Parent
  22. lns.Part1 = player.Character["Left Arm"]
  23. lns.C1 = CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  24. hed = Instance.new("Weld")
  25. hed.Parent = Torso
  26. hed.Part0 = lns.Parent
  27. hed.Part1 = player.Character["Head"]
  28. hed.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29.  
  30.  
  31. LH=Torso["Left Hip"]
  32. RH=Torso["Right Hip"]
  33.  
  34. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  35. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  36. LH=Torso["Left Hip"]
  37. RH=Torso["Right Hip"]
  38. TorsoColor=BrickColor.White
  39.  
  40. ch=Char
  41. RSH=ch.Torso["Right Shoulder"]
  42. LSH=ch.Torso["Left Shoulder"]
  43. --
  44. RSH.Parent=nil
  45. LSH.Parent=nil
  46. --
  47. RW.Name="Right Shoulder"
  48. RW.Part0=ch.Torso
  49. RW.C0=CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  50. RW.C1=CFrame.new(0, 0.5, 0)
  51. RW.Part1=ch["Right Arm"]
  52. RW.Parent=ch.Torso
  53. --
  54. LW.Name="Left Shoulder"
  55. LW.Part0=ch.Torso
  56. LW.C0=CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  57. LW.C1=CFrame.new(0, 0.5, 0)
  58. LW.Part1=ch["Left Arm"]
  59. LW.Parent=ch.Torso
  60.  
  61.  
  62.  
  63.  
  64. right=RW
  65. left=LW
  66. head=hed
  67. LeftLeg=LH
  68. RightLeg=RH
  69.  
  70. function anim()
  71. -------------------------------------- PART 1 -----------------------------------CFrame.new(0, 0, 0,
  72. for i = 0,1,0.01 do
  73. right.C1 = right.C1:Lerp(CFrame.new(-1.51,.1,-.05)*CFrame.new(0, 0, 0, 0.398513108, 0.895847201, 0.196583375, -0.875140786, 0.307281643, 0.373773545, 0.274437547, -0.320991784, 0.906448185),i)
  74. left.C1 = left.C1:Lerp(CFrame.new(1.51,.1,-.05)*CFrame.new(0, -2.98023224e-08, 0, 0.265571147, 0.964091301, 0, -0.964091301, 0.265571147, 0, 0, 0, 1),i)
  75. LeftLeg.C1 = LeftLeg.C1:Lerp(CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)*CFrame.new(0, 0, 0, 0.954985619, -0.296652019, 0, 0.296652019, 0.954985619, 0, 0, 0, 1),i)
  76. RightLeg.C1 = RightLeg.C1:Lerp(CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)*CFrame.new(0, 0, 0, 0.866823673, -0.498614788, 0, 0.498614788, 0.866823673, 0, 0, 0, 1),i)
  77. head.C1 = head.C1:Lerp(CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)*CFrame.new(0, 0, 0, 0.999874949, 0.0158137977, 0, -0.0158137977, 0.999874949, 0, 0, 0, 1),i)
  78. wait(0.01)
  79. end
  80.  
  81. wait()
  82.  
  83. for i = 0,1,0.05 do
  84. right.C1 = right.C1:Lerp(CFrame.new(-1.51,.1,-.05)*CFrame.new(1.49011612e-08, -7.7765435e-08, 0, 0.557308257, 0.777655184, 0.290963829, -0.80322057, 0.416166753, 0.426194698, 0.210343063, -0.47122997, 0.85656178),i)
  85. left.C1 = left.C1:Lerp(CFrame.new(1.51,.1,-.05)*CFrame.new(-1.49011612e-08, 0, 0, -0.918077707, -0.396400362, -0, 0.396400362, -0.918077707, 0, 0, 0, 1),i)
  86.  
  87.  
  88. wait(0.01)
  89. end
  90.  
  91. wait()
  92.  
  93. for i = 0,1,0.05 do
  94. right.C1 = right.C1:Lerp(CFrame.new(-1.51,.1,-.05),i)
  95. left.C1 = left.C1:Lerp(CFrame.new(1.51,.1,-.05),i)
  96. LeftLeg.C1 = LeftLeg.C1:Lerp(CFrame.new(0, 0, 0, 0.954985619, -0.296652019, 0, 0.296652019, 0.954985619, 0, 0, 0, 1),i)
  97. RightLeg.C1 = RightLeg.C1:Lerp(CFrame.new(0, 0, 0, 0.866823673, -0.498614788, 0, 0.498614788, 0.866823673, 0, 0, 0, 1),i)
  98. head.C1 = head.C1:Lerp(CFrame.new(0, 0, 0, 0.999874949, 0.0158137977, 0, -0.0158137977, 0.999874949, 0, 0, 0, 1),i)
  99. wait(0.01)
  100. end
  101.  
  102. end
  103.  
  104.  
  105. while wait(2) do
  106. anim()
  107. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement