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

how do i make a special name in dialog?

Asked by 6 years ago

i have a character of me and my friend in our game, i would like to know if it is possible for the models in dialog say "why hello dareelexploitpatrol, oh wait, THATS ME!" is this a possible script or something else?

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

make dialog and then add a script so when you talk about it it so something like this(hope it helps):

local pla = game.Players.LocalPlayer
script.Parent.DialogChoiceSelected:connect(function(player,dialog)
 if dialog.Name=="putdialognamehere"
if game.Players.LocalPlayer.Name == ("BuilderMan") then
--i would recomend making a dialog and using clone and .Parent to move it and Destroy the normal one
else 
    print("no")

end
end)

Ad

Answer this question