Advertisement
Guest User

ªªºº

a guest
Mar 22nd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. if (game:GetService('RunService'):IsServer()) then return error('This script cannot be ran server-sided, please use hl/',0); end;
  2.  
  3. local server = NS ([[
  4. dabbing=Instance.new('Sound', owner.Character.Torso)
  5. dabbing.Volume = 5
  6. dabbing.Pitch = 0.7
  7. dabbing.SoundId = 'rbxassetid://315260005'
  8.  
  9. function stopAnimations()
  10. for _,v in pairs(owner.Character.Humanoid:GetPlayingAnimationTracks()) do
  11. v:Stop()
  12. end
  13. end
  14.  
  15. local remote = Instance.new ('RemoteFunction', script);
  16. remote.OnServerInvoke = function (plr, ...)
  17. if (plr == owner) then
  18. local chr = plr.Character
  19. chr.Animate.Disabled = true
  20. chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  21. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  22. game:GetService("Chat"):Chat(plr.Character.Head, "DAAAB", Enum.ChatColor.Blue)
  23. chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  24. dabbing:Play()
  25. wait(0.3)
  26. stopAnimations()
  27. chr.Animate.Disabled = true
  28. 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)
  29. 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)
  30. 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)
  31. wait(2)
  32. stopAnimations()
  33. chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  34. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  35. chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  36. chr.Animate.Disabled = false
  37. end;
  38. end;
  39. remote.Name = 'ServerRemote';
  40. ]], owner.Character):WaitForChild 'ServerRemote';
  41.  
  42. local plr = game.Players.LocalPlayer
  43. local chr = plr.Character
  44. local mouse = plr:GetMouse()
  45.  
  46. q = Instance.new('HopperBin', plr.Backpack)
  47. q.Name = 'Dab'
  48. Bin=q
  49.  
  50. Bin.Selected:connect(function(mouse)
  51. mouse.Button1Down:connect(function()
  52. server:InvokeServer();
  53. end)
  54. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement