ive made a slide animation and its going to activate when you press E. Would the most efficient way to do it be turning the walk animation into the slide animation for a few seconds then switch back? If so then how would i do that? I know how to do
function pressE(key)
if (key == "E") then
end
anyone know how? |