I want a player to tell his name an NPC. I put a local script into the DialogChoice
script.Parent.UserDialog = "My name is".. game.Players.LocalPlayer.Name .."Who are you?"
but it does not work
I want a player to tell his name an NPC. I put a local script into the DialogChoice
script.Parent.UserDialog = "My name is".. game.Players.LocalPlayer.Name .."Who are you?"
but it does not work
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Is this inside of a localscript?
Place it inside a LocalScript. If you happen to need it written server-side, how are you triggering the NPC to say their name?