player.Chatted doesn't work in Studio

Is it just me or has player.Chatted stopped working on Studio? It works fine in-game, but I cannot use my admin commands to test stuff while on Studio, with or without Local Server. Has it always been like this? I do remember being able to use chat commands in Studio before.

11 Likes

Thought it was just me. Been super frustrating, as all of my debugging commands are controlled through chat.

Can confirm. Wrote the code below into a script in ServerScriptService:


function PlayerAdded(player)
	player.Chatted:Connect(function(msg)
		print(player.Name .. " chatted: \"" .. msg .. "\"")
	end)
end


game.Players.PlayerAdded:Connect(PlayerAdded)
for _,player in pairs(game.Players:GetPlayers()) do
	spawn(function()
		PlayerAdded(player)
	end)
end

My guess is that your chat settings don’t apply if you aren’t in a place thats connected to a game.
Roblox deliberately prevents the chat methods from working if your settings aren’t 13+

1 Like

My place is connected to a game, so if that is the case chat settings aren’t applying in general

I believe this happens even if the place is connected to a game.

That’s not good. Added to the bug list.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.