# function waitfunction(input) -- you have something delaying the output task.wait(2) return output end local output = waitfunction(input) print(output)