Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to get the lookvector of a part then teleport a part to it??

Asked by 4 years ago
Edited 4 years ago

So every attempt i try it ends with failure of the part either going to 0,0,0 or going to some random position near it

my attempt

local torso = workspace.Dummy.Torso
local cf = torso.CFrame.LookVector * 5

workspace.point.CFrame = CFrame.new(cf)

For some reason this teleports the part like 5 studs away from 0,0,0 why?

Answer this question