Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

DialogChoiceSelected not firing my script?

Asked by 5 years ago

i've been at this for a few hours now, looking up everything I can and just cannot figure this one out now. When you talk to the person and select a dialog choice it does not even run, it wont fire the server, it doesn't print anything. I have this in a local script under a main Dialog with two Dialog choices as sisters under the Dialog.

control = game:WaitForChild("ReplicatedStorage").Carvalue
script.Parent.DialogChoiceSelected:Connect(function(player, choice)
    print("run")
        control:FireServer("GUI")
end)

0
Are you using a localscript? Norbunny 555 — 5y
0
Yes CryptoBloodXaos 13 — 5y

Answer this question