Using Timeline in function to teleport.

i Have also been having similar problems with the timeline not being allowed in the functions. I have been trying to manipulate the teleport to do a sort of warp movement when looking down at a surface. As a alternative to the blink movement. i understand you can call the timeline but not sure how it would be used in this sense. Any insight to how i could achieve this? I can send pictures of the function if needed.