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

How do I check who is using a dialog within a local script?

All I have is

workspace.Part.Dialog.InUse:Connect(function(Player)
	print(Player)
end)

1 answer

✓ Accepted answer

Insert a LocalScript into StarterGui and place the code below inside it

local Player = game.Players.LocalPlayer

workspace.Part.Dialog.Changed:Connect(function()
if workspace.Part.Dialog.InUse == true then
	print(Player.Name)
end
end)

(Not tested in studio might not be 100% accurate)

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