Definition
ExitGame()
Description
This function causes exit from the game.
Example
function OnSelectMouseLButtonDown() ExitGame() end function OnSelectMouseRButtonDown() end function OnSelectMouseEnter() end
Assume that this script is attached to a button. In this case, whenever the user left clicks on that button, this script will exit the game.
ExitGame