Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local character = player.Character
  3. local mouse = player:GetMouse()
  4. local Debounce = false
  5.  
  6. local function w(p0,p1,c)
  7. local weld = Instance.new('Weld')
  8. weld.Part0=p0
  9. weld.Part1=p1
  10. weld.C1 = c
  11. weld.Parent = p0
  12. return weld
  13. end
  14.  
  15. mouse.KeyDown:connect (function(key)
  16. if key == "e" and Debounce == false then
  17. Debounce = true
  18. --Things
  19. local sound = Instance.new("Sound")
  20. sound.Parent = game.Workspace
  21. sound.Volume = 1
  22. sound.SoundId = "http://www.roblox.com/asset/?id=711718814"
  23. sound:Play()
  24.  
  25. wait (1)
  26. local torso = character.Torso
  27. local rightarm = character['Right Arm']
  28.  
  29. local right_weld = w(rightarm,torso, CFrame.new(1.5,0,0))
  30.  
  31. right_weld.C0 = CFrame.new(0,.5,.5)*CFrame.Angles(math.rad(-105),0,0)
  32. wait(1)
  33. Debounce = false
  34. end
  35. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement