This is not related to Visual Scripting. I’ll move your post to the Scripting forum.
Please edit your post to use code-tags for code and not plain text. Also, please put a little more effort into describing the problem, don’t just try to cram it into the post title.
Thanks.