script.Chat.Disabled=false script.PlayerSent.OnServerEvent:Connect(function(Q,i)print(Q,i)end)
--This only works under StarterGui, The main code is located under the local script.
script.Chat.Disabled = false
script.PlayerSent.OnServerEvent:Connect(function(player, msg)
	print(player, msg)
	--code when received command
end)
