I'm trying to teleport in front of the block, not on top of it. I figured lookVector would be the way to go because it it the direction the block is facing. However I'm not very experienced in using it. Am I doing this wrong? Everything is defined, exists, etc.
for _,v in pairs(workspace.Bricks:GetChildren()) do
if v.Name == "GreenBrick" then
if v.CanTeleport.Value == true and v ~= script.Parent then
print(v.CFrame.lookVector)
char:MoveTo(v.Position * v.CFrame.lookVector)
end
end
end

1 comment
Exactly. Thats why I am trying to change the position that it is trying to move the character to so that it places it in front of the brick.