Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. elseif bestmate == true then
  2. ATTACK = false
  3. bestmate = false
  4. change = 1
  5. --Humanoid.WalkSpeed = 5
  6. --Humanoid.JumpPower = 60
  7. bestmatess:Stop()
  8. end
  9. end
  10. cheeki = Instance.new("Sound", Torso)
  11. cheeki.Volume = 24
  12. cheeki.TimePosition = 0
  13. cheeki.Pitch = 1
  14. cheeki.SoundId = "rbxassetid://800064337"
  15. cheeki.Looped = true
  16. function cheekibreeki()
  17. if bestmate == false then
  18. ATTACK = true
  19. bestmate = true
  20. cheeki:Play()
  21. while bestmate == true do
  22. change = 0.8
  23. Swait()
  24. RootJoint.C0 = clerp2(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  25. Neck.C0 = clerp2(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  26. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1)
  27. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1)
  28. RightHip.C0 = clerp2(RightHip.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  29. LeftHip.C0 = clerp2(LeftHip.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  30. end
  31. elseif bestmate == true then
  32. ATTACK = false
  33. change = 1
  34. bestmate = false
  35. cheeki:Stop()
  36. end
  37. end
  38.  
  39.  
  40. crab = Instance.new("Sound", Torso)
  41. crab.Volume = 14
  42. crab.TimePosition = 0
  43. crab.Pitch = 1
  44. crab.SoundId = "rbxassetid://2410799757"
  45. crab.Looped = true
  46.  
  47. function bestmatesB()
  48. if bestmate == false then
  49. ATTACK = true
  50. bestmate = true
  51. --Humanoid.WalkSpeed = 3
  52. --Humanoid.JumpPower = 10
  53. crab.TimePosition = 0
  54. crab:Play()
  55. while bestmate == true do
  56. change = 0.8
  57. Swait()
  58. RH.C0=clerp(RH.C0,cf(1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  59. LH.C0=clerp(LH.C0,cf(-1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  60. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 2.2 * math.cos(sine / 8))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  61. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  62. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1)
  63. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90+66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1)
  64. end
  65. elseif bestmate == true then
  66. ATTACK = false
  67. bestmate = false
  68. change = 1
  69. --Humanoid.WalkSpeed = 5
  70. --Humanoid.JumpPower = 60
  71. crab:Stop()
  72. end
  73. end
  74. if Key == "y" then
  75. bestmatesB()
  76. end
  77. if Key == "u" then
  78. cheekibreeki()
  79. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement