Here is a post that should help you find and remove the virus from your game: Clearing your game of malicious scripts, plugins, and backdoors
I agree with others that learning more about client/server replication and remote events will help you understand things like this better. I know things can be difficult starting out, but once you understand it you will be much better equipped as a scripter and game developer.