Im trying to make the Player, Move to an Specified Part, then after 5 seconds Move to other.


local Member = game.Players.LocalPlayer local Target = game.Workspace.Here local Out = game.Workspace.out

function onTouch(hit) workspace.Member.Humanoid:MoveTo(Target.Position, Target) wait(5) workspace.Member.Humanoid:MoveTo(Out.Position, Out) end

script.Parent.Touched:connect(onTouch)


And yes. The Script is in a LocalPlayer

The thing is that when the part it's touched. Nothing happengs.