daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Dec 13th, 2017 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local re = game.ReplicatedStorage:WaitForChild("RemoteEvent")
  2. local p = game.Players.LocalPlayer
  3. local id = 1233912701
  4.  
  5. re.OnServerEvent:Connect(function(plr)
  6.     if game:GetService("GamePassService"):PlayerHasPass(p, id) then
  7. local chr = plr.Character
  8. local mouse = plr:GetMouse()
  9.  
  10. q = Instance.new('HopperBin', plr.Backpack)
  11. q.Name = 'Dab'
  12. Bin=q
  13.  
  14.  
  15. dabbing=Instance.new('Sound', plr.Character.Torso)
  16. dabbing.Volume = 5
  17. dabbing.Pitch = 1
  18. dabbing.SoundId = 'rbxassetid://0'
  19.  
  20. function stopAnimations()
  21. for _,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  22. v:Stop()
  23. end
  24. end
  25.  
  26. Bin.Selected:connect(function(mouse)
  27. mouse.Button1Down:connect(function()
  28. local chr = game.Players.LocalPlayer.Character
  29. chr.Animate.Disabled = true
  30. chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  31. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  32. game:GetService("Chat"):Chat(plr.Character.Head, "DAAAB", Enum.ChatColor.Blue)
  33. chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  34. dabbing:Play()
  35. wait(0.3)
  36. local chr = game.Players.LocalPlayer.Character
  37. stopAnimations()
  38. chr.Animate.Disabled = true
  39. 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)
  40. 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)
  41. 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)
  42. wait(2)
  43. stopAnimations()
  44. chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  45. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  46. chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  47. chr.Animate.Disabled = false
  48. end)
  49. end)
  50.     end
  51. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top