What I want to do is to have a part which forces the player to go in a certain direction once touched and the player continues to move in that direction regardless of player input. For some reason :move function doesn't respond.
function directionlock(object)
if object.Parent:FindFirstChild("Humanoid") then
local h = object.Parent:FindFirstChild("Humanoid")
h:Move(Vector3.new(0, 1, 0), true)
end
end
script.Parent.Touched:connect(directionlock)

2 comments
What's the alternatives?
No it is not. It is not deprecated. The wiki doesn't mark it as that.