Setting relativeto in a linearvelocity over script

Pretty simple but something that is not working for me.

    local _point = Instance.new("Attachment", self.Character.UpperTorso)
    _point.Position = Vector3.new(self.Character.UpperTorso.Position)

    local _linearVelocity = Instance.new("LinearVelocity", _point)
    _linearVelocity.Attachment0 = _point
    _linearVelocity.RelativeTo = _point -- this doesnt work, so how would i make it relative to attachment 0
    _linearVelocity.MaxForce = Vector3.new(5000)
    _linearVelocity.VectorVelocity = Vector3.new(0, 0, 100)
_linearVelocity.RelativeTo = Enum.ActuatorRelativeTo.Attachment0
2 Likes