i was adding dialog to my game and then i wondered, can i make a ProximityPrompt, start the dialog instead of the normal "chat bubble" above him starting it, but with my limited scripting knowledge i dont even know if thats possible. i certainly dont know how tho ;-;
✓ ANSWER ACCEPTED
Is it even possible to make a ProximityPrompt trigger a Dialog?
1 answer
✓ Accepted answer
It is impossible to trigger a built-in dialogue from ROBLOX for now. I think it should or might be available, but I don't know how too :sweat_smile: (COME ON SCRIPTINGHELPERS NO EMOJI)
But you can make a part "talks" when triggering a Dialog, to do this, you are going to get the Prompt Triggered Signal, and make it talk using game:GetService("Chat"):Chat(Part, Message, Color)
Script below (Put normal script inside ProximityPrompt):
local Prompt = script.Parent
local Head = game.Workspace.NPC.Head
Prompt.Triggered:Connect(function()
game:GetService("Chat"):Chat(Head, "insert comedy", "White")
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
