asdasdasdasd1233

awaeaweaweaweaweaweawe

Mar 24th, 2018
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.07 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2. local char = plr.Character
  3. local hum = char:FindFirstChildOfClass("Humanoid")
  4. local mou = plr:GetMouse()
  5. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  6. local head = char:FindFirstChild("Head")
  7. local neck = tor:FindFirstChild("Neck")
  8. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  9. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  10. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  11. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  12. local ls = tor:FindFirstChild("Left Shoulder")
  13. local rs = tor:FindFirstChild("Right Shoulder")
  14. ok = true
  15.  
  16. local startn = neck.C0
  17. local finishn = neck.C0 * CFrame.new(0, -10, 0)
  18.  
  19. function pressed(key)
  20. if key == "e" then
  21. ok = false
  22. for i = 0,1,.1 do
  23. neck.C0 = startn:lerp(finishn, i)
  24. wait()
  25. end
  26. for i = 0,1,.1 do
  27. neck.C0 = neck.C0:lerp(startn, i)
  28. wait()
  29. end
  30. end
  31. end
  32. mou.KeyDown:connect(function(pressed)
  33. end)
Add Comment
Please, Sign In to add comment