Ok so I recently found out that my scripts that use MouseIconEnabled have stopped working, and I even wrote up a simple script to test the property to make sure it wasn't a problem with my scripts, and sure enough, that still didn't work. Any ideas on why this may be?
Here's the test code:
while true do wait(2) Game:GetService("UserInputService").MouseIconEnabled = false wait(2) Game:GetService("UserInputService").MouseIconEnabled = true end
NOTE: This code is being run from a localscript inside the PlayerGui, so there's no way it shouldn't work
Thanks
Okay, so I found a fix. First off, this HAS to be a LocalScript. Next, what happened for me when testing it was that it didnt work in studio, but then I tested it just hitting Play and it worked.