Ok mod apparently I wasn't specific enough. What I'm trying to do is have the player do multiple actions (i.e. entering a vehicle and opening doors) using one key on the keyboard. Having a different for each action is pretty cumbersome so that's why I decided to do this. I tried doing what another post suggested which was this:
function door(state, input)
if (state == Enum.UserInputState.Begin) then
--script to open door
end
end
function vehicle(state, input)
if (state == Enum.UserInputState.Begin) then
--enter vehicle
end
end
function EStuff()
door()
vehicle()
end
game:GetService("ContextActionService"):BindAction("EStuff", EStuff, false, Enum.KeyCode.E)
But it didn't work. Any help is appreciated. This is just an example script btw, everything works when I bind a key to one action.

4 comments
facts lol
wut r facts you be comfusle me
also is there any erros press f9 if u cant know how see erros
hmmm