Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elseif bestmate == true then
- ATTACK = false
- bestmate = false
- change = 1
- --Humanoid.WalkSpeed = 5
- --Humanoid.JumpPower = 60
- bestmatess:Stop()
- end
- end
- cheeki = Instance.new("Sound", Torso)
- cheeki.Volume = 24
- cheeki.TimePosition = 0
- cheeki.Pitch = 1
- cheeki.SoundId = "rbxassetid://800064337"
- cheeki.Looped = true
- function cheekibreeki()
- if bestmate == false then
- ATTACK = true
- bestmate = true
- cheeki:Play()
- while bestmate == true do
- change = 0.8
- Swait()
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- elseif bestmate == true then
- ATTACK = false
- change = 1
- bestmate = false
- cheeki:Stop()
- end
- end
- crab = Instance.new("Sound", Torso)
- crab.Volume = 14
- crab.TimePosition = 0
- crab.Pitch = 1
- crab.SoundId = "rbxassetid://2410799757"
- crab.Looped = true
- function bestmatesB()
- if bestmate == false then
- ATTACK = true
- bestmate = true
- --Humanoid.WalkSpeed = 3
- --Humanoid.JumpPower = 10
- crab.TimePosition = 0
- crab:Play()
- while bestmate == true do
- change = 0.8
- Swait()
- 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)
- 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)
- 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)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- 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)
- 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)
- end
- elseif bestmate == true then
- ATTACK = false
- bestmate = false
- change = 1
- --Humanoid.WalkSpeed = 5
- --Humanoid.JumpPower = 60
- crab:Stop()
- end
- end
- if Key == "y" then
- bestmatesB()
- end
- if Key == "u" then
- cheekibreeki()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement