Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- local hum = char:FindFirstChildOfClass("Humanoid")
- local mou = plr:GetMouse()
- local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
- local head = char:FindFirstChild("Head")
- local neck = tor:FindFirstChild("Neck")
- local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
- local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
- local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
- local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
- local ls = tor:FindFirstChild("Left Shoulder")
- local rs = tor:FindFirstChild("Right Shoulder")
- ok = true
- local startn = neck.C0
- local finishn = neck.C0 * CFrame.new(0, -10, 0)
- function pressed(key)
- if key == "e" then
- ok = false
- for i = 0,1,.1 do
- neck.C0 = startn:lerp(finishn, i)
- wait()
- end
- for i = 0,1,.1 do
- neck.C0 = neck.C0:lerp(startn, i)
- wait()
- end
- end
- end
- mou.KeyDown:connect(function(pressed)
- end)
Add Comment
Please, Sign In to add comment