Advertisement
ColorblindRBLX

"Get Distracted LOL" Dance ;D

Sep 1st, 2020 (edited)
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.53 KB | None | 0 0
  1.  
  2. IT = Instance.new
  3. CF = CFrame.new
  4. VT = Vector3.new
  5. C3 = Color3.new
  6. UD2 = UDim2.new
  7. BRICKC = BrickColor.new
  8. NS = NumberSequence.new
  9. NSK = NumberSequenceKeypoint.new
  10. RAY = Ray.new
  11. CS = ColorSequence.new
  12. NR = NumberRange.new
  13. TI = TweenInfo.new
  14. RAND = Random.new
  15.  
  16. ANGLES = CFrame.Angles
  17.  
  18. COS = math.cos
  19. ACOS = math.acos
  20. RAD = math.rad
  21. SIN = math.sin
  22. MRANDOM = math.random
  23. MHUGE = math.huge
  24. FLOOR = math.floor
  25. SQRT = math.sqrt
  26. CEIL = math.ceil
  27.  
  28. Character = game.Players.LocalPlayer.Character
  29. Torso = Character.Torso
  30. Root = Character.HumanoidRootPart
  31. Neck = Torso.Neck
  32. RootJoint = Root.RootJoint
  33. RightShoulder = Torso["Right Shoulder"]
  34. LeftShoulder = Torso["Left Shoulder"]
  35. RightHip = Torso["Right Hip"]
  36. LeftHip = Torso["Left Hip"]
  37. --values and other stuff
  38. NeckOrg = CF(0,-.5,0) * ANGLES(RAD(-90),0,RAD(180))
  39. RootJointOrg = CF(0,0,0) * ANGLES(RAD(-90),0,RAD(180))
  40. LeftShoulderOrg = CF(.5,.5,0) * ANGLES(0,RAD(-90),0)
  41. RightShoulderOrg = CF(-.5,.5,0) * ANGLES(0,RAD(90),0)
  42. LeftHipOrg = CF(-.5,1,0) * ANGLES(0,RAD(-90),0)
  43. RightHipOrg = CF(.5,1,0) * ANGLES(0,RAD(90),0)
  44. HB = game["Run Service"].Heartbeat
  45.  
  46. local so = IT("Sound")
  47. so.SoundId = "rbxassetid://5599347184"
  48. so.Looped = true
  49. so.Volume = 4
  50. so.Parent = Root
  51. repeat wait() until so.IsLoaded
  52. function co(f)
  53.     coroutine.resume(coroutine.create(f))
  54. end
  55. function Clerp(joint,cf,bool)
  56.     local s = .45/1.825
  57.     local dir = Enum.EasingDirection.Out
  58.     if bool == false then
  59.         dir = Enum.EasingDirection.In
  60.         s = .35/1.825
  61.     end
  62.     game.TweenService:Create(joint,TweenInfo.new(s,Enum.EasingStyle.Sine,dir),{C1 = cf}):Play()
  63.     if joint == RightHip then
  64.         wait(s)
  65.     end
  66. end
  67. function swait(NUMBER)
  68.     if NUMBER == 0 or NUMBER == nil then
  69.         HB:Wait()
  70.     else
  71.         for i=1,NUMBER do
  72.             HB:Wait()
  73.         end
  74.     end
  75. end
  76. Clerp(Neck,NeckOrg,false)
  77. Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  78. Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(60),0,RAD(15)),false)
  79. Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(60),0,RAD(-15)),false)
  80. Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  81. Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  82. so:Play()
  83. while true do
  84.     Clerp(Neck,NeckOrg)
  85.     Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(-45)))
  86.     Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(105),0,RAD(120)))
  87.     Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(105),0,RAD(-120)))
  88.     Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0))
  89.     Clerp(RightHip,RightHipOrg)
  90.    
  91.     Clerp(Neck,NeckOrg,false)
  92.     Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  93.     Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(-45),0,RAD(120)),false)
  94.     Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(-45),0,RAD(-120)),false)
  95.     Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  96.     Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  97.    
  98.     Clerp(Neck,NeckOrg)
  99.     Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(45)))
  100.     Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(0,0,RAD(120)))
  101.     Clerp(RightShoulder,RightShoulderOrg * ANGLES(0,0,RAD(-120)))
  102.     Clerp(LeftHip,LeftHipOrg)
  103.     Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0))
  104.    
  105.     Clerp(Neck,NeckOrg,false)
  106.     Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  107.     Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(25),0,0),false)
  108.     Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(25),0,0),false)
  109.     Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  110.     Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  111.    
  112.     Clerp(Neck,NeckOrg)
  113.     Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(-45)))
  114.     Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(60),0,RAD(15)))
  115.     Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(60),0,RAD(-15)))
  116.     Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0))
  117.     Clerp(RightHip,RightHipOrg)
  118.    
  119.     Clerp(Neck,NeckOrg,false)
  120.     Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  121.     Clerp(LeftShoulder,LeftShoulderOrg * CF(0,-.5,0) * ANGLES(RAD(-45),0,RAD(15)),false)
  122.     Clerp(RightShoulder,RightShoulderOrg * CF(0,-.5,0) * ANGLES(RAD(-45),0,RAD(-15)),false)
  123.     Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  124.     Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  125.    
  126.     Clerp(Neck,NeckOrg)
  127.     Clerp(RootJoint,RootJointOrg * ANGLES(0,0,RAD(45)))
  128.     Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(-105),0,RAD(20)))
  129.     Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(-105),0,RAD(-20)))
  130.     Clerp(LeftHip,LeftHipOrg)
  131.     Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0))
  132.    
  133.     Clerp(Neck,NeckOrg,false)
  134.     Clerp(RootJoint,RootJointOrg * CF(0,0,.5),false)
  135.     Clerp(LeftShoulder,LeftShoulderOrg * ANGLES(RAD(60),0,RAD(15)),false)
  136.     Clerp(RightShoulder,RightShoulderOrg * ANGLES(RAD(60),0,RAD(-15)),false)
  137.     Clerp(LeftHip,LeftHipOrg * CF(.5,-.5,0),false)
  138.     Clerp(RightHip,RightHipOrg * CF(-.5,-.5,0),false)
  139. end
  140.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement