How do I script this using blueprints?

thanks, this really helps