How do I make a character teleport forward when the player clicks

well then, thanks for the help, but final question (hopefully) what function do you have for the player input, as I tried to add it for the player clicking, but the function did not work