So is there a possible way to kick the player out of the game literally? Not just like game.Players.LocalPlayer:remove(),Or removing his/her character i want him/her to be removed from the game as in she/he leaves. Any advice/help?
Use the Kick()
method in the player. It disconnects the player from the game and I believe it gives them the "The game has shut down" message on screen.