For my game I want to kick people through dialogue depending on what choice they choose but I don't know how is it possible?
1 | script.Parent.DialogChoiceSelected:Connect( function (player,choice) |
2 | if choice.Name = = "yes" then |
3 | player:Kick() |
4 | end |
5 | end ) |