Create a Python script to transform a list of strings into a list of integers, each integer representing the length of the corresponding string.
["Hello", "World", "Goodbye"]
def string_to_length(list_strings):
    return [len(string) for string in list_strings]