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

How to reenable chat with proximity prompt?

I'm trying to make a myth game that needs the person to speak a certain code to open a door but everything I'm trying doesn't seem to work. I'm thinking that this is possibly the only way I know how to do it. I've already disabled the chat with a script, but I don't know how to make it so the chat can get reenabled.

https://youtu.be/a8i6_L2elTM Here's a video link for the problem.

1 answer

Well, you have to use StarterGui:SetCoreGuiEnabled(). Here's a little example:

script.Parent.ProximityPrompt.Triggered:Connect(function()
	game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
end)

3 comments

0

I tried that just now, but it didn't seem to work ;-;

0

hello?

0

You have to put it in a local script

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