Advertisement
KrYn0MoRe

carson dance

Jan 23rd, 2022
869
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local RunService = game:service'RunService'
  2.  
  3. local plr = owner
  4. local chr = plr.Character
  5.  
  6. local hum = chr:waitForChild'Humanoid'
  7. local head,torso,rarm,larm,rleg,lleg,root =
  8. chr:waitForChild'Head',chr:waitForChild'Torso',chr:waitForChild'Right Arm',chr:waitForChild'Left Arm',chr:waitForChild'Right Leg',chr:waitForChild'Left Leg',chr:waitForChild'HumanoidRootPart'
  9.  
  10. function Joint(p0,p1,c0,c1,name)
  11.     local weld = Instance.new('Weld',p0)
  12.     weld.Part0, weld.Part1, weld.C0, weld.C1, weld.Name = p0,p1,c0,c1,name
  13.    
  14.     return weld
  15. end
  16.  
  17. local song = Instance.new'Sound'
  18. song.SoundId = 'rbxassetid://5504793351'
  19. song.Volume = 2
  20. song.Parent = head
  21. song.Looped = true
  22. song.Playing = true
  23.  
  24. local rj,nk,rs,ls,rh,lh = Joint(root,torso,CFrame.new(0,-1,0),CFrame.new(0,-1,0),'RootJoint'),
  25. Joint(torso,head,CFrame.new(0,1,0),CFrame.new(0,-.5,0),'Neck'),
  26. Joint(torso,rarm,CFrame.new(1.5,0.5,0),CFrame.new(0,.5,0),'Right Shoulder'),
  27. Joint(torso,larm,CFrame.new(-1.5,0.5,0),CFrame.new(0,.5,0),'Left Shoulder'),
  28. Joint(root,rleg,CFrame.new(.5,-1,0),CFrame.new(0,1,0),'Right Hip'),
  29. Joint(root,lleg,CFrame.new(-.5,-1,0),CFrame.new(0,1,0),'Left Hip')
  30.  
  31. local rjc0,nkc0,rsc0,lsc0,rhc0,lhc0 = rj.C0,nk.C0,rs.C0,ls.C0,rh.C0,lh.C0
  32.  
  33. local action = 'touchdown'
  34.  
  35. local t = tick()
  36.  
  37. RunService.Heartbeat:Connect(function()
  38.     t = t + .5
  39.    
  40.     if action == 'piston' then
  41.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(0,0,math.sin(t/1.8)/9),.3)
  42.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(-math.sin(t/3.6)/10,-.2 + math.sin(t/3.6)/5,0) * CFrame.Angles(0,0,math.cos(t/1.8)/10),.3)
  43.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.5 + -math.cos(t/1.8)/2,-.4 + math.sin(t/3.6)/2,-.5) * CFrame.Angles(math.rad(90),0,-math.rad(75) + math.sin(t/1.8)/10),.3)
  44.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.35 + math.cos(t/1.8)/7,-.6 + -math.sin(t/3.6)/5,-.9) * CFrame.Angles(math.rad(90) + -math.cos(t/1.8)/5,0,math.rad(80)),.3)
  45.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.3 + -math.sin(t/3.6)/4,0,-.5 + math.sin(t/3.6)/7) * CFrame.Angles(-math.rad(10) + math.sin(t/3.6)/8,-math.rad(35),math.sin(t/3.6)/8),.3)
  46.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.3 + math.sin(t/3.6)/4,0,-.5 + math.sin(t/3.6)/7) * CFrame.Angles(-math.rad(10) + math.sin(t/3.6)/8,math.rad(35),-math.sin(t/3.6)/8),.3)
  47.     elseif action == 'smack1' then
  48.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.rad(10),math.cos(t/3.6)/5,0),.3)
  49.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(math.cos(t/3.6)/5,math.sin(t/1.8)/6,0) * CFrame.Angles(0,math.cos(t/3.6)/5,0),.3)
  50.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.25 + math.cos(t/1.8)/2.5,math.cos(t/1.8)/2.5,-.5 + math.cos(t/1.8)/2.5) * CFrame.Angles(math.sin(t/1.8)*2 + math.rad(120),0,math.sin(t/1.8)/2.5),.3)
  51.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.25 + -math.cos(t/1.8)/2.5,math.cos(t/1.8)/2.5,-.5 + math.cos(t/1.8)/2.5) * CFrame.Angles(math.sin(t/1.8)*2 + math.rad(120),0,-math.sin(t/1.8)/2.5),.3)
  52.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.2 + math.cos(t/3.6)/8,0,-.25) * CFrame.Angles(-math.rad(10),-math.rad(35),-math.cos(t/3.6)/8),.3)
  53.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.2 + math.cos(t/3.6)/8,0,-.25) * CFrame.Angles(-math.rad(10),math.rad(35),-math.cos(t/3.6)/8),.3)
  54.     elseif action == 'touchdown' then
  55.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,math.cos(t/.9)/20,0) * CFrame.Angles(0,math.cos(t/1.8)/8,0),.3)
  56.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.rad(10),0,-math.cos(t/1.8)/8),.3)
  57.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.4,0,-.3) * CFrame.Angles(math.rad(45),0,-math.rad(20)) * CFrame.new(0,math.sin(t/1.8)/2,0),.3)
  58.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.4,0,-.3) * CFrame.Angles(math.rad(45),0,math.rad(20)) * CFrame.new(0,-math.sin(t/1.8)/2,0),.3)
  59.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(0,0,-.25 + math.cos(t/1.8)/5) * CFrame.Angles(-math.rad(10) + math.cos(t/1.8)/10,0,0),.3)
  60.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(0,0,-.25 + -math.cos(t/1.8)/5) * CFrame.Angles(-math.rad(10) + -math.cos(t/1.8)/10,0,0),.3)
  61.     elseif action == 'faint1' then
  62.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.rad(10),0,0),.3)
  63.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,-.25,0) * CFrame.Angles(-math.rad(20),0,0),.3)
  64.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.3,-.2,-.25) * CFrame.Angles(math.rad(30),0,-math.rad(30)),.3)
  65.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.25,-.2,.25) * CFrame.Angles(-math.rad(30),0,math.rad(20)),.3)
  66.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.3,0,-.5) * CFrame.Angles(-math.rad(10),-math.rad(35),0),.3)
  67.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.3,0,-.5) * CFrame.Angles(-math.rad(10),math.rad(35),0),.3)
  68.     elseif action == 'faint2' then
  69.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.rad(10),0,0),.3)
  70.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.Angles(-math.rad(20),0,0),.3)
  71.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.3,-.2,-.25) * CFrame.Angles(math.rad(30),0,-math.rad(30)),.3)
  72.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.25,-.2,.25) * CFrame.Angles(-math.rad(30),0,math.rad(20)),.3)
  73.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(0,0,-.5) * CFrame.Angles(-math.rad(10),math.rad(35),0),.3)
  74.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(0,0,-.5) * CFrame.Angles(-math.rad(10),-math.rad(35),0),.3)
  75.     elseif action == 'punch1' then
  76.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.rad(10),0,0),.3)
  77.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,math.cos(t/1.8)/4,0) * CFrame.Angles(-math.rad(20),math.rad(30),0),.3)
  78.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.3,-.2,-.25) * CFrame.Angles(math.rad(30) + math.sin(t)/30,0,-math.rad(30) + -math.cos(t)/30),.3)
  79.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.1,1,-.5) * CFrame.Angles(math.rad(20) + -math.cos(t)/30,0,-math.rad(20) + math.sin(t)/30),.3)
  80.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.4,0,-.5) * CFrame.Angles(-math.rad(10),-math.rad(5) + -math.cos(t/1.8),-math.rad(5) + math.cos(t/1.8)/10),.3)
  81.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.4,0,-.5) * CFrame.Angles(-math.rad(10),math.rad(5) + math.cos(t/1.8),math.rad(5) + -math.cos(t/1.8)/10),.3)
  82.     elseif action == 'punch2a' then
  83.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.rad(10),0,0),.3)
  84.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,math.cos(t/1.8)/4,0) * CFrame.Angles(-math.rad(20),-math.rad(30),0),.15)
  85.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.3,-.2,-.25) * CFrame.Angles(math.rad(30) + math.sin(t)/30,0,-math.rad(30) + -math.cos(t)/30),.3)
  86.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(-.15,-.75,-.5) * CFrame.Angles(math.rad(20) + -math.cos(t)/30,0,math.rad(45) + math.sin(t)/30),.3)
  87.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.4,0,-.5) * CFrame.Angles(-math.rad(10),-math.rad(5) + -math.cos(t/1.8),-math.rad(5) + math.cos(t/1.8)/10),.3)
  88.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.4,0,-.5) * CFrame.Angles(-math.rad(10),math.rad(5) + math.cos(t/1.8),math.rad(5) + -math.cos(t/1.8)/10),.3)
  89.     elseif action == 'punch2b' then
  90.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.rad(10),0,0),.3)
  91.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,math.cos(t/1.8)/4,0) * CFrame.Angles(-math.rad(20),0,0),.15)
  92.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.3,-.2,-.25) * CFrame.Angles(math.rad(30) + math.sin(t)/30,0,-math.rad(30) + -math.cos(t)/30),.3)
  93.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.1,-.75,-.75) * CFrame.Angles(math.rad(20) + -math.cos(t)/30,0,math.rad(20) + math.sin(t)/30),.3)
  94.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.4,0,-.5) * CFrame.Angles(-math.rad(10),-math.rad(5) + -math.cos(t/1.8),-math.rad(5) + math.cos(t/1.8)/10),.3)
  95.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.4,0,-.5) * CFrame.Angles(-math.rad(10),math.rad(5) + math.cos(t/1.8),math.rad(5) + -math.cos(t/1.8)/10),.3)
  96.     elseif action == 'shuffle' then
  97.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(math.sin(t/7.2),math.cos(t/1.8)/5,0) * CFrame.Angles(math.cos(t/1.8)/10,math.sin(t/3.6)/10,0),.3)
  98.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(math.sin(t/7.2),math.sin(t/3.6)/5,0) * CFrame.Angles(-math.cos(t/3.6)/10,-math.rad(10),-math.cos(t/3.6)/2),.3)
  99.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(math.sin(t/7.2),-math.sin(t/3.6)/5,0) * CFrame.Angles(math.cos(t/3.6)/10,math.rad(10),math.cos(t/3.6)/2),.3)
  100.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(0,math.sin(t/1.8)/5,0) * CFrame.Angles(math.cos(t/3.6),0,math.rad(30) + math.cos(t/1.8)/5),.3)
  101.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(0,-math.sin(t/1.8)/5,0) * CFrame.Angles(-math.cos(t/3.6),0,-math.rad(30) + -math.cos(t/1.8)/5),.3)
  102.     elseif action == 'stepstep' then
  103.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(-math.cos(t/3)/200 + -math.cos(t/1.8)/10,math.sin(t/3.6)/2.5,-math.sin(t/3.6)/200 + math.cos(t/3.6)/50),.3)
  104.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(math.cos(t/3.6)/10,0,0) * CFrame.Angles(math.sin(t)/200,0,math.cos(t)/200 + math.sin(t/3.6)/50),.3)
  105.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.25,0,-.5) * CFrame.Angles(math.rad(-7.5),-math.sin(t/1.8)/2.5,math.rad(10)),.3)
  106.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.25,0,-.5) * CFrame.Angles(math.rad(-7.5),math.sin(t/1.8)/2.5,math.rad(-10)),.3)
  107.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(7.5),math.rad(-20),math.rad(-35)),.3)
  108.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(75) + -math.cos(t/1.8)/2,math.rad(-167.5),math.sin(t/3.6)/1),.3)
  109.     elseif action == 'pause' then
  110.         nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(0,math.rad(45),0),.3)
  111.         rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(-0.15,0,0) * CFrame.Angles(0,0,0),.3)
  112.         rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(.25,0,-.5) * CFrame.Angles(math.rad(-7.5),math.rad(-11.5),math.rad(10)),.3)
  113.         lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(-.25,0,-.5) * CFrame.Angles(math.rad(-7.5),math.rad(11.5),math.rad(-10)),.3)
  114.         rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(7.5),math.rad(-20),math.rad(-35)),.3)
  115.         ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(75),math.rad(-167.5),math.rad(55)),.3)
  116.     end
  117. end)
  118. while true do
  119.     song:Play()
  120.     action = 'piston'
  121.     task.wait(3)
  122.     action = 'smack1'
  123.     task.wait(1.5)
  124.     action = 'touchdown'
  125.     task.wait(2.05)
  126.     action = 'faint1'
  127.     task.wait(.15)
  128.     action = 'faint2'
  129.     task.wait(.15)
  130.     action = 'faint1'
  131.     task.wait(.15)
  132.     action = 'punch1'
  133.     task.wait(.15)
  134.     action = 'punch2a'
  135.     task.wait()
  136.     action = 'punch2b'
  137.     task.wait(1.3)
  138.     action = 'punch1'
  139.     task.wait(.15)
  140.     action = 'punch2a'
  141.     task.wait()
  142.     action = 'punch2b'
  143.     task.wait(.7)
  144.     action = 'shuffle'
  145.     task.wait(1.5)
  146.     action = 'stepstep'
  147.     task.wait(1.55)
  148.     action = 'pause'
  149.     task.wait(2.565)
  150. end
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement