Advertisement
refrop

taunt (dab) press t

Apr 28th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. ------TAUNT
  2. local plr = game.Players.LocalPlayer
  3. local chr = plr.Character
  4. local mouse = plr:GetMouse()
  5.  
  6. _G.hotkey = 't'
  7.  
  8. mouse.KeyDown:connect(function(key)
  9. if key == _G.hotkey then
  10. local chr = game.Players.LocalPlayer.Character
  11. stopAnimations()
  12. chr.Animate.Disabled = true
  13. 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)
  14. 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)
  15. 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)
  16. end
  17. end)
  18.  
  19. mouse.KeyUp:connect(function(key)
  20. if key == _G.hotkey then
  21. local chr = game.Players.LocalPlayer.Character
  22. chr.Animate.Disabled = false
  23. chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  24. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  25. chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26. end
  27. end)
  28.  
  29. function stopAnimations()
  30. for _,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  31. v:Stop()
  32. end
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement