So, I've got this so far, but when the player pushes "E" I'd like to have his pose changed. To be specific; I'd like to have his arms, torso, and head lean right.

player=Game.Players.LocalPlayer
mouse=player:GetMouse()
 
mouse.KeyDown:connect(function(e) --key being the key they pressed
print(e)
end)

3 comments

0

Why exactly did you post the code that I gave you here?

0

Im trying to construct something, that was just a part of it.

0

My ultimate goal is to create a script that allows someone to push Q or E to lean left or right.