Why isnt this dialog teleport script working?
So i'm trying to figure out how to teleport a player when they select a specific choice for the dialog. What's wrong with this script, and how do I fix this? (I also put the script under dialog for the record).
2 | Dialog.DialogChoiceSelected:connect( function (Choice, Player) |
3 | if Choice = = Dialog.DialogChoice 1. DialogChoice 2. DialogChoice 3 then |
4 | Player.Character:MoveTo( 1 , 1 , 1 ) |
Another thing to add is that two scripts pop up and then remove themselves when i'm using this script.