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

How Would I Make Chat Disabled For Players On XBox?

I have been wanting to allow XBox players into my game but the Roblox Rules says the chat has to be disabled for XBox players.

Could someone explain this thoroughly?

1 comment

0

It is because they cannot chat....while using a controller........

1 answer

✓ Accepted answer

IsTenFootInterface lets you know if a player is on xbox.

SetCoreGuiEnabled lets you set ROBLOX's guis to enabled/disabled. Should be in a localscript since it is changing the gui for the player.

if game:GetService('GuiService').IsTenFootInterface then
	game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
end

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