Advertisement
Axelpuff

Other Dab

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