My mouse now shows up when I run the script.
I want to thank all the people for helping me fix my problem with my script.