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

Dialog Wont work?

So ive got a dialog inside a part called "Head",But theres no humanoid in the model. Somehow when i click the dialog(Wich has a dialogchoice),Nothing appears it just dissapers.

Output says :

18:19:32.239 - message must be non-empty
18:19:32.240 - Script 'CoreGui.RobloxGui.CoreScripts/MainBotChatScript', Line 405 - global doDialog
18:19:32.240 - Script 'CoreGui.RobloxGui.CoreScripts/MainBotChatScript', Line 448 - global startDialog
18:19:32.241 - Script 'CoreGui.RobloxGui.CoreScripts/MainBotChatScript', Line 471
18:19:32.241 - Stack End
18:19:32.242 - Disconnected event because of exception

Help me out please?

4 answers

✓ Accepted answer

This error gets thrown if the Dialog's InitialPrompt property is an empty string. Try putting a few letters in the InitialPrompt.

Make sure that the choices are within the initial prompt, and make sure dialog's "InUse" Box is unticked.

1 comment

0

No its not that.

Hm.. Well, so there's dialog in the head, right? Then after that there's choices? You may possibly need a humanoid for it to work properly. If you don't want the health and name to be shown, make the NPC's MaxHealth 0 and name your model with nothing (there's one character in the name, btw. It is spacebar).

2 comments

0

Nope,It still not working but thanks for trying to help.

0

Np.

Turns out i was stupid enough to not write the Initial Prompt....Silly me.

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