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

How to reenable chat with proximity prompt?

Asked by 2 years ago
Edited 2 years ago

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

Log in to vote
0
Answered by
SuperPuiu 497 Moderation Voter
2 years ago

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)
0
I tried that just now, but it didn't seem to work ;-; bringtixbackalready 7 — 2y
0
hello? bringtixbackalready 7 — 2y
0
You have to put it in a local script SuperPuiu 497 — 2y
Ad

Answer this question