How to i make it that the players always move to what they are looking at

I want someone to help me how to i keep moving the player to wherever they are looking at

my problem is that it is not working

i tried many solutions but none of them is good

i used the link: Player | Documentation - Roblox Creator Hub but it doesnt work

this is my script!

local Plr = game.Players.LocalPlayer
local HRP = Plr.Character:WaitForChild("HumanoidRootPart")
while wait() do
	game.Players.LocalPlayer:Move(HRP.Position + (HRP.CFrame.LookVector * HRP.CFrame.LookVector), true)
end

Please help me everyone