I've seen games where servers automatically shutdown by themselves after you completed a game.
I want to know how it automatically shuts down by itself after a choice dialog is finished.
It would be helpful in many of my games to know this.
I've seen games where servers automatically shutdown by themselves after you completed a game.
I want to know how it automatically shuts down by itself after a choice dialog is finished.
It would be helpful in many of my games to know this.
[edit]
Here is how to detect if a player has selected a dialog choice.
local BadDialogChoice = --Insert the FULL name of the dialog choice like workspace.Part.Dialog.DialogChoice1
BadDialogChoice.DialogChoiceSelected:connect(function(plr)
game.Players:FindFirstChild(plr.Name):Kick()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
5 comments
I want it to kick the person after a dialog choice is done from them.
Or do i put thin in a normal script after the dialog choice?
I did it but it doesn't kick you?
local BadDialogChoice = workspace.Part.Part.Dialog.DialogChoice.DialogChoice.DialogChoice.DialogChoice.DialogChoice.DialogChoiceEnd1 --Insert the FULL name of the dialog choice like workspace.Part.Dialog.DialogChoice1 BadDialogChoice.DialogChoiceSelected:connect(function(plr) game.Players:FindFirstChild(plr):Kick() end
oops ill fix that