What in the world is this script trying to do?

)idk if this is the right topic)
Hi, My friend was asking why his game had problems with a big gui popup and I want to know if this script is either a teeny tiny problem or a malicious script that destroys his game

I’ve tried looking through explorer to find things but only found this script. I have no idea if any viruses snuck their way into the game when my friend ran it.

Code:

thanks

this script simply checks if http requests are enabled (as seen by the prints) and then gives a player the gui on line 8.
doesnt look like a virus.

1 Like

Yes, but why are there module script headings and endings (the local module{} and return module) I haven’t seen any scripts that have requested a module…

That’s because the script itself is a module script, so other scripts can call on it.

1 Like

the script you gave was a modulescript, so whatever script that is using it could be malicious

1 Like

But it’s just a normal script…
image

well then it shouldnt be malicious.
if you dont want the gui, simply delete the script

it seems to just be doing a little bit of nothing with that “module” table, i wouldnt worry about it
so the script is just telling you to turn on http service requests, i guess whatever scripts you have in that model need http service but cant do anything because you dont have it on