Advertisement
DracoKnightOfBlood

Untitled

Mar 27th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Effects = {} --sound effects, for advanced players.
  2. local Player = game.Players.localPlayer
  3. local Character = Player.Character
  4. local Humanoid = Character.Humanoid
  5. z = Instance.new("Sound", Character)
  6. z.SoundId = "rbxassetid://215543443"--
  7. z.Looped = true --False for a one-time song.
  8. z.Pitch = 1.0
  9. z.Volume = 1.6
  10. wait(.1)
  11.  
  12. local plr = game.Players.LocalPlayer
  13. local chr = plr.Character
  14. local mouse = plr:GetMouse()
  15.  
  16. _G.hotkey = 'q'
  17.  
  18. mouse.KeyDown:connect(function(key)
  19. if key == _G.hotkey then
  20. local chr = game.Players.LocalPlayer.Character
  21. stopAnimations()
  22. chr.Animate.Disabled = true
  23. 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)
  24. 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)
  25. 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)
  26. end
  27. end)
  28.  
  29. mouse.KeyUp:connect(function(key)
  30. if key == _G.hotkey then
  31. local chr = game.Players.LocalPlayer.Character
  32. chr.Animate.Disabled = false
  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. end
  37. end)
  38.  
  39. function stopAnimations()
  40. for _,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  41. v:Stop()
  42. end
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement