AgentVK

DAB 2

Dec 20th, 2017
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local chr = plr.Character
  3. local mouse = plr:GetMouse()
  4.  
  5. q = Instance.new('HopperBin', plr.Backpack)
  6. q.Name = 'Dab'
  7. Bin=q
  8.  
  9.  
  10. dabbing=Instance.new('Sound', plr.Character.Torso)
  11. dabbing.Volume = 5
  12. dabbing.Pitch = 0.7
  13. dabbing.SoundId = 'rbxassetid://437235476'
  14.  
  15. function stopAnimations()
  16. for _,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  17. v:Stop()
  18. end
  19. end
  20.  
  21. Bin.Selected:connect(function(mouse)
  22. mouse.Button1Down:connect(function()
  23. local chr = game.Players.LocalPlayer.Character
  24. chr.Animate.Disabled = true
  25. chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  26. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  27. game:GetService("Chat"):Chat(plr.Character.Head, "DAAAB", Enum.ChatColor.Blue)
  28. chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29. dabbing:Play()
  30. wait(0.3)
  31. local chr = game.Players.LocalPlayer.Character
  32. stopAnimations()
  33. chr.Animate.Disabled = true
  34. chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
  35. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
  36. chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
  37. wait(2)
  38. stopAnimations()
  39. chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  40. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  41. chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  42. chr.Animate.Disabled = false
  43. end)
  44. end)
Add Comment
Please, Sign In to add comment