Files
2026-07-06 14:01:11 -04:00

14 lines
321 B
Lua

local CoreGui = game:GetService("CoreGui")
local Modules = CoreGui.RobloxGui.Modules
local SetChatEnabled = require(Modules.LuaChat.Actions.SetChatEnabled)
return function(state, action)
state = (state == nil) and true or state
if action.type == SetChatEnabled.name then
return action.value
end
return state
end