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

How to use DialogChoiceSelected with FE?

Hello,

I am working on a dialog based shop system. When a certain dialogchoice is selected, I want a script to run. The script I have works when the game isn't set to FE. The script is a regular script, so I don't think I need remote events.

Here's the script:

Dialog = script.Parent
Dialog.DialogChoiceSelected:connect(function(Player,Choice)
    if Choice.Name == "Wee" then
       Player.Character.Humanoid.Health = 0
    end
end)

Thanks,

Blue

1 answer

Just use a normal script, it does not need a remote event.

1 comment

0

I originally tried a regular script. It only worked in Studio.

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