Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do i make an event happen if u choose a dialog choice?

I have been searching but nothing seems to work. I want to make so if you select no I want you to be teleported to another game. pls explain how it works too

1 answer

You'd use the Dialog.DialogChoiceSelected event to do so. The event provides both the player that selected the choice and the choice selected.

4 comments

0

i'm new to lua how do i use it in the code

0

DialogChoiceSelected and TeleportService. Use RemoteEvents to pull it off.

0

ok thanks I relized that u answered it here

0

but exxtremestuffs how does it provide the selected choice if I have not said which choice is the correct anywhere in the code?

This discussion is preserved as it was. New answers, comments, and votes are closed.